14.2. Keyword variables
The following keyword variables are defined and should not be used for any other field, i.e. not defined in an Equations class via e.g. define_scalar_field(). You can use these keyword variables as usually with var() or nondim() for the dimensional or nondimensionalized quantity, respectively.
Note that the time-derivative of the mesh variable only gives the mesh velocity if you use it with ALE=False, i.e. partial_t(var("mesh"),ALE=False). Therefore, better use mesh_velocity() instead and e.g. mesh_velocity()[0] for the velocity in x-direction.
|
Current time |
|
indepedent coordinate vector. Time derivatives of this variable are zero |
|
indepedent x-coordinate. Time derivatives of this variable are zero |
|
indepedent y-coordinate. Time derivatives of this variable are zero |
|
indepedent z-coordinate. Time derivatives of this variable are zero |
|
mesh coordinate vector, similar to |
|
mesh x-coordinate, similar to |
|
mesh y-coordinate, similar to |
|
mesh z-coordinate, similar to |
|
Lagrangian coordinate vector. By default, initialized with the initial Eulerian |
|
Lagrangian x-coordinate |
|
Lagrangian y-coordinate |
|
Lagrangian z-coordinate |
|
Normal vector. To be used at elements with co-dimension, i.e. interface elements |
|
x-component of the normal |
|
y-component of the normal |
|
z-component of the normal |
|
Can be used like in FEniCS to express |
|
Same as |
|
Eulerian integration of the volume/area/length of the current element. Uses the coordinate system of the element, i.e. considers e.g. \(2\pi r\) in axisymmetry |
|
Same as above, but does not consider the coordinate system |
|
Same as |
|
Same as |
|
Typical length scale of the element, calculated by taking |
|
Typical length scale of the element, but calculated in a cartesian coordinate system |