Go to the documentation of this file.
34 template<
class BasicTurbulenceModel>
37 const word& modelName,
44 const word& propertiesName
63 template<
class BasicTurbulenceModel>
70 template<
class BasicTurbulenceModel>
74 return devRhoReff(this->U_);
78 template<
class BasicTurbulenceModel>
91 IOobject::groupName(
"devRhoReff", this->alphaRhoPhi_.group()),
92 this->runTime_.timeName(),
97 (-(this->alpha_*this->rho_*this->nuEff()))
104 template<
class BasicTurbulenceModel>
119 template<
class BasicTurbulenceModel>
135 template<
class BasicTurbulenceModel>
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
tmp< GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh >> grad(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
virtual bool read()=0
Re-read model coefficients if they have changed.
dimensionedSymmTensor dev2(const dimensionedSymmTensor &dt)
tmp< GeometricField< Type, faPatchField, areaMesh > > div(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
linearViscousStress(const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
Construct from components.
virtual tmp< volSymmTensorField > devRhoReff() const
Return the effective stress tensor.
BasicTurbulenceModel::rhoField rhoField
virtual tmp< fvVectorMatrix > divDevRhoReff(volVectorField &U) const
Return the source term for the momentum equation.
BasicTurbulenceModel::alphaField alphaField
BasicTurbulenceModel::transportModel transportModel
tmp< GeometricField< Type, faPatchField, areaMesh > > laplacian(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)