Skip to content

D2q9 adj

Description

d2q9_adj

Details

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

Zonal Settings

Name Comment
Velocity inlet velocity
Pressure inlet pressure
Porocity initial porocity of Porous nodes
DragInObj Weight of [pressure loss] in objective
LiftInObj Weight of [pressure loss] in objective
MaterialPenaltyInObj Weight of [material penalty] in objective
MaterialInObj Weight of [material] in objective
PressureLossInObj Weight of [pressure loss] in objective
OutletFluxInObj Weight of [pressure loss] in objective
InletFluxInObj Weight of [pressure loss] in objective

Global Settings

Name Derived Comment
omega 1-1.0/(3*nu + 0.5) one over relaxation time
nu viscosity
ForceX Gravitation in the direction of x
ForceY Gravitation in the direction of y
PorocityGamma 1.0 - exp(PorocityTheta) gamma in hiperbolic transformation of porocity (-infty,1)
PorocityTheta theta in hiperbolic transformation of porocity
Descent Optimization Descent
GradientSmooth Gradient smoothing in OptSolve
Threshold Parameters threshold

Exported Quantities (VTK, etc)

Name Unit Comment
Rho kg/m3 Rho
U m/s U
RhoB 1 RhoB
UB 1 UB
W 1 W
WB 1 WB

Exported Global Integrals (CSV, etc)

Name Unit Comment
Drag 1 pressure loss
Lift 1 pressure loss
MaterialPenalty 1 material penalty
Material 1 material
PressureLoss 1mPa pressure loss
OutletFlux 1m2/s pressure loss
InletFlux 1m2/s pressure loss
omega_D 1 Gradient of objective with respect to [one over relaxation time]
nu_D 1 Gradient of objective with respect to [viscosity]
ForceX_D 1 Gradient of objective with respect to [Gravitation in the direction of x]
ForceY_D 1 Gradient of objective with respect to [Gravitation in the direction of y]
PorocityGamma_D 1 Gradient of objective with respect to [gamma in hiperbolic transformation of porocity (-infty,1)]
PorocityTheta_D 1 Gradient of objective with respect to [theta in hiperbolic transformation of porocity]
AdjointRes 1 square L2 norm of adjoint change
Objective 1 Objective function

Node Types

Group Types
BOUNDARY EPressure, EVelocity, Solid, Wall, WPressure, WVelocity
COLLISION BGK, MRT
DESIGNSPACE DesignSpace
OBJECTIVE Inlet, Outlet
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
w stencil w

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
w w stencil w

Action stages

Name Main procedure Preloaded densities Pushed fields
BaseIteration Run f0, f1, f2, f3, f4, f5, f6, f7, f8, w f0, f1, f2, f3, f4, f5, f6, f7, f8, w
BaseInit Init none f0, f1, f2, f3, f4, f5, f6, f7, f8, w

Actions

Name Stages
Iteration BaseIteration
Init BaseInit