33 namespace diameterModels
46 const breakupModel& breakup,
47 const dictionary& dict
50 word daughterSizeDistributionModelType
52 dict.lookup(
"daughterSizeDistributionModel")
55 Info<<
"Selecting daughter size distribution model for " 56 << breakup.popBal().name() <<
": " 57 << daughterSizeDistributionModelType <<
endl;
59 dictionaryConstructorTable::iterator cstrIter =
60 dictionaryConstructorTablePtr_->find(daughterSizeDistributionModelType);
62 if (cstrIter == dictionaryConstructorTablePtr_->end())
65 <<
"Unknown daughter size distribution model type " 66 << daughterSizeDistributionModelType << endl << endl
67 <<
"Valid daughter size distribution model types are : " << endl
68 << dictionaryConstructorTablePtr_->sortedToc()
72 return cstrIter()(breakup,
dict);
82 const breakupModel& breakup,
83 const dictionary& dict
113 if (nik_.size() == 0)
115 forAll(breakup_.popBal().sizeGroups(),
k)
117 nik_.append(
new PtrList<dimensionedScalar>());
119 for (
label i = 0; i <=
k; i++)
#define forAll(list, i)
Loop across all elements in list.
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void precompute()
Precompute field independent expressions.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
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.
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.