List of all members
DAkOmegaSSTLM Class Reference
Inheritance diagram for DAkOmegaSSTLM:
Inheritance graph
[legend]
Collaboration diagram for DAkOmegaSSTLM:
Collaboration graph
[legend]

Protected Member Functions

SST functions
tmp< volScalarField > F1SST (const volScalarField &CDkOmega) const
 
tmp< volScalarField > F2 () const
 
tmp< volScalarField > F3 () const
 
tmp< volScalarField > F23 () const
 
tmp< volScalarField > blend (const volScalarField &F1, const dimensionedScalar &psi1, const dimensionedScalar &psi2) const
 
tmp< volScalarField::Internal > blend (const volScalarField::Internal &F1, const dimensionedScalar &psi1, const dimensionedScalar &psi2) const
 
tmp< volScalarField > alphaK (const volScalarField &F1) const
 
tmp< volScalarField > alphaOmega (const volScalarField &F1) const
 
tmp< volScalarField::Internal > beta (const volScalarField::Internal &F1) const
 
tmp< volScalarField::Internal > gamma (const volScalarField::Internal &F1) const
 
tmp< volScalarField::Internal > PkSST (const volScalarField::Internal &G) const
 
tmp< volScalarField::Internal > epsilonBykSST (const volScalarField &F1, const volTensorField &gradU) const
 
tmp< volScalarField::Internal > GbyNu (const volScalarField::Internal &GbyNu0, const volScalarField::Internal &F2, const volScalarField::Internal &S2) const
 
tmp< fvScalarMatrix > kSource () const
 
tmp< fvScalarMatrix > omegaSource () const
 
tmp< fvScalarMatrix > Qsas (const volScalarField::Internal &S2, const volScalarField::Internal &gamma, const volScalarField::Internal &beta) const
 
tmp< volScalarField > F1 (const volScalarField &CDkOmega) const
 
tmp< volScalarField::Internal > Pk (const volScalarField::Internal &G) const
 
tmp< volScalarField::Internal > epsilonByk (const volScalarField &F1, const volTensorField &gradU) const
 
tmp< volScalarField::Internal > Fthetat (const volScalarField::Internal &Us, const volScalarField::Internal &Omega, const volScalarField::Internal &nu) const
 
tmp< volScalarField::Internal > ReThetac () const
 
tmp< volScalarField::Internal > Flength (const volScalarField::Internal &nu) const
 
tmp< volScalarField::Internal > Fonset (const volScalarField::Internal &Rev, const volScalarField::Internal &ReThetac, const volScalarField::Internal &RT) const
 
tmp< volScalarField::Internal > ReThetat0 (const volScalarField::Internal &Us, const volScalarField::Internal &dUsds, const volScalarField::Internal &nu) const
 

Protected Attributes

SST parameters
dimensionedScalar alphaK1_
 
dimensionedScalar alphaK2_
 
dimensionedScalar alphaOmega1_
 
dimensionedScalar alphaOmega2_
 
dimensionedScalar gamma1_
 
dimensionedScalar gamma2_
 
dimensionedScalar beta1_
 
dimensionedScalar beta2_
 
dimensionedScalar betaStar_
 
dimensionedScalar a1_
 
dimensionedScalar b1_
 
dimensionedScalar c1_
 
Switch F3_
 
SSTLM parameters
dimensionedScalar ca1_
 
dimensionedScalar ca2_
 
dimensionedScalar ce1_
 
dimensionedScalar ce2_
 
dimensionedScalar cThetat_
 
dimensionedScalar sigmaThetat_
 
scalar lambdaErr_
 
label maxLambdaIter_
 
const dimensionedScalar deltaU_
 
- Protected Attributes inherited from DATurbulenceModel
const fvMesh & mesh_
 fvMesh More...
 
const DAOptiondaOption_
 DAOption object. More...
 
const dictionary & allOptions_
 all DAFoam options More...
 
DAGlobalVardaGlobalVar_
 global variable More...
 
volScalarField & nut_
 turbulence viscosity More...
 
volVectorField & U_
 velocity More...
 
surfaceScalarField & phi_
 face flux More...
 
volScalarField phase_
 phase field More...
 
surfaceScalarField & phaseRhoPhi_
 phase*phi*density field More...
 
volScalarField rhoOne_
 an uniform rho field with ones More...
 
word turbModelType_ = "None"
 whether the turbulence model is incompressible or compressible More...
 
IOdictionary turbDict_
 turbulence model property dict More...
 
dictionary coeffDict_
 turbulence model parameters dict More...
 
dimensionedScalar kMin_
 Lower limit of k. More...
 
dimensionedScalar epsilonMin_
 Lower limit of epsilon. More...
 
