41template<
class BasicTurbulenceModel>
48 BasicTurbulenceModel::correctNut();
52template<
class BasicTurbulenceModel>
59template<
class BasicTurbulenceModel>
69 min(nur/(
max(magGradU, eps)*
sqr(this->kappa_*this->y_)), scalar(10));
71 tr.ref().boundaryFieldRef() == 0;
77template<
class BasicTurbulenceModel>
106 pos(dTilda - lengthScaleRAS)*S2
107 + (scalar(1) -
pos(dTilda - lengthScaleRAS))*
sqr(Ssigma);
114template<
class BasicTurbulenceModel>
125template<
class BasicTurbulenceModel>
137template<
class BasicTurbulenceModel>
154template<
class BasicTurbulenceModel>
168template<
class BasicTurbulenceModel>
169kOmegaSSTDES<BasicTurbulenceModel>::kOmegaSSTDES
171 const alphaField&
alpha,
177 const word& propertiesName,
237 <<
"This model is not recommended and will be deprecated in future "
238 <<
"releases. Please consider using the DDES/IDDES versions instead"
241 this->printCoeffs(
type);
248template<
class BasicTurbulenceModel>
253 useSigma_.readIfPresent(
"useSigma", this->coeffDict());
254 kappa_.readIfPresent(this->coeffDict());
255 CDESkom_.readIfPresent(this->coeffDict());
256 CDESkeps_.readIfPresent(this->coeffDict());
265template<
class BasicTurbulenceModel>
276template<
class BasicTurbulenceModel>
287template<
class BasicTurbulenceModel>
const dimensionSet & dimensions() const noexcept
Return dimensions.
DimensionedField< scalar, volMesh > Internal
static word scopedName(const std::string &scope, const word &name)
Create scope:name or scope_name string.
Templated abstract base class for DES models.
virtual tmp< volScalarField > dTilda(const volScalarField &magGradU, const volScalarField &CDES) const
Return length scale.
BasicTurbulenceModel::alphaField alphaField
Switch useSigma_
Switch to activate grey-area enhanced sigma-(D)DES.
BasicTurbulenceModel::rhoField rhoField
virtual tmp< volScalarField > lengthScaleLES(const volScalarField &CDES) const
LES length scale.
virtual void correctNut(const volScalarField &S2)
virtual tmp< volScalarField > lengthScaleRAS() const
RAS length scale.
virtual tmp< volScalarField > S2(const volTensorField &gradU) const
Return square of strain rate.
dimensionedScalar CDESkeps_
virtual tmp< volScalarField > LESRegion() const
Return the LES field indicator.
virtual tmp< volScalarField::Internal > GbyNu(const volScalarField::Internal &GbyNu0, const volScalarField::Internal &F2, const volScalarField::Internal &S2) const
Return G/nu.
virtual tmp< volScalarField::Internal > GbyNu0(const volTensorField &gradU, const volScalarField &S2) const
Return (G/nu)_0.
virtual tmp< volScalarField > CDES(const volScalarField &F1) const
Blending for CDES parameter.
dimensionedScalar CDESkom_
DES coefficients.
virtual void correctNut()
BasicTurbulenceModel::transportModel transportModel
virtual tmp< volScalarField::Internal > epsilonByk(const volScalarField &F1, const volTensorField &gradU) const
Return epsilon/k.
tmp< volScalarField > r(const volScalarField &nur, const volScalarField &magGradU) const
virtual bool read()
Re-read model coefficients if they have changed.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Generic dimensioned Type class.
static dimensioned< Type > getOrAddToDict(const word &name, dictionary &dict, const dimensionSet &dims=dimless, const Type &deflt=Type(Zero))
Construct dimensioned from dictionary, with default value.
Base class implementation of the k-omega-SST turbulence model for incompressible and compressible flo...
virtual tmp< volScalarField > F1(const volScalarField &CDkOmega) const
kOmegaSSTBase(const kOmegaSSTBase &)=delete
dimensionedScalar alphaOmega2_
virtual tmp< volScalarField > F2() const
const volScalarField & y_
virtual tmp< volScalarField > omega() const
virtual tmp< volScalarField > k() const
dimensionedScalar betaStar_
A class for managing temporary objects.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
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.
#define WarningInFunction
Report a warning using Foam::Warning.
Namespace for LES SGS models.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
dimensionedScalar pos(const dimensionedScalar &ds)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
GeometricField< vector, fvPatchField, volMesh > volVectorField
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
bool read(const char *buf, int32_t &val)
Same as readInt32.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
Ostream & endl(Ostream &os)
Add newline and flush stream.
GeometricField< tensor, fvPatchField, volMesh > volTensorField
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
dimensionedScalar neg(const dimensionedScalar &ds)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)