37 template<
class BasicMomentumTransportModel>
38 tmp<volScalarField::Internal>
39 SpalartAllmarasIDDES<BasicMomentumTransportModel>::IDDESalpha()
const
44 max(0.25 - this->
y()()/IDDESDelta_.hmax(), scalar(-5))
49 template<
class BasicMomentumTransportModel>
50 tmp<volScalarField::Internal>
51 SpalartAllmarasIDDES<BasicMomentumTransportModel>::ft
64 template<
class BasicMomentumTransportModel>
65 tmp<volScalarField::Internal>
66 SpalartAllmarasIDDES<BasicMomentumTransportModel>::fl
74 tanh(
pow(
sqr(cl_)*rd(this->nu(), magGradU), 10))
79 template<
class BasicMomentumTransportModel>
80 tmp<volScalarField::Internal>
81 SpalartAllmarasIDDES<BasicMomentumTransportModel>::rd
98 )*
sqr(this->kappa_*this->
y()())
106 template<
class BasicMomentumTransportModel>
107 tmp<volScalarField::Internal>
108 SpalartAllmarasIDDES<BasicMomentumTransportModel>::fd
123 template<
class BasicMomentumTransportModel>
124 tmp<volScalarField::Internal>
156 min(2*
pow(expTerm, -9.0), scalar(1))
163 max(1 - fd(magGradU), fStep)
171 1 -
max(ft(magGradU), fl(magGradU))
180 max(fHill - 1, scalar(0))*fAmp
195 - this->Cb1_*this->fv2(chi, fv1)
196 /(this->Cw1_*
sqr(this->kappa_)*fwStar_)
208 fHyb*(1 + fRestore*Psi)*this->
y()
209 + (1 - fHyb)*this->CDES_*Psi*this->
delta()
217 template<
class BasicMomentumTransportModel>
271 template<
class BasicMomentumTransportModel>
276 fwStar_.readIfPresent(this->coeffDict());
277 cl_.readIfPresent(this->coeffDict());
278 ct_.readIfPresent(this->coeffDict());
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
static tmp< DimensionedField< Type, GeoMesh > > New(const word &name, const Mesh &mesh, const dimensionSet &, const Field< Type > &)
Return a temporary field constructed from name, mesh,.
Generic GeometricField class.
DimensionedField< Type, GeoMesh > Internal
Type of the internal field from which this GeometricField is derived.
IDDESDelta used by the IDDES (improved low Re Spalart-Allmaras DES model) The min and max delta are c...
BasicMomentumTransportModel::alphaField alphaField
BasicMomentumTransportModel::rhoField rhoField
SpalartAllmarasDES DES turbulence model for incompressible and compressible flows.
SpalartAllmarasIDDES(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName)
Construct from components.
virtual tmp< volScalarField::Internal > dTilda(const volScalarField::Internal &chi, const volScalarField::Internal &fv1, const volTensorField::Internal &gradU) const
Length scale.
virtual bool read()
Read model coefficients if they have changed.
Generic dimensioned Type class.
A class for managing temporary objects.
Abstract base class for all fluid physical properties.
A class for handling words, derived from string.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
dimensionedScalar exp(const dimensionedScalar &ds)
dimensionedScalar pos0(const dimensionedScalar &ds)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
To & refCast(From &r)
Reference type cast template function.
dimensionedScalar pow3(const dimensionedScalar &ds)
dimensionedScalar tanh(const dimensionedScalar &ds)
const dimensionSet dimLength
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< scalar > mag(const dimensioned< Type > &)
word typedName(Name name)
Return the name of the object within the given type.
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
dimensionedScalar neg(const dimensionedScalar &ds)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.