11.4 Auto Terminate (Simulation End) Options

The Auto Terminate command automatically stops a simulation once a specified water level threshold is reached at a user defined monitoring location. At model startup, TUFLOW FV reads the initial water level at the specified location (IWL) and compares it to the user defined target water level (WL_target). The simulation tracks the model water level at the specified location (MWL) and TUFLOW FV exits cleanly once the target condition is met. Auto termination is based on the following logic:

  • If IWL > WL_target, TUFLOW FV assumes that water levels will follow a decreasing trend during the simulation and will terminate when MWL <= WL_target.
  • If IWL < WL_target, TUFLOW FV assumes that water levels will follow an increasing trend during the simulation and will terminate when MWL >= WL_target.
The command is described in Table 11.4.
Table 11.4: Auto Terminate Command
Command Description
Auto Terminate Optional - Terminates the simulation when a specified water level threshold is reached at a monitoring location.

The example below enables Auto Terminate with a target water level of 6.0 at a specified monitoring location within the model domain.

In the .fvc file the syntax is as follows.

! Auto Terminate
Auto Terminate == 1, 159.07365, -31.35875, 6.0 ! {0 Disables} | 1 Enables Auto Terminate, X coordinate of the monitoring point (map units), Y coordinate of the monitoring point (map units), Target water level at which the simulation will stop (mRL or ftRL)

The log file reports the 2D cell ID associated with the specified monitoring location and if the coordinates fall outside the model domain, TUFLOW FV will return an error.