Git Product home page Git Product logo

smv's People

Contributors

amanna20 avatar asbova17 avatar bmralph avatar briancohan avatar bryanwklein avatar btrettel avatar crogsch avatar cweinschenk avatar drjfloyd avatar elizabethblanchard avatar firesmokebot avatar gforney avatar jakeoshannessy avatar johodges avatar kiwifb avatar koverholt avatar marcosvanella avatar maxgould avatar mcgratta avatar mrctkg avatar nehhen avatar rio4fds avatar rmcdermo avatar rpeacoc avatar ruddymell avatar sbenkorichi avatar shostikk avatar tkorhon1 avatar tmacksmyers avatar tstopi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smv's Issues

opacity for colormap with constraints

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.

Slow startup for large case

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.

Two boundary slices when position in mesh block boundaries

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:
sphere_propane_demo_0782

Feature request: Upload all slcf plans at same time

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 !

problem with zone hvac vent display

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)

Feature request: Enable adjusting color bar values

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 !

Rendering option

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.

showing new label (frame) sends time bar back to zero

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!

HRR not loading in mesh

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.

screen shot 2017-10-05 at 4 49 58 pm

Smokeview not grouping slices correctly in Mac OSX version

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.
screen shot 2016-11-21 at 09 59 11

Any help would be appreciated, many thanks,

Andy.

Show DEVC ID in Smokeview

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

Add option for horizontal colorbar

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

Feature request: flip visibility color bar by default

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 !

Incorrect checksum error loading particle file

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.

Problem with updating smokeview under linux

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.

Slow slice file load

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

HRRPUV not loading

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.

Objects don't reappear after removable

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.

test.fds.txt

SMV 6.5.1 crashes

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

not showing slice file

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.

louver_in.txt

mesh boundary artifacts

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?

screen shot 2017-10-04 at 11 51 49 am
screen shot 2017-10-04 at 11 52 04 am

Alt-v no longer works for OS X Sierra

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

SMV 6.4.2: Human speed- wrong colorbar

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.

exercise_01_0003

My inputfile: exercise_01_fds.txt

The issue #2021 already describes the same problem

smv crash with multiple customized colorbars

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 in slice file display

visual artifacts are appearing when two parallel slice files are displayed.
circular_burner_0648

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)

smv crash with customized colorbar

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.

grafik

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

smokeview.ini.txt

If I open a smv file, smokeview crashes while reading the local ini file.

grafik

grafik

Thanks for help. Please let me know if you need more informations.

Christian

Change color obst after run time

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 !

Rendering with small r does not seem to work

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.

image

DEVC or CTRL controlled vents on mesh boundaries

I'm having issues where VENTs 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 /

smokeview won't load if missing slice files

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

smvfail.txt

Feature request: show more than one slice in 3D slice

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

Unloading slices cause the colourbar to flip automatically

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.

toggle smv with cad: Fails after 2 attemps

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

scroll widgets are missing for linux platform

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:
scroll-windows

Linux:
scroll-linuxsys

modify geometry slice/boundary menus

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

change scripting behavior when a viewpoint does not exist

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

Add time stamp to global min/max for slices

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

Smokeview User Guide: smaller typos in examples for RENDERALL script command

System Information

  • OS: Windows 10
  • Smokeview: 6.6.1

Context

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.

Expected behaviour

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.

Proposed changes for RENDERALL examples documentation

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

3D slices kept stuck at Mesh interfaces

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 !

Bug(?) with initial rotation of a model.

Basic information

OS: Windows 10
Smokeview: 6.4.4

How to reproduce

  • In .ini file include:
LABELSTARTUPVIEW  
  external  
ZAXISANGLES  
  90.0 60.0 45.0  
  • execute script (that makes use of the .ini file prepared in previous step) with command smokeview -runscript name_of_script.
  • When smokeview window shows up, the model is rotated only by 45°, the other rotations (90° and 60 ° seem to be ignored). However, if I open 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 view before clicking in textfields

The window with mentioned textfields
The window with mentioned textfields

The view of the model after clicking azimuth and  elevation 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?

change smokeview script error behavior when a viewpoint does not exist

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

smv_6.4.2_linux64.sh doesn't update the smv, however exits without error

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.