Go to the documentation of this file.
35 namespace extrudeModels
50 RTbyg_(coeffDict_.get<scalar>(
"RTbyg")),
51 pRef_(coeffDict_.get<scalar>(
"pRef")),
52 pStrat_(coeffDict_.get<scalar>(
"pStrat"))
57 <<
"Ignoring expansionRatio setting." <<
endl;
64 point sigmaRadial::operator()
66 const point& surfacePoint,
67 const vector& surfaceNormal,
72 scalar rs =
mag(surfacePoint);
73 vector rsHat = surfacePoint/rs;
75 scalar
p = pRef_ - layer*(pRef_ - pStrat_)/nLayers_;
76 scalar r = rs - RTbyg_*
log(
p/pRef_);
defineTypeNameAndDebug(cyclicSector, 0)
Top level extrusion model class.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
addToRunTimeSelectionTable(extrudeModel, cyclicSector, dictionary)
dimensionedScalar log(const dimensionedScalar &ds)
Macros for easy insertion into run-time selection tables.
sigmaRadial(const dictionary &dict)
Construct from dictionary.
scalar expansionRatio() const
Return the expansion ratio.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
#define WarningInFunction
Report a warning using Foam::Warning.