Go to the documentation of this file.
33 #ifndef DASpalartAllmarasFv3_H
34 #define DASpalartAllmarasFv3_H
37 #include "addToRunTimeSelectionTable.H"
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>
fv3(
77 const volScalarField&
chi,
78 const volScalarField&
fv1)
const;
80 tmp<volScalarField>
fw(
const volScalarField& Stilda)
const;
95 const volScalarField&
y_;
113 const word modelType,
153 const volScalarField& mySource,
dictionary solverDictNuTilda_
const volScalarField & y_
3D wall distance
tmp< volScalarField > fv1(const volScalarField &chi) const
virtual void calcResiduals(const dictionary &options)
compute the turbulence residuals
volScalarField & nuTilda_
virtual ~DASpalartAllmarasFv3()
DAOption daOption(mesh, pyOptions_)
volScalarField & pseudoNuTilda
label solveTurbState_
whether to solve for turb states
virtual void correctModelStates(wordList &modelStates) const
update the turbulence state for DAStateInfo::regStates_
volScalarField nuTildaRes_
virtual void correctNut()
update nut based on other turbulence variables and update the BCs
tmp< volScalarField > fv3(const volScalarField &chi, const volScalarField &fv1) const
fvScalarMatrix pseudoNuTildaEqn_
virtual void addModelResidualCon(HashTable< List< List< word >>> &allCon) const
add the model residual connectivity to stateCon
TypeName("SpalartAllmarasFv3")
virtual void calcLduResidualTurb(volScalarField &nuTildaRes)
calculate the turbulence residual using LDU matrix
virtual void updateIntermediateVariables()
update any intermediate variables that are dependent on state variables and are used in calcResiduals
tmp< volScalarField > fw(const volScalarField &Stilda) const
virtual void constructPseudoNuTildaEqn()
construct pseudoNuTildaEqn_, which is nuTildaEqn with swapped upper and lower arrays
dimensionedScalar sigmaNut_
virtual void invTranProdNuTildaEqn(const volScalarField &mySource, volScalarField &pseudoNuTilda)
Inverse transpose product, A_nuTilda^(-T)
tmp< volScalarField > fv2(const volScalarField &chi, const volScalarField &fv1) const
tmp< volScalarField > chi() const
volScalarField pseudoNuTilda_
pseudoNuTilda_ and pseudoNuTildaEqn_ for solving adjoint equation
DASpalartAllmarasFv3(const word modelType, const fvMesh &mesh, const DAOption &daOption)
label printInterval_
time step interval to print residual
virtual void correctBoundaryConditions()
update turbulence variable boundary values
tmp< volScalarField > DnuTildaEff() const
Return the effective diffusivity for nuTilda.
virtual void rhsSolvePseudoNuTildaEqn(const volScalarField &nuTildaSource)
solve pseudoNuTildaEqn_ with overwritten rhs
virtual void correct()
solve the residual equations and update the state
virtual void correctStateResidualModelCon(List< List< word >> &stateCon) const
update the original variable connectivity for the adjoint state residuals in stateCon