Skip to content

HIDE/SHOW information in SMV is not based on Initial State logic of Controls. #16185

@bwklein

Description

@bwklein

FDSVERSION
FDS-6.10.1-0-g12efa16-release

Describe the bug

See the attached FDS files.

hole_control-Default.zip

The 'and' control on line 11 of the .fds file should set the initial state of the OBST on line 21 to 'TRUE'. If you look at the _ctrl.csv file you will see that it is reporting a value of 1 at t=0.

In the .smv file, on line 263 and 264 it says:

HIDE_OBST     1
     1      0.000000

Which is hiding the OBST at t=0 in Smokeview (and in the PyroSim Results viewer).

Then after the first timestep in the .smv file lines 269 and 270 we see:

SHOW_OBST     1
     1      0.159665

Which makes the OBST show up as it should have been at t=0.

The OBST is then removed at t=2.0 based on the input file, where the inputs from lines 12 and 14 change to FALSE, which changes the 'and' CTRL to FALSE.

In the .smv file on lines 273 and 274, we see the input change state with DEVICE_ACT to FALSE at 2.08 s and on lines 275 and 276 this state change is reflected a timestep later at 2.235310 s where the 3 OBST are all hidden at the same time.

HIDE_OBST     1
     1      2.235310
HIDE_OBST     1
     2      2.235310
HIDE_OBST     1
     3      2.235310

Then on lines 281 and 282 we see 'Vent01' open at 2.24 s, which begins flow.

OPEN_VENT     1
     2      2.24

Expected behavior

The OBST controlled by the 'and' CTRL should have not been hidden at t=0 by the HIDE_OBST information on lines 263 and 264 as the initial state should be TRUE, as it is shown in the _devc.csv file. Then there wouldn't be a need for the SHOW_OBST on lines 269 and 270.

The Vent should be shown at the same time as the OBST are removed. I think that it is not in sync because the time values controlling the OBST are written with more precision, where the DEVICE_ACT and CLOSE/OPEN_VENT information seems to be rounded to 2 places after the decimal. The same precision should be used for all time values written in this section of the SMV file.

Additional context

The 'invert' and 'and' controls are a quirk of PyroSim, where we convert HOLE records to OBST and invert the logic to accomplish the user's intent. It is related to how we have to show original CAD geometry and Actual FDS geometry in the Results at the same time, with Controls changing the state of both in a reliable way. Having said that, it is only to explain the Control logic and shouldn't change the behavior or reflection of state in Smokeview or PyroSim Results.

Metadata

Metadata

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