These are state variables, state residuals, and partial derivatives | |
volVectorField & | U_ |
volVectorField | URes_ |
volScalarField & | p_ |
volScalarField | pRes_ |
volScalarField & | T_ |
volScalarField | TRes_ |
surfaceScalarField & | phi_ |
surfaceScalarField | phiRes_ |
volScalarField & | alphaPorosity_ |
alpha porosity term More... | |
volVectorField & | fvSource_ |
fvSource term More... | |
fv::options & | fvOptions_ |
fvOptions term More... | |
volScalarField & | alphat_ |
scalar | Pr_ = -9999.0 |
scalar | Prt_ = -9999.0 |
DATurbulenceModel & | daTurb_ |
DATurbulenceModel object. More... | |
simpleControl | simple_ |
simpleControl object which will be initialized in this class More... | |
IOMRFZoneListDF & | MRF_ |
Multiple Reference Frame. More... | |
label | hasFvSource_ = 0 |
whether to have fvSource term More... | |
TypeName ("DASimpleTFoam") | |
DAResidualSimpleTFoam (const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex) | |
virtual | ~DAResidualSimpleTFoam () |
virtual void | clear () |
clear the members More... | |
virtual void | calcResiduals (const dictionary &options) |
compute residual More... | |
virtual void | updateIntermediateVariables () |
update any intermediate variables that are dependent on state variables and are used in calcResiduals More... | |
virtual void | correctBoundaryConditions () |
update the boundary condition for all the states in the selected solver More... | |
Additional Inherited Members | |
Public Member Functions inherited from DAResidual | |
TypeName ("DAResidual") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, DAResidual, dictionary,(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex),(modelType, mesh, daOption, daModel, daIndex)) | |
DAResidual (const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex) | |
virtual | ~DAResidual () |
void | masterFunction (const dictionary &options, const Vec xvVec, const Vec wVec, Vec resVec) |
the master function that compute the residual vector given the state and point vectors More... | |
Static Public Member Functions inherited from DAResidual | |
static autoPtr< DAResidual > | New (const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex) |
Protected Attributes inherited from DAResidual | |
const fvMesh & | mesh_ |
fvMesh More... | |
const DAOption & | daOption_ |
DAOption object. More... | |
const DAModel & | daModel_ |
DAModel object. More... | |
const DAIndex & | daIndex_ |
DAIndex. More... | |
DAField | daField_ |
DAField object. More... | |
Definition at line 29 of file DAResidualSimpleTFoam.H.
DAResidualSimpleTFoam | ( | const word | modelType, |
const fvMesh & | mesh, | ||
const DAOption & | daOption, | ||
const DAModel & | daModel, | ||
const DAIndex & | daIndex | ||
) |
Definition at line 19 of file DAResidualSimpleTFoam.C.
References allOptions, daOption(), DAResidualSimpleTFoam::fvOptions_, DAResidualSimpleTFoam::hasFvSource_, mesh, DAResidualSimpleTFoam::phi_, DAResidualSimpleTFoam::Pr_, DAResidualSimpleTFoam::Prt_, DAResidualSimpleTFoam::U_, and UEqn.
|
inlinevirtual |
Definition at line 88 of file DAResidualSimpleTFoam.H.
TypeName | ( | "DASimpleTFoam" | ) |
|
virtual |
clear the members
Implements DAResidual.
Definition at line 74 of file DAResidualSimpleTFoam.C.
References DAResidualSimpleTFoam::phiRes_, DAResidualSimpleTFoam::pRes_, DAResidualSimpleTFoam::TRes_, and DAResidualSimpleTFoam::URes_.
|
virtual |
compute residual
Implements DAResidual.
Definition at line 88 of file DAResidualSimpleTFoam.C.
References adjustPhi(), alphaEff(), DAResidualSimpleTFoam::alphaPorosity_, DAResidualSimpleTFoam::alphat_, DAFvSource::calcFvSource(), constrainPressure(), DAResidualSimpleTFoam::daTurb_, MRFZoneListDF::DDt(), DATurbulenceModel::divDevReff(), DAResidualSimpleTFoam::fvOptions_, DAResidualSimpleTFoam::fvSource_, DAResidualSimpleTFoam::hasFvSource_, HbyA, MRFZoneListDF::makeRelative(), DAResidual::mesh_, DAResidualSimpleTFoam::MRF_, normalizePhiResiduals, normalizeResiduals, DATurbulenceModel::nu(), DAResidualSimpleTFoam::p_, DAResidualSimpleTFoam::phi_, phiHbyA, DAResidualSimpleTFoam::phiRes_, DAResidualSimpleTFoam::Pr_, pRefCell, pRefValue, DAResidualSimpleTFoam::pRes_, rAtU(), rAU(), DAResidualSimpleTFoam::simple_, DAResidualSimpleTFoam::T_, TEqn(), DAResidualSimpleTFoam::TRes_, tUEqn(), DAResidualSimpleTFoam::U_, UEqn, and DAResidualSimpleTFoam::URes_.
|
virtual |
update any intermediate variables that are dependent on state variables and are used in calcResiduals
Implements DAResidual.
Definition at line 205 of file DAResidualSimpleTFoam.C.
References DAResidualSimpleTFoam::alphat_, MRFZoneListDF::correctBoundaryVelocity(), DAResidualSimpleTFoam::daTurb_, DAResidualSimpleTFoam::fvOptions_, DATurbulenceModel::getNut(), DAResidualSimpleTFoam::MRF_, DAResidualSimpleTFoam::Prt_, and DAResidualSimpleTFoam::U_.
|
virtual |
update the boundary condition for all the states in the selected solver
Implements DAResidual.
Definition at line 220 of file DAResidualSimpleTFoam.C.
References DAResidualSimpleTFoam::p_, DAResidualSimpleTFoam::T_, and DAResidualSimpleTFoam::U_.
|
protected |
Definition at line 35 of file DAResidualSimpleTFoam.H.
Referenced by DAResidualSimpleTFoam::calcResiduals(), DAResidualSimpleTFoam::correctBoundaryConditions(), DAResidualSimpleTFoam::DAResidualSimpleTFoam(), and DAResidualSimpleTFoam::updateIntermediateVariables().
|
protected |
Definition at line 36 of file DAResidualSimpleTFoam.H.
Referenced by DAResidualSimpleTFoam::calcResiduals(), and DAResidualSimpleTFoam::clear().
|
protected |
Definition at line 38 of file DAResidualSimpleTFoam.H.
Referenced by DAResidualSimpleTFoam::calcResiduals(), and DAResidualSimpleTFoam::correctBoundaryConditions().
|
protected |
Definition at line 39 of file DAResidualSimpleTFoam.H.
Referenced by DAResidualSimpleTFoam::calcResiduals(), and DAResidualSimpleTFoam::clear().
|
protected |
Definition at line 41 of file DAResidualSimpleTFoam.H.
Referenced by DAResidualSimpleTFoam::calcResiduals(), and DAResidualSimpleTFoam::correctBoundaryConditions().
|
protected |
Definition at line 42 of file DAResidualSimpleTFoam.H.
Referenced by DAResidualSimpleTFoam::calcResiduals(), and DAResidualSimpleTFoam::clear().
|
protected |
Definition at line 44 of file DAResidualSimpleTFoam.H.
Referenced by DAResidualSimpleTFoam::calcResiduals(), and DAResidualSimpleTFoam::DAResidualSimpleTFoam().
|
protected |
Definition at line 45 of file DAResidualSimpleTFoam.H.
Referenced by DAResidualSimpleTFoam::calcResiduals(), and DAResidualSimpleTFoam::clear().
|
protected |
alpha porosity term
Definition at line 49 of file DAResidualSimpleTFoam.H.
Referenced by DAResidualSimpleTFoam::calcResiduals().
|
protected |
fvSource term
Definition at line 52 of file DAResidualSimpleTFoam.H.
Referenced by DAResidualSimpleTFoam::calcResiduals().
|
protected |
fvOptions term
Definition at line 55 of file DAResidualSimpleTFoam.H.
Referenced by DAResidualSimpleTFoam::calcResiduals(), DAResidualSimpleTFoam::DAResidualSimpleTFoam(), and DAResidualSimpleTFoam::updateIntermediateVariables().
|
protected |
Definition at line 57 of file DAResidualSimpleTFoam.H.
Referenced by DAResidualSimpleTFoam::calcResiduals(), and DAResidualSimpleTFoam::updateIntermediateVariables().
|
protected |
Definition at line 59 of file DAResidualSimpleTFoam.H.
Referenced by DAResidualSimpleTFoam::calcResiduals(), and DAResidualSimpleTFoam::DAResidualSimpleTFoam().
|
protected |
Definition at line 61 of file DAResidualSimpleTFoam.H.
Referenced by DAResidualSimpleTFoam::DAResidualSimpleTFoam(), and DAResidualSimpleTFoam::updateIntermediateVariables().
|
protected |
DATurbulenceModel object.
Definition at line 64 of file DAResidualSimpleTFoam.H.
Referenced by DAResidualSimpleTFoam::calcResiduals(), and DAResidualSimpleTFoam::updateIntermediateVariables().
|
protected |
simpleControl object which will be initialized in this class
Definition at line 67 of file DAResidualSimpleTFoam.H.
Referenced by DAResidualSimpleTFoam::calcResiduals().
|
protected |
Multiple Reference Frame.
Definition at line 70 of file DAResidualSimpleTFoam.H.
Referenced by DAResidualSimpleTFoam::calcResiduals(), and DAResidualSimpleTFoam::updateIntermediateVariables().
|
protected |
whether to have fvSource term
Definition at line 73 of file DAResidualSimpleTFoam.H.
Referenced by DAResidualSimpleTFoam::calcResiduals(), and DAResidualSimpleTFoam::DAResidualSimpleTFoam().