Go to the documentation of this file.
43 const word& modelType,
47 nLayers_(
dict.getOrDefault<label>(
"nLayers", 1)),
48 expansionRatio_(
dict.getOrDefault<scalar>(
"expansionRatio", 1)),
49 coeffDict_(
dict.optionalSubDict(modelType +
"Coeffs"))
52 <<
"Selected extrudeModel for " << modelType
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_));
scalar sumThickness(const label layer) const
A class for handling words, derived from Foam::string.
Top level extrusion model class.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
extrudeModel(const extrudeModel &)=delete
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
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
const dictionary & coeffDict_
defineTypeNameAndDebug(combustionModel, 0)