Skip to content

D2q9 lee

Description

d2q9_lee

Details

Model description files files for this model: Dynamics.c Dynamics.R

Zonal Settings

Name Comment
InletVelocity inlet velocity
InletPressure inlet pressure
InletDensity inlet density
OutletDensity inlet density
InitDensity inlet density
WallDensity vapor/liquid density of wall
MovingWallVelocity Velocity of the MovingWall
WetDensity wet density
DryDensity dry density
Wetting wetting factor
MomentumXInObj Weight of [momentum] in objective
MomentumYInObj Weight of [momentum] in objective
MassInObj Weight of [mass] in objective

Global Settings

Name Derived Comment
omega 1.0/(3*nu + 0.5) one over relaxation time
nu viscosity
GravitationY Gravitation in the direction of y
GravitationX Gravitation in the direction of x
LiquidDensity Density of liquid phase
VaporDensity Density of vapor phase
Beta Beta of Lee model
Kappa Capilarity
Threshold Parameters threshold

Exported Quantities (VTK, etc)

Name Unit Comment
Rho kg/m3 Rho
U m/s U
Nu kg/m3 Nu
P Pa P

Exported Global Integrals (CSV, etc)

Name Unit Comment
MomentumX 1 momentum
MomentumY 1 momentum
Mass 1 mass
Objective 1 Objective function

Node Types

Group Types
ADDITIONALS Wet, Dry
BOUNDARY MovingWall, ForcedMovingWall, EPressure, EVelocity, Solid, Wall, WPressure, WVelocity
COLLISION BGK, MRT
SETTINGZONE DefaultZone

Solved fields

Name Access pattern Comment
f0 stencil f0
f1 stencil f1
f2 stencil f2
f3 stencil f3
f4 stencil f4
f5 stencil f5
f6 stencil f6
f7 stencil f7
f8 stencil f8
rho stencil rho
nu stencil nu

Densities - default accessors

Name Field Pulling field from Comment
f0 f0 stencil f0
f1 f1 stencil f1
f2 f2 stencil f2
f3 f3 stencil f3
f4 f4 stencil f4
f5 f5 stencil f5
f6 f6 stencil f6
f7 f7 stencil f7
f8 f8 stencil f8

Action stages

Name Main procedure Preloaded densities Pushed fields
BaseIteration Run f0, f1, f2, f3, f4, f5, f6, f7, f8 f0, f1, f2, f3, f4, f5, f6, f7, f8
CalcRho CalcRho f0, f1, f2, f3, f4, f5, f6, f7, f8 rho
CalcNu CalcNu none nu
InitRho InitRho none rho
InitF InitF none f0, f1, f2, f3, f4, f5, f6, f7, f8
InitF2 InitF2 none f0, f1, f2, f3, f4, f5, f6, f7, f8

Actions

Name Stages
Iteration BaseIteration, CalcRho, CalcNu
Init InitF2, CalcRho, CalcNu