Go to the documentation of this file.
51 mesh.time().constant(),
59 io.
readOpt() = IOobject::MUST_READ_IF_MODIFIED;
64 io.
readOpt() = IOobject::NO_READ;
83 radBoundaryProperties_()
87 createIOobject(
mesh, boundaryRadiationProperties::typeName)
90 if (boundaryIO.
readOpt() == IOobject::MUST_READ_IF_MODIFIED)
92 radBoundaryProperties_.set
112 if (!radBoundaryProperties_.empty())
114 return refCast<const boundaryRadiationPropertiesFvPatchField>
116 radBoundaryProperties_->boundaryField()[index]
122 <<
"Field 'boundaryRadiationProperties'"
123 <<
"is not found in the constant directory."
135 if (!radBoundaryProperties_.empty())
137 return refCast<const boundaryRadiationPropertiesFvPatchField>
139 radBoundaryProperties_->boundaryField()[index]
140 ).absorptivity(bandI);
145 <<
"Field 'boundaryRadiationProperties'"
146 <<
"is not found in the constant directory."
158 if (!radBoundaryProperties_.empty())
160 return refCast<const boundaryRadiationPropertiesFvPatchField>
162 radBoundaryProperties_->boundaryField()[index]
163 ).transmissivity(bandI);
168 <<
"Field 'boundaryRadiationProperties'"
169 <<
"is not found in the constant directory."
181 if (!radBoundaryProperties_.empty())
183 return refCast<const boundaryRadiationPropertiesFvPatchField>
185 radBoundaryProperties_->boundaryField()[index]
186 ).reflectivity(bandI);
191 <<
"Field 'boundaryRadiationProperties'"
192 <<
"is not found in the constant directory."
tmp< scalarField > emissivity(const label patchId, const label bandI=0) const
Access boundary emissivity on patch.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
tmp< scalarField > absorptivity(const label patchId, const label bandI=0) const
Access boundary absorptivity on patch.
A class for handling words, derived from string.
IOobject createIOobject(const fvMesh &mesh, const word) const
Create IO object if dictionary is present.
autoPtr< volScalarField > radBoundaryProperties_
AutoPtr to volSacalarField properties.
A class for managing temporary objects.
const volScalarField & radBoundaryProperties() const
Access to radBoundaryProperties.
boundaryRadiationProperties(const fvMesh &)
Construct given fvMesh and IOobject.
bool headerOk()
Read and check header info.
tmp< scalarField > transmissivity(const label patchId, const label bandI=0) const
Access boundary transmissivity on patch.
tmp< scalarField > reflectivity(const label patchId, const label bandI=0) const
Access boundary reflectivity on patch.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
readOption readOpt() const
GeometricField< scalar, fvPatchField, volMesh > volScalarField
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
virtual ~boundaryRadiationProperties()
Destructor.
Mesh data needed to do the Finite Volume discretisation.
defineTypeNameAndDebug(cloudAbsorptionEmission, 0)
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Boundary radiation properties holder.
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
Generic GeometricField class.
word name(const complex &)
Return a string representation of a complex.