Go to the documentation of this file.
11 #ifndef DAResidualPimpleFoam_H
12 #define DAResidualPimpleFoam_H
15 #include "addToRunTimeSelectionTable.H"
16 #include "pimpleControl.H"
17 #include "adjustPhi.H"
virtual void calcResiduals(const dictionary &options)
compute residual
DATurbulenceModel & daTurb_
DATurbulenceModel object.
pimpleControl pimple_
pimpleControl 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
volVectorField & fvSource_
fvSource term
DAOption daOption(mesh, pyOptions_)
label hasFvSource_
whether to has fvSource term
virtual void correctBoundaryConditions()
update the boundary condition for all the states in the selected solver
surfaceScalarField & phi_
virtual ~DAResidualPimpleFoam()
surfaceScalarField phiRes_
DAResidualPimpleFoam(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
DAModel daModel(mesh, daOption)
virtual void clear()
clear the members
DAIndex daIndex(mesh, daOption, daModel)