37 template<
class BasicTurbulenceModel>
40 return sqrt(this->k_)/(this->betaStar_*this->omega_);
44 template<
class BasicTurbulenceModel>
54 return max(Lt()/(CDES_*this->
delta()), scalar(1));
56 return max(Lt()*(1 - F1)/(CDES_*this->
delta()), scalar(1));
58 return max(Lt()*(1 - F2)/(CDES_*this->
delta()), scalar(1));
61 <<
"Incorrect FSST = " << FSST_ <<
", should be 0, 1 or 2" 68 template<
class BasicTurbulenceModel>
75 return this->betaStar_*this->omega_*FDES(F1, F2);
81 template<
class BasicTurbulenceModel>
90 const word& propertiesName,
96 LESeddyViscosity<BasicTurbulenceModel>,
119 FSST_(this->coeffDict_.lookupOrDefault(
"FSST", 2))
121 if (type == typeName)
123 this->printCoeffs(type);
130 template<
class BasicTurbulenceModel>
135 kOmegaSST<LESeddyViscosity<BasicTurbulenceModel>, BasicTurbulenceModel>
139 CDES_.readIfPresent(this->coeffDict());
140 this->coeffDict().readIfPresent(
"FSST", FSST_);
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
dimensionedScalar sqrt(const dimensionedScalar &ds)
BasicTurbulenceModel::rhoField rhoField
Generic dimensioned Type class.
BasicTurbulenceModel::transportModel transportModel
virtual tmp< volScalarField > epsilonByk(const volScalarField &F1, const volScalarField &F2) const
Return epsilon/k which for standard RAS is betaStar*omega.
bool read(const char *, int32_t &)
A class for handling words, derived from string.
tmp< volScalarField > Lt() const
Return the turbulent length-scale.
Implementation of the k-omega-SST-DES turbulence model for incompressible and compressible flows...
virtual tmp< volScalarField > FDES(const volScalarField &F1, const volScalarField &F2) const
The DES dissipation-rate multiplier with options zonal filtering.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
kOmegaSSTDES(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName, const word &type=typeName)
Construct from components.
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
virtual bool read()
Read model coefficients if they have changed.
BasicTurbulenceModel::alphaField alphaField