31 template<
class BasicThermophysicalTransportModel>
34 BasicThermophysicalTransportModel
42 BasicThermophysicalTransportModel(momentumTransport,
thermo)
48 template<
class BasicThermophysicalTransportModel>
53 BasicThermophysicalTransportModel
58 BasicThermophysicalTransportModel
69 thermophysicalTransportModel::typeName,
73 momentumTransport.
mesh(),
79 if (header.headerOk())
83 const word modelType(modelDict.subDict(
"LES").lookup(
"model"));
85 Info<<
"Selecting LES thermophysical transport model "
88 typename dictionaryConstructorTable::iterator cstrIter =
89 dictionaryConstructorTablePtr_->find(modelType);
91 if (cstrIter == dictionaryConstructorTablePtr_->end())
94 <<
"Unknown LES thermophysical transport model "
95 << modelType <<
nl <<
nl
96 <<
"Available models:" <<
endl
97 << dictionaryConstructorTablePtr_->sortedToc()
101 return autoPtr<LESThermophysicalTransportModel>
103 cstrIter()(momentumTransport,
thermo)
109 turbulenceThermophysicalTransportModels::unityLewisEddyDiffusivity
111 LESThermophysicalTransportModel
113 BasicThermophysicalTransportModel
115 > LESunityLewisEddyDiffusivity;
117 Info<<
"Selecting default LES thermophysical transport model "
118 << LESunityLewisEddyDiffusivity::typeName <<
endl;
120 return autoPtr<LESThermophysicalTransportModel>
122 new LESunityLewisEddyDiffusivity
124 LESunityLewisEddyDiffusivity::typeName,
136 template<
class BasicThermophysicalTransportModel>
139 BasicThermophysicalTransportModel
142 return this->subOrEmptyDict(
"LES").optionalSubDict(
type() +
"Coeffs");
146 template<
class BasicThermophysicalTransportModel>
149 BasicThermophysicalTransportModel
156 template<
class BasicThermophysicalTransportModel>
160 BasicThermophysicalTransportModel::predict();
164 template<
class BasicThermophysicalTransportModel>
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
static word group(const word &name)
Return group (extension part of name)
static word groupName(Name name, const word &group)
Templated abstract base class for LES thermophysical transport models.
virtual void correct()
Solve the thermophysical transport model equations.
virtual void predict()
Predict the LES transport coefficients if possible.
BasicThermophysicalTransportModel::thermoModel thermoModel
BasicThermophysicalTransportModel::momentumTransportModel momentumTransportModel
static const word & constant()
Return constant name.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Abstract base class for turbulence models (RAS, LES and laminar).
const Time & time() const
const fvMesh & mesh() const
const surfaceScalarField & alphaRhoPhi() const
Access function to phase flux field.
Templated form of IOobject providing type information for file reading and header type checking.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void correct(const RdeltaTType &rDeltaT, const RhoType &rho, volScalarField &psi, const surfaceScalarField &phiCorr, const SpType &Sp)
errorManipArg< error, int > exit(error &err, const int errNo=1)
bool read(const char *, int32_t &)
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
fluidMulticomponentThermo & thermo