Go to the documentation of this file.
58 if (hasTurbulenceModel_)
66 if (hasRadiationModel_)
110 #ifndef SolidDASolver
112 if (hasTurbulenceModel_)
120 if (hasRadiationModel_)
165 #ifndef SolidDASolver
167 if (hasTurbulenceModel_)
175 if (hasRadiationModel_)
184 #ifndef SolidDASolver
191 if (!hasTurbulenceModel_)
193 FatalErrorIn(
"getDATurbulenceModel") <<
"DATurbulenceModel not found in mesh.thisDb()! "
194 << abort(FatalError);
211 #ifndef SolidDASolver
212 if (hasTurbulenceModel_)
219 if (hasRadiationModel_)
235 #ifndef SolidDASolver
236 if (hasTurbulenceModel_)
243 if (hasRadiationModel_)
258 #ifndef SolidDASolver
259 if (hasTurbulenceModel_)
266 if (hasRadiationModel_)
280 #ifndef SolidDASolver
281 if (hasTurbulenceModel_)
288 if (hasRadiationModel_)
295 #ifdef CompressibleFlow
296 const fluidThermo& DAModel::getThermo()
const
302 if (!hasTurbulenceModel_)
304 FatalErrorIn(
"DATurbulence not found!") << abort(FatalError);
307 const DATurbulenceModel& daTurb = mesh_.thisDb().lookupObject<DATurbulenceModel>(
"DATurbulenceModel");
308 return daTurb.getThermo();
virtual void addModelResidualCon(HashTable< List< List< word >>> &allCon) const =0
void getTurbProdTerm(scalarList &prodTerm) const
return the value of the production term from the turbulence model
void correctStateResidualModelCon(List< List< word >> &stateCon) const
update the original variable connectivity for the adjoint state residuals in stateCon
void calcResiduals(const dictionary &options)
calculate the residuals for model state variables
virtual void updateIntermediateVariables()=0
update any intermediate variables that are dependent on state variables and are used in calcResiduals
virtual void correctModelStates(wordList &modelStates) const =0
update the turbulence state for DAStateInfo::regStates_
DAOption daOption(mesh, pyOptions_)
virtual ~DAModel()
Destructor.
virtual void correctBoundaryConditions()=0
update turbulence variable boundary values
void addModelResidualCon(HashTable< List< List< word >>> &allCon) const
add the model residual connectivity to stateCon
virtual void calcResiduals(const dictionary &options)=0
compute the turbulence residuals
void correctBoundaryConditions()
correct boundary conditions for model states
virtual void addModelResidualCon(HashTable< List< List< word >>> &allCon) const =0
add the model residual connectivity to stateCon
virtual void getTurbProdTerm(scalarList &prodTerm) const
return the value of the production term from the Spalart Allmaras model
virtual void correctStateResidualModelCon(List< List< word >> &stateCon) const =0
update the original variable connectivity for the adjoint state residuals in stateCon
const DATurbulenceModel & getDATurbulenceModel() const
get a reference to DATurbulenceModel
void correctModelStates(wordList &modelStates) const
update the name in modelStates based on the selected physical model at runtime
void updateIntermediateVariables()
update intermediate variables that are dependent on the model states