dimensionedScalar omegaMin_
 Lower limit for omega. More...
 
dimensionedScalar nuTildaMin_
 Lower limit for nuTilda. More...
 
scalar Pr_
 Prandtl number. More...
 
scalar Prt_ = -9999.0
 turbulent Prandtl number More...
 

Augmented variables for adjoint residuals

volScalarField & omega_
 
volScalarField omegaRes_
 
volScalarField & k_
 
volScalarField kRes_
 
volScalarField & ReThetat_
 
volScalarField ReThetatRes_
 
volScalarField & gammaInt_
 
volScalarField gammaIntRes_
 
volScalarField::Internal & gammaIntEff_
 Effective intermittency. More...
 
const volScalarField & y_
 3D wall distance More...
 
autoPtr< volScalarField::Internal > GPtr_
 
volScalarField betaFIK_
 beta field for field inversion More...
 
volScalarField betaFIOmega_
 
scalarList omegaNearWall_
 
label solveTurbState_ = 0
 whether to solve for turb states More...
 
 TypeName ("kOmegaSSTLM")
 
 DAkOmegaSSTLM (const word modelType, const fvMesh &mesh, const DAOption &daOption)
 
virtual ~DAkOmegaSSTLM ()
 
tmp< volScalarField > DkEff (const volScalarField &F1) const
 
tmp< volScalarField > DomegaEff (const volScalarField &F1) const
 
tmp< volScalarField > DReThetatEff () const
 
tmp< volScalarField > DgammaIntEff () const
 
virtual void correctModelStates (wordList &modelStates) const
 update the turbulence state for DAStateInfo::regStates_ More...
 
virtual void correctNut ()
 update nut based on other turbulence variables and update the BCs More...
 
virtual void correctBoundaryConditions ()
 update turbulence variable boundary values More...
 
virtual void updateIntermediateVariables ()
 update any intermediate variables that are dependent on state variables and are used in calcResiduals More...
 
virtual void correctStateResidualModelCon (List< List< word >> &stateCon) const
 update the original variable connectivity for the adjoint state residuals in stateCon More...
 
virtual void addModelResidualCon (HashTable< List< List< word >>> &allCon) const
 add the model residual connectivity to stateCon More...
 
virtual void calcResiduals (const dictionary &options)
 compute the turbulence residuals More...
 
virtual void correct (label printToScreen)
 solve the residual equations and update the state More...
 
void saveOmegaNearWall ()
 save near wall omega values to omegaNearWall_ More...
 
void setOmegaNearWall ()
 set omegaNearWall_ to near wall omega values More...
 
void correctOmegaBoundaryConditions ()
 specially treatment to correct epsilon BC More...
 
virtual void getFvMatrixFields (const word varName, scalarField &diag, scalarField &upper, scalarField &lower)
 return the diag(), upper(), and lower() scalarFields from the turbulence model's fvMatrix More...
 
virtual void getTurbProdOverDestruct (volScalarField &PoD) const
 return the value of the destruction term from the turbulence model More...
 
virtual void getTurbConvOverProd (volScalarField &CoP) const
 return the value of the convective over production term from the turbulence model More...
 

Additional Inherited Members

- Public Member Functions inherited from DATurbulenceModel
 TypeName ("DATurbulenceModel")
 
 declareRunTimeSelectionTable (autoPtr, DATurbulenceModel, dictionary,(const word modelType, const fvMesh &mesh, const DAOption &daOption),(modelType, mesh, daOption))
 
 DATurbulenceModel (const word modelType, const fvMesh &mesh, const DAOption &daOption)
 
virtual ~DATurbulenceModel ()
 
void correctWallDist ()
 update wall distance for d_. Note: y_ will be automatically updated in mesh_ object More...
 
void correctAlphat ()
 update alphat More...
 
virtual void getTurbProdTerm (volScalarField &prodTerm) const
 return the value of the production term from the turbulence model More...
 
tmp< volSymmTensorField > devRhoReff () const
 dev terms More...
 
tmp< fvVectorMatrix > divDevRhoReff (volVectorField &U)
 divDev terms More...
 
tmp< fvVectorMatrix > divDevReff (volVectorField &U)
 divDev terms More...
 
tmp< volScalarField > nuEff () const
 return effective viscosity More...
 
tmp< volScalarField > nut ()
 get the nut field More...
 
tmp< volScalarField > alphaEff ()
 return effective thermal diffusivity More...
 
tmp< volScalarField > nu () const
 get the nu field More...
 
tmp< volScalarField > alpha () const
 get alpha field More...
 
tmp< volScalarField > rho () const
 get the density field More...
 
dimensionSet rhoDimensions () const
 return the dimension of rho More...
 
