53 Info<<
"Selecting heat transfer coefficient type: " 57 wordConstructorTable::iterator cstrIter =
58 wordConstructorTablePtr_->find(model);
60 if (cstrIter == wordConstructorTablePtr_->end())
63 <<
"Unknown heat transfer coefficient type " 65 <<
"Valid coefficient types: " <<
endl 66 << wordConstructorTablePtr_->sortedToc()
82 if (isA<incompressible::momentumTransportModel>(mmtm))
85 refCast<const incompressible::momentumTransportModel>
90 else if (isA<compressible::momentumTransportModel>(mmtm))
93 refCast<const compressible::momentumTransportModel>(mmtm).devTau()
94 /refCast<const compressible::momentumTransportModel>(mmtm).
rho();
99 <<
"The type of momentum transport model was not recognised"
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< wallHeatTransferCoeffModel > New(const word &name, const fvMesh &mesh, const dictionary &)
Return a reference to the selected subset.
Macros for easy insertion into run-time selection tables.
A class for handling words, derived from string.
tmp< volSymmTensorField > tau(const momentumTransportModel &mmtm, const fvMesh &mesh) const
Calculate wall shear stress.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
word name(const complex &)
Return a string representation of a complex.
Abstract base class for turbulence models (RAS, LES and laminar).
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
Mesh data needed to do the Finite Volume discretisation.
A class for managing temporary objects.