41 #ifndef linearViscousStress_H 42 #define linearViscousStress_H 53 template<
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;
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
BasicTurbulenceModel::alphaField alphaField
BasicTurbulenceModel::transportModel transportModel
virtual ~linearViscousStress()=default
Destructor.
BasicTurbulenceModel::rhoField rhoField
Linear viscous stress turbulence model base class.
BasicTurbulenceModel::transportModel transportModel
A class for handling words, derived from Foam::string.
BasicTurbulenceModel::rhoField rhoField
virtual bool read()=0
Re-read model coefficients if they have changed.
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< fvVectorMatrix > divDevRhoReff(volVectorField &U) const
Return the source term for the momentum equation.
virtual tmp< volSymmTensorField > devRhoReff() const
Return the effective stress tensor.
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
BasicTurbulenceModel::alphaField alphaField