32 template<
class MomentumTransportModel,
class ThermoModel>
41 momentumTransport_(momentumTransport),
48 template<
class MomentumTransportModel,
class ThermoModel>
61 momentumTransport.
lookup(
"simulationType")
64 Info<<
"Selecting thermophysical transport type " << modelType <<
endl;
66 typename dictionaryConstructorTable::iterator cstrIter =
67 dictionaryConstructorTablePtr_->find(modelType);
69 if (cstrIter == dictionaryConstructorTablePtr_->end())
72 <<
"Unknown thermophysical transport type " 73 << modelType <<
nl <<
nl 74 <<
"Available types:" << endl
75 << dictionaryConstructorTablePtr_->sortedToc()
81 cstrIter()(momentumTransport,
thermo)
Templated abstract base class for multiphase compressible turbulence models.
fluidReactionThermo & thermo
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
ThermophysicalTransportModel(const momentumTransportModel &momentumTransport, const thermoModel &thermo)
Construct.
Ostream & endl(Ostream &os)
Add newline and flush stream.
transportThermoModel thermoModel
Templated abstract base class for thermophysical transport models.
A class for handling words, derived from string.
Abstract base class for thermophysical transport models (RAS, LES and laminar).
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
static autoPtr< ThermophysicalTransportModel > New(const momentumTransportModel &transport, const thermoModel &thermo)
Return a reference to the selected thermophysical transport model.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.