34 namespace laminarModels
39 template<
class BasicTurbulenceModel>
48 const word& propertiesName,
70 this->coeffDict_.lookup(
"nuM")
80 this->coeffDict_.lookup(
"lambda")
89 this->runTime_.timeName(),
99 this->printCoeffs(type);
106 template<
class BasicTurbulenceModel>
111 nuM_.readIfPresent(this->coeffDict());
112 lambda_.readIfPresent(this->coeffDict());
122 template<
class BasicTurbulenceModel>
129 template<
class BasicTurbulenceModel>
140 this->runTime_.timeName(),
145 this->alpha_*this->rho_*sigma_
146 - (this->alpha_*this->rho_*this->
nu())
153 template<
class BasicTurbulenceModel>
164 this->alpha_*this->rho_*this->nuM_*
fvc::grad(U)
166 +
fvc::div(this->alpha_*this->rho_*sigma_)
173 template<
class BasicTurbulenceModel>
194 template<
class BasicTurbulenceModel>
215 this->runTime_.constant(),
233 +
fvm::Sp(alpha*rho*rLambda, sigma)
239 sigmaEqn.
ref().relax();
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
virtual tmp< fvVectorMatrix > divDevRhoReff(volVectorField &U) const
Return the source term for the momentum equation.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Templated abstract base class for laminar transport models.
void correct(GeometricField< Type, fvPatchField, volMesh > &field)
Apply correction to field.
T & ref() const
Return non-const reference or generate a fatal error.
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
const dimensionSet dimViscosity
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
virtual tmp< volSymmTensorField > devRhoReff() const
Return the effective stress tensor.
BasicTurbulenceModel::transportModel transportModel
BasicTurbulenceModel::rhoField rhoField
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)
BasicTurbulenceModel::alphaField alphaField
A class for handling words, derived from string.
SolverPerformance< Type > solve(fvMatrix< Type > &, const dictionary &)
Solve returning the solution statistics given convergence tolerance.
static word groupName(Name name, const word &group)
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
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 tmp< volSymmTensorField > R() const
Return the Reynolds stress tensor.
void constrain(fvMatrix< Type > &eqn)
Apply constraints to equation.
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
virtual bool read()
Read model coefficients if they have changed.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
fileName::Type type(const fileName &, const bool followLink=true)
Return the file type: DIRECTORY or FILE.
virtual void correct()
Solve the turbulence equations and correct eddy-Viscosity and.
dimensionedSymmTensor dev2(const dimensionedSymmTensor &dt)
virtual void correct()
Correct the laminar transport.
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
A class for managing temporary objects.
static options & New(const fvMesh &mesh)
Construct fvOptions and register to datbase if not present.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...