Extrudes by transforming points along a polyline provided as a series of points and edge segments. Supports all blockMesh edge types, e.g. line, arc, spline. The surface points are rotated to follow the path. More...
Public Member Functions | |
TypeName ("polyline") | |
polyline (const dictionary &dict) | |
virtual | ~polyline ()=default |
point | operator() (const point &surfacePoint, const vector &surfaceNormal, const label layer) const |
void | positionAndDirection (const scalar lambda, vector &p, vector &n) const |
![]() | |
TypeName ("extrudeModel") | |
declareRunTimeSelectionTable (autoPtr, extrudeModel, dictionary,(const dictionary &dict),(dict)) | |
extrudeModel (const word &modelType, const dictionary &dict) | |
virtual | ~extrudeModel ()=default |
label | nLayers () const |
scalar | expansionRatio () const |
scalar | sumThickness (const label layer) const |
Additional Inherited Members | |
![]() | |
static autoPtr< extrudeModel > | New (const dictionary &dict) |
![]() | |
extrudeModel (const extrudeModel &)=delete | |
void | operator= (const extrudeModel &)=delete |
![]() | |
label | nLayers_ |
const scalar | expansionRatio_ |
const dictionary & | coeffDict_ |
Extrudes by transforming points along a polyline provided as a series of points and edge segments. Supports all blockMesh edge types, e.g. line, arc, spline. The surface points are rotated to follow the path.
Property | Description | Required | Default |
---|---|---|---|
vertices | List of vertices | yes | |
edges | List of blockEdge segments | yes | |
toleranceCheck | Relative tolerance for polyline checks | no | SMALL |
Definition at line 74 of file polyline.H.
|
explicit |
Definition at line 42 of file polyline.C.
References Foam::abort(), Foam::expressions::patchExpr::debug, Foam::endl(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::Info, Foam::mag(), Foam::nl, Foam::normalised(), polyline::positionAndDirection(), and Foam::tab.
|
virtualdefault |
TypeName | ( | "polyline" | ) |
|
virtual |
Implements extrudeModel.
Definition at line 125 of file polyline.C.
References Foam::endl(), Foam::mag(), n, Foam::normalised(), p, quaternion::transform(), and WarningInFunction.
Definition at line 168 of file polyline.C.
References Foam::interpolateXY(), lambda(), Foam::max(), Foam::min(), n, Foam::normalised(), p, s, and y.
Referenced by polyline::polyline().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.