49 template<
class BasicMomentumTransportModel>
52 public BasicMomentumTransportModel
89 typedef typename BasicMomentumTransportModel::alphaField
alphaField;
90 typedef typename BasicMomentumTransportModel::rhoField
rhoField;
91 typedef typename BasicMomentumTransportModel::transportModel
transportModel;
106 const alphaField&
alpha,
111 const transportModel& transport
113 (alpha, rho, U, alphaRhoPhi, phi, transport)
123 const alphaField& alpha,
128 const transportModel& transport
140 const alphaField& alpha,
145 const transportModel& transport
211 this->
nut() + this->nu()
218 return this->
nut(patchi) + this->nu(patchi);
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void operator=(const RASModel &)=delete
Disallow default bitwise assignment.
static autoPtr< RASModel > New(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport)
Return a reference to the selected RAS model.
dimensionedScalar kMin_
Lower limit of k.
A list of keyword definitions, which are a keyword followed by any number of values (e...
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
dictionary RASDict_
RAS coefficients dictionary.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none/any.
virtual bool read()
Read model coefficients if they have changed.
virtual ~RASModel()
Destructor.
BasicMomentumTransportModel::alphaField alphaField
Templated abstract base class for RAS turbulence models.
virtual tmp< volScalarField > nuEff() const
Return the effective viscosity.
dictionary coeffDict_
Model coefficients dictionary.
virtual const dictionary & coeffDict() const
Const access to the coefficients dictionary.
BasicMomentumTransportModel::transportModel transportModel
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
const dimensionedScalar & kMin() const
Return the lower allowable limit for k (default: small)
virtual void printCoeffs(const word &type)
Print model coefficients.
declareRunTimeSelectionTable(autoPtr, RASModel, dictionary,(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport),(alpha, rho, U, alphaRhoPhi, phi, transport))
dimensionedScalar omegaMin_
Lower limit for omega.
BasicMomentumTransportModel::rhoField rhoField
TypeName("RAS")
Runtime type information.
const dimensionedScalar & epsilonMin() const
Return the lower allowable limit for epsilon (default: small)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
RASModel(const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport)
Construct from components.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Switch printCoeffs_
Flag to print the model coeffs at run-time.
A class for managing temporary objects.
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
dimensionedScalar epsilonMin_
Lower limit of epsilon.
const dimensionedScalar & omegaMin() const
Return the lower allowable limit for omega (default: small)
Switch turbulence_
Turbulence on/off flag.