Public Member Functions | List of all members
DAModel Class Reference

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 DATurbulenceModelgetDATurbulenceModel () const
 get a reference to DATurbulenceModel More...
 

Detailed Description

Definition at line 57 of file DAModel.H.

Constructor & Destructor Documentation

◆ DAModel()

DAModel ( const fvMesh &  mesh,
const DAOption daOption 
)

Constructors.

Definition at line 16 of file DAModel.C.

References mesh.

◆ ~DAModel()

~DAModel ( )
virtual

Destructor.

Definition at line 27 of file DAModel.C.

Member Function Documentation

◆ correctModelStates()

void correctModelStates ( wordList &  modelStates) const

◆ correctStateResidualModelCon()

void correctStateResidualModelCon ( List< List< word >> &  stateCon) const

◆ addModelResidualCon()

void addModelResidualCon ( HashTable< List< List< word >>> &  allCon) const

◆ calcResiduals()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ correctBoundaryConditions()

void correctBoundaryConditions ( )

correct boundary conditions for model states

Definition at line 214 of file DAModel.C.

References DATurbulenceModel::correctBoundaryConditions().

Referenced by DAResidual::masterFunction().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateIntermediateVariables()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTurbProdTerm()

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().

Here is the call graph for this function:

◆ getTurbProdOverDestruct()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTurbConvOverProd()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getDATurbulenceModel()

const DATurbulenceModel & getDATurbulenceModel ( ) const

The documentation for this class was generated from the following files: