38 #ifndef linearViscousStress_H 39 #define linearViscousStress_H 50 template<
class BasicTurbulenceModel>
53 public BasicTurbulenceModel
58 typedef typename BasicTurbulenceModel::alphaField
alphaField;
59 typedef typename BasicTurbulenceModel::rhoField
rhoField;
60 typedef typename BasicTurbulenceModel::transportModel
transportModel;
68 const word& modelName,
69 const alphaField&
alpha,
74 const transportModel& transport,
75 const word& propertiesName
87 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: [].