tmp< volScalarField > phase ()
 get the phase field More...
 
scalar prt ()
 get the turbulent Prandtl number More...
 
tmp< Foam::volScalarField > mu () const
 get mu More...
 
bool writeData (Ostream &os) const
 this is a virtual function for regIOobject More...
 
void printYPlus (const label printToScreen) const
 print the min max and mean yPlus to screen More...
 
word getTurbModelType () const
 
label isPrintTime (const Time &runTime, const label printInterval) const
 
virtual void invTranProdNuTildaEqn (const volScalarField &mySource, volScalarField &pseudoNuTilda)
 Inverse transpose product, M_nuTilda^(-T) More...
 
virtual void constructPseudoNuTildaEqn ()
 
virtual void rhsSolvePseudoNuTildaEqn (const volScalarField &nuTildaSource)
 
virtual void calcLduResidualTurb (volScalarField &nuTildaRes)
 calculate the turbulence residual using LDU matrix More...
 
virtual void solveAdjointFP (const word varName, const scalarList &rhs, scalarList &dPsi)
 solve the fvMatrixT field with given rhs and solution More...
 
- Static Public Member Functions inherited from DATurbulenceModel
static autoPtr< DATurbulenceModelNew (const word modelType, const fvMesh &mesh, const DAOption &daOption)
 

Detailed Description

Definition at line 48 of file DAkOmegaSSTLM.H.

Constructor & Destructor Documentation

◆ DAkOmegaSSTLM()

DAkOmegaSSTLM ( const word  modelType,
const fvMesh &  mesh,
const DAOption daOption 
)

◆ ~DAkOmegaSSTLM()

virtual ~DAkOmegaSSTLM ( )
inlinevirtual

Definition at line 245 of file DAkOmegaSSTLM.H.

Member Function Documentation

◆ F1SST()

tmp< volScalarField > F1SST ( const volScalarField &  CDkOmega) const
protected

Definition at line 243 of file DAkOmegaSSTLM.C.

References DAkOmegaSSTLM::alphaOmega2_, DAkOmegaSSTLM::betaStar_, DAkOmegaSSTLM::k_, DATurbulenceModel::nu(), DAkOmegaSSTLM::omega_, and DAkOmegaSSTLM::y_.

Referenced by DAkOmegaSSTLM::F1().

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

◆ F2()

tmp< volScalarField > F2 ( ) const
protected

Definition at line 262 of file DAkOmegaSSTLM.C.

References DAkOmegaSSTLM::betaStar_, DAkOmegaSSTLM::k_, DATurbulenceModel::nu(), DAkOmegaSSTLM::omega_, and DAkOmegaSSTLM::y_.

Referenced by DAkOmegaSSTLM::F23(), and DAkOmegaSSTLM::GbyNu().

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

◆ F3()

tmp< volScalarField > F3 ( ) const
protected

Definition at line 274 of file DAkOmegaSSTLM.C.

References DATurbulenceModel::nu(), DAkOmegaSSTLM::omega_, and DAkOmegaSSTLM::y_.

Referenced by DAkOmegaSSTLM::F1(), and DAkOmegaSSTLM::F23().

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

◆ F23()

tmp< volScalarField > F23 ( ) const
protected

Definition at line 284 of file DAkOmegaSSTLM.C.

References DAkOmegaSSTLM::F2(), DAkOmegaSSTLM::F3(), and DAkOmegaSSTLM::F3_.

Referenced by DAkOmegaSSTLM::calcResiduals(), and DAkOmegaSSTLM::correctNut().

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

◆ blend() [1/2]

tmp<volScalarField> blend ( const volScalarField &  F1,
const dimensionedScalar &  psi1,
const dimensionedScalar &  psi2 
) const
inlineprotected

Definition at line 96 of file DAkOmegaSSTLM.H.

References DAkOmegaSSTLM::F1().

Referenced by DAkOmegaSSTLM::alphaK(), DAkOmegaSSTLM::alphaOmega(), DAkOmegaSSTLM::beta(), and DAkOmegaSSTLM::gamma().

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

◆ blend() [2/2]

tmp<volScalarField::Internal> blend ( const volScalarField::Internal &  F1,
const dimensionedScalar &  psi1,
const dimensionedScalar &  psi2 
) const
inlineprotected

Definition at line 104 of file DAkOmegaSSTLM.H.

References DAkOmegaSSTLM::F1().

Here is the call graph for this function:

◆ alphaK()

tmp<volScalarField> alphaK ( const volScalarField &  F1) const
inlineprotected

Definition at line 112 of file DAkOmegaSSTLM.H.

References DAkOmegaSSTLM::alphaK1_, DAkOmegaSSTLM::alphaK2_, DAkOmegaSSTLM::blend(), and DAkOmegaSSTLM::F1().

Referenced by DAkOmegaSSTLM::DkEff().

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

◆ alphaOmega()

tmp<volScalarField> alphaOmega ( const volScalarField &  F1) const
inlineprotected

Definition at line 117 of file DAkOmegaSSTLM.H.

References DAkOmegaSSTLM::alphaOmega1_, DAkOmegaSSTLM::alphaOmega2_, DAkOmegaSSTLM::blend(), and DAkOmegaSSTLM::F1().

Referenced by DAkOmegaSSTLM::DomegaEff().

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

◆ beta()

tmp<volScalarField::Internal> beta ( const volScalarField::Internal &  F1) const
inlineprotected

Definition at line 122 of file DAkOmegaSSTLM.H.

References DAkOmegaSSTLM::beta1_, DAkOmegaSSTLM::beta2_, DAkOmegaSSTLM::blend(), and DAkOmegaSSTLM::F1().

Referenced by DAkOmegaSSTLM::calcResiduals().

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

◆ gamma()

tmp<volScalarField::Internal> gamma ( const volScalarField::Internal &  F1) const
inlineprotected

Definition at line 128 of file DAkOmegaSSTLM.H.

References DAkOmegaSSTLM::blend(), DAkOmegaSSTLM::F1(), DAkOmegaSSTLM::gamma1_, and DAkOmegaSSTLM::gamma2_.

Referenced by DAkOmegaSSTLM::calcResiduals().

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

◆ PkSST()

tmp< volScalarField::Internal > PkSST ( const volScalarField::Internal &  G) const
protected

Definition at line 307 of file DAkOmegaSSTLM.C.

References DAkOmegaSSTLM::betaStar_, DAkOmegaSSTLM::c1_, DAkOmegaSSTLM::k_, and DAkOmegaSSTLM::omega_.

Referenced by DAkOmegaSSTLM::Pk().

Here is the caller graph for this function:

◆ epsilonBykSST()

tmp< volScalarField::Internal > epsilonBykSST ( const volScalarField &  F1,
const volTensorField &  gradU 
) const
protected

Definition at line 313 of file DAkOmegaSSTLM.C.

References DAkOmegaSSTLM::betaStar_, and DAkOmegaSSTLM::omega_.

Referenced by DAkOmegaSSTLM::epsilonByk().

Here is the caller graph for this function:

◆ GbyNu()

tmp< volScalarField::Internal > GbyNu ( const volScalarField::Internal &  GbyNu0,
const volScalarField::Internal &  F2,
const volScalarField::Internal &  S2 
) const
protected

Definition at line 296 of file DAkOmegaSSTLM.C.

References DAkOmegaSSTLM::a1_, DAkOmegaSSTLM::b1_, DAkOmegaSSTLM::betaStar_, DAkOmegaSSTLM::c1_, DAkOmegaSSTLM::F2(), and DAkOmegaSSTLM::omega_.

Referenced by DAkOmegaSSTLM::calcResiduals().

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

◆ kSource()

tmp< fvScalarMatrix > kSource ( ) const
protected

Definition at line 320 of file DAkOmegaSSTLM.C.

References DAkOmegaSSTLM::k_, and DATurbulenceModel::rhoDimensions().

Referenced by DAkOmegaSSTLM::calcResiduals().

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

◆ omegaSource()

tmp< fvScalarMatrix > omegaSource ( ) const
protected

Definition at line 328 of file DAkOmegaSSTLM.C.

References DAkOmegaSSTLM::omega_, and DATurbulenceModel::rhoDimensions().

Referenced by DAkOmegaSSTLM::calcResiduals().

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

◆ Qsas()

tmp< fvScalarMatrix > Qsas ( const volScalarField::Internal &  S2,
const volScalarField::Internal &  gamma,
const volScalarField::Internal &  beta 
) const
protected

Definition at line 336 of file DAkOmegaSSTLM.C.

References DAkOmegaSSTLM::omega_, and DATurbulenceModel::rhoDimensions().

Referenced by DAkOmegaSSTLM::calcResiduals().

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

◆ F1()

tmp< volScalarField > F1 ( const volScalarField &  CDkOmega) const
protected

◆ Pk()

tmp< volScalarField::Internal > Pk ( const volScalarField::Internal &  G) const
protected

Definition at line 357 of file DAkOmegaSSTLM.C.

References DAkOmegaSSTLM::gammaIntEff_, and DAkOmegaSSTLM::PkSST().

Referenced by DAkOmegaSSTLM::calcResiduals(), DAkOmegaSSTLM::getTurbConvOverProd(), and DAkOmegaSSTLM::getTurbProdOverDestruct().

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

