Go to the documentation of this file.
49 template<
class BasicTurbulenceModel>
52 public BasicTurbulenceModel
100 typedef typename BasicTurbulenceModel::alphaField
alphaField;
101 typedef typename BasicTurbulenceModel::rhoField
rhoField;
102 typedef typename BasicTurbulenceModel::transportModel
transportModel;
123 const word& propertiesName
125 (
alpha,
rho,
U, alphaRhoPhi,
phi, transport, propertiesName)
141 const word& propertiesName
224 this->nut() + this->nu()
232 return this->
nut(patchi) + this->
nu(patchi);
dictionary coeffDict_
Model coefficients dictionary.
static word groupName(Name name, const word &group)
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
dimensionedScalar & omegaMin()
Allow omegaMin to be changed.
TypeName("RAS")
Runtime type information.
A class for handling words, derived from string.
virtual tmp< volScalarField > nuEff() const
Return the effective viscosity.
A class for managing temporary objects.
Templated abstract base class for RAS turbulence models.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
RASModel(const RASModel &)
Disallow default bitwise copy construct.
Switch printCoeffs_
Flag to print the model coeffs at run-time.
static const word propertiesName
Default name of the turbulence properties dictionary.
dimensionedScalar epsilonMin_
Lower limit of epsilon.
dimensionedScalar omegaMin_
Lower limit for omega.
BasicTurbulenceModel::alphaField alphaField
static autoPtr< RASModel > New(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName)
Return a reference to the selected RAS model.
const dimensionedScalar & epsilonMin() const
Return the lower allowable limit for epsilon (default: SMALL)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dictionary RASDict_
RAS coefficients dictionary.
dimensionedScalar & epsilonMin()
Allow epsilonMin to be changed.
void operator=(const RASModel &)
Disallow default bitwise assignment.
A list of keyword definitions, which are a keyword followed by any number of values (e....
BasicTurbulenceModel::rhoField rhoField
Generic dimensioned Type class.
BasicTurbulenceModel::alphaField alphaField
virtual tmp< scalarField > nuEff(const label patchi) const
Return the effective viscosity on patch.
declareRunTimeSelectionTable(autoPtr, RASModel, dictionary,(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName),(alpha, rho, U, alphaRhoPhi, phi, transport, propertiesName))
BasicTurbulenceModel::transportModel transportModel
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
BasicTurbulenceModel::transportModel transportModel
virtual const dictionary & coeffDict() const
Const access to the coefficients dictionary.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual ~RASModel()
Destructor.
const dimensionedScalar & omegaMin() const
Return the lower allowable limit for omega (default: SMALL)
Switch turbulence_
Turbulence on/off flag.
dimensionedScalar kMin_
Lower limit of k.
const dimensionedScalar & kMin() const
Return the lower allowable limit for k (default: SMALL)
virtual void printCoeffs(const word &type)
Print model coefficients.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Generic GeometricField class.
dimensionedScalar & kMin()
Allow kMin to be changed.
virtual bool read()
Read model coefficients if they have changed.