44 #ifndef SpalartAllmarasDES_H 45 #define SpalartAllmarasDES_H 60 template<
class BasicMomentumTransportModel>
154 typedef typename BasicMomentumTransportModel::alphaField
alphaField;
155 typedef typename BasicMomentumTransportModel::rhoField
rhoField;
156 typedef typename BasicMomentumTransportModel::transportModel
transportModel;
168 const alphaField&
alpha,
173 const transportModel& transport,
Eddy viscosity LES SGS model base class.
TypeName("SpalartAllmarasDES")
Runtime type information.
void operator=(const SpalartAllmarasDES &)=delete
Disallow default bitwise assignment.
const volScalarField & y_
Wall distance.
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
virtual bool read()
Read model coefficients if they have changed.
SpalartAllmarasDES DES turbulence model for incompressible and compressible flows.
DimensionedField< scalar, volMesh > Internal
Type of the internal field from which this GeometricField is derived.
A class for handling words, derived from string.
BasicMomentumTransportModel::alphaField alphaField
virtual tmp< volScalarField::Internal > dTilda(const volScalarField::Internal &chi, const volScalarField::Internal &fv1, const volTensorField::Internal &gradU) const
Length scale.
virtual ~SpalartAllmarasDES()
Destructor.
tmp< volScalarField::Internal > r(const volScalarField::Internal &nur, const volScalarField::Internal &Omega, const volScalarField::Internal &dTilda) const
tmp< volScalarField > fv1(const volScalarField &chi) const
tmp< volScalarField > DnuTildaEff() const
Return the effective diffusivity for nuTilda.
BasicMomentumTransportModel::rhoField rhoField
SpalartAllmarasDES(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.
tmp< volScalarField::Internal > Omega(const volTensorField::Internal &gradU) const
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
tmp< volScalarField > nuTilda() const
virtual void cacheLESRegion(const volScalarField::Internal &dTilda) const
Cache the LES region indicator field.
tmp< volScalarField::Internal > Stilda(const volScalarField::Internal &chi, const volScalarField::Internal &fv1, const volScalarField::Internal &Omega, const volScalarField::Internal &dTilda) const
static word modelName(Name name, const word &model)
Return the name of the object within the given model.
A class for managing temporary objects.
dimensionedScalar sigmaNut_
tmp< volScalarField > chi() const
virtual void correct()
Correct nuTilda and related properties.
tmp< volScalarField::Internal > fw(const volScalarField::Internal &Omega, const volScalarField::Internal &dTilda) const
tmp< volScalarField::Internal > fv2(const volScalarField::Internal &chi, const volScalarField::Internal &fv1) const
virtual void correctNut()
BasicMomentumTransportModel::transportModel transportModel
virtual tmp< volScalarField > k() const
Return SGS kinetic energy.