Go to the documentation of this file.
55 radBoundaryPropertiesPtrList_(
mesh.boundary().size())
59 boundaryRadiationProperties::typeName,
60 mesh.time().constant(),
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,...
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
scalar faceEmissivity(const label patchI, const label faceI, const label bandI=0, vector incomingDirection=Zero, scalar T=0) const
Access boundary emissivity on face.
boundaryRadiationProperties(const fvMesh &)
Construct given fvMesh.
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 > specReflectivity(const label patchI, const label bandI=0, vectorField *incomingDirection=nullptr, scalarField *T=nullptr) const
Access boundary specular reflectivity on patch.
#define forAll(list, i)
Loop across all elements in list.
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 > 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.
A patch is a list of labels that address the faces in the global face list.
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
Boundary radiation properties holder.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
errorManip< error > abort(error &err)
defineTypeNameAndDebug(cloudAbsorptionEmission, 0)
errorManipArg< error, int > exit(error &err, const int errNo=1)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
bool isDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Check if entry is found and is a sub-dictionary.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
scalar faceAbsorptivity(const label patchI, const label faceI, const label bandI=0, vector incomingDirection=Zero, scalar T=0) const
Access boundary absorptivity on face.
Top level model for radiation modelling.
tmp< scalarField > absorptivity(const label patchI, const label bandI=0, vectorField *incomingDirection=nullptr, scalarField *T=nullptr) const
Access boundary absorptivity on patch.
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
const word & name() const noexcept
The patch name.
tmp< scalarField > transmissivity(const label patchI, const label bandI=0, vectorField *incomingDirection=nullptr, scalarField *T=nullptr) const
Access boundary transmissivity on patch.
tmp< scalarField > diffReflectivity(const label patchI, const label bandI=0, vectorField *incomingDirection=nullptr, scalarField *T=nullptr) const
Access boundary diffuse reflectivity on patch.