40 const word& modelType,
47 coeffDict_(dict.
subDict(modelType +
"Coeffs"))
67 return expansionRatio_;
75 if (
mag(1.0-expansionRatio_) < SMALL)
77 return scalar(layer)/nLayers_;
82 (1.0-
pow(expansionRatio_, layer))
83 / (1.0-
pow(expansionRatio_, nLayers_));
virtual ~extrudeModel()
Destructor.
scalar sumThickness(const label layer) const
Helper: calculate cumulative relative thickness for layer.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
extrudeModel(const extrudeModel &)
Disallow default bitwise copy construct.
A class for handling words, derived from string.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
scalar expansionRatio() const
dimensioned< scalar > mag(const dimensioned< Type > &)
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.