33 namespace diameterModels
46 const breakupModel& breakup,
47 const dictionary& dict
50 word daughterSizeDistributionModelType
52 dict.lookup(
"daughterSizeDistributionModel")
55 dictionaryConstructorTable::iterator cstrIter =
56 dictionaryConstructorTablePtr_->find(daughterSizeDistributionModelType);
58 if (cstrIter == dictionaryConstructorTablePtr_->end())
61 <<
"Unknown daughter size distribution model type " 62 << daughterSizeDistributionModelType <<
endl <<
endl 63 <<
"Valid daughter size distribution model types are : " <<
endl 64 << dictionaryConstructorTablePtr_->sortedToc()
68 return cstrIter()(breakup,
dict);
78 const breakupModel& breakup,
79 const dictionary& dict
119 if (nik_.size() == 0)
121 forAll(breakup_.popBal().sizeGroups(),
k)
123 nik_.append(
new PtrList<dimensionedScalar>());
125 for (
label i = 0; i <=
k; i++)
131 particleNumber_*this->calcNik(i,
k))
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void correct()
Correct field independent expressions.
Ostream & endl(Ostream &os)
Add newline and flush stream.
label k
Boltzmann constant.
Generic dimensioned Type class.
daughterSizeDistributionModel(const breakupModel &breakup, const dictionary &dict)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
virtual ~daughterSizeDistributionModel()
Destructor.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
static autoPtr< daughterSizeDistributionModel > New(const breakupModel &breakup, const dictionary &dict)
const dimensionedScalar & nik(const label i, const label k) const
Return contribution to sizeGroup i due to breakup in sizeGroup k.