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.
Ignore writing from objectRegistry::writeObject()
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.
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.
Defines the attributes of an object for which implicit objectRegistry management is supported...
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)