Go to the documentation of this file.
11 #ifndef DAResidualPisoFoam_H
12 #define DAResidualPisoFoam_H
15 #include "addToRunTimeSelectionTable.H"
16 #include "pisoControl.H"
17 #include "adjustPhi.H"
virtual void clear()
clear the members
DATurbulenceModel & daTurb_
DATurbulenceModel object.
virtual void correctBoundaryConditions()
update the boundary condition for all the states in the selected solver
DAOption daOption(mesh, pyOptions_)
virtual void calcResiduals(const dictionary &options)
compute residual
DAResidualPisoFoam(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
virtual ~DAResidualPisoFoam()
pisoControl piso_
pisoControl object which will be initialized in this class
virtual void updateIntermediateVariables()
update any intermediate variables that are dependent on state variables and are used in calcResiduals
word mode_
whether the hybrid adjoint or time accurate adjoint is active
surfaceScalarField phiRes_
DAModel daModel(mesh, daOption)
label hasFvSource_
whether to has fvSource term
DAIndex daIndex(mesh, daOption, daModel)
volVectorField & fvSource_
fvSource term
surfaceScalarField & phi_