Global Variables
These variables are used everywhere within the expression editor.
Global/Shared Variables
Expression
Function
Example
pi
π
time
Time in seconds
minutes = time / 60
x,y,z
Position
new_x = x +2
Grid/Mesh Variables
Expression
Function
Grid Nodes
x,y,z
Original mesh coordinates [m] as scalars
Co-ord
Original mesh coordinates [m] as a vector
Cells
volume
Cell volume [m3]
Faces
normal
Face normal [m] (a vector)
area
Face area [m2] (a vector)