d2q9 pf pressureEvolution
Description
d2q9_pf_pressureEvolution
Details
Model description files files for this model: Dynamics.c Dynamics.R
Zonal Settings
Name | Comment |
---|---|
PhaseField |
Initial PhaseField distribution |
VelocityX |
inlet/outlet/init velocity |
VelocityY |
inlet/outlet/init velocity |
Pressure |
inlet/outlet/init density |
PressureLossInObj |
Weight of [pressure loss] in objective |
OutletFluxInObj |
Weight of [pressure loss] in objective |
InletFluxInObj |
Weight of [pressure loss] in objective |
TotalDensityInObj |
Weight of [Mass conservation check] in objective |
Global Settings
Name | Derived | Comment |
---|---|---|
Density_h |
High density | |
Density_l |
Low density | |
PhaseField_h |
PhaseField in Liquid | |
PhaseField_l |
PhaseField gas | |
W |
Anti-diffusivity coeff | |
M |
Mobility | |
sigma |
surface tension | |
omega_l |
1.0/(3*Viscosity_l) | one over relaxation time (low density fluid) |
omega_h |
1.0/(3*Viscosity_h) | one over relaxation time (high density fluid) |
Viscosity_l |
kinematic viscosity | |
Viscosity_h |
kinematic viscosity | |
GravitationX |
applied (rho)*GravitationX | |
GravitationY |
applied (rho)*GravitationY | |
BuoyancyX |
applied (rho-rho_h)*BuoyancyX | |
BuoyancyY |
applied (rho-rho_h)*BuoyancyY | |
GmatchedX |
applied (1-phi)*GmatchedX | |
GmatchedY |
applied (1-phi)*GmatchedY | |
Threshold |
Parameters threshold |
Exported Quantities (VTK, etc)
Name | Unit | Comment |
---|---|---|
Rho |
kg/m3 |
Rho |
PhaseField |
1 |
PhaseField |
U |
m/s |
U |
P |
Pa |
P |
Mu |
1 |
Mu |
Normal |
1/m |
Normal |
InterfaceForce |
N |
InterfaceForce |
Exported Global Integrals (CSV, etc)
Name | Unit | Comment |
---|---|---|
PressureLoss |
1mPa |
pressure loss |
OutletFlux |
1m2/s |
pressure loss |
InletFlux |
1m2/s |
pressure loss |
TotalDensity |
1kg/m3 |
Mass conservation check |
Objective |
1 |
Objective function |
Node Types
Group | Types |
---|---|
BOUNDARY | EPressure, EVelocity, Solid, Wall, WPressure, WVelocity |
COLLISION | BGK, MRT |
SETTINGZONE | DefaultZone |
Solved fields
Name | Access pattern | Comment |
---|---|---|
f[0] |
f[0] | |
f[1] |
f[1] | |
f[2] |
f[2] | |
f[3] |
f[3] | |
f[4] |
f[4] | |
f[5] |
f[5] | |
f[6] |
f[6] | |
f[7] |
f[7] | |
f[8] |
f[8] | |
h[0] |
h[0] | |
h[1] |
h[1] | |
h[2] |
h[2] | |
h[3] |
h[3] | |
h[4] |
h[4] | |
h[5] |
h[5] | |
h[6] |
h[6] | |
h[7] |
h[7] | |
h[8] |
h[8] | |
PhaseF |
PhaseF |
Densities - default accessors
Name | Field | Pulling field from | Comment |
---|---|---|---|
f[0] |
f[0] | f[0] | |
f[1] |
f[1] | f[1] | |
f[2] |
f[2] | f[2] | |
f[3] |
f[3] | f[3] | |
f[4] |
f[4] | f[4] | |
f[5] |
f[5] | f[5] | |
f[6] |
f[6] | f[6] | |
f[7] |
f[7] | f[7] | |
f[8] |
f[8] | f[8] | |
h[0] |
h[0] | h[0] | |
h[1] |
h[1] | h[1] | |
h[2] |
h[2] | h[2] | |
h[3] |
h[3] | h[3] | |
h[4] |
h[4] | h[4] | |
h[5] |
h[5] | h[5] | |
h[6] |
h[6] | h[6] | |
h[7] |
h[7] | h[7] | |
h[8] |
h[8] | h[8] |
Action stages
Name | Main procedure | Preloaded densities | Pushed fields |
---|---|---|---|
PhaseInit | Init | none | PhaseF |
BaseInit | Init_distributions | none | f[0], f[1], f[2], f[3], f[4], f[5], f[6], f[7], f[8], h[0], h[1], h[2], h[3], h[4], h[5], h[6], h[7], h[8] |
calcPhase | calcPhaseF | h[0], h[1], h[2], h[3], h[4], h[5], h[6], h[7], h[8] | PhaseF |
BaseIter | Run | f[0], f[1], f[2], f[3], f[4], f[5], f[6], f[7], f[8], h[0], h[1], h[2], h[3], h[4], h[5], h[6], h[7], h[8] | f[0], f[1], f[2], f[3], f[4], f[5], f[6], f[7], f[8], h[0], h[1], h[2], h[3], h[4], h[5], h[6], h[7], h[8] |
Actions
Name | Stages |
---|---|
Iteration | BaseIter, calcPhase |
Init | PhaseInit, BaseInit, calcPhase |