33 namespace extrudeModels
54 WarningIn(
"sigmaRadial::sigmaRadial(const dictionary&)")
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_);
Top level extrusion model class.
defineTypeNameAndDebug(cyclicSector, 0)
dimensioned< scalar > mag(const dimensioned< Type > &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
addToRunTimeSelectionTable(extrudeModel, cyclicSector, dictionary)
A list of keyword definitions, which are a keyword followed by any number of values (e...
scalar expansionRatio() const
sigmaRadial(const dictionary &dict)
Construct from dictionary.
dimensionedScalar log(const dimensionedScalar &ds)
Ostream & endl(Ostream &os)
Add newline and flush stream.
stressControl lookup("compactNormalStress") >> compactNormalStress
#define WarningIn(functionName)
Report a warning using Foam::Warning.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
Macros for easy insertion into run-time selection tables.
virtual ~sigmaRadial()
Destructor.