# Domain variables

### From Gerris

(Difference between revisions)

Revision as of 14:44, 27 June 2010Kristjan (Talk | contribs) (→Derived variables) ← Previous diff |
Current revisionPopinet (Talk | contribs) (→Derived variables) |
||

Line 45: |
Line 45: | ||

; Pid : Parent box process ID | ; Pid : Parent box process ID | ||

; Id : Parent box ID | ; Id : Parent box ID | ||

+ | ; Orthogonality : deviation (in degrees) from orthogonality of the local coordinate system (when using [[Object_hierarchy#General_orthogonal_coordinates|general orthogonal coordinates]]) |

## Current revision

The following domain variables are predefined. Other domain variables can be added dynamically using GfsVariable and its descendants.

[edit]

## Primary variables

- U
- x-component of the velocity
- V
- y-component of the velocity
- W
- z-component of the velocity
- P
- approximate projection pressure
- Pmac
- MAC projection pressure

[edit]

## Derived variables

- x
- x-coordinate of the center of mass of the cell
- y
- y-coordinate of the center of mass of the cell
- z
- z-coordinate of the center of mass of the cell
- ax
- x-coordinate of the center of area of the solid surface
- ay
- y-coordinate of the center of area of the solid surface
- az
- z-coordinate of the center of area of the solid surface
- cx
- x-coordinate of the center of the cell
- cy
- y-coordinate of the center of the cell
- cz
- z-coordinate of the center of the cell
- rx
- x-coordinate of the center of the cell in the Gerris coordinate system (identical to cx when not using coordinate mapping)
- ry
- y-coordinate of the center of the cell in the Gerris coordinate system
- rz
- z-coordinate of the center of the cell in the Gerris coordinate system
- dV
- volume of the cell
- dL
- length of the cell
- t
- physical time
- dt
- timestep
- Vorticity
- norm of the vorticity vector of the velocity field
- Divergence
- divergence of the velocity field
- Velocity
- norm of the velocity vector
- Velocity2
- squared norm of the velocity vector
- Level
- quad/octree level of the cell
- A
- fluid fraction of the cell
- S
- area of the solid contained in the cell
- Sr
- fluid fraction of the right cell face
- Sl
- fluid fraction of the left cell face
- St
- fluid fraction of the top cell face
- Sb
- fluid fraction of the bottom cell face
- Sf
- fluid fraction of the front cell face
- Sk
- fluid fraction of the back cell face
- Lambda2
- vortex-detection criterion of Jeong & Hussain
- Curvature
- curvature of the local streamline
- D2
- second principal invariant of the deformation tensor
- Pid
- Parent box process ID
- Id
- Parent box ID
- Orthogonality
- deviation (in degrees) from orthogonality of the local coordinate system (when using general orthogonal coordinates)