◆ epsilonByk()

tmp< volScalarField::Internal > epsilonByk ( const volScalarField &  F1,
const volTensorField &  gradU 
) const
protected

Definition at line 363 of file DAkOmegaSSTLM.C.

References DAkOmegaSSTLM::epsilonBykSST(), and DAkOmegaSSTLM::gammaIntEff_.

Referenced by DAkOmegaSSTLM::calcResiduals(), and DAkOmegaSSTLM::getTurbProdOverDestruct().

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

◆ Fthetat()

tmp< volScalarField::Internal > Fthetat ( const volScalarField::Internal &  Us,
const volScalarField::Internal &  Omega,
const volScalarField::Internal &  nu 
) const
protected

Definition at line 371 of file DAkOmegaSSTLM.C.

References DAkOmegaSSTLM::ce2_, DAkOmegaSSTLM::gammaInt_, DATurbulenceModel::nu(), DAkOmegaSSTLM::omega_, DAkOmegaSSTLM::ReThetat_, DATurbulenceModel::U_, and DAkOmegaSSTLM::y_.

Referenced by DAkOmegaSSTLM::calcResiduals().

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

◆ ReThetac()

tmp< volScalarField::Internal > ReThetac ( ) const
protected

Definition at line 393 of file DAkOmegaSSTLM.C.

References forAll(), DATurbulenceModel::mesh_, DAkOmegaSSTLM::ReThetat_, and DATurbulenceModel::U_.

Referenced by DAkOmegaSSTLM::calcResiduals(), and DAkOmegaSSTLM::Fonset().

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

◆ Flength()

tmp< volScalarField::Internal > Flength ( const volScalarField::Internal &  nu) const
protected

Definition at line 424 of file DAkOmegaSSTLM.C.

References forAll(), DATurbulenceModel::mesh_, DATurbulenceModel::nu(), DAkOmegaSSTLM::omega_, DAkOmegaSSTLM::ReThetat_, DATurbulenceModel::U_, and DAkOmegaSSTLM::y_.

Referenced by DAkOmegaSSTLM::calcResiduals().

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

◆ Fonset()

tmp< volScalarField::Internal > Fonset ( const volScalarField::Internal &  Rev,
const volScalarField::Internal &  ReThetac,
const volScalarField::Internal &  RT 
) const
protected

Definition at line 478 of file DAkOmegaSSTLM.C.

References DAkOmegaSSTLM::ReThetac(), and DATurbulenceModel::U_.

Referenced by DAkOmegaSSTLM::calcResiduals().

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

◆ ReThetat0()

tmp< volScalarField::Internal > ReThetat0 ( const volScalarField::Internal &  Us,
const volScalarField::Internal &  dUsds,
const volScalarField::Internal &  nu 
) const
protected

Definition at line 496 of file DAkOmegaSSTLM.C.

References forAll(), k, DAkOmegaSSTLM::k_, lambda, DAkOmegaSSTLM::lambdaErr_, DAkOmegaSSTLM::maxLambdaIter_, DATurbulenceModel::mesh_, DATurbulenceModel::nu(), and DATurbulenceModel::U_.

Referenced by DAkOmegaSSTLM::calcResiduals().

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

◆ TypeName()

TypeName ( "kOmegaSSTLM"  )

◆ DkEff()

tmp<volScalarField> DkEff ( const volScalarField &  F1) const
inline

Definition at line 252 of file DAkOmegaSSTLM.H.

References DAkOmegaSSTLM::alphaK(), DAkOmegaSSTLM::F1(), DATurbulenceModel::nu(), and DATurbulenceModel::nut_.

Referenced by DAkOmegaSSTLM::calcResiduals().

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

◆ DomegaEff()

tmp<volScalarField> DomegaEff ( const volScalarField &  F1) const
inline

Definition at line 259 of file DAkOmegaSSTLM.H.

References DAkOmegaSSTLM::alphaOmega(), DAkOmegaSSTLM::F1(), DATurbulenceModel::nu(), and DATurbulenceModel::nut_.

Referenced by DAkOmegaSSTLM::calcResiduals().

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

◆ DReThetatEff()

tmp<volScalarField> DReThetatEff ( ) const
inline

Definition at line 269 of file DAkOmegaSSTLM.H.

References DATurbulenceModel::nu(), DATurbulenceModel::nut_, and DAkOmegaSSTLM::sigmaThetat_.

Referenced by DAkOmegaSSTLM::calcResiduals().

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

◆ DgammaIntEff()

tmp<volScalarField> DgammaIntEff ( ) const
inline

Definition at line 277 of file DAkOmegaSSTLM.H.

