30 template<
class BasicMomentumTransportModel>
58 this->groupName(
"nonlinearStress"),
59 this->runTime_.
name(),
75 template<
class BasicMomentumTransportModel>
83 tR.
ref() += nonlinearStress_;
88 template<
class BasicMomentumTransportModel>
100 this->rho_*nonlinearStress_
107 template<
class BasicMomentumTransportModel>
108 template<
class RhoFieldType>
112 const RhoFieldType&
rho,
124 template<
class BasicMomentumTransportModel>
131 return DivDevTau(this->rho_,
U);
135 template<
class BasicMomentumTransportModel>
143 return DivDevTau(
rho,
U);
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
Eddy viscosity turbulence model with non-linear correction base class.
virtual tmp< volSymmTensorField > R() const
Return the Reynolds stress tensor [m^2/s^2].
virtual tmp< surfaceVectorField > devTau() const
Return the effective surface stress.
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.
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.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
static tmp< SurfaceField< typename innerProduct< vector, Type >::type > > dotInterpolate(const surfaceVectorField &Sf, const VolField< Type > &tvf)
Interpolate field onto faces.
tmp< VolField< Type > > div(const SurfaceField< Type > &ssf)
void sqr(LagrangianPatchField< typename outerProduct< Type, Type >::type > &f, const LagrangianPatchField< Type > &f1)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
const dimensionSet dimVelocity