You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I run the following script in smokeview, it works:
RENDERDIR
short_smoke_dirname
LOAD3DSMOKE
SOOT DENSITY
RENDERALL
0
smok
UNLOADALL
////////
RENDERDIR
long_slice_dirname_aaaaaaaaaaaaaaaaaaaaaaaa
LOADSLICE
temperature
2 0.00000
RENDERALL
0
temp
UNLOADALL
(And if directories with those names exist, it saves the images being saved to ~/.smokeview.)
But if I add another character to the long directory name, then smokeview crashes. The error message from the crash is entirely unhelpful -- it says "***error: unknown script keyword LOAD3DSMOKE", even though that is not even the command with the long directory name. The crash appears to happen before any commands are completed.
Directory names of this length were allowed in the smokeview SMV-6.8.0 and earlier. (As you can guess, I used them, and now I need to abbreviate the information that I put into the directory names.)
I'll attach an .fds file and two .ssf files (with .txt appended) that reconstruct the crash, at least on my machine (running Ubuntu on WSL2 on Windows 11 Pro):
should be fixed in smokeview posted below. the smokeview you are using should work if you put keywords in column 1 (you did) and data in column 2 or greater. smokeview looks for keywords in column 1 and was confused by data it found there. I'll make this clearer in the user manual.
I haven't tried the adjusted smokeview, but I can confirm that adding a space before the long directory name works with the standard release. I agree that it would be useful information in the user guide. I'm happy for this issue to be closed -- but I'll let you do it, in case you want it as a reminder for the documentation. Thanks!
If I run the following script in smokeview, it works:
(And if directories with those names exist, it saves the images being saved to ~/.smokeview.)
But if I add another character to the long directory name, then smokeview crashes. The error message from the crash is entirely unhelpful -- it says "***error: unknown script keyword LOAD3DSMOKE", even though that is not even the command with the long directory name. The crash appears to happen before any commands are completed.
Directory names of this length were allowed in the smokeview SMV-6.8.0 and earlier. (As you can guess, I used them, and now I need to abbreviate the information that I put into the directory names.)
I'll attach an .fds file and two .ssf files (with .txt appended) that reconstruct the crash, at least on my machine (running Ubuntu on WSL2 on Windows 11 Pro):
open-fire0002.fds.txt
bad_script.ssf.txt
good_script.ssf.txt
The text was updated successfully, but these errors were encountered: