Go to the documentation of this file.
40 const word& modelType,
44 nLayers_(
dict.lookupOrDefault<
label>(
"nLayers", 1)),
45 expansionRatio_(
dict.lookupOrDefault<scalar>(
"expansionRatio", 1)),
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_));
extrudeModel(const extrudeModel &)
Disallow default bitwise copy construct.
scalar sumThickness(const label layer) const
Helper: calculate cumulative relative thickness for layer.
A class for handling words, derived from string.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
dimensioned< scalar > mag(const dimensioned< Type > &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
A list of keyword definitions, which are a keyword followed by any number of values (e....
scalar expansionRatio() const
virtual ~extrudeModel()
Destructor.
defineTypeNameAndDebug(combustionModel, 0)