Go to the documentation of this file.
42 absorptionEmissionModel,
43 localDensityAbsorptionEmission,
53 Foam::radiation::localDensityAbsorptionEmission::alpha(word alphaName)
const
58 <<
"Unable to retrieve density field " << alphaName <<
" from "
71 const dictionary&
dict,
76 coeffsDict_(
dict.subDict(typeName +
"Coeffs")),
77 alphaNames_(coeffsDict_.lookup(
"alphaNames")),
78 aCoeff_(coeffsDict_.lookup(
"aCoeff")),
79 eCoeff_(coeffsDict_.lookup(
"eCoeff")),
80 ECoeff_(coeffsDict_.lookup(
"ECoeff"))
89 tmp<volScalarField> ta
96 mesh_.time().timeName(),
112 a +=
max(
alpha(alphaNames_[i]), scalar(0))*aPhase;
122 tmp<volScalarField> te
129 mesh_.time().timeName(),
145 e +=
max(
alpha(alphaNames_[i]), scalar(0))*ePhase;
155 tmp<volScalarField> tE
162 mesh_.time().timeName(),
184 E +=
max(
alpha(alphaNames_[i]), scalar(0))*EPhase;
wordList sortedNames() const
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
A class for managing temporary objects.
static constexpr const zero Zero
tmp< volScalarField > eCont(const label bandI=0) const
const dimensionedScalar alpha
tmp< volScalarField > aCont(const label bandI=0) const
bool foundObject(const word &name, const bool recursive=false) const
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
dimensionedScalar pow3(const dimensionedScalar &ds)
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const Type & lookupObject(const word &name, const bool recursive=false) const
label max(const labelHashSet &set, label maxValue=labelMin)
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
Macros for easy insertion into run-time selection tables.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
localDensityAbsorptionEmission(const dictionary &dict, const fvMesh &mesh)
defineTypeNameAndDebug(cloudAbsorptionEmission, 0)
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Internal & ref(const bool updateAccessTime=true)
const dimensionedScalar e
Generic GeometricField class.
addToRunTimeSelectionTable(absorptionEmissionModel, cloudAbsorptionEmission, dictionary)
const dimensionSet dimless
tmp< volScalarField > ECont(const label bandI=0) const