35 #ifndef linearViscousStress_H
36 #define linearViscousStress_H
47 template<
class BasicMomentumTransportModel>
50 public BasicMomentumTransportModel
55 typedef typename BasicMomentumTransportModel::alphaField
alphaField;
56 typedef typename BasicMomentumTransportModel::rhoField
rhoField;
64 const word& modelName,
82 virtual bool read() = 0;
Generic GeometricField class.
Linear viscous stress turbulence model base class.
BasicMomentumTransportModel::alphaField alphaField
linearViscousStress(const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
Construct from components.
virtual tmp< volSymmTensorField > devTau() const
Return the effective stress tensor.
virtual bool read()=0
Re-read model coefficients if they have changed.
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
virtual tmp< fvVectorMatrix > divDevTau(volVectorField &U) const
Return the source term for the momentum equation.
virtual ~linearViscousStress()
Destructor.
BasicMomentumTransportModel::rhoField rhoField
A class for managing temporary objects.
Abstract base class for all fluid physical properties.
A class for handling words, derived from string.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))