smv running .ssf from cmd error

128 views
Skip to first unread message

Dean Pramualphol

unread,
Mar 21, 2018, 6:50:53 PM3/21/18
to FDS and Smokeview Discussions

Hi All,

I am trying to automate the rendering of results in smv. I have written a .ssf file which goes through all of my slices, loads them, clips the geometry and renders an image.

The script works well if loaded within smv i.e. right click>load/unload>scripts>NAME.ssf
All the slice images were rendered correctly and dumped into the folder.
xslice_55 0_soot visibility_f_0100

However, if I run the script from within cmd i.e. "smokeview NAME -script NAME.ssf", the script runs but the images are incorrect, not all mesh slices are loaded and some are missing. This only happens in smv 6.6.0, when smv 6.4.4 is used to run, everything runs perfectly. Also, smv 6.6.3 breaks my script altogether, and does not produce any images at all.
xslice_55 0_soot visibility_f_0100

Based on the fact that the script runs fine from within smokeview, I don't think it is an issue with the .ssf file but rather an issue with how smokeview runs it.

Attached is my .ssf script, does anybody have any ideas?

`RENDERDIR
.
LOADINIFILE
NSWLib-SCF3-A9.ini

LOADSLICE
TEMPERATURE
1 55.0
CBARNORMAL

SETVIEWPOINT
worldcentreyz

XSCENECLIP
1 54.0 0 0
YSCENECLIP
0 0 0
ZSCENECLIP
0 0 0
SCENECLIP
1

RENDERALL
50
Xslice_55.0_TEMPERATURE_f
UNLOADALL

LOADSLICE
SOOT VISIBILITY
1 55.0
CBARNORMAL

SETVIEWPOINT
worldcentreyz

XSCENECLIP
1 54.0 0 0
YSCENECLIP
0 0 0
ZSCENECLIP
0 0 0
SCENECLIP
1

RENDERALL
50
Xslice_55.0_SOOT VISIBILITY_f
UNLOADALL

`

Salah Benkorichi

unread,
Mar 21, 2018, 6:54:24 PM3/21/18
to FDS and Smokeview Discussions
No need to double create posts, you have submitted an issue here : https://github.com/firemodels/fds/issues/6172
Glenn has replied back, you should follow it up there.

--
You received this message because you are subscribed to the Google Groups "FDS and Smokeview Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fds-smv+unsubscribe@googlegroups.com.
To post to this group, send email to fds...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fds-smv/f746df7d-fc21-4bca-8891-37377cbc0bfc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dean Pramualphol

unread,
Mar 21, 2018, 7:20:51 PM3/21/18
to FDS and Smokeview Discussions
Noted. Apologies. 
To unsubscribe from this group and stop receiving emails from it, send an email to fds-smv+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages