28 #include "surfaceInterpolate.H"
50 const word model(
dict.lookupOrDefault<
word>(
"model",
"kappaEff"));
54 Info<<
"Selecting heat transfer coefficient type: "
58 wordConstructorTable::iterator cstrIter =
59 wordConstructorTablePtr_->find(model);
61 if (cstrIter == wordConstructorTablePtr_->end())
64 <<
"Unknown heat transfer coefficient type "
66 <<
"Valid coefficient types: " <<
endl
67 << wordConstructorTablePtr_->sortedToc()
83 if (isA<incompressible::momentumTransportModel>(mmtm))
86 refCast<const incompressible::momentumTransportModel>
91 else if (isA<compressible::momentumTransportModel>(mmtm))
94 refCast<const compressible::momentumTransportModel>(mmtm).devTau()
97 refCast<const compressible::momentumTransportModel>(mmtm).
rho()
103 <<
"The type of momentum transport model was not recognised"
Macros for easy insertion into run-time selection tables.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for turbulence models (RAS, LES and laminar).
A class for managing temporary objects.
Abstract base class for run time selection of heat transfer coefficient models.
static autoPtr< wallHeatTransferCoeffModel > New(const word &name, const fvMesh &mesh, const dictionary &)
Return a reference to the selected subset.
tmp< surfaceVectorField > tau(const momentumTransportModel &mmtm, const fvMesh &mesh) const
Calculate wall shear stress.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static tmp< SurfaceField< Type > > interpolate(const VolField< Type > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
Ostream & endl(Ostream &os)
Add newline and flush stream.
defineTypeNameAndDebug(combustionModel, 0)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.