40 nLayers_(
dict.lookupOrDefault<
label>(
"nLayers", 1)),
41 expansionRatio_(
dict.lookupOrDefault<scalar>(
"expansionRatio", 1))
70 return expansionRatio_;
78 if (
mag(1.0-expansionRatio_) < small)
80 return scalar(layer)/nLayers_;
85 (1.0-
pow(expansionRatio_, layer))
86 / (1.0-
pow(expansionRatio_, nLayers_));
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
const dictionary & optionalSubDict(const word &) const
Find and return a sub-dictionary if found.
Top level extrusion model class.
label nLayers() const
Return the number of layers in the extrusion.
virtual ~extrudeModel()
Destructor.
scalar expansionRatio() const
Return the extrusion expansion ratio.
extrudeModel(const dictionary &)
Construct from dictionary.
scalar sumThickness(const label layer) const
Helper: calculate cumulative relative thickness for layer.
const dictionary & coeffDict(const dictionary &dict) const
Backward compatibility function.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void mag(LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)
void pow(LagrangianPatchField< typename powProduct< Type, r >::type > &f, const LagrangianPatchField< Type > &f1)
defineTypeNameAndDebug(combustionModel, 0)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.