88 radBoundaryPropertiesPtrList_[patchi].reset
93 if (nBands != radBoundaryPropertiesPtrList_[patchi]->nBands())
96 <<
"Radiation bands : " << nBands <<
nl
97 <<
"Bands on patch : " << patchi <<
" is "
98 << radBoundaryPropertiesPtrList_[patchi]->nBands()
118 if (radBoundaryPropertiesPtrList_[patchi])
120 return radBoundaryPropertiesPtrList_[patchi]->e
129 <<
"Patch : " <<
mesh().boundaryMesh()[patchi].name()
130 <<
" is not found in the boundaryRadiationProperties. "
147 if (radBoundaryPropertiesPtrList_[patchi])
149 return radBoundaryPropertiesPtrList_[patchi]->e
159 <<
"Patch : " <<
mesh().boundaryMesh()[patchi].name()
160 <<
" is not found in the boundaryRadiationProperties. "
177 if (radBoundaryPropertiesPtrList_[patchi])
179 return radBoundaryPropertiesPtrList_[patchi]->a
188 <<
"Patch : " <<
mesh().boundaryMesh()[patchi].name()
189 <<
" is not found in the boundaryRadiationProperties. "
206 if (radBoundaryPropertiesPtrList_[patchi])
208 return radBoundaryPropertiesPtrList_[patchi]->a
218 <<
"Patch : " <<
mesh().boundaryMesh()[patchi].name()
219 <<
" is not found in the boundaryRadiationProperties. "
236 if (radBoundaryPropertiesPtrList_[patchi])
238 return radBoundaryPropertiesPtrList_[patchi]->t
247 <<
"Patch : " <<
mesh().boundaryMesh()[patchi].name()
248 <<
" is not found in the boundaryRadiationProperties. "
265 if (radBoundaryPropertiesPtrList_[patchi])
267 return radBoundaryPropertiesPtrList_[patchi]->t
277 <<
"Patch : " <<
mesh().boundaryMesh()[patchi].name()
278 <<
" is not found in the boundaryRadiationProperties. "
295 if (radBoundaryPropertiesPtrList_[patchi])
297 return radBoundaryPropertiesPtrList_[patchi]->rDiff
306 <<
"Patch : " <<
mesh().boundaryMesh()[patchi].name()
307 <<
" is not found in the boundaryRadiationProperties. "
324 if (radBoundaryPropertiesPtrList_[patchi])
326 return radBoundaryPropertiesPtrList_[patchi]->rDiff
336 <<
"Patch : " <<
mesh().boundaryMesh()[patchi].name()
337 <<
" is not found in the boundaryRadiationProperties. "
354 if (radBoundaryPropertiesPtrList_[patchi])
356 return radBoundaryPropertiesPtrList_[patchi]->rSpec
365 <<
"Patch : " <<
mesh().boundaryMesh()[patchi].name()
366 <<
" is not found in the boundaryRadiationProperties. "
383 if (radBoundaryPropertiesPtrList_[patchi])
385 return radBoundaryPropertiesPtrList_[patchi]->rSpec
395 <<
"Patch : " <<
mesh().boundaryMesh()[patchi].name()
396 <<
" is not found in the boundaryRadiationProperties. "
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
bool typeHeaderOk(const bool checkType=true, const bool search=true, const bool verbose=true)
Read header (uses typeFilePath to find file) and check its info.
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
const fvMesh & mesh() const
const word & constant() const
Return constant name.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
bool isDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Check if entry is found and is a sub-dictionary.
Mesh data needed to do the Finite Volume discretisation.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
const Time & time() const
Return the top-level database.
const Type & lookupObject(const word &name, const bool recursive=false) const
const word & name() const noexcept
The patch name.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
A patch is a list of labels that address the faces in the global face list.
Boundary radiation properties holder.
tmp< scalarField > absorptivity(const label patchI, const label bandI=0, vectorField *incomingDirection=nullptr, scalarField *T=nullptr) const
Access boundary absorptivity on patch.
scalar faceTransmissivity(const label patchI, const label faceI, const label bandI=0, vector incomingDirection=Zero, scalar T=0) const
Access boundary transmissivity on face.
tmp< scalarField > diffReflectivity(const label patchI, const label bandI=0, vectorField *incomingDirection=nullptr, scalarField *T=nullptr) const
Access boundary diffuse reflectivity on patch.
scalar faceSpecReflectivity(const label patchI, const label faceI, const label bandI=0, vector incomingDirection=Zero, scalar T=0) const
Access boundary specular reflectivity on face.
tmp< scalarField > emissivity(const label patchI, const label bandI=0, vectorField *incomingDirection=nullptr, scalarField *T=nullptr) const
Access boundary emissivity on patch.
scalar faceDiffReflectivity(const label patchI, const label faceI, const label bandI=0, vector incomingDirection=Zero, scalar T=0) const
Access boundary diffuse reflectivity on face.
scalar faceAbsorptivity(const label patchI, const label faceI, const label bandI=0, vector incomingDirection=Zero, scalar T=0) const
Access boundary absorptivity on face.
tmp< scalarField > specReflectivity(const label patchI, const label bandI=0, vectorField *incomingDirection=nullptr, scalarField *T=nullptr) const
Access boundary specular reflectivity on patch.
tmp< scalarField > transmissivity(const label patchI, const label bandI=0, vectorField *incomingDirection=nullptr, scalarField *T=nullptr) const
Access boundary transmissivity on patch.
scalar faceEmissivity(const label patchI, const label faceI, const label bandI=0, vector incomingDirection=Zero, scalar T=0) const
Access boundary emissivity on face.
Top level model for radiation modelling.
A class for managing temporary objects.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManip< error > abort(error &err)
static constexpr const zero Zero
Global zero (0)
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a)
#define forAll(list, i)
Loop across all elements in list.
static const char *const typeName
The type name used in ensight case files.