33 namespace extrudeModels
48 RTbyg_(coeffDict_.lookup<scalar>(
"RTbyg")),
49 pRef_(coeffDict_.lookup<scalar>(
"pRef")),
50 pStrat_(coeffDict_.lookup<scalar>(
"pStrat"))
55 <<
"Ignoring expansionRatio setting." <<
endl;
70 const point& surfacePoint,
71 const vector& surfaceNormal,
76 scalar rs =
mag(surfacePoint);
77 vector rsHat = surfacePoint/rs;
79 scalar
p = pRef_ - layer*(pRef_ - pStrat_)/nLayers_;
80 scalar r = rs - RTbyg_*
log(
p/pRef_);
Macros for easy insertion into run-time selection tables.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Top level extrusion model class.
scalar expansionRatio() const
virtual ~sigmaRadial()
Destructor.
sigmaRadial(const dictionary &dict)
Construct from dictionary.
#define WarningInFunction
Report a warning using Foam::Warning.
defineTypeNameAndDebug(cyclicSector, 0)
addToRunTimeSelectionTable(extrudeModel, cyclicSector, 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.
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensionedScalar log(const dimensionedScalar &ds)
dimensioned< scalar > mag(const dimensioned< Type > &)