Go to the documentation of this file.
42 const word& modelType,
46 nLayers_(
dict.lookupOrDefault<
label>(
"nLayers", 1)),
47 expansionRatio_(
dict.lookupOrDefault<scalar>(
"expansionRatio", 1)),
48 coeffDict_(
dict.optionalSubDict(modelType +
"Coeffs"))
51 <<
"Selected extrudeModel for " << modelType
52 <<
" using coeffs " << coeffDict_ <<
nl;
66 return expansionRatio_;
74 if (
mag(1.0-expansionRatio_) < SMALL)
76 return scalar(layer)/nLayers_;
81 (1.0-
pow(expansionRatio_, layer))
82 / (1.0-
pow(expansionRatio_, nLayers_));
scalar sumThickness(const label layer) const
Helper: calculate cumulative relative thickness for layer.
A class for handling words, derived from Foam::string.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
label nLayers() const
Return the number of layers.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
extrudeModel(const extrudeModel &)=delete
No copy construct.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
scalar expansionRatio() const
Return the expansion ratio.
#define DebugInfo
Report an information message using Foam::Info.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
defineTypeNameAndDebug(combustionModel, 0)