Skip to content

vents not showing #2661

Open
Open

Description

@drjfloyd

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.

Test2_052225_LR.txt

Image Image

Activity

  1. gforney commented on Aug 21, 2026

    @gforney
    Contributor
  2. gforney commented on Aug 21, 2026

    @gforney
    Contributor

    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

  3. mcgratta commented on Aug 24, 2026

    @mcgratta
    Contributor

    I'll take a look at this.

  4. mcgratta commented on Aug 24, 2026

    @mcgratta
    Contributor

    I have not figured it out yet, but here it is stripped down to its essentials:

    &HEAD CHID='Test2' /
    &TIME T_END=1 /
    &MESH IJK=30,30,25, XB=-1.524,1.524,-1.524,1.524,0.0,2.54/
    &MESH IJK=12,12,29, XB=-0.6096,0.6096,-2.7432,-1.524,-0.4064,2.54/
    &OBST XB=-0.6096,0.6096,-1.6256,-1.5239,-0.4064,2.54 /
    &VENT SURF_ID='INERT', XB=0.4064,0.508,-1.5240,-1.5240,1.016,2.1336, RGB=102,0,0 /
    &VENT SURF_ID='INERT', XB=0.4064,0.508,-1.6256,-1.6256,1.016,2.1336, RGB=102,0,0 /
    &TAIL /
    
  5. mcgratta commented on Aug 25, 2026

    @mcgratta
    Contributor

    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.

  6. mcgratta commented on Aug 27, 2026

    @mcgratta
    Contributor

    Take a look at 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' /
    &VENT SURF_ID='WALL', XB=-0.5,-0.4,-1.5,-1.5, 1.0, 2.1, COLOR='RED' /
    &VENT SURF_ID='WALL', XB= 0.4, 0.5,-1.6,-1.6, 1.0, 2.1, COLOR='YELLOW' /
    &VENT SURF_ID='WALL', XB= 0.8, 0.9,-1.5,-1.5, 1.0, 2.1, COLOR='BLUE' /
    &VENT SURF_ID='WALL', XB= 0.4, 0.9,-1.5,-1.5, 0.4, 0.5, COLOR='ORANGE' /
    &VENT SURF_ID='WALL', XB=-0.4, 0.2,-1.5,-1.5, 0.4, 0.5, COLOR='PURPLE' /
    &TAIL /
    

    which produces

    Image

    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.

  7. mcgratta commented on Aug 27, 2026

    @mcgratta
    Contributor

    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.

  8. gforney commented on Aug 28, 2026

    @gforney
    Contributor

    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

    Image
  9. mcgratta commented on Aug 28, 2026

    @mcgratta
    Contributor

    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?

  10. drjfloyd commented on Aug 28, 2026

    @drjfloyd
    ContributorAuthor

    missing a g I think - changing

  11. gforney commented on Aug 28, 2026

    @gforney
    Contributor

    default value 0.2,
    units - dimensionless, fraction of the 'x' side of a grid cell - xplt[1]-xplt[0] of first mesh

  12. mcgratta commented on Aug 28, 2026

    @mcgratta
    Contributor

    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.

  13. gforney commented on Aug 28, 2026

    @gforney
    Contributor
  14. gforney commented on Sep 6, 2026

    @gforney
    Contributor

    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

  15. mcgratta commented on Sep 7, 2026

    @mcgratta
    Contributor

    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.

  16. gforney commented on Sep 7, 2026

    @gforney
    Contributor
  17. mcgratta commented on Sep 7, 2026

    @mcgratta
    Contributor

    Probably not. Take a look at how Smokeview draws a vent with and without OUTLINE=T. There seems to be a difference.

  18. gforney commented on Sep 8, 2026

    @gforney
    Contributor

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions