Go to the documentation of this file.
11 #ifndef DAResidualPimpleDyMFoam_H
12 #define DAResidualPimpleDyMFoam_H
15 #include "addToRunTimeSelectionTable.H"
16 #include "pimpleControl.H"
17 #include "adjustPhi.H"
DAResidualPimpleDyMFoam(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
virtual void calcPCMatWithFvMatrix(Mat PCMat)
calculating the adjoint preconditioner matrix using fvMatrix
virtual void updateIntermediateVariables()
update any intermediate variables that are dependent on state variables and are used in calcResiduals
virtual ~DAResidualPimpleDyMFoam()
surfaceScalarField & phi_
label hasFvSource_
whether to has fvSource term
surfaceScalarField phiRes_
volVectorField & fvSource_
fvSource term
TypeName("DAPimpleDyMFoam")
label hasTField_
whether to include the temperature field
DATurbulenceModel & daTurb_
DATurbulenceModel object.
virtual void clear()
clear the members
autoPtr< volScalarField > TResPtr_
virtual void calcResiduals(const dictionary &options)
compute residual
pimpleControl pimple_
pimpleControl object which will be initialized in this class
virtual void correctBoundaryConditions()
update the boundary condition for all the states in the selected solver