Go to the documentation of this file.
39 class BasicTurbulenceModel,
51 const word& propertiesName
73 class BasicTurbulenceModel,
82 const alphaField&
alpha,
88 const word& propertiesName
95 IOobject::groupName(propertiesName, alphaRhoPhi.group()),
98 IOobject::MUST_READ_IF_MODIFIED,
106 Info<<
"Selecting turbulence model type " << modelType <<
endl;
108 auto* ctorPtr = dictionaryConstructorTable(modelType);
117 *dictionaryConstructorTablePtr_
121 return autoPtr<TurbulenceModel>
123 ctorPtr(
alpha,
rho,
U, alphaRhoPhi,
phi, transport, propertiesName)
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for handling words, derived from Foam::string.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< TurbulenceModel > 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 turbulence model.
Templated abstract base class for turbulence models.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
TransportModel transportModel
messageStream Info
Information stream (stdout output on master, null elsewhere)
errorManipArg< error, int > exit(error &err, const int errNo=1)
Base-class for all transport models used by the incompressible turbulence models.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
TurbulenceModel(const TurbulenceModel &)=delete
No copy construct.