Go to the documentation of this file.
40 absorptionEmissionModel,
41 greyMeanSolidAbsorptionEmission,
61 forAll(mixture_.Y(), specieI)
68 Yi[iCell]/mixture_.rho(specieI,
p[iCell],
T[iCell]);
75 Xj[iCell] = Yj[iCell]/mixture_.rho(mySpecieI,
p[iCell],
T[iCell]);
91 coeffsDict_((
dict.subDict(typeName +
"Coeffs"))),
95 solidData_(mixture_.Y().size())
97 if (!isA<basicSpecieMixture>(thermo_))
100 <<
"Model requires a multi-component thermo package"
105 const dictionary& functionDicts =
dict.subDict(typeName +
"Coeffs");
110 if (!iter().isDict())
114 const word& key = iter().keyword();
115 if (!mixture_.contains(key))
118 <<
" specie: " << key <<
" is not found in the solid mixture"
120 <<
" specie is the mixture are:" << mixture_.species() <<
nl
123 speciesNames_.insert(key, nFunc);
125 dict.lookup(
"absorptivity") >> solidData_[nFunc][absorptivity];
126 dict.lookup(
"emissivity") >> solidData_[nFunc][emissivity];
159 zeroGradientFvPatchVectorField::typeName
167 if (mixture_.contains(iter.key()))
169 a += solidData_[iter()][propertyId]*X(iter.key());
173 ta().correctBoundaryConditions();
184 return calc(emissivity);
194 return calc(absorptivity);
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
A class for handling words, derived from string.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
Specialization of basicMultiComponentMixture for a mixture consisting of a number for molecular speci...
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
void calc(const argList &args, const Time &runTime, const fvMesh &mesh)
tmp< volScalarField > eCont(const label bandI=0) const
Emission coefficient for continuous phase.
Unit conversion functions.
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< volScalarField > calc(const label) const
Calculate the property mixing.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
const word dictName("particleTrackDict")
Fundamental solid thermodynamic properties.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
tmp< scalarField > X(const word specie) const
Calculate the volumetric fraction of Yj.
Pre-declare SubField and related Field type.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Base class of the thermophysical property types.
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
tmp< volScalarField > aCont(const label bandI=0) const
Absorption coefficient for continuous phase.
A list of keyword definitions, which are a keyword followed by any number of values (e....
greyMeanSolidAbsorptionEmission(const dictionary &dict, const fvMesh &mesh)
Construct from components.
Macros for easy insertion into run-time selection tables.
Mesh data needed to do the Finite Volume discretisation.
errorManip< error > abort(error &err)
defineTypeNameAndDebug(cloudAbsorptionEmission, 0)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
virtual ~greyMeanSolidAbsorptionEmission()
Destructor.
volScalarField scalarField(fieldObject, mesh)
Model to supply absorption and emission coefficients for radiation modelling.
Generic GeometricField class.
#define WarningInFunction
Report a warning using Foam::Warning.
addToRunTimeSelectionTable(absorptionEmissionModel, cloudAbsorptionEmission, dictionary)