Top level extrusion model class. More...
Public Member Functions | |
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 |
virtual point | operator() (const point &surfacePoint, const vector &surfaceNormal, const label layer) const =0 |
Static Public Member Functions | |
static autoPtr< extrudeModel > | New (const dictionary &dict) |
Protected Member Functions | |
extrudeModel (const extrudeModel &)=delete | |
void | operator= (const extrudeModel &)=delete |
Protected Attributes | |
label | nLayers_ |
const scalar | expansionRatio_ |
const dictionary & | coeffDict_ |
Top level extrusion model class.
Dictionary entries
Property | Description | Required | Default |
---|---|---|---|
nLayer | Number of extrusion layers | no | 1 |
expansionRatio | Expansion ratio | no | 1 |
Definition at line 72 of file extrudeModel.H.
|
protecteddelete |
extrudeModel | ( | const word & | modelType, |
const dictionary & | dict | ||
) |
Definition at line 35 of file extrudeModel.C.
|
virtualdefault |
|
protecteddelete |
TypeName | ( | "extrudeModel" | ) |
declareRunTimeSelectionTable | ( | autoPtr | , |
extrudeModel | , | ||
dictionary | , | ||
(const dictionary &dict) | , | ||
(dict) | |||
) |
|
static |
Definition at line 27 of file extrudeModelNew.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, and Foam::Info.
Foam::label nLayers | ( | ) | const |
Definition at line 52 of file extrudeModel.C.
References extrudeModel::nLayers_.
Foam::scalar expansionRatio | ( | ) | const |
Definition at line 58 of file extrudeModel.C.
Referenced by sigmaRadial::sigmaRadial().
Foam::scalar sumThickness | ( | const label | layer | ) | const |
Definition at line 64 of file extrudeModel.C.
References Foam::mag(), and Foam::pow().
Referenced by linearNormal::linearNormal().
|
pure virtual |
Implemented in polyline, offsetSurface, sector, linearNormal, sigmaRadial, linearDirection, linearRadial, and radial.
|
protected |
Definition at line 78 of file extrudeModel.H.
Referenced by linearNormal::linearNormal(), extrudeModel::nLayers(), plane::plane(), and wedge::wedge().
|
protected |
Definition at line 80 of file extrudeModel.H.
|
protected |
Definition at line 82 of file extrudeModel.H.
Referenced by offsetSurface::offsetSurface().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.