39 class BasicTurbulenceModel,
51 const word& propertiesName
73 class BasicTurbulenceModel,
82 const alphaField&
alpha,
88 const word& propertiesName
95 IOobject::groupName(propertiesName, alphaRhoPhi.
group()),
100 IOobject::NO_REGISTER
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)
static word group(const word &name)
Return group (extension part of name)
errorManipArg< error, int > exit(error &err, const int errNo=1)
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.
TransportModel transportModel
Templated abstract base class for turbulence models.
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
A class for handling words, derived from Foam::string.
Base-class for all transport models used by the incompressible turbulence models. ...
messageStream Info
Information stream (stdout output on master, null elsewhere)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
Defines the attributes of an object for which implicit objectRegistry management is supported...
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
TurbulenceModel(const TurbulenceModel &)=delete
No copy construct.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...