Go to the documentation of this file.
40 template<
class BasicTurbulenceModel>
41 const IDDESDelta& kOmegaSSTIDDES<BasicTurbulenceModel>::setDelta()
const
43 if (!isA<IDDESDelta>(this->delta_()))
46 <<
"The delta function must be set to a " << IDDESDelta::typeName
50 return refCast<const IDDESDelta>(this->delta_());
54 template<
class BasicTurbulenceModel>
55 tmp<volScalarField> kOmegaSSTIDDES<BasicTurbulenceModel>::alpha()
const
57 return max(0.25 - this->y_/IDDESDelta_.hmax(), scalar(-5));
61 template<
class BasicTurbulenceModel>
62 tmp<volScalarField> kOmegaSSTIDDES<BasicTurbulenceModel>::ft
67 return tanh(
pow3(
sqr(Ct_)*rd(this->nut_, magGradU)));
71 template<
class BasicTurbulenceModel>
72 tmp<volScalarField> kOmegaSSTIDDES<BasicTurbulenceModel>::fl
81 template<
class BasicTurbulenceModel>
82 tmp<volScalarField> kOmegaSSTIDDES<BasicTurbulenceModel>::rd
88 tmp<volScalarField>
tr
99 *
sqr(this->kappa_*this->y_)
104 tr.ref().boundaryFieldRef() == 0.0;
112 template<
class BasicTurbulenceModel>
113 tmp<volScalarField> kOmegaSSTIDDES<BasicTurbulenceModel>::fdt
118 return 1 -
tanh(
pow(Cdt1_*rd(this->nut_, magGradU), Cdt2_));
122 template<
class BasicTurbulenceModel>
156 fdTilda*(1 + fe)*lRAS + (1 - fdTilda)*lLES,
164 template<
class BasicTurbulenceModel>
167 const alphaField&
alpha,
173 const word& propertiesName,
225 IDDESDelta_(setDelta())
227 if (
type == typeName)
229 this->printCoeffs(
type);
236 template<
class BasicTurbulenceModel>
241 Cdt1_.readIfPresent(this->coeffDict());
242 Cdt2_.readIfPresent(this->coeffDict());
243 Cl_.readIfPresent(this->coeffDict());
244 Ct_.readIfPresent(this->coeffDict());
A class for handling words, derived from Foam::string.
k-omega-SST DES turbulence model for incompressible and compressible flows
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
A class for managing temporary objects.
const dimensionedScalar alpha
dimensionedScalar pos0(const dimensionedScalar &ds)
dimensionedScalar exp(const dimensionedScalar &ds)
k-omega-SST IDDES turbulence model for incompressible and compressible flows
label min(const labelHashSet &set, label minValue=labelMax)
IDDESDelta used by the IDDES (improved low Re Spalart-Allmaras DES model) The min and max delta are c...
dimensionedScalar tanh(const dimensionedScalar &ds)
dimensionedScalar pow3(const dimensionedScalar &ds)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
label max(const labelHashSet &set, label maxValue=labelMin)
Generic dimensioned Type class.
errorManipArg< error, int > exit(error &err, const int errNo=1)
BasicTurbulenceModel::transportModel transportModel
Base-class for all transport models used by the incompressible turbulence models.
virtual tmp< volScalarField > dTilda(const volScalarField &magGradU, const volScalarField &CDES) const
#define FatalErrorInFunction
dimensionedSymmTensor sqr(const dimensionedVector &dv)
BasicTurbulenceModel::alphaField alphaField
dimensionedScalar sqrt(const dimensionedScalar &ds)
fileName::Type type(const fileName &name, const bool followLink=true)
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
Generic GeometricField class.
BasicTurbulenceModel::rhoField rhoField
dimensionedScalar neg(const dimensionedScalar &ds)