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
When running the attached FDS file there are vents that should be along the side of the door on the inside of the compartment (DoorLLI, DoorLRI, DoorLUI, and DoorRUI). They can be seen in the Pyrosim file but not when using smokeview (compiled this morning using current source). When I look at the smv file I see the vents in the file.
when I rerun the case after setting T_END=0 I see the vents. fds has logics for telling smokeview what vents to draw.. think the issue may be related to lines after 2360 in dump.f90 . if I remove lines within blocks begginning IF (.NOT.SETUP_ONLY) THEN i see the vents though they overlap with other vents so this is not the complete solution. could @drjfloyd or @mcgratta look at this code block and see if fds is outputting the vent info to smokeview correctly for the case that a vent is on an internal blockage
For some reason, we have specific logic as to show or not show vents based on whether the case is designed only for checking the set up. Not sure why, but I'll dig into the archives.
I've hopefully improved the logic by which FDS will tell Smokeview to draw a VENT flush with the wall as long as there is no OBST that will interfere. To draw that blue vent, we actually create a number of exterior patches for Smokeview to draw, all exactly flush with the exterior surface plane. However, that green obstruction is drawn with six solid planes that cannot be chopped up to allow a vent to fit nicely within. So the black, orange, and purple vents are offset. The red sits on the exterior plane, I think, but it's hard to notice whether it is offset or not. That's more of an unusual case where a VENT floats like that.
I'll leave this case open to give Jason and Glenn a chance to test. Note that nothing has been changed in Smokeview---just the way FDS writes the smv file.
One note for posterity. I removed a parameter called VT%DRAW whose sole purpose was to tell Smokeview to draw or not draw certain VENTs. However, this parameter was being set in the wall cell set up routine, which was not being called for SETUP_ONLY. That is why the behavior was different depending on whether T_END was set to 0 or not. That parameter is gone now.
looks ok to me. also for posterity, smokeview has a dialog wdiget for chaning vent offset.
select Dialogs>Display menu item
select Lines/Offsets/Surfaces/Other tab
Can that default be set to 0.1, or some fraction of the depth buffer? Ideally it should be as close to the surface without causing an overlap pattern. In my simple example, a value of 0.1 looks good, 0.05 even better. By about 0.01, I see a bit of interference.
changed smokeview so that it now estimates using the depth buffer how closely it can draw two objects. smokeview then offsets vents using twice this distance. you can over ride this offset using the vent offset dialog widget under the Display dialog box
but now there is another problem. The outline vents are sometimes double, and hide background surfaces. This might be an issue of the way FDS writes the smv file, but I don't see why the vents should be different other than one is outlines and one is not.
On Mon, Sep 7, 2026, 3:09 PM Kevin McGrattan ***@***.***> wrote:
*mcgratta* left a comment (firemodels/smv#2661)
<#2661 (comment)>
I ran this case
&HEAD CHID='Test2' /
&TIME T_END=0.1 /
&MESH IJK=30,30,25, XB=-1.5, 1.5,-1.5, 1.5, 0.0, 2.5 /
&MESH IJK=12,12,29, XB=-0.6, 0.6,-2.7,-1.5,-0.4, 2.5 /
&OBST XB= 0.0,0.6,-1.6,-1.5,-0.4,2.5, COLOR='GREEN' /
&SURF ID='WALL', DEFAULT=T /
&VENT SURF_ID='WALL', XB= 0.4, 0.5,-1.5,-1.5, 1.0, 2.1, COLOR='BLACK', OUTLINE=T /
&VENT SURF_ID='WALL', XB=-0.5,-0.4,-1.5,-1.5, 1.0, 2.1, COLOR='RED', OUTLINE=T /
&VENT SURF_ID='WALL', XB= 0.4, 0.5,-1.6,-1.6, 1.0, 2.1, COLOR='YELLOW', OUTLINE=T /
&VENT SURF_ID='WALL', XB= 0.8, 0.9,-1.5,-1.5, 1.0, 2.1, COLOR='BLUE', OUTLINE=T /
&VENT SURF_ID='WALL', XB= 0.4, 0.9,-1.5,-1.5, 0.4, 0.5, COLOR='ORANGE', OUTLINE=T /
&VENT SURF_ID='WALL', XB=-0.4, 0.2,-1.5,-1.5, 0.4, 0.5, COLOR='PURPLE', OUTLINE=T /
&TAIL /
but now there is another problem. The outline vents are sometimes double,
and hide background surfaces. This might be an issue of the way FDS writes
the smv file, but I don't see why the vents should be different other than
one is outlines and one is not.
—
Reply to this email directly, view it on GitHub
<#2661?email_source=notifications&email_token=AC6UCRWGQKMXKTI36H7P2NL5N4BXTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKNJXGQ3TINZRGE2KM4TFMFZW63VGMFZXG2LHN2SWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5574747114>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC6UCRV4BNWX6FMPHANUT7L5N4BXTAVCNFSNUABEKJSXA33TNF2G64TZHM3DOMBVGE3DCOB3JFZXG5LFHM2TEMJVG44DINRQGWQXMAQ>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
think smokeview is also drawing two vents when OUTLINE=F . it is not as obvious because smokeview only draws "one side" of the vent. you only see one of the two vents at a time. increase the vent offset to make this more obvious. one thing I don't understand that only one of the two vents appears to be affected by the vent offset parameter. from the front first vent is offset. when I rotate scene other vent is flush against the mesh boundary. I'll check to see why
Activity
gforney commentedon Aug 21, 2026
gforney commentedon Aug 21, 2026
when I rerun the case after setting T_END=0 I see the vents. fds has logics for telling smokeview what vents to draw.. think the issue may be related to lines after 2360 in dump.f90 . if I remove lines within blocks begginning IF (.NOT.SETUP_ONLY) THEN i see the vents though they overlap with other vents so this is not the complete solution. could @drjfloyd or @mcgratta look at this code block and see if fds is outputting the vent info to smokeview correctly for the case that a vent is on an internal blockage
mcgratta commentedon Aug 24, 2026
I'll take a look at this.
mcgratta commentedon Aug 24, 2026
I have not figured it out yet, but here it is stripped down to its essentials:
mcgratta commentedon Aug 25, 2026
For some reason, we have specific logic as to show or not show vents based on whether the case is designed only for checking the set up. Not sure why, but I'll dig into the archives.
mcgratta commentedon Aug 27, 2026
Take a look at this case
which produces
I've hopefully improved the logic by which FDS will tell Smokeview to draw a
VENTflush with the wall as long as there is noOBSTthat will interfere. To draw that blue vent, we actually create a number of exterior patches for Smokeview to draw, all exactly flush with the exterior surface plane. However, that green obstruction is drawn with six solid planes that cannot be chopped up to allow a vent to fit nicely within. So the black, orange, and purple vents are offset. The red sits on the exterior plane, I think, but it's hard to notice whether it is offset or not. That's more of an unusual case where aVENTfloats like that.I'll leave this case open to give Jason and Glenn a chance to test. Note that nothing has been changed in Smokeview---just the way FDS writes the smv file.
mcgratta commentedon Aug 27, 2026
One note for posterity. I removed a parameter called
VT%DRAWwhose sole purpose was to tell Smokeview to draw or not draw certainVENTs. However, this parameter was being set in the wall cell set up routine, which was not being called forSETUP_ONLY. That is why the behavior was different depending on whetherT_ENDwas set to 0 or not. That parameter is gone now.gforney commentedon Aug 28, 2026
looks ok to me. also for posterity, smokeview has a dialog wdiget for chaning vent offset.
select Dialogs>Display menu item
select Lines/Offsets/Surfaces/Other tab
mcgratta commentedon Aug 28, 2026
Is "chaning" a typo or some computer jargon I am not aware of? Also, what are the units of the offset and what is the default?
drjfloyd commentedon Aug 28, 2026
missing a g I think - changing
gforney commentedon Aug 28, 2026
default value 0.2,
units - dimensionless, fraction of the 'x' side of a grid cell - xplt[1]-xplt[0] of first mesh
mcgratta commentedon Aug 28, 2026
Can that default be set to 0.1, or some fraction of the depth buffer? Ideally it should be as close to the surface without causing an overlap pattern. In my simple example, a value of 0.1 looks good, 0.05 even better. By about 0.01, I see a bit of interference.
gforney commentedon Aug 28, 2026
gforney commentedon Sep 6, 2026
changed smokeview so that it now estimates using the depth buffer how closely it can draw two objects. smokeview then offsets vents using twice this distance. you can over ride this offset using the vent offset dialog widget under the Display dialog box
mcgratta commentedon Sep 7, 2026
I ran this case
but now there is another problem. The outline vents are sometimes double, and hide background surfaces. This might be an issue of the way FDS writes the smv file, but I don't see why the vents should be different other than one is outlines and one is not.
gforney commentedon Sep 7, 2026
mcgratta commentedon Sep 7, 2026
Probably not. Take a look at how Smokeview draws a vent with and without
OUTLINE=T. There seems to be a difference.gforney commentedon Sep 8, 2026
think smokeview is also drawing two vents when OUTLINE=F . it is not as obvious because smokeview only draws "one side" of the vent. you only see one of the two vents at a time. increase the vent offset to make this more obvious. one thing I don't understand that only one of the two vents appears to be affected by the vent offset parameter. from the front first vent is offset. when I rotate scene other vent is flush against the mesh boundary. I'll check to see why