41 absorptionEmissionModel,
42 multiBandAbsorptionEmission,
58 coeffsDict_(
dict.subDict(typeName +
"Coeffs")),
59 absCoeffs_(maxBands_),
60 emiCoeffs_(maxBands_),
63 coeffsDict_.
readEntry(
"absorptivity", absCoeffs_);
64 coeffsDict_.
readEntry(
"emissivity", emiCoeffs_);
65 nBands_ = absCoeffs_.
size();
void size(const label n)
Older name for setAddressableSize.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
tmp< volScalarField > ECont(const label bandI) const
Emission contribution.
defineTypeNameAndDebug(cloudAbsorptionEmission, 0)
virtual ~multiBandAbsorptionEmission()
Destructor.
const dimensionSet dimless
Dimensionless.
Model to supply absorption and emission coefficients for radiation modelling.
Macros for easy insertion into run-time selection tables.
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, IOobjectOption::readOption readOpt=IOobjectOption::MUST_READ) const
Find entry and assign to T val. FatalIOError if it is found and the number of tokens is incorrect...
tmp< volScalarField > eCont(const label bandI) const
Emission coefficient.
multiBandAbsorptionEmission(const dictionary &dict, const fvMesh &mesh)
Construct from components.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
Return tmp field (NO_READ, NO_WRITE) from name, mesh, dimensions and patch type. [Takes current timeN...
dimensionedScalar pow3(const dimensionedScalar &ds)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Mesh data needed to do the Finite Volume discretisation.
addToRunTimeSelectionTable(absorptionEmissionModel, cloudAbsorptionEmission, dictionary)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
A class for managing temporary objects.
Do not request registration (bool: false)
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
tmp< volScalarField > aCont(const label bandI) const
Absorption coefficient.
static constexpr const zero Zero
Global zero (0)