41 boundaryRadiationPropertiesPatch,
56 const word modelType(
dict.getCompat<
word>(
"type", {{
"mode", 1812}}));
58 Info<<
"Selecting boundary radiation Model: " 61 auto* ctorPtr = dictionaryConstructorTable(modelType);
70 *dictionaryConstructorTablePtr_
74 return ctorPtr(
dict, pp);
81 Foam::radiation::boundaryRadiationPropertiesPatch::nbrPatchIndex()
const 84 const mappedPatchBase& mpp =
85 refCast<const mappedPatchBase>(patch_);
87 return (mpp.samplePolyPatch().index());
92 Foam::radiation::boundaryRadiationPropertiesPatch::nbrRegion()
const 94 const mappedPatchBase& mpp =
95 refCast<const mappedPatchBase>(patch_);
97 return (refCast<const fvMesh>(mpp.sampleMesh()));
112 absorptionEmission_(nullptr),
113 transmissivity_(nullptr)
122 return *absorptionEmission_;
129 return *transmissivity_;
Based class for wall absorption emission models.
const wallAbsorptionEmissionModel & absorptionEmission() const
Return absorptionEmissionModel.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
defineTypeNameAndDebug(cloudAbsorptionEmission, 0)
Ostream & endl(Ostream &os)
Add newline and flush stream.
defineRunTimeSelectionTable(radiationModel, T)
A class for handling words, derived from Foam::string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
boundaryRadiationPropertiesPatch(const dictionary &, const polyPatch &)
Construct from patch, internal field and dictionary.
OBJstream os(runTime.globalPath()/outputName)
const wallTransmissivityModel & transmissiveModel() const
Return transmissivityModel.
virtual void write(Ostream &) const
Write.
Mesh data needed to do the Finite Volume discretisation.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A patch is a list of labels that address the faces in the global face list.
static autoPtr< boundaryRadiationPropertiesPatch > New(const dictionary &dict, const polyPatch &pp)
Selector.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
Base class for wall transmissivity models.
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...