References DATurbulenceModel::nu(), and DATurbulenceModel::nut_.

Referenced by DAkOmegaSSTLM::calcResiduals().

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

◆ correctModelStates()

void correctModelStates ( wordList &  modelStates) const
virtual

update the turbulence state for DAStateInfo::regStates_

Implements DATurbulenceModel.

Definition at line 594 of file DAkOmegaSSTLM.C.

References forAll().

Here is the call graph for this function:

◆ correctNut()

void correctNut ( )
virtual

update nut based on other turbulence variables and update the BCs

Implements DATurbulenceModel.

Definition at line 632 of file DAkOmegaSSTLM.C.

References DAkOmegaSSTLM::a1_, DAkOmegaSSTLM::b1_, DATurbulenceModel::correctAlphat(), DAkOmegaSSTLM::F23(), DAkOmegaSSTLM::k_, DATurbulenceModel::mesh_, DATurbulenceModel::nut_, DAkOmegaSSTLM::omega_, and U.

Referenced by DAkOmegaSSTLM::calcResiduals(), and DAkOmegaSSTLM::updateIntermediateVariables().

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

◆ correctBoundaryConditions()

void correctBoundaryConditions ( )
virtual

update turbulence variable boundary values

Implements DATurbulenceModel.

Definition at line 654 of file DAkOmegaSSTLM.C.

References DAkOmegaSSTLM::gammaInt_, DAkOmegaSSTLM::k_, and DAkOmegaSSTLM::ReThetat_.

◆ updateIntermediateVariables()

void updateIntermediateVariables ( )
virtual

update any intermediate variables that are dependent on state variables and are used in calcResiduals

Implements DATurbulenceModel.

Definition at line 746 of file DAkOmegaSSTLM.C.

References DAkOmegaSSTLM::correctNut().

Here is the call graph for this function:

◆ correctStateResidualModelCon()

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

update the original variable connectivity for the adjoint state residuals in stateCon

Implements DATurbulenceModel.

Definition at line 760 of file DAkOmegaSSTLM.C.

References forAll().

Here is the call graph for this function:

◆ addModelResidualCon()

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

add the model residual connectivity to stateCon

Implements DATurbulenceModel.

Definition at line 861 of file DAkOmegaSSTLM.C.

References DATurbulenceModel::mesh_, and DATurbulenceModel::turbModelType_.

◆ calcResiduals()

void calcResiduals ( const dictionary &  options)
virtual

compute the turbulence residuals

Implements DATurbulenceModel.

Definition at line 1007 of file DAkOmegaSSTLM.C.

References DATurbulenceModel::allOptions_, DAkOmegaSSTLM::alphaOmega2_, DAkOmegaSSTLM::beta(), DAkOmegaSSTLM::betaFIK_, DAkOmegaSSTLM::betaFIOmega_, DAUtility::boundVar(), DAkOmegaSSTLM::ca1_, DAkOmegaSSTLM::ca2_, DAkOmegaSSTLM::ce1_, DAkOmegaSSTLM::ce2_, DAkOmegaSSTLM::correctNut(), DAkOmegaSSTLM::correctOmegaBoundaryConditions(), DAkOmegaSSTLM::cThetat_, DATurbulenceModel::daGlobalVar_, DAkOmegaSSTLM::deltaU_, DAkOmegaSSTLM::DgammaIntEff(), DAkOmegaSSTLM::DkEff(), DAkOmegaSSTLM::DomegaEff(), DAkOmegaSSTLM::DReThetatEff(), DAkOmegaSSTLM::epsilonByk(), DAkOmegaSSTLM::F1(), DAkOmegaSSTLM::F23(), DAkOmegaSSTLM::Flength(), DAkOmegaSSTLM::Fonset(), DAkOmegaSSTLM::Fthetat(), DAkOmegaSSTLM::gamma(), DAkOmegaSSTLM::gammaInt_, DAkOmegaSSTLM::gammaIntEff_, DAkOmegaSSTLM::gammaIntRes_, DAkOmegaSSTLM::GbyNu(), DAkOmegaSSTLM::GPtr_, DAkOmegaSSTLM::k_, DAkOmegaSSTLM::kRes_, DAkOmegaSSTLM::kSource(), normalizeResiduals, DATurbulenceModel::nu(), DATurbulenceModel::nut_, DAkOmegaSSTLM::omega_, DAkOmegaSSTLM::omegaRes_, DAkOmegaSSTLM::omegaSource(), DATurbulenceModel::phase_, DATurbulenceModel::phaseRhoPhi_, DATurbulenceModel::phi_, DAkOmegaSSTLM::Pk(), DAGlobalVar::primalMaxRes, DAUtility::primalResidualControl(), DAkOmegaSSTLM::Qsas(), DAkOmegaSSTLM::ReThetac(), DAkOmegaSSTLM::ReThetat0(), DAkOmegaSSTLM::ReThetat_, DAkOmegaSSTLM::ReThetatRes_, DATurbulenceModel::rho(), DAkOmegaSSTLM::setOmegaNearWall(), solve(), DAkOmegaSSTLM::solveTurbState_, DATurbulenceModel::U_, and DAkOmegaSSTLM::y_.

