39 template<
class BasicMomentumTransportModel>
42 this->nut_ = Ck_*
sqrt(this->
k())*this->
delta();
43 this->nut_.correctBoundaryConditions();
50 template<
class BasicMomentumTransportModel>
73 Ck_(
"Ck", this->coeffDict(), 0.094),
74 Cm_(
"Cm", this->coeffDict(), 4.13),
75 Ce_(
"Ce", this->coeffDict(), 1.05),
76 Cs_(
"Cs", this->coeffDict(), 0.25)
87 template<
class BasicMomentumTransportModel>
92 Ck_.readIfPresent(this->coeffDict());
93 Cm_.readIfPresent(this->coeffDict());
94 Ce_.readIfPresent(this->coeffDict());
95 Cs_.readIfPresent(this->coeffDict());
106 template<
class BasicMomentumTransportModel>
114 this->groupName(
"epsilon"),
120 template<
class BasicMomentumTransportModel>
128 this->groupName(
"omega"),
134 template<
class BasicMomentumTransportModel>
137 if (!this->turbulence_)
183 this->boundNormalStress(
R);
Generic GeometricField class.
static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > New(const word &name, const Internal &, const PtrList< Patch > &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
Templated abstract base class for LES SGS models.
BasicMomentumTransportModel::alphaField alphaField
virtual void correct()
Correct sub-grid stress, eddy-Viscosity and related properties.
virtual tmp< volScalarField > epsilon() const
Return the turbulence kinetic energy dissipation rate.
virtual void correctNut()
Update the eddy-viscosity.
DeardorffDiffStress(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName)
Constructor from components.
virtual tmp< volScalarField > omega() const
Return the turbulence specific dissipation rate.
virtual bool read()
Read model coefficients if they have changed.
BasicMomentumTransportModel::rhoField rhoField
Reynolds-stress turbulence model base class.
void boundNormalStress(volSymmTensorField &R) const
static autoPtr< dictionary > New(Istream &)
Construct top-level dictionary on freestore from Istream.
Finite volume constraints.
bool constrain(fvMatrix< Type > &eqn) const
Apply constraints to an equation.
tmp< fvMatrix< Type > > source(const VolField< Type > &field) const
Return source for an 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::fvConstraints & fvConstraints(Foam::fvConstraints::New(mesh))
Foam::fvModels & fvModels(Foam::fvModels::New(mesh))
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
void correct(const RdeltaTType &rDeltaT, const RhoType &rho, volScalarField &psi, const surfaceScalarField &phiCorr, const SpType &Sp)
tmp< VolField< typename outerProduct< vector, Type >::type > > grad(const SurfaceField< Type > &ssf)
tmp< fvMatrix< Type > > laplacian(const VolField< Type > &vf, const word &name)
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const VolField< Type > &vf, const word &name)
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const VolField< Type > &)
tmp< fvMatrix< Type > > ddt(const VolField< Type > &vf)
static const coefficient D("D", dimTemperature, 257.14)
bool read(const char *, int32_t &)
void twoSymm(LagrangianPatchField< tensor > &f, const LagrangianPatchField< tensor > &f1)
static const Identity< scalar > I
void symm(LagrangianPatchField< tensor > &f, const LagrangianPatchField< tensor > &f1)
static scalar R(const scalar a, const scalar x)
void sqrt(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.