This section lists Global/Shared Variables and Grid/ Mesh variables which can be used everywhere within the Expression Editor.
The following Shared Global variables are available in the Expression Editor:
| Expression | Function | Example |
|---|---|---|
| pi | π | |
| time | Time in seconds | minutes = time / 60 |
| x,y,z | Position | new_x = x +2 |
Table 13.6 - Global/Shared Variables
The following Grid/Mesh variables are available in the Expression Editor:
| Expression | Function |
|---|---|
| Grid Nodes | |
| x,y,z | Original mesh coordinates [m] as scalars |
| coord | Original mesh coordinates [m] as a vector |
| Cells | |
| volume | Cell volume [m3] |
| Faces | |
| normal | Face normal [m] (a vector) |
| area | Face area [m2] (a scalar) |
Table 13.7 - Grid/Mesh Variables
|
|
Copyright © 2023 Simerics Inc., |