Skip to content

d2q9 optimalMixing

Description

d2q9_optimalMixing

Details

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

Zonal Settings

Name Comment
MovingWallVelocity inlet/outlet/init velocity
Velocity inlet/outlet/init velocity
Pressure Inlet pressure
Temperature Temperature
TotalTempSqrInObj Weight of [TotalTempSqr] in objective
CountCellsInObj Weight of [CountCells] in objective
NMovingWallForceInObj Weight of [NMovingWallForce] in objective
SWallForceInObj Weight of [SWallForce] in objective
MovingWallPowerInObj Weight of [MovingWallPower] in objective

Global Settings

Name Derived Comment
omega 1.0/(3*nu + 0.5) one over relaxation time
nu viscosity
omegaT 1.0/(3*K + 0.5) one over relaxation time - thermal
K thermal_diffusivity
Descent Optimization Descent
GradientSmooth Gradient smoothing in OptSolve
Threshold Parameters threshold

Exported Quantities (VTK, etc)

Name Unit Comment
Rho kg/m3 Rho
T K T
U m/s U
RhoB 1 RhoB
TB 1 TB

Exported Global Integrals (CSV, etc)

Name Unit Comment
TotalTempSqr 1 TotalTempSqr
CountCells 1 CountCells
NMovingWallForce 1 NMovingWallForce
SWallForce 1 SWallForce
MovingWallPower 1 MovingWallPower
omega_D 1 Gradient of objective with respect to [one over relaxation time]
nu_D 1 Gradient of objective with respect to [viscosity]
omegaT_D 1 Gradient of objective with respect to [one over relaxation time - thermal]
K_D 1 Gradient of objective with respect to [thermal_diffusivity]
AdjointRes 1 square L2 norm of adjoint change
Objective 1 Objective function

Node Types

Group Types
BOUNDARY NMovingWall, SWall, Solid, Wall
COLLISION MRT
SETTINGZONE DefaultZone

Solved fields

Name Access pattern Comment
f[0] stencil f[0]
f[1] stencil f[1]
f[2] stencil f[2]
f[3] stencil f[3]
f[4] stencil f[4]
f[5] stencil f[5]
f[6] stencil f[6]
f[7] stencil f[7]
f[8] stencil f[8]
g[0] stencil g[0]
g[1] stencil g[1]
g[2] stencil g[2]
g[3] stencil g[3]
g[4] stencil g[4]

Densities - default accessors

Name Field Pulling field from Comment
f[0] f[0] stencil f[0]
f[1] f[1] stencil f[1]
f[2] f[2] stencil f[2]
f[3] f[3] stencil f[3]
f[4] f[4] stencil f[4]
f[5] f[5] stencil f[5]
f[6] f[6] stencil f[6]
f[7] f[7] stencil f[7]
f[8] f[8] stencil f[8]
g[0] g[0] stencil g[0]
g[1] g[1] stencil g[1]
g[2] g[2] stencil g[2]
g[3] g[3] stencil g[3]
g[4] g[4] stencil g[4]

Action stages

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], g[0], g[1], g[2], g[3], g[4] f[0], f[1], f[2], f[3], f[4], f[5], f[6], f[7], f[8], g[0], g[1], g[2], g[3], g[4]
BaseInit Init none f[0], f[1], f[2], f[3], f[4], f[5], f[6], f[7], f[8], g[0], g[1], g[2], g[3], g[4]

Actions

Name Stages
Iteration BaseIteration
Init BaseInit