Go to the documentation of this file.
31 namespace extrudeModels
47 Rsurface_(coeffDict_.lookupOrDefault<scalar>(
"Rsurface", -1))
59 point linearRadial::operator()
61 const point& surfacePoint,
62 const vector& surfaceNormal,
67 scalar rs =
mag(surfacePoint);
68 vector rsHat = surfacePoint/rs;
69 if (Rsurface_ >= 0) rs = Rsurface_;
71 scalar r = rs + (R_ - rs)*sumThickness(layer);
defineTypeNameAndDebug(cyclicSector, 0)
Top level extrusion model class.
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.
virtual ~linearRadial()
Destructor.
linearRadial(const dictionary &dict)
Construct from dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e....
addToRunTimeSelectionTable(extrudeModel, cyclicSector, dictionary)
Macros for easy insertion into run-time selection tables.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
stressControl lookup("compactNormalStress") >> compactNormalStress