Go to the documentation of this file.
33 #ifndef DASpalartAllmaras_H
34 #define DASpalartAllmaras_H
37 #include "addToRunTimeSelectionTable.H"
63 dimensionedScalar
Cs_;
68 tmp<volScalarField>
chi()
const;
70 tmp<volScalarField>
fv1(
const volScalarField&
chi)
const;
72 tmp<volScalarField>
fv2(
73 const volScalarField&
chi,
74 const volScalarField&
fv1)
const;
76 tmp<volScalarField>
Stilda(
77 const volScalarField&
chi,
78 const volScalarField&
fv1)
const;
80 tmp<volScalarField>
fw(
const volScalarField&
Stilda)
const;
91 const volScalarField&
y_;
105 const word modelType,
dimensionedScalar sigmaNut_
DASpalartAllmaras(const word modelType, const fvMesh &mesh, const DAOption &daOption)
label solveTurbState_
whether to solve for turb states
virtual void correct()
solve the residual equations and update the state
DAOption daOption(mesh, pyOptions_)
virtual void correctStateResidualModelCon(List< List< word >> &stateCon) const
update the original variable connectivity for the adjoint state residuals in stateCon
TypeName("SpalartAllmaras")
label printInterval_
time step interval to print residual
tmp< volScalarField > chi() const
virtual void calcResiduals(const dictionary &options)
compute the turbulence residuals
tmp< volScalarField > Stilda(const volScalarField &chi, const volScalarField &fv1) const
volScalarField nuTildaRes_
virtual void addModelResidualCon(HashTable< List< List< word >>> &allCon) const
add the model residual connectivity to stateCon
volScalarField & nuTilda_
virtual void correctBoundaryConditions()
update turbulence variable boundary values
virtual void correctNut()
update nut based on other turbulence variables and update the BCs
tmp< volScalarField > fv1(const volScalarField &chi) const
virtual ~DASpalartAllmaras()
tmp< volScalarField > DnuTildaEff() const
Return the effective diffusivity for nuTilda.
virtual void correctModelStates(wordList &modelStates) const
update the turbulence state for DAStateInfo::regStates_
virtual void updateIntermediateVariables()
update any intermediate variables that are dependent on state variables and are used in calcResiduals
tmp< volScalarField > fv2(const volScalarField &chi, const volScalarField &fv1) const
tmp< volScalarField > fw(const volScalarField &Stilda) const
const volScalarField & y_
3D wall distance