Skip to content

D2q9 diff

Description

d2q9_diff

Details

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

Zonal Settings

Name Comment
DiffInObj Weight of [pressure loss] in objective

Global Settings

Name Derived Comment
nu0 viscosity
nu1 viscosity
InitDensity inlet pressure
InletDensity inlet pressure
OutletDensity inlet pressure
Descent Optimization Descent
GradientSmooth Gradient smoothing in OptSolve
Threshold Parameters threshold

Exported Quantities (VTK, etc)

Name Unit Comment
Rho kg/m3 Rho
RhoB 1 RhoB
W 1 W
R 1 R
WB 1 WB

Exported Global Integrals (CSV, etc)

Name Unit Comment
Diff 1 pressure loss
nu0_D 1 Gradient of objective with respect to [viscosity]
nu1_D 1 Gradient of objective with respect to [viscosity]
InitDensity_D 1 Gradient of objective with respect to [inlet pressure]
InletDensity_D 1 Gradient of objective with respect to [inlet pressure]
OutletDensity_D 1 Gradient of objective with respect to [inlet pressure]
AdjointRes 1 square L2 norm of adjoint change
Objective 1 Objective function

Node Types

Group Types
BOUNDARY EPressure, Solid, Wall, WPressure
COLLISION MRT
OBJECTIVE Obj1, Obj2
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
r stencil r
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
r r stencil r
w w stencil w

Action stages

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

Actions

Name Stages
Iteration BaseIteration
Init BaseInit