42template<
class BasicTurbulenceModel>
51 const word& propertiesName,
76 this->runTime_.timeName(),
93template<
class BasicTurbulenceModel>
98 nuM_.readIfPresent(this->coeffDict());
99 lambda_.readIfPresent(this->coeffDict());
108template<
class BasicTurbulenceModel>
116template<
class BasicTurbulenceModel>
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>
193 const alphaField&
alpha = this->alpha_;
194 const rhoField&
rho = this->rho_;
210 this->runTime_.constant(),
234 sigmaEqn.
ref().relax();
@ NO_READ
Nothing to be read.
@ MUST_READ
Reading required.
@ NO_WRITE
Ignore writing from objectRegistry::writeObject().
@ AUTO_WRITE
Automatically write from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
static word group(const word &name)
Return group (extension part of name).
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
Finite-volume options, which is an IOdictionary of values and a fv::optionList.
static options & New(const fvMesh &mesh)
Construct fvOptions and register to database if not present otherwise lookup and return.
dictionary coeffDict_
Model coefficients dictionary.
virtual void printCoeffs(const word &type)
Print model coefficients.
virtual void correct()
Correct the laminar transport.
virtual const dictionary & coeffDict() const
Const access to the coefficients dictionary.
laminarModel(const laminarModel &)=delete
No copy construct.
virtual bool read()
Read model coefficients if they have changed.
volSymmTensorField sigma_
BasicTurbulenceModel::alphaField alphaField
BasicTurbulenceModel::rhoField rhoField
dimensionedScalar lambda_
virtual void correct()
Solve the turbulence equations and correct eddy-Viscosity and related properties.
virtual tmp< volSymmTensorField > R() const
Return the Reynolds stress tensor.
virtual tmp< volSymmTensorField > devRhoReff() const
Return the effective stress tensor.
virtual tmp< fvVectorMatrix > divDevRhoReff(volVectorField &U) const
Return the source term for the momentum equation.
BasicTurbulenceModel::transportModel transportModel
tmp< volScalarField > nu0() const
Return the turbulence viscosity.
Maxwell(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName, const word &type=typeName)
Construct from components.
virtual bool read()
Read model coefficients if they have changed.
A class for managing temporary objects.
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
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
GeometricField< vector, fvPatchField, volMesh > volVectorField
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
UniformDimensionedField< scalar > uniformDimensionedScalarField
SymmTensor< Cmpt > devTwoSymm(const SymmTensor< Cmpt > &st)
Return the deviatoric part of twice the symmetric part of a SymmTensor.
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
GeometricField< tensor, fvPatchField, volMesh > volTensorField
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)