Go to the documentation of this file.
33 #ifndef DAkOmegaSSTLM_H
34 #define DAkOmegaSSTLM_H
37 #include "addToRunTimeSelectionTable.H"
69 dimensionedScalar
a1_;
70 dimensionedScalar
b1_;
71 dimensionedScalar
c1_;
91 tmp<volScalarField>
F1SST(
const volScalarField& CDkOmega)
const;
92 tmp<volScalarField>
F2()
const;
93 tmp<volScalarField>
F3()
const;
94 tmp<volScalarField>
F23()
const;
97 const volScalarField&
F1,
98 const dimensionedScalar& psi1,
99 const dimensionedScalar& psi2)
const
101 return F1 * (psi1 - psi2) + psi2;
104 tmp<volScalarField::Internal>
blend(
105 const volScalarField::Internal&
F1,
106 const dimensionedScalar& psi1,
107 const dimensionedScalar& psi2)
const
109 return F1 * (psi1 - psi2) + psi2;
112 tmp<volScalarField>
alphaK(
const volScalarField&
F1)
const
122 tmp<volScalarField::Internal>
beta(
123 const volScalarField::Internal&
F1)
const
128 tmp<volScalarField::Internal>
gamma(
129 const volScalarField::Internal&
F1)
const
135 tmp<volScalarField::Internal>
PkSST(
136 const volScalarField::Internal& G)
const;
140 const volScalarField&
F1,
141 const volTensorField& gradU)
const;
144 tmp<volScalarField::Internal>
GbyNu(
145 const volScalarField::Internal& GbyNu0,
146 const volScalarField::Internal&
F2,
147 const volScalarField::Internal& S2)
const;
149 tmp<fvScalarMatrix>
kSource()
const;
153 tmp<fvScalarMatrix>
Qsas(
154 const volScalarField::Internal& S2,
155 const volScalarField::Internal&
gamma,
156 const volScalarField::Internal&
beta)
const;
160 tmp<volScalarField>
F1(
const volScalarField& CDkOmega)
const;
163 tmp<volScalarField::Internal>
Pk(
164 const volScalarField::Internal& G)
const;
168 const volScalarField&
F1,
169 const volTensorField& gradU)
const;
172 tmp<volScalarField::Internal>
Fthetat(
173 const volScalarField::Internal& Us,
174 const volScalarField::Internal& Omega,
175 const volScalarField::Internal&
nu)
const;
179 tmp<volScalarField::Internal>
ReThetac()
const;
183 tmp<volScalarField::Internal>
Flength(
184 const volScalarField::Internal&
nu)
const;
187 tmp<volScalarField::Internal>
Fonset(
188 const volScalarField::Internal& Rev,
189 const volScalarField::Internal&
ReThetac,
190 const volScalarField::Internal& RT)
const;
195 const volScalarField::Internal& Us,
196 const volScalarField::Internal& dUsds,
197 const volScalarField::Internal&
nu)
const;
215 const volScalarField&
y_;
235 const word modelType,
247 tmp<volScalarField>
DkEff(
const volScalarField&
F1)
const
249 return tmp<volScalarField>(
256 return tmp<volScalarField>(
266 return tmp<volScalarField>(
274 return tmp<volScalarField>(
dimensionedScalar alphaOmega1_
scalarList omegaNearWall_
tmp< volScalarField::Internal > epsilonByk(const volScalarField &F1, const volTensorField &gradU) const
volScalarField::Internal & gammaIntEff_
Effective intermittency.
void setOmegaNearWall()
set omegaNearWall_ to near wall omega values
const volScalarField & y_
3D wall distance
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
tmp< volScalarField > F2() const
DAOption daOption(mesh, pyOptions_)
tmp< volScalarField > DomegaEff(const volScalarField &F1) const
tmp< volScalarField > F23() const
virtual void calcResiduals(const dictionary &options)
compute the turbulence residuals
tmp< volScalarField::Internal > Pk(const volScalarField::Internal &G) const
tmp< volScalarField > DReThetatEff() const
dimensionedScalar sigmaThetat_
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
virtual void correctNut()
update nut based on other turbulence variables and update the BCs
virtual void correctBoundaryConditions()
update turbulence variable boundary values
volScalarField & ReThetat_
tmp< volScalarField::Internal > ReThetac() const
volScalarField & nut_
turbulence viscosity
tmp< volScalarField::Internal > gamma(const volScalarField::Internal &F1) const
dimensionedScalar alphaK2_
label solveTurbState_
whether to solve for turb states
volScalarField & gammaInt_
label printInterval_
time step interval to print residual
virtual void correct()
solve the residual equations and update the state
tmp< volScalarField::Internal > Fthetat(const volScalarField::Internal &Us, const volScalarField::Internal &Omega, const volScalarField::Internal &nu) const
tmp< volScalarField > blend(const volScalarField &F1, const dimensionedScalar &psi1, const dimensionedScalar &psi2) const
tmp< fvScalarMatrix > Qsas(const volScalarField::Internal &S2, const volScalarField::Internal &gamma, const volScalarField::Internal &beta) const
tmp< volScalarField::Internal > Fonset(const volScalarField::Internal &Rev, const volScalarField::Internal &ReThetac, const volScalarField::Internal &RT) const
tmp< volScalarField > alphaK(const volScalarField &F1) const
tmp< volScalarField > nu() const
get the nu field
const dimensionedScalar deltaU_
dimensionedScalar alphaOmega2_
dimensionedScalar gamma2_
void saveOmegaNearWall()
save near wall omega values to omegaNearWall_
tmp< fvScalarMatrix > omegaSource() const
tmp< volScalarField > F1(const volScalarField &CDkOmega) const
tmp< volScalarField > DkEff(const volScalarField &F1) const
volScalarField ReThetatRes_
DAkOmegaSSTLM(const word modelType, const fvMesh &mesh, const DAOption &daOption)
tmp< volScalarField > DgammaIntEff() const
tmp< volScalarField::Internal > ReThetat0(const volScalarField::Internal &Us, const volScalarField::Internal &dUsds, const volScalarField::Internal &nu) const
volScalarField gammaIntRes_
tmp< volScalarField::Internal > epsilonBykSST(const volScalarField &F1, const volTensorField &gradU) const
tmp< volScalarField::Internal > Flength(const volScalarField::Internal &nu) const
dimensionedScalar betaStar_
tmp< fvScalarMatrix > kSource() const
tmp< volScalarField::Internal > PkSST(const volScalarField::Internal &G) const
virtual void correctStateResidualModelCon(List< List< word >> &stateCon) const
update the original variable connectivity for the adjoint state residuals in stateCon
tmp< volScalarField::Internal > blend(const volScalarField::Internal &F1, const dimensionedScalar &psi1, const dimensionedScalar &psi2) const
void correctOmegaBoundaryConditions()
specially treatment to correct epsilon BC
dimensionedScalar alphaK1_
tmp< volScalarField > F3() const
dimensionedScalar cThetat_
tmp< volScalarField::Internal > GbyNu(const volScalarField::Internal &GbyNu0, const volScalarField::Internal &F2, const volScalarField::Internal &S2) const
dimensionedScalar gamma1_
virtual void correctModelStates(wordList &modelStates) const
update the turbulence state for DAStateInfo::regStates_
tmp< volScalarField > F1SST(const volScalarField &CDkOmega) const