ADD_STOP_CRITERION

The ADD_STOP_CRITERION command is available to use once there is data included with a simulation. Use this command to add an alternative criteria (instead of the final time) to terminate the simulation.

SET_PLOT_CONDITION and Plot Condition and Independent Variable

Most of the "plot-conditions" in the post-processor can now be used as termination criteria for a DICTRA simulation.

Syntax

ADD_STOP_CRITERION

Prompts

TYPE OF STOP CONDITION /INTEGRAL/:

An overall condition corresponding to the PLOT_CONDITION used in the post-processor to define where/how the criteria for termination is defined.

Enter one of the following:

  • DISTANCE: Distance in the system. It defines a local or global position where the value of a state variable defines if the simulation should be terminated.

  • INTERFACE: At an interface where the value of a state variable defines if the simulation should be terminated.

  • INTEGRAL: Value is integrated over the phase/region/system volume (the default). An INTEGRAL VARIABLE value should be used to define the termination.

See below for additional prompt details.

If DISTANCE is entered, then

TYPE OF DISTANCE /GLOBAL/:

Fixed distance in the system. Enter one of the following:

  • GLOBAL: i.e. counted from the leftmost interface (the default).

  • LOCAL: i.e. counted from the interface to the left of the region. If this is entered then also enter,

    • NAME OF REGION
    • DISTANCE
If INTEGRAL is entered then

INTEGRAL VARIABLE:

Enter the integral variable used to define the termination criteria.

Integral Variables details how to construct the value.

If INTERFACE is entered then

Enter the interface of the system. Enter ? to list the options based on the set up.

Options are:

  • Region name
  • FIRST
  • LAST

If a "region name" is entered, then you are further prompted:

UPPER OR LOWER INTERFACE OF REGION:

This then defines the position at as the interface at the UPPER or LOWER part of the named region.

STATE VARIABLE:

Enter the state variable used to define the termination criteria.

See State Variables in Console Mode DICTRA for details about how to construct the value.

For either the INTEGRAL VARIABLE or STATE VARIABLE

TERMINATION VALUE:

The criteria for the value of the variable that should trigger a termination of the simulation.

Valid answers are for a numeric value.