35 #ifndef ReynoldsStress_H 36 #define ReynoldsStress_H 47 template<
class BasicTurbulenceModel>
50 public BasicTurbulenceModel
76 template<
class RhoFieldType>
79 const RhoFieldType&
rho,
86 typedef typename BasicTurbulenceModel::alphaField
alphaField;
87 typedef typename BasicTurbulenceModel::rhoField
rhoField;
88 typedef typename BasicTurbulenceModel::transportModel
transportModel;
96 const word& modelName,
97 const alphaField&
alpha,
102 const transportModel& transport,
103 const word& propertiesName
115 virtual bool read() = 0;
void correctWallShearStress(volSymmTensorField &R) const
BasicTurbulenceModel::alphaField alphaField
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual void correctNut()=0
Update the eddy-viscosity.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
tmp< fvVectorMatrix > DivDevRhoReff(const RhoFieldType &rho, volVectorField &U) const
Return the source term for the momentum equation.
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
virtual tmp< volSymmTensorField > R() const
Return the Reynolds stress tensor.
virtual tmp< fvVectorMatrix > divDevRhoReff(volVectorField &U) const
Return the source term for the momentum equation.
BasicTurbulenceModel::transportModel transportModel
virtual bool read()=0
Re-read model coefficients if they have changed.
A class for handling words, derived from string.
virtual tmp< volSymmTensorField > devRhoReff() const
Return the effective stress tensor.
BasicTurbulenceModel::rhoField rhoField
virtual void validate()
Validate the turbulence fields after construction.
dimensionedScalar couplingFactor_
virtual tmp< volScalarField > nut() const
Return the turbulence viscosity.
void boundNormalStress(volSymmTensorField &R) const
virtual ~ReynoldsStress()
Destructor.
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.
virtual tmp< volScalarField > k() const
Return the turbulence kinetic energy.
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
Reynolds-stress turbulence model base class.