35 #ifndef linearViscousStress_H 36 #define linearViscousStress_H 47 template<
class BasicTurbulenceModel>
50 public BasicTurbulenceModel
55 typedef typename BasicTurbulenceModel::alphaField
alphaField;
56 typedef typename BasicTurbulenceModel::rhoField
rhoField;
57 typedef typename BasicTurbulenceModel::transportModel
transportModel;
65 const word& modelName,
66 const alphaField&
alpha,
71 const transportModel& transport,
72 const word& propertiesName
84 virtual bool read() = 0;
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
virtual ~linearViscousStress()
Destructor.
BasicTurbulenceModel::alphaField alphaField
BasicTurbulenceModel::transportModel transportModel
Linear viscous stress turbulence model base class.
A class for handling words, derived from 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: [].