Go to the documentation of this file.
11 #ifndef DAResidualSimpleFoam_H
12 #define DAResidualSimpleFoam_H
15 #include "addToRunTimeSelectionTable.H"
16 #include "simpleControl.H"
17 #include "adjustPhi.H"
18 #include "constrainPressure.H"
virtual ~DAResidualSimpleFoam()
virtual void calcResiduals(const dictionary &options)
compute residual
volScalarField & alphaPorosity_
alpha porosity term
virtual void updateIntermediateVariables()
update any intermediate variables that are dependent on state variables and are used in calcResiduals
virtual void correctBoundaryConditions()
update the boundary condition for all the states in the selected solver
label hasFvSource_
whether to have fvSource term
DAOption daOption(mesh, pyOptions_)
volVectorField & fvSource_
fvSource term
simpleControl simple_
simpleControl object which will be initialized in this class
DAResidualSimpleFoam(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
IOMRFZoneListDF & MRF_
Multiple Reference Frame.
DAModel daModel(mesh, daOption)
virtual void clear()
clear the members
DATurbulenceModel & daTurb_
DATurbulenceModel object.
DAIndex daIndex(mesh, daOption, daModel)
surfaceScalarField phiRes_
fv::options & fvOptions_
fvOptions term
surfaceScalarField & phi_