Repository navigation
Description
Discussed in #16607
Originally posted by ESett5555 September 30, 2026
Hi everyone,
Following up on discussion #16594, I am encountering an issue when combining &CTRL / &DEVC with a RESTART.
To isolate the problem, I set up a minimal test case (input file attached as error_restart.txt):
- A simple
$11 \times 7 \times 7\text{ m}$ room with adiabatic boundaries in Y and Z directions, and 1 m thick walls at both X boundaries. - A
$0.5 \times 0.5\text{ m}$ opening on each X wall:- At
$x = 0\text{ m}$ : a&VENTsupplying$20\text{ }^\circ\text{C}$ air at$1\text{ kg/s}$ , controlled by a&DEVC(QUANTITY='TIME', SETPOINT=45., INITIAL_STATE=.TRUE.). A device tracksmass_flux_in. - At
$x = 11\text{ m}$ : anOPEN&VENTwith a device trackingmass_flux_out.
- At
- Two
&OBSTlines linked to a&DEVC(QUANTITY='TIME', SETPOINT=45., INITIAL_STATE=.FALSE.), which are supposed to block the holes, in AQUAMARINE (green blueish) color. - A
RESTARTandKILLcontrol logic triggered at$t = 30\text{ s}$ via&CTRLand a time-based&DEVC.
Expected sequence:
-
$t = 0$ to$30\text{ s}$ : Normal flow,mass_flux_in$\approx$ mass_flux_out$\approx 1\text{ kg/s}$ . - At
$t = 30\text{ s}$ : Simulation stops and generates restart files. When resumed withRESTART = .TRUE.on&MISC, the flow should continue uninterrupted (mass_flux_in$\approx$ mass_flux_out$\approx 1\text{ kg/s}$ ). - At
$t = 45\text{ s}$ : Both&OBSTappear and the supply fan turns off; mass fluxes should drop to$0\text{ kg/s}$ .
The issue:
Right after the restart at OPEN VENT at mass_flux_out immediately collapses to mass_flux_in increases a bit. However, later at &OBST do appear as expected on Smokeview (see the vector slide below).
Vector slice at y=0 of U-VEL:
pour.error_restart.mov
Tests conducted:
- Stopping the calculation via a
CHID.stopfile instead of&CTRLKILL/RESTARTleads to the exact same behavior (outflow drops to zero upon restart). - If I delete the second dynamic
&OBSTline (line 28 in the attached file), the restart works as expected:mass_flux_outremains at$1\text{ kg/s}$ until$t = 45\text{ s}$ .
Could this be a pointer or indexing offset occurring when restoring dynamic boundary conditions / obstructions from the .restart file?
Any insight would be greatly appreciated!
I am working with FDS-6.11.0-132-g8f3c0f3-nightly.
error_restart.txt
Activity
mcgratta commentedon Sep 30, 2026
I think I have found the problem. When the case is restarted, the
OPENvent is not activated because it appears that the obstruction is still there. This is not a control problem, but rather a problem with the start-up logic. I'll fix.mcgratta commentedon Oct 1, 2026
I fixed the problem, which was that the
OBSTblocking theOPENhole was not removed again upon restarting the case. That is, FDS restored it to being solid at 30 s even though it was not due to be removed until 45 s. New plot isI'll leave this case open until you have a chance to test it. Assuming we have a successful test tonight, it will be available tomorrow.
ESett5555 commentedon Oct 2, 2026
Hello @mcgratta ,
Thank you for the fix. I will try to test it on my computer the case during next week.
Have a great day !
ESett5555 commentedon Oct 5, 2026
Hello again,
I had the time to test it with the new nightly bundle, and it works as expected.
Thank you for the fix and for your time.