Definition (when used under CalculationCondition element or BoundaryCondition element)

Definition element contains definition information of calculation conditions or grid attributes or boundary conditions.

Example

List 63 Example of Definition definition 1
1
<Definition valueType="integer" default="1" />
List 64 Example of Definition definition 2
1
2
3
4
<Definition valueType="integer" default="0" >
  <Enumeration value="0" caption="Standard" />
  <Enumeration value="1" caption="Advanced" />
</Definition>

Refer to Examples of calculation conditions, boundary conditions, and grid generating condition for examples of Condition element definition.

Attributes

Table 16 Attributes of Definition
Name Value Required Description  
valueType Refer to the table below Yes Value type  
default String   Default value  
noSort true or false   When value “true” is specified the table on the dialog is not sorted by Param value.
Table 17 valueType values
Value Meaning
integer Integer
real Real number
string String
functional Functional type
filename File name
filename_all filename; even a file that currently does not exist can be specified
foldername Folder name
result_gridNodeInteger Select integer value calculation result defined at grid nodes
result_gridNodeReal Select real value calculation result defined at grid nodes
result_gridCellInteger Select integer value calculation result defined at grid cells
result_gridCellReal Select real value calculation result defined at grid cells
result_gridEdgeIInteger Select integer value calculation result defined at I-direction edges
result_gridEdgeIReal Select real value calculation result defined at I-direction edges
result_gridEdgeJInteger Select integer value calculation result defined at J-direction edges
result_gridEdgeJReal Select real value calculation result defined at J-direction edges
result_baseIterativeInteger Select integer value calculation result defined globally
result_baseIterativeReal Select real value calculation result defined globally

Child elements

Table 18 Child elements of Definition
Name Required Description
Enumeration   It should be specified when solver developers wants to limit the selection of the value. It can be specified only when valueType is integer or real.
Condition   The condition that must be met when the element become active.
Param   value for horizontal axis. It can be specified only when valueType is functional.
Value   value for vertical axis. It can be specified only when valueType is functional.