Go to the documentation of this file.
33 namespace extrudeModels
49 firstCellThickness_(0),
50 layerPoints_(nLayers_)
55 <<
"thickness should be positive : " <<
thickness_
64 <<
"firstCellThickness is larger than thickness"
97 point linearNormal::operator()
99 const point& surfacePoint,
100 const vector& surfaceNormal,
110 return surfacePoint + layerPoints_[layer - 1]*surfaceNormal;
scalar sumThickness(const label layer) const
Helper: calculate cumulative relative thickness for layer.
defineTypeNameAndDebug(cyclicSector, 0)
Top level extrusion model class.
bool readIfPresent(const word &, T &, bool recursive=false, bool patternMatch=true) const
Find an entry if present, and assign to T.
scalar thickness_
Layer thickness.
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 ~linearNormal()
Destructor.
scalarList layerPoints_
Layer cell distibution.
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.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
scalar firstCellThickness_
First cell thickness.
linearNormal(const dictionary &dict)
Construct from dictionary.
const dictionary & coeffDict_
stressControl lookup("compactNormalStress") >> compactNormalStress