Referenced by DAkOmegaSSTLM::correct().

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

◆ correct()

void correct ( label  printToScreen)
virtual

solve the residual equations and update the state

Implements DATurbulenceModel.

Definition at line 986 of file DAkOmegaSSTLM.C.

References DAkOmegaSSTLM::calcResiduals(), and DAkOmegaSSTLM::solveTurbState_.

Here is the call graph for this function:

◆ saveOmegaNearWall()

void saveOmegaNearWall ( )

save near wall omega values to omegaNearWall_

Definition at line 696 of file DAkOmegaSSTLM.C.

References forAll(), DATurbulenceModel::mesh_, DAkOmegaSSTLM::omega_, and DAkOmegaSSTLM::omegaNearWall_.

Referenced by DAkOmegaSSTLM::correctOmegaBoundaryConditions().

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

◆ setOmegaNearWall()

void setOmegaNearWall ( )

set omegaNearWall_ to near wall omega values

Definition at line 720 of file DAkOmegaSSTLM.C.

References forAll(), DATurbulenceModel::mesh_, DAkOmegaSSTLM::omega_, and DAkOmegaSSTLM::omegaNearWall_.

Referenced by DAkOmegaSSTLM::calcResiduals(), and DAkOmegaSSTLM::correctOmegaBoundaryConditions().

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

◆ correctOmegaBoundaryConditions()

void correctOmegaBoundaryConditions ( )

specially treatment to correct epsilon BC

Definition at line 669 of file DAkOmegaSSTLM.C.

References DAkOmegaSSTLM::omega_, DAkOmegaSSTLM::saveOmegaNearWall(), and DAkOmegaSSTLM::setOmegaNearWall().

Referenced by DAkOmegaSSTLM::calcResiduals().

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

◆ getFvMatrixFields()

void getFvMatrixFields ( const word  varName,
scalarField &  diag,
scalarField &  upper,
scalarField &  lower 
)
virtual

return the diag(), upper(), and lower() scalarFields from the turbulence model's fvMatrix

Reimplemented from DATurbulenceModel.

Definition at line 1275 of file DAkOmegaSSTLM.C.

◆ getTurbProdOverDestruct()

void getTurbProdOverDestruct ( volScalarField &  PoD) const
virtual

return the value of the destruction term from the turbulence model

Reimplemented from DATurbulenceModel.

Definition at line 1470 of file DAkOmegaSSTLM.C.

References DAkOmegaSSTLM::alphaOmega2_, D, DAkOmegaSSTLM::epsilonByk(), DAkOmegaSSTLM::F1(), forAll(), DAkOmegaSSTLM::GPtr_, DAkOmegaSSTLM::k_, DATurbulenceModel::nut_, DAkOmegaSSTLM::omega_, DATurbulenceModel::phase_, DAkOmegaSSTLM::Pk(), DATurbulenceModel::rho(), and DATurbulenceModel::U_.

Here is the call graph for this function:

◆ getTurbConvOverProd()

void getTurbConvOverProd ( volScalarField &  CoP) const
virtual

return the value of the convective over production term from the turbulence model

Reimplemented from DATurbulenceModel.

Definition at line 1498 of file DAkOmegaSSTLM.C.

References DAkOmegaSSTLM::alphaOmega2_, DAkOmegaSSTLM::F1(), forAll(), DAkOmegaSSTLM::GPtr_, DAkOmegaSSTLM::k_, DATurbulenceModel::nut_, DAkOmegaSSTLM::omega_, DATurbulenceModel::phase_, DATurbulenceModel::phaseRhoPhi_, DAkOmegaSSTLM::Pk(), DATurbulenceModel::rho(), and DATurbulenceModel::U_.

Here is the call graph for this function:

Member Data Documentation

◆ alphaK1_

dimensionedScalar alphaK1_
protected

Definition at line 55 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::alphaK().

◆ alphaK2_

dimensionedScalar alphaK2_
protected

Definition at line 56 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::alphaK().

◆ alphaOmega1_

dimensionedScalar alphaOmega1_
protected

Definition at line 58 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::alphaOmega().

◆ alphaOmega2_

dimensionedScalar alphaOmega2_
protected

◆ gamma1_

