37namespace laminarModels
42template<
class BasicTurbulenceModel>
51 const word& propertiesName,
69 lambda_(
"lambda",
dimTime, this->coeffDict_),
75 IOobject::groupName(
"sigma", alphaRhoPhi.group()),
93template<
class BasicTurbulenceModel>
98 nuM_.readIfPresent(this->coeffDict());
99 lambda_.readIfPresent(this->coeffDict());
108template<
class BasicTurbulenceModel>
116template<
class BasicTurbulenceModel>
120 return devRhoReff(this->U_);
124template<
class BasicTurbulenceModel>
135 this->runTime_.timeName(),
140 this->alpha_*this->rho_*sigma_
141 - (this->alpha_*this->rho_*this->nu())
148template<
class BasicTurbulenceModel>
159 this->alpha_*this->rho_*this->nuM_*
fvc::grad(
U)
161 +
fvc::div(this->alpha_*this->rho_*sigma_)
168template<
class BasicTurbulenceModel>
189template<
class BasicTurbulenceModel>
210 this->runTime_.constant(),
234 sigmaEqn.
ref().relax();
Defines the attributes of an object for which implicit objectRegistry management is supported,...
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
tmp< volVectorField > divDevRhoReff()
Return the effective viscous stress (laminar + turbulent).
Templated abstract base class for laminar transport models.
virtual void printCoeffs(const word &type)
Print model coefficients.
virtual void correct()
Correct the laminar transport.
Maxwell model for viscoelasticity using the upper-convected time derivative of the stress tensor....
BasicTurbulenceModel::alphaField alphaField
BasicTurbulenceModel::rhoField rhoField
virtual tmp< volSymmTensorField > R() const
Return the Reynolds stress tensor.
virtual tmp< volSymmTensorField > devRhoReff() const
Return the effective stress tensor.
BasicTurbulenceModel::transportModel transportModel
virtual bool read()
Read model coefficients if they have changed.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
zeroField Sp(const Foam::zero, const GeometricField< Type, fvPatchField, volMesh > &)
A no-op source.
dimensionedSymmTensor dev2(const dimensionedSymmTensor &dt)
const dimensionSet dimViscosity
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.