30 template<
class BasicMomentumTransportModel>
34 const word& modelName,
58 this->groupName(
"nonlinearStress"),
59 this->runTime_.
name(),
75 template<
class BasicMomentumTransportModel>
83 tR.
ref() += nonlinearStress_;
88 template<
class BasicMomentumTransportModel>
96 tdevTau.
ref() += this->rho_*nonlinearStress_;
101 template<
class BasicMomentumTransportModel>
110 fvc::div(this->rho_*nonlinearStress_)
116 template<
class BasicMomentumTransportModel>
Generic GeometricField class.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Generic dimensioned Type class.
Eddy viscosity turbulence model base class.
BasicMomentumTransportModel::alphaField alphaField
BasicMomentumTransportModel::rhoField rhoField
virtual tmp< volSymmTensorField > devTau() const
Return the effective stress tensor.
nonlinearEddyViscosity(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< fvVectorMatrix > divDevTau(volVectorField &U) const
Return the source term for the momentum equation.
virtual tmp< volSymmTensorField > sigma() const
Return the Reynolds stress tensor [m^2/s^2].
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
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))
tmp< VolField< Type > > div(const SurfaceField< Type > &ssf)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
word name(const bool)
Return a word representation of a bool.
const dimensionSet dimVelocity