|
Definitions |
Top Previous Next |
|
The DEFINTIONS section is used to declare and assign names to special numerical constants, coefficients, and functions used in a problem descriptor.
In assigning names to the definitions, the following rules apply:
Normally, when a definition is declared it is assigned a value by following it with the assignment operator '=' and either a value or an expression. Definitions are dynamic elements and when a value is assigned, it will be the initial value only and will be updated, if necessary, by the problem solution.
Example: Viscosity = 3.02e-4*exp(-5*Temp)
Definitions are expanded inline in the partial differential equations of the EQUATIONS section. They are not represented by a finite element approximation over the mesh, but are calculated as needed at various times and locations.
Redefining Regional Parameters
Names defined in the DEFINITIONS section may be given overriding definitions in some or all of the REGIONS of the BOUNDARIES section. In this case, the quantity may take on different region-specific values. Quantities which are completely specified in subsequent REGIONS may be stated in the DEFINITIONS section without a value.
See the User Guide section "Setting Material Properties by Region" for examples of redefined regional parameters.
|