41#ifndef linearViscousStress_H
42#define linearViscousStress_H
53template<
class BasicTurbulenceModel>
56 public BasicTurbulenceModel
61 typedef typename BasicTurbulenceModel::alphaField
alphaField;
62 typedef typename BasicTurbulenceModel::rhoField
rhoField;
63 typedef typename BasicTurbulenceModel::transportModel
transportModel;
71 const word& modelName,
78 const word& propertiesName
89 virtual bool read() = 0;
BasicTurbulenceModel::alphaField alphaField
BasicTurbulenceModel::rhoField rhoField
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 ~linearViscousStress()=default
Destructor.
virtual bool read()=0
Re-read model coefficients if they have changed.
virtual tmp< fvVectorMatrix > divDevRhoReff(volVectorField &U) const
Return the source term for the momentum equation.
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
BasicTurbulenceModel::transportModel transportModel
virtual tmp< volSymmTensorField > devRhoReff() const
Return the effective stress tensor.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField