42template<
class BasicTurbulenceModel>
46 this->
nut_.correctBoundaryConditions();
49 BasicTurbulenceModel::correctNut();
55template<
class BasicTurbulenceModel>
56DeardorffDiffStress<BasicTurbulenceModel>::DeardorffDiffStress
58 const alphaField&
alpha,
64 const word& propertiesName,
119 this->printCoeffs(
type);
127template<
class BasicTurbulenceModel>
132 Ck_.readIfPresent(this->coeffDict());
133 Cm_.readIfPresent(this->coeffDict());
134 Ce_.readIfPresent(this->coeffDict());
135 Cs_.readIfPresent(this->coeffDict());
144template<
class BasicTurbulenceModel>
147 if (!this->turbulence_)
153 const alphaField&
alpha = this->alpha_;
154 const rhoField&
rho = this->rho_;
160 ReynoldsStress<LESModel<BasicTurbulenceModel>>
::correct();
171 tmp<fvSymmTensorMatrix> REqn
188 this->boundNormalStress(
R);
#define R(A, B, C, D, E, F, K, M)
Templated abstract base class for LES SGS models.
BasicTurbulenceModel::alphaField alphaField
BasicTurbulenceModel::rhoField rhoField
virtual void correct()
Correct sub-grid stress, eddy-Viscosity and related properties.
virtual void correctNut()
Update the eddy-viscosity.
BasicTurbulenceModel::transportModel transportModel
virtual bool read()
Read model coefficients if they have changed.
Reynolds-stress turbulence model base class.
virtual tmp< volSymmTensorField > R() const
void boundNormalStress(volSymmTensorField &R) const
virtual tmp< volScalarField > k() const
ReynoldsStress(const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
Generic dimensioned Type class.
void correct(GeometricField< Type, PatchField, GeoMesh > &field)
Apply correction to field.
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.
A class for managing temporary objects.
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
Base-class for all transport models used by the incompressible turbulence models.
A class for handling words, derived from Foam::string.
Namespace for LES SGS models.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > grad(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 symm(const dimensionedSymmTensor &dt)
GeometricField< vector, fvPatchField, volMesh > volVectorField
bool read(const char *buf, int32_t &val)
Same as readInt32.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
static const Identity< scalar > I
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
GeometricField< tensor, fvPatchField, volMesh > volTensorField
dimensionedScalar sqrt(const dimensionedScalar &ds)
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
const dimensionedScalar & D