D2q9 bc autosym
Description
The d2q9
model is a basic 2D Lattice Boltzmann Method model for flow
simulation.
It is a implementation of a simple Multiple-Relaxation-Time collision
operator.
The model has one option: BC. This option turns on
custom fields for setting non-standard profiles on inlets and other things.
Details
Model description files files for this model:
Dynamics.c
Dynamics.R
Name |
Comment |
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 |
Name |
Derived |
Comment |
RelaxationRate |
1.0/(3*Viscosity + 0.5) |
one over relaxation time |
Viscosity |
|
viscosity |
GravitationX |
|
GravitationX |
GravitationY |
|
GravitationY |
S2 |
1-RelaxationRate |
MRT Sx |
S3 |
|
MRT Sx |
S4 |
|
MRT Sx |
Threshold |
|
Parameters threshold |
Name |
Unit |
Comment |
Rho |
kg/m3 |
Rho |
U |
m/s |
U |
Name |
Unit |
Comment |
PressureLoss |
1mPa |
pressure loss |
OutletFlux |
1m2/s |
pressure loss |
InletFlux |
1m2/s |
pressure loss |
Objective |
1 |
Objective function |
Group |
Types |
BOUNDARY |
EPressure, WPressure, NVelocity, SVelocity, WVelocity, EVelocity, NSymmetry, SSymmetry, Solid, Wall |
COLLISION |
MRT |
OBJECTIVE |
Inlet, Outlet |
SETTINGZONE |
DefaultZone |
SYMX |
SymmetryX_plus, SymmetryX_minus |
SYMY |
SymmetryY_plus, SymmetryY_minus |
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] |
BC[0] |
|
BC[0] |
BC[1] |
|
BC[1] |
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] |
BC[0] |
BC[0] |
|
BC[0] |
BC[1] |
BC[1] |
|
BC[1] |
Name |
Main procedure |
Preloaded densities |
Pushed fields |
BaseIteration |
Run |
f[0], f[1], f[2], f[3], f[4], f[5], f[6], f[7], f[8], BC[0], BC[1] |
f[0], f[1], f[2], f[3], f[4], f[5], f[6], f[7], f[8], BC[0], BC[1] |
BaseInit |
Init |
none |
f[0], f[1], f[2], f[3], f[4], f[5], f[6], f[7], f[8], BC[0], BC[1] |
Name |
Stages |
Iteration |
BaseIteration |
Init |
BaseInit |