SET_PLOT_CONDITION

There are two free variables after a simulation is done in theDICTRA module. One is the simulation TIME, the other one is a DISTANCE in the system. In general, when plotting a diagram you must choose either type as fixed (i.e. the plot condition), the other one is then the independent variable. However, when plotting integral quantities, plot condition is automatically set to INTEGRAL and TIME is chosen as independent variable.

You cannot mix different kinds of plot conditions. However, for TIME and DISTANCE you can give up to 15 different condition values, see sub-prompt VALUE(S) below. The plot condition chosen is printed on a separate line above the diagram.

Plot Condition and Independent Variable

Syntax

set_plot_condition

Prompts

Condition

Specify the type of condition to set. Valid conditions are:

  • NONE: Condition not set.
  • TIME: Integration time.
  • DISTANCE: Distance in system.
  • INTERFACE: At a certain interface.
  • INTEGRAL: Value is integrated over the phase/region/system volume
  • TIE_LINE: Pair of values from both sides of certain interface.

Depending on the condition some or none of these sub-prompts may display.

 

Interface

Specify at which interface the condition should be set. FIRST and LAST refer to the leftmost and the rightmost interface of the system, respectively. Type ? to get a full list of relevant region names.

 

Type

When distance is chosen as plot condition specify the type of distance. A distance may be GLOBAL, i.e. counted from the leftmost interface, or LOCAL, i.e. counted from the interface to the left of the region whose name you are prompted for.

 

Name of region

Give the name of the region within which the distance is measured.

 

At upper interface of region

Give the name of the region which upper interface is specified for the TIE_LINE plotting. This plot-condition allows you to plot a certain quantity from both sides of an interface. The typical application is for plotting tie-lines.

 

Upper or lower interface of region

Specify if the condition is at the LOWER or UPPER interface of a region. The LOWER interface is placed on the left side of a region and the UPPER interface on its right side.

 

Value(s)

Supply up to 15 numerical values separated by commas or spaces for the condition set. If plot condition TIME was chosen FIRST, LAST or #n (where n is an integer number) may be specified. #? provides a list of time steps.