Go to the documentation of this file.
37 #include "addToRunTimeSelectionTable.H"
69 dimensionedScalar
a1_;
70 dimensionedScalar
b1_;
71 dimensionedScalar
c1_;
78 tmp<volScalarField>
F1(
const volScalarField& CDkOmega)
const;
79 tmp<volScalarField>
F2()
const;
80 tmp<volScalarField>
F3()
const;
81 tmp<volScalarField>
F23()
const;
84 const volScalarField&
F1,
85 const dimensionedScalar& psi1,
86 const dimensionedScalar& psi2)
const
88 return F1 * (psi1 - psi2) + psi2;
91 tmp<volScalarField::Internal>
blend(
92 const volScalarField::Internal&
F1,
93 const dimensionedScalar& psi1,
94 const dimensionedScalar& psi2)
const
96 return F1 * (psi1 - psi2) + psi2;
99 tmp<volScalarField>
alphaK(
const volScalarField&
F1)
const
109 tmp<volScalarField::Internal>
beta(
110 const volScalarField::Internal&
F1)
const
115 tmp<volScalarField::Internal>
gamma(
116 const volScalarField::Internal&
F1)
const
122 tmp<volScalarField>
DkEff(
const volScalarField&
F1)
const
124 return tmp<volScalarField>(
131 return tmp<volScalarField>(
138 tmp<volScalarField::Internal>
Pk(
139 const volScalarField::Internal& G)
const;
143 const volScalarField&
F1,
144 const volTensorField& gradU)
const;
147 tmp<volScalarField::Internal>
GbyNu(
148 const volScalarField::Internal& GbyNu0,
149 const volScalarField::Internal&
F2,
150 const volScalarField::Internal& S2)
const;
152 tmp<fvScalarMatrix>
kSource()
const;
156 tmp<fvScalarMatrix>
Qsas(
157 const volScalarField::Internal& S2,
158 const volScalarField::Internal&
gamma,
159 const volScalarField::Internal&
beta)
const;
171 const volScalarField&
y_;
191 const word modelType,
label printInterval_
time step interval to print residual
tmp< volScalarField::Internal > epsilonByk(const volScalarField &F1, const volTensorField &gradU) const
scalarList omegaNearWall_
virtual void correctModelStates(wordList &modelStates) const
update the turbulence state for DAStateInfo::regStates_
tmp< volScalarField > blend(const volScalarField &F1, const dimensionedScalar &psi1, const dimensionedScalar &psi2) const
dimensionedScalar betaStar_
tmp< fvScalarMatrix > kSource() const
tmp< volScalarField > F1(const volScalarField &CDkOmega) const
tmp< fvScalarMatrix > Qsas(const volScalarField::Internal &S2, const volScalarField::Internal &gamma, const volScalarField::Internal &beta) const
DAOption daOption(mesh, pyOptions_)
tmp< volScalarField::Internal > Pk(const volScalarField::Internal &G) const
DAkOmegaSST(const word modelType, const fvMesh &mesh, const DAOption &daOption)
tmp< volScalarField > alphaK(const volScalarField &F1) const
tmp< fvScalarMatrix > omegaSource() const
label solveTurbState_
whether to solve for turb states
void saveOmegaNearWall()
save near wall omega values to omegaNearWall_
void correctOmegaBoundaryConditions()
specially treatment to correct epsilon BC
dimensionedScalar gamma2_
tmp< volScalarField > F23() const
tmp< volScalarField > DomegaEff(const volScalarField &F1) const
tmp< volScalarField::Internal > GbyNu(const volScalarField::Internal &GbyNu0, const volScalarField::Internal &F2, const volScalarField::Internal &S2) const
volScalarField & nut_
turbulence viscosity
dimensionedScalar alphaK2_
tmp< volScalarField::Internal > blend(const volScalarField::Internal &F1, const dimensionedScalar &psi1, const dimensionedScalar &psi2) const
const volScalarField & y_
3D wall distance
dimensionedScalar alphaOmega1_
tmp< volScalarField::Internal > gamma(const volScalarField::Internal &F1) const
dimensionedScalar gamma1_
tmp< volScalarField > nu() const
get the nu field
tmp< volScalarField > F2() const
tmp< volScalarField > alphaOmega(const volScalarField &F1) const
virtual void updateIntermediateVariables()
update any intermediate variables that are dependent on state variables and are used in calcResiduals
tmp< volScalarField > DkEff(const volScalarField &F1) const
virtual void correctStateResidualModelCon(List< List< word >> &stateCon) const
update the original variable connectivity for the adjoint state residuals in stateCon
dimensionedScalar alphaK1_
virtual void calcResiduals(const dictionary &options)
compute the turbulence residuals
void setOmegaNearWall()
set omegaNearWall_ to near wall omega values
dimensionedScalar alphaOmega2_
virtual void correctBoundaryConditions()
update turbulence variable boundary values
tmp< volScalarField > F3() const
virtual void correct()
solve the residual equations and update the state
virtual void addModelResidualCon(HashTable< List< List< word >>> &allCon) const
add the model residual connectivity to stateCon
tmp< volScalarField::Internal > beta(const volScalarField::Internal &F1) const
virtual void correctNut()
update nut based on other turbulence variables and update the BCs