37 template<
class BasicMomentumTransportModel>
38 tmp<volScalarField::Internal>
41 return sqrt(this->k_())/(this->betaStar_*this->omega_());
45 template<
class BasicMomentumTransportModel>
55 return max(Lt()/(CDES_*this->
delta()()), scalar(1));
57 return max(Lt()*(1 - F1)/(CDES_*this->
delta()()), scalar(1));
59 return max(Lt()*(1 - F2)/(CDES_*this->
delta()()), scalar(1));
62 <<
"Incorrect FSST = " << FSST_ <<
", should be 0, 1 or 2" 69 template<
class BasicMomentumTransportModel>
77 return this->betaStar_*this->omega_()*FDES(F1, F2);
83 template<
class BasicMomentumTransportModel>
97 LESeddyViscosity<BasicMomentumTransportModel>,
98 BasicMomentumTransportModel
119 FSST_(this->coeffDict_.lookupOrDefault(
"FSST", 2))
121 if (type == typeName)
123 this->printCoeffs(type);
130 template<
class BasicMomentumTransportModel>
137 LESeddyViscosity<BasicMomentumTransportModel>,
138 BasicMomentumTransportModel
142 CDES_.readIfPresent(this->coeffDict());
143 this->coeffDict().readIfPresent(
"FSST", FSST_);
BasicMomentumTransportModel::transportModel transportModel
virtual tmp< volScalarField::Internal > epsilonByk(const volScalarField::Internal &F1, const volScalarField::Internal &F2) const
Return epsilon/k which for standard RAS is betaStar*omega.
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.
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
dimensionedScalar sqrt(const dimensionedScalar &ds)
kOmegaSSTDES(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &type=typeName)
Construct from components.
Generic dimensioned Type class.
DimensionedField< scalar, volMesh > Internal
Type of the internal field from which this GeometricField is derived.
BasicMomentumTransportModel::alphaField alphaField
Implementation of the k-omega-SST turbulence model for incompressible and compressible flows...
bool read(const char *, int32_t &)
A class for handling words, derived from string.
BasicMomentumTransportModel::rhoField rhoField
virtual tmp< volScalarField::Internal > FDES(const volScalarField::Internal &F1, const volScalarField::Internal &F2) const
The DES dissipation-rate multiplier with options zonal filtering.
tmp< volScalarField::Internal > Lt() const
Return the turbulent length-scale.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
A class for managing temporary objects.
virtual bool read()
Read model coefficients if they have changed.