32 template<
class BasicMomentumTransportModel>
36 const word& modelName,
60 IOobject::groupName(
"nonlinearStress", alphaRhoPhi.group()),
61 this->runTime_.timeName(),
77 template<
class BasicMomentumTransportModel>
85 tR.
ref() += nonlinearStress_;
90 template<
class BasicMomentumTransportModel>
98 tdevTau.
ref() += this->rho_*nonlinearStress_;
103 template<
class BasicMomentumTransportModel>
112 fvc::div(this->rho_*nonlinearStress_)
118 template<
class BasicMomentumTransportModel>
T & ref() const
Return non-const reference or generate a fatal error.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
Generic dimensioned Type class.
Eddy viscosity turbulence model base class.
incompressible::RASModel ::rhoField rhoField
virtual tmp< volSymmTensorField > devTau() const
Return the effective stress tensor.
incompressible::RASModel ::transportModel transportModel
A class for handling words, derived from string.
incompressible::RASModel ::alphaField alphaField
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].
const dimensionSet dimVelocity
nonlinearEddyViscosity(const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport)
Construct from components.
A class for managing temporary objects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...