dimensionedScalar gamma1_
protected

Definition at line 61 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::gamma().

◆ gamma2_

dimensionedScalar gamma2_
protected

Definition at line 62 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::gamma().

◆ beta1_

dimensionedScalar beta1_
protected

Definition at line 64 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::beta().

◆ beta2_

dimensionedScalar beta2_
protected

Definition at line 65 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::beta().

◆ betaStar_

dimensionedScalar betaStar_
protected

◆ a1_

dimensionedScalar a1_
protected

Definition at line 69 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::correctNut(), and DAkOmegaSSTLM::GbyNu().

◆ b1_

dimensionedScalar b1_
protected

Definition at line 70 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::correctNut(), and DAkOmegaSSTLM::GbyNu().

◆ c1_

dimensionedScalar c1_
protected

Definition at line 71 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::GbyNu(), and DAkOmegaSSTLM::PkSST().

◆ F3_

Switch F3_
protected

Definition at line 73 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::F23().

◆ ca1_

dimensionedScalar ca1_
protected

Definition at line 78 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::calcResiduals().

◆ ca2_

dimensionedScalar ca2_
protected

Definition at line 79 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::calcResiduals().

◆ ce1_

dimensionedScalar ce1_
protected

Definition at line 80 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::calcResiduals().

◆ ce2_

dimensionedScalar ce2_
protected

Definition at line 81 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::calcResiduals(), and DAkOmegaSSTLM::Fthetat().

◆ cThetat_

dimensionedScalar cThetat_
protected

Definition at line 82 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::calcResiduals().

◆ sigmaThetat_

dimensionedScalar sigmaThetat_
protected

Definition at line 83 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::DReThetatEff().

◆ lambdaErr_

scalar lambdaErr_
protected

Definition at line 84 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::ReThetat0().

◆ maxLambdaIter_

label maxLambdaIter_
protected

Definition at line 85 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::ReThetat0().

◆ deltaU_

const dimensionedScalar deltaU_
protected

Definition at line 86 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::calcResiduals().

◆ omega_

volScalarField& omega_
protected

◆ omegaRes_

volScalarField omegaRes_
protected

Definition at line 202 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::calcResiduals(), and DAkOmegaSSTLM::DAkOmegaSSTLM().

◆ k_

volScalarField& k_
protected

◆ kRes_

volScalarField kRes_
protected

Definition at line 204 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::calcResiduals(), and DAkOmegaSSTLM::DAkOmegaSSTLM().

◆ ReThetat_

volScalarField& ReThetat_
protected

◆ ReThetatRes_

volScalarField ReThetatRes_
protected

Definition at line 206 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::calcResiduals(), and DAkOmegaSSTLM::DAkOmegaSSTLM().

◆ gammaInt_

volScalarField& gammaInt_
protected

◆ gammaIntRes_

volScalarField gammaIntRes_
protected

Definition at line 208 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::calcResiduals(), and DAkOmegaSSTLM::DAkOmegaSSTLM().

◆ gammaIntEff_

volScalarField::Internal& gammaIntEff_
protected

Effective intermittency.

Definition at line 212 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::calcResiduals(), DAkOmegaSSTLM::epsilonByk(), and DAkOmegaSSTLM::Pk().

◆ y_

const volScalarField& y_
protected

◆ GPtr_

autoPtr<volScalarField::Internal> GPtr_
protected

we need to make the G field a class variable and register it to the mesh.db such that the omegaWallFunction BC can find it

Definition at line 219 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::calcResiduals(), DAkOmegaSSTLM::DAkOmegaSSTLM(), DAkOmegaSSTLM::getTurbConvOverProd(), and DAkOmegaSSTLM::getTurbProdOverDestruct().

◆ betaFIK_

volScalarField betaFIK_
protected

beta field for field inversion

Definition at line 222 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::calcResiduals().

◆ betaFIOmega_

volScalarField betaFIOmega_
protected

Definition at line 223 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::calcResiduals().

◆ omegaNearWall_

scalarList omegaNearWall_
protected

cell-center omega values near the wall, this is to fix the issue that the omegaWallFunction will try to modify omega values for the cells near walls this will cause issue for FD-based partial derivatives, so here we basically implement a zeroGradient BC for near wall omega.

Definition at line 229 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::DAkOmegaSSTLM(), DAkOmegaSSTLM::saveOmegaNearWall(), and DAkOmegaSSTLM::setOmegaNearWall().

◆ solveTurbState_

label solveTurbState_ = 0
protected

whether to solve for turb states

Definition at line 232 of file DAkOmegaSSTLM.H.

Referenced by DAkOmegaSSTLM::calcResiduals(), and DAkOmegaSSTLM::correct().


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