firemodels / smv Goto Github PK
View Code? Open in Web Editor NEWSmokeview
License: Other
Smokeview
License: Other
Glenn,
The opacity can affect the 3D fire when using colormap with constraints. But the dialog box is only accessible for the "Use specified color" option. Can you make this generally accessible? Thanks.
Glenn,
Similar to the issues we were having with starting up and reading the 3D smoke file, I have a case now that is choking on reading the SLCF info on start up. The case has 174 meshes. You can find it here:
/home4/rmcdermo/GitHub/FireModels_rmcdermo/fds/Validation/UMD_Line_Burner/Current_Results/methane_XO2_ramp_dx_p3125cm.smv
I wonder if it is possible to read the slice parameters only when loading.
when computing bounds for slice files for 3d heat transfer include the solid
reported by marcos: I think you fixed this for regular slices not long ago (there was an issue on this in GitHub?). I see it also for boundary slices.
That is, if I select a slice in the plane where a mesh block boundary is, I get two slices in smokeview separated by one cell size distance.
case: sphere_propane_demo.fds in fds/Verification/Complex_Geometry
Take a look:
Glenn,
If I have set 5 Temperature slices, and when trying to view them, I had to upload them one by one.
Would it be possible and practicable to make another button at the end of the list says "upload all" so I can view them all at once instead of uploading them one after the other. Thanks !
the sphere used to distinguish hvac vents from regular vents is not always drawn with an appropriate size (to large or too small depending on the size of the compartments being modled)
Glenn,
If this is trivial thing,
Is it possible to adjust the needed color bar slices values on smokeview.
Smokeview, displays 11 data values automatically (can adjust their limits through data bound), but suppose I want to show only 5, or 20 instead, or more precisely, within the 5 values, I want one of them to be set to specific value, and let smokeview sets the corresponding color for it.
We already can control the data bound, but I'm interested to control the displayed number data values inside the data bound.
Hope it makes sense.
Thanks !
Glenn,
Would it be possible to render an image, but first get the option to name it before it's written. When I hit the 'r' keyboard, it just render image with random numbers, what I would like to see --if possible-- to get a box that I name my image before it's written. Sometimes, it's quite painful when I render multiple images, and then don't have any clue how to differentiate between them.
I'm asking for something similar to screen capture, when you select your image width, you get an option to name your image before it's written in the desired directory.
Glenn,
When I have the scene in a state I like, at a certain time, but now I want to display the FRAME number as well. So, I go to Show/Hide > Labels > Frame and this sets me back to 0. Now I have to find the frame again, which is harder than is sounds for my current case. Case to test is here:
/home4/rmcdermo/Work/NFRL/TEST7
Thanks!
A more serious issue is that in the effort to speed up the load by not loading HRR (or maybe reloading) for meshes with HRR under a threshold, somehow we are missing the threshold on occasion. See the attached, you can see the discontinuity, which happens because a mesh block in not loading the HRR. I know how to get around this, but I think it would be good for this to work. Thanks.
change logic in smokeview so that the timebar and the time label (to the left of time bar) can be shown/hidden independently
Hi,
when I use the Mac OSX version of smoke view it doesn't group the slices together ( picture attached ) in the multi slice menu. If I run a script it then only selects one of the mesh slices rather than the full set. In order to obtain the full slice, I have to select each individual slice on the menu. On the linux version I don't find any issues. This occurs in smoke view 5.x.x and 6.x.x on Mac OSX.
Any help would be appreciated, many thanks,
Andy.
smokeview has problems creating proper slice and multi-slice menus when two or more fds input file &SLCF entries are duplicates
Hello! It would bei nice to have the possibility to show the devc id in smokeview similiar to the quantity, value and unit.
Best regards
Christian
Glenn,
I sometimes run into the case where I have a tunnel or duct and there is not a good way to show a side view and have a color bar that is legible. Would it be hard to add an option for horizontal color bar?
Thanks,
Randy
Glenn,
If this is a trivial thing to implement, I would like to request to make the default color bar for visibility flipped (Where the red color at the bottom and the blue on the top). It can be done manually, but I believe by default it should be done this way. This to be just consistent with the TMP slices and other quantities. Always, you see the critical value in red. Thanks !
Glenn,
I'm trying to look at Kevin's grassland flame spread case with Smokeview Test (SMV6.4.4-454-g0f3ceae).
/home4/mcgratta/firemodels_forked/fds/Validation/CSIRO_Grassland_Fires/Test/Case_C064_fine.smv
When I try to load particles I get this error:
smokeview(65261,0x7fffd48733c0) malloc: *** error for object 0x1070d1600: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
Also, note that I had to copy the case over to my account in order to run it. This has not always been the case. So something permission-wise has changed in SMV or on burn. It would be convenient to be able to look at someone's case from their directory. For large cases, the copy takes significant time.
Glenn,
there seems to be a problem with smokeview 6.6.1 when I update to it. It has some issue with the libararies.
$ smokeview
smokeview: error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory
Note that I'm already exporting the directories in the .bashrc. If I install when it comes with the bundle it works. But, when I try to upgrade for later version, it throws this error. I didn't look deep into this why.
The fast slice loading was working in SMV6.4.4-454-g0f3ceae.
The current version is loading slowly. Use this case to test. Should load in about 1 s on mac mount, but now takes about 27 s.
/home4/rmcdermo/GitHub/FireModels_rmcdermo/fds/Validation/UMD_Line_Burner/Current_Results_MaCFP_2017/propane_XO2_ramp_dx_p3125cm.smv
Glenn,
I've noticed that the HRRPUV doesn't load for the first time, I have to load first the smoke then reload the HRRPUV to get it working.
Here is some extra info:
I've tried to trace the issue, it has begun after this release (SMV 6.3.12 Git-r20-1-gbcd83cd)
I'm working under Linux.
Glenn,
Would it be possible to pass a flag to smokeview to delete these images after the avi or mp4 ec. is created.
Like: $ rm *.png *jpeg
when generating PLOT3D images in the xy (along z direction) , the SHOWPLOT3DDATA keyword is generating plots in the wrong plane
Glenn,
When I have a door set as a hole, when I remove it, and then later bring it back, it doesn't show up. Although, the area gets block as a door there, but it appears as an empty. Somekview is not taking back the same color of the whole that was in.
Here is a dummy file to check with, it suppose to appear around 10s.
Windows 7, x64
Smokeview 6.5.1, June 8 2017
The lastest SMV-Version shows a strange behaviour:
If I start smokeview.exe and open a *.smv afterwards causes a crash.
If I open a *.smv directly (right mouse click), everything works fine.
The crash occurs reproducable on different Win7 machines.
Boris
When I run the attached with the current release of FDS 6 (both windows and linux) and the Smokeview just released (6.6.3), the cell centered slice isn't appearing in the load menu. If I go to the vector menu and select show all, the file will appear there as a cell centered slice and is rendered correctly so it doesn't appear to be an issue with the slice file data.
Glenn,
Now that we are more routinely using multi-mesh cases and the mesh boundaries often cut through OBST or geometry, it would be nice to get rid of these visual artifacts. Else it is hard to get publication quality images. In the attached, do you think this effect is related to SMV or is it possibly something to do with what FDS sends you?
some menu items are not showing up in complex geometry cases. Also look at making geometry menu items more consistent. Note, sphere_propane_demo.fds.txt is in fds repo at Verification/Complex_Geometry
Glenn,
The d and f key trick has fixed the problems of zoom and up/down, respectively. But with the latest version I can no longer get isometric view by Alt-v on Sierra. This seemed to have been working before. Is it possible to get that back without re-breaking the d and f functionality? Thanks.
Smokeview Test (SMV6.4.4-350-g04e3a10) - Apr 10 2017 - 16:52:32
Version : Test
Revision : SMV6.4.4-350-g04e3a10
Revision Date : Mon Apr 10 16:50:34 2017 -0400
Compilation Date : Apr 10 2017 16:52:32
Platform : OSX64
Smokeview 6.4.2-1-gf85fd7a
FDS 6.5.2 - Git-r21-0-g4e9103f; FDS+Evac 2.5.1
Problem:
Is there a bug to show the human speed colorbar in smokeview? human_speed and human_altered_with_data are activate.
My inputfile: exercise_01_fds.txt
The issue #2021 already describes the same problem
Hello Glenn!
Sorry, for opening this again. But smokeview still crashes, if I use customized colorbars.
It works fine for one colorbar but if I add another customized colorbar it crashes again.
It is the same procedure as in Issue #169 but just for two or more then one customized colorbars.
Would you please check it again?
Please let me know if you need a more detailed description.
Christian
visual artifacts are appearing when two parallel slice files are displayed.
This visual is from a case with 5 horizontal meshes. smokeview needs to display partially transparent objects from back to front. The artifacts are occuring because the 10 slices are not being sorted in the proper order (back to front)
Hello,
as I wrote in https://groups.google.com/forum/#!topic/fds-smv/Cl70GioA_xE smv crashes after adding a customized colorbar to the global smokeview.ini. The problem occurs with version 6.4.2 and may be earlier versions.
Here is what I did:
1.) Created a new colorbar in the "customize colorbar" dialog by clicking "new colorbar" and "save settings". There were ne change of the colorbar for this test.
2.) Copied the entry from the local ini file of the actual simulation to the global smokeview.ini.
GCOLORBAR
1
Copy of Rainbow
5 0
0 0 0 255
64 0 255 255
128 0 255 0
192 255 255 0
255 255 0 0
If I open a smv file, smokeview crashes while reading the local ini file.
Thanks for help. Please let me know if you need more informations.
Christian
Glenn,
I have run a long case, and I forgot I was setting one of the OBST as INVISIBLE, but now I want to see it in smv.
Is there anyway to hack .smv file to set it back to visible?
I can see OBST lines in the .smv but not sure if it's the appropriate way to do this.
Thanks !
Using Smokeview 6.5.4 -4-g4e1f876 on windows 7, 64 bit.
When I render a picture using r, I get an error (unable to render file). Rendering an image using R works. When I reversed to version 6.5.3(SMV6.5.3-3-g4322120) it worked again.
To be sure that it had noting to do with the way I installed the program, - I reinstalled 6.5.4 in the same way as 6.5.3 and the error came again.
This error also leads to that the "make movies" does not work in version 6.5.4.
I'm having issues where VENT
s on mesh boundaries are not displayed as added or removed as they would be when not on a mesh boundary. This is does not appear to be an FDS issue as the flows are properly affected as if the vent was added or removed.
Below is a small example which demonstrates removing extract vents at 5 s, one vent on a mesh boundary and the other not. The behaviour of the two is different. In the .smv file there are 3 CLOSE_VENT
entries which makes sense to me, but it is not reflected in the display.
This was tested with FDS 6.5.3 and SMV 6.4.4 on Windows.
&HEAD CHID='VentCTRLMeshBoundary' /
&TIME T_END=10.0 /
&DUMP NFRAMES=40 /
&MESH ID='LowerMesh' IJK=10,10,5 XB=0,1,0,1,0,0.5 /
&MESH ID='UpperMesh' IJK=10,10,5 XB=0,1,0,1,0.5,1 /
&OBST XB=0,1,0,1,0.4,0.5 /
&VENT ID='OpenTop' SURF_ID='OPEN' XB=0,1,0,1,1,1 /
&VENT ID='OpenBottom' SURF_ID='OPEN' XB=0,1,0,1,0,0 /
&DEVC ID='Timer' QUANTITY='TIME' SETPOINT=5 XYZ=0.2,0.2,0.2 INITIAL_STATE=.TRUE. /
&VENT ID='ExtractA' SURF_ID='ExtractSURF' DEVC_ID='Timer'
XB=0.2,0.8,0.2,0.8,0.5,0.5 /
&VENT ID='ExtractB' SURF_ID='ExtractSURF' DEVC_ID='Timer'
XB=0.2,0.8,0.2,0.8,0.4,0.4 /
&SURF ID='ExtractSURF' VEL=2 COLOR='GREEN' /
&SLCF ID='VelocitySlice' QUANTITY='VELOCITY' VECTOR=.TRUE. PBX=0.5 /
&TAIL /
If I am running remotely on another machine, I don't always want to download all data files to check on a job. Smokeview will not run if there are gaps in the files. Run the attached file (makes 8 slice files) and open smokeview. It opens successfully. Delete slice files 4-8 and smokeview will still run. Now delete file 2 leaving just 1 and 3 (e.g. a gap). Smokeview crashes. This is with the current release:
SMV6.6.1-2-gcee0e5d
Glenn,
If this is trivial, could it be possible to show more than one slice at a time in a single direction.
Say for example you load 3D slice and in X, you have only one that you can move it, but won't be possible to be able to show two slices instead of 1?
Thanks !
Salah
When I load a velocity slice, I flip the colour bar so that the red is on top and the blue is on bottom. However, when I unload it and load it again, the colour bar goes back to its default (blue on top and red on bottom).
In the previous version of smokeview, the colour bar stayed flipped at all times.
Also, the new auto flip functionality seems to have a mind of its own. It seems to flip the colour bar at random times. I still couldn't figure out how it works and there is nothing in the user guide about it.
Glenn,
I forgot to report this issue, I've just noticed it few days ago, we were busy with the release so I left it.
While working with blender, it does generate a file that would be linked with smv after double click on q,
but after clicking again on q, it returns the view to real fds geometry view. Then, q no longer would be effective, and I have to close and reopen smv again. Let me know if you need a simple case to upload it for you.
Cheers,
Salah
Glenn,
Testing the case reported here: firemodels/fds#5591
Due to the big number of slices, I wasn't able to view all slices under Linux, whereas under windows, we can scroll down or up to select the wanted mesh from the long list. I would like to see if we can get it working also for Linux users.
Here is the two cases:
Windows:
marcos,
I'm having trouble going through past emails to find our discussion on modifying geometry menus (like being able to load all geometry slice fmenus of one type at once). Could you point to a test case and briefly describe how you would like menus changed/enhanced.
thanks,
glenn
when running a smokeview script (a casename.ssf file), change smokeview so that it does not create images when a viewpoint does not exist. Though an error is reported is a viewpoint does not exist, the error message is easy. Not creating an image will make the error much more conspicuous
generalize slice file drawing so that slice files are drawn in
This issue has been reported in discussion group here.
Glenn,
I would be handy to know the time stamp when we see a high or low value for something in a slice file. Right now when we toggle "research mode" we get something like this:
After slice file load:
nblocks=6335 sizeblocks=174507158
global min (slice file): 19.999962 cell=(48,1,6)
global max (slice file): 3465.767822 cell=(62,1,35)
for a given mesh. This value of 3500 C for temp is obviously bad, but I can't actually find it in the slice movie. I think having the time stamp would help me track it down.
Thanks!
Randy
In order to render many slices we decided to leverage scripting features of Smokeview and use RENDERALL
script command.
The current SMV User Guide explains
RENDERALL
Render a sequence of frames. By default this command renders every frame starting
with the first. One may also specify a starting frame index (default: 0) and a skip value (default:
1) indicating the difference in indices between rendered frames.
Usage:
RENDERALL
skip first
file name base (char) (or blank to use the Smokeview default)
The command
RENDERALL
0 1
casename
would render all frames while the command
RENDERALL
1 3
casename
renders every third frame starting with the second (index 1).
Both script command examples mix up argument order, although the textual description is correct.
We used this script to render every 10 frames starting at frame 500.
RENDERDIR
..\Plots
LOADINIFILE
viewpoint.ini
LOADSLICE
SOOT VISIBILITY
3 3.500000
SETVIEWPOINT
topview
RENDERALL
10 50
After running the following command smokeview
render the console output below:
C:\smv_6.6.1_win64\smokeview.exe case.smv -script render-soot-visibility-slices.ssf
...
script: SETVIEWPOINT
script: topview
script: set viewpoint to topview
script: RENDERALL
script: Rendering every 10 frame(s) starting at frame 500
Rendering to: ..\Plots\\Geom_B_Vent_2_Burn_Bottom_M3_0500.png . Completed.
Rendering to: ..\Plots\\Geom_B_Vent_2_Burn_Bottom_M3_0510.png . Completed.
Rendering to: ..\Plots\\Geom_B_Vent_2_Burn_Bottom_M3_0520.png . Completed.
Rendering to: ..\Plots\\Geom_B_Vent_2_Burn_Bottom_M3_0530.png . Completed.
Rendering to: ..\Plots\\Geom_B_Vent_2_Burn_Bottom_M3_0540.png . Completed.
Rendering to: ..\Plots\\Geom_B_Vent_2_Burn_Bottom_M3_0550.png . Completed.
Rendering to: ..\Plots\\Geom_B_Vent_2_Burn_Bottom_M3_0560.png . Completed.
Rendering to: ..\Plots\\Geom_B_Vent_2_Burn_Bottom_M3_0570.png . Completed.
Rendering to: ..\Plots\\Geom_B_Vent_2_Burn_Bottom_M3_0580.png . Completed.
Rendering to: ..\Plots\\Geom_B_Vent_2_Burn_Bottom_M3_0590.png . Completed.
Rendering to: ..\Plots\\Geom_B_Vent_2_Burn_Bottom_M3_0600.png . Completed.
RENDERALL
Render a sequence of frames.
By default this command renders every frame starting with the first. One may also specify a skip value (default: 1) indicating the difference in indices between rendered frames and a starting frame index (default: 0).
Usage:
RENDERALL
skip first
file name base (char) (or blank to use the Smokeview default)
RENDERALL
1 0
casename
The command renders all frames.
RENDERALL
3 1
casename
The command renders every third frame starting with the second (index 1).
indentation might be fixed for script command arguments
Thank you
Sascha
Glenn,
While using 3D slices in a case. I noticed after passing through meshes interface, it gets stuck.
So, suppose you are moving the slice in the X direction, once it reach X max of that mesh, a slice will appear at the X min of that mesh and kept stuck there.
When continuing in the 2nd mesh, same thing happen when you pass its X max, another slice gets stuck at its Xmin.
If you can't reproduce the issue, then let me know so I can upload the input file, although it's quite large (it takes 80GB) after running it for 700s.
Thanks !
OS: Windows 10
Smokeview: 6.4.4
.ini
file include:LABELSTARTUPVIEW
external
ZAXISANGLES
90.0 60.0 45.0
.ini
file prepared in previous step) with command smokeview -runscript name_of_script
.Motion/View/Render
dialog (alt+g) and enter Specify orientation
tab, I can see that textfields azimuth
, elevation
and angle (about z axis)
are properly filled with values specified in .ini
file. Moreover, when I click first on azimuth
textfield, and then on elevation
textfield the model automatically rotates to desired position.The view before clicking in textfields
The window with mentioned textfields
The view of the model after clicking azimuth
and elevation
textfields.
I would like to see my model properly rotated from the very beginning. It is important to me, that I use this method of rotation (I cannot achieve the same result by e.g. viewpoint5 in .ini
file). Am I missing something? Why is my model rotated only by 45° in the beginning and the other values are ignored?
when running a smokeview script (a casename.ssf file), change smokeview so that it does not create images when a viewpoint does not exist. Though an error is reported is a viewpoint does not exist, the error message is easy. Not creating an image will make the error much more conspicuous
The smv_6.4.2_linux64.sh doesn't work correctly. It informs that updating was successful however it doesn't perform any updating. There is also no information that something went wrong.
Do you wish to begin the update? (yes/no) y
Copying updated Smokeview files to /home/krasus/FDS/FDS6
Update complete.
Linux 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.