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>
98 BasicMomentumTransportModel
119 FSST_(this->coeffDict_.lookupOrDefault(
"FSST", 2))
121 if (
type == typeName)
123 this->printCoeffs(
type);
130 template<
class BasicMomentumTransportModel>
138 BasicMomentumTransportModel
142 CDES_.readIfPresent(this->coeffDict());
143 this->coeffDict().readIfPresent(
"FSST", FSST_);
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
Eddy viscosity LES SGS model base class.
BasicMomentumTransportModel::alphaField alphaField
kOmegaSSTDES(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 > epsilonByk(const volScalarField::Internal &F1, const volScalarField::Internal &F2) const
Return epsilon/k which for standard RAS is betaStar*omega.
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.
virtual bool read()
Read model coefficients if they have changed.
BasicMomentumTransportModel::rhoField rhoField
Generic dimensioned Type class.
Implementation of the k-omega-SST turbulence model for incompressible and compressible flows.
A class for managing temporary objects.
Abstract base class for all fluid physical properties.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
errorManipArg< error, int > exit(error &err, const int errNo=1)
bool read(const char *, int32_t &)
dimensionedScalar sqrt(const dimensionedScalar &ds)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.