31 namespace extrudeModels
47 Rsurface_(
dict.lookupOrDefault<scalar>(
"Rsurface", -1))
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);
Macros for easy insertion into run-time selection tables.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Top level extrusion model class.
virtual ~linearRadial()
Destructor.
linearRadial(const dictionary &dict)
Construct from dictionary.
defineTypeNameAndDebug(cyclicSector, 0)
addToRunTimeSelectionTable(extrudeModel, cyclicSector, dictionary)
const unitSet & lookup(const word &unitName)
Lookup and return the named unit from the table.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
tmp< DimensionedField< scalar, GeoMesh, Field > > mag(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)