Public Member Functions | |
DAModel (const fvMesh &mesh, const DAOption &daOption) | |
Constructors. More... | |
virtual | ~DAModel () |
Destructor. More... | |
void | correctModelStates (wordList &modelStates) const |
update the name in modelStates based on the selected physical model at runtime More... | |
void | correctStateResidualModelCon (List< List< word >> &stateCon) const |
update the original variable connectivity for the adjoint state residuals in stateCon More... | |
void | addModelResidualCon (HashTable< List< List< word >>> &allCon) const |
add the model residual connectivity to stateCon More... | |
void | calcResiduals (const dictionary &options) |
calculate the residuals for model state variables More... | |
void | correctBoundaryConditions () |
correct boundary conditions for model states More... | |
void | updateIntermediateVariables () |
update intermediate variables that are dependent on the model states More... | |
void | getTurbProdTerm (volScalarField &prodTerm) const |
return the value of the production term from the turbulence model More... | |
void | getTurbProdOverDestruct (volScalarField &PoD) const |
return the value of the destruction term from the turbulence model More... | |
void | getTurbConvOverProd (volScalarField &CoP) const |
return the value of the convective over production term from the turbulence model More... | |
const DATurbulenceModel & | getDATurbulenceModel () const |
get a reference to DATurbulenceModel More... | |
void correctModelStates | ( | wordList & | modelStates | ) | const |
update the name in modelStates based on the selected physical model at runtime
Definition at line 31 of file DAModel.C.
References DATurbulenceModel::correctModelStates().
Referenced by DAStateInfoPimpleDyMFoam::DAStateInfoPimpleDyMFoam(), DAStateInfoPimpleFoam::DAStateInfoPimpleFoam(), DAStateInfoRhoPimpleFoam::DAStateInfoRhoPimpleFoam(), DAStateInfoRhoSimpleCFoam::DAStateInfoRhoSimpleCFoam(), DAStateInfoRhoSimpleFoam::DAStateInfoRhoSimpleFoam(), DAStateInfoSimpleFoam::DAStateInfoSimpleFoam(), and DAStateInfoTurboFoam::DAStateInfoTurboFoam().
void correctStateResidualModelCon | ( | List< List< word >> & | stateCon | ) | const |
update the original variable connectivity for the adjoint state residuals in stateCon
Definition at line 69 of file DAModel.C.
References DATurbulenceModel::correctStateResidualModelCon().
Referenced by DAStateInfoPimpleDyMFoam::DAStateInfoPimpleDyMFoam(), DAStateInfoPimpleFoam::DAStateInfoPimpleFoam(), DAStateInfoRhoPimpleFoam::DAStateInfoRhoPimpleFoam(), DAStateInfoRhoSimpleCFoam::DAStateInfoRhoSimpleCFoam(), DAStateInfoRhoSimpleFoam::DAStateInfoRhoSimpleFoam(), DAStateInfoSimpleFoam::DAStateInfoSimpleFoam(), and DAStateInfoTurboFoam::DAStateInfoTurboFoam().
void addModelResidualCon | ( | HashTable< List< List< word >>> & | allCon | ) | const |
add the model residual connectivity to stateCon
Definition at line 121 of file DAModel.C.
References DARadiationModel::addModelResidualCon(), and DATurbulenceModel::addModelResidualCon().
Referenced by DAStateInfoPimpleDyMFoam::DAStateInfoPimpleDyMFoam(), DAStateInfoPimpleFoam::DAStateInfoPimpleFoam(), DAStateInfoRhoPimpleFoam::DAStateInfoRhoPimpleFoam(), DAStateInfoRhoSimpleCFoam::DAStateInfoRhoSimpleCFoam(), DAStateInfoRhoSimpleFoam::DAStateInfoRhoSimpleFoam(), DAStateInfoSimpleFoam::DAStateInfoSimpleFoam(), and DAStateInfoTurboFoam::DAStateInfoTurboFoam().
void calcResiduals | ( | const dictionary & | options | ) |
calculate the residuals for model state variables
Definition at line 190 of file DAModel.C.
References DATurbulenceModel::calcResiduals().
Referenced by DAFunctionResidualNorm::calcFunction(), DAResidual::masterFunction(), and DAOutputResidual::run().
void correctBoundaryConditions | ( | ) |
correct boundary conditions for model states
Definition at line 214 of file DAModel.C.
References DATurbulenceModel::correctBoundaryConditions().
Referenced by DAResidual::masterFunction().
void updateIntermediateVariables | ( | ) |
update intermediate variables that are dependent on the model states
Definition at line 234 of file DAModel.C.
References DATurbulenceModel::updateIntermediateVariables().
Referenced by DAResidual::masterFunction().
void getTurbProdTerm | ( | volScalarField & | prodTerm | ) | const |
return the value of the production term from the turbulence model
Definition at line 254 of file DAModel.C.
References DATurbulenceModel::getTurbProdTerm().
void getTurbProdOverDestruct | ( | volScalarField & | PoD | ) | const |
return the value of the destruction term from the turbulence model
Definition at line 273 of file DAModel.C.
References DATurbulenceModel::getTurbProdOverDestruct().
Referenced by DARegression::calcInputFeatures().
void getTurbConvOverProd | ( | volScalarField & | CoP | ) | const |
return the value of the convective over production term from the turbulence model
Definition at line 292 of file DAModel.C.
References DATurbulenceModel::getTurbConvOverProd().
Referenced by DARegression::calcInputFeatures().
const DATurbulenceModel & getDATurbulenceModel | ( | ) | const |
get a reference to DATurbulenceModel
Definition at line 176 of file DAModel.C.
Referenced by DAFunctionWallHeatFlux::calcFunction(), DARegression::calcInputFeatures(), DAFunctionWallHeatFlux::DAFunctionWallHeatFlux(), DAOutputForceCoupling::run(), DAOutputThermalCoupling::run(), and DAInputThermalCoupling::run().