56 const word modelType(
dict.getCompat<
word>(
"type", {{
"mode", 1812}}));
58 Info<<
"Selecting boundary radiation Model: "
61 auto* ctorPtr = dictionaryConstructorTable(modelType);
70 *dictionaryConstructorTablePtr_
81Foam::radiation::boundaryRadiationPropertiesPatch::nbrPatchIndex()
const
84 const mappedPatchBase& mpp =
87 return (mpp.samplePolyPatch().index());
92Foam::radiation::boundaryRadiationPropertiesPatch::nbrRegion()
const
94 const mappedPatchBase& mpp =
112 absorptionEmission_(nullptr),
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A patch is a list of labels that address the faces in the global face list.
const wallTransmissivityModel & transmissiveModel() const
Return transmissivityModel.
const wallAbsorptionEmissionModel & absorptionEmission() const
Return absorptionEmissionModel.
virtual void write(Ostream &) const
Write.
static autoPtr< boundaryRadiationPropertiesPatch > New(const dictionary &dict, const polyPatch &pp)
Selector.
autoPtr< wallAbsorptionEmissionModel > absorptionEmission_
Absorption/emission model.
boundaryRadiationPropertiesPatch(const dictionary &, const polyPatch &)
Construct from patch, internal field and dictionary.
autoPtr< wallTransmissivityModel > transmissivity_
Transmissivity model.
Based class for wall absorption emission models.
Base class for wall transmissivity models.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
OBJstream os(runTime.globalPath()/outputName)
Namespace for radiation modelling.
Type & refCast(U &obj)
A dynamic_cast (for references) to Type reference.
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.