Go to the documentation of this file.
37 namespace laminarModels
42 template<
class BasicTurbulenceModel>
51 const word& propertiesName,
69 lambda_(
"lambda",
dimTime, this->coeffDict_),
76 this->runTime_.timeName(),
86 this->printCoeffs(
type);
93 template<
class BasicTurbulenceModel>
98 nuM_.readIfPresent(this->coeffDict());
99 lambda_.readIfPresent(this->coeffDict());
107 template<
class BasicTurbulenceModel>
114 template<
class BasicTurbulenceModel>
125 this->runTime_.timeName(),
130 this->alpha_*this->rho_*sigma_
131 - (this->alpha_*this->rho_*this->
nu())
138 template<
class BasicTurbulenceModel>
149 this->alpha_*this->rho_*this->nuM_*
fvc::grad(
U)
151 +
fvc::div(this->alpha_*this->rho_*sigma_)
158 template<
class BasicTurbulenceModel>
179 template<
class BasicTurbulenceModel>
200 this->runTime_.constant(),
224 sigmaEqn.
ref().relax();
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.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
BasicTurbulenceModel::alphaField alphaField
A class for handling words, derived from Foam::string.
virtual tmp< volSymmTensorField > devRhoReff() const
Return the effective stress tensor.
A class for managing temporary objects.
static options & New(const fvMesh &mesh)
Construct fvOptions and register to database if not present.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
virtual tmp< fvVectorMatrix > divDevRhoReff(volVectorField &U) const
Return the source term for the momentum equation.
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
dimensionedSymmTensor dev2(const dimensionedSymmTensor &dt)
Templated abstract base class for laminar transport models.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
SolverPerformance< Type > solve(faMatrix< Type > &, Istream &)
Solve returning the solution statistics given convergence tolerance.
const dimensionSet dimViscosity
BasicTurbulenceModel::transportModel transportModel
virtual bool read()
Read model coefficients if they have changed.
virtual void correct()
Correct the laminar transport.
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
virtual tmp< volSymmTensorField > R() const
Return the Reynolds stress tensor.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
BasicTurbulenceModel::rhoField rhoField
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)