Go to the documentation of this file.
38 #ifndef ReynoldsStress_H
39 #define ReynoldsStress_H
50 template<
class BasicTurbulenceModel>
53 public BasicTurbulenceModel
81 typedef typename BasicTurbulenceModel::alphaField
alphaField;
82 typedef typename BasicTurbulenceModel::rhoField
rhoField;
83 typedef typename BasicTurbulenceModel::transportModel
transportModel;
91 const word& modelName,
98 const word& propertiesName
110 virtual bool read() = 0;
virtual tmp< volScalarField > k() const
Return the turbulence kinetic energy.
A class for handling words, derived from string.
A class for managing temporary objects.
virtual bool read()=0
Re-read model coefficients if they have changed.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
void correctWallShearStress(volSymmTensorField &R) const
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
virtual tmp< scalarField > nut(const label patchi) const
Return the turbulence viscosity on patch.
virtual void correctNut()=0
Update the eddy-viscosity.
Reynolds-stress turbulence model base class.
virtual tmp< fvVectorMatrix > divDevRhoReff(volVectorField &U) const
Return the source term for the momentum equation.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
ReynoldsStress(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.
BasicTurbulenceModel::transportModel transportModel
BasicTurbulenceModel::rhoField rhoField
Generic dimensioned Type class.
virtual void validate()
Validate the turbulence fields after construction.
BasicTurbulenceModel::alphaField alphaField
virtual tmp< volScalarField > nut() const
Return the turbulence viscosity.
virtual tmp< volSymmTensorField > devRhoReff() const
Return the effective stress tensor.
BasicTurbulenceModel::transportModel transportModel
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
virtual tmp< volSymmTensorField > R() const
Return the Reynolds stress tensor.
void boundNormalStress(volSymmTensorField &R) const
BasicTurbulenceModel::alphaField alphaField
Generic GeometricField class.
BasicTurbulenceModel::rhoField rhoField
virtual ~ReynoldsStress()
Destructor.
dimensionedScalar couplingFactor_