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;
68 point sigmaRadial::operator()
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_);
virtual ~sigmaRadial()
Destructor.
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 log(const dimensionedScalar &ds)
A list of keyword definitions, which are a keyword followed by any number of values (e...
Ostream & endl(Ostream &os)
Add newline and flush stream.
sigmaRadial(const dictionary &dict)
Construct from dictionary.
defineTypeNameAndDebug(cyclicSector, 0)
Macros for easy insertion into run-time selection tables.
Top level extrusion model class.
stressControl lookup("compactNormalStress") >> compactNormalStress
addToRunTimeSelectionTable(extrudeModel, cyclicSector, dictionary)
#define WarningInFunction
Report a warning using Foam::Warning.
dimensioned< scalar > mag(const dimensioned< Type > &)
scalar expansionRatio() const