Extrudes by interpolating points from one surface to the other. Surfaces have to be topologically identical i.e. one has to be an offsetted version of the other. More...
Public Member Functions | |
TypeName ("offsetSurface") | |
offsetSurface (const dictionary &dict) | |
virtual | ~offsetSurface () |
point | operator() (const point &surfacePoint, const vector &surfaceNormal, const label layer) 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 interpolating points from one surface to the other. Surfaces have to be topologically identical i.e. one has to be an offsetted version of the other.
The offsetSurfaceCoeffs dictionary entries
Property | Description | Required | Default |
---|---|---|---|
baseSurface | Base surface file name | yes | |
offsetSurface | Offset surface file name | yes | |
project | Project onto offsetted surface | no | false |
Definition at line 79 of file offsetSurface.H.
|
explicit |
Definition at line 44 of file offsetSurface.C.
References Foam::constant::physicoChemical::b, extrudeModel::coeffDict_, dict, Foam::endl(), Foam::exit(), string::expand(), Foam::FatalIOError, FatalIOErrorInFunction, dictionary::get(), PrimitivePatch< FaceList, PointField >::nEdges(), and PrimitivePatch< FaceList, PointField >::nPoints().
|
virtual |
Definition at line 85 of file offsetSurface.C.
TypeName | ( | "offsetSurface" | ) |
|
virtual |
Implements extrudeModel.
Definition at line 92 of file offsetSurface.C.
References triangle::a(), triangle::b(), triangle::c(), PrimitivePatch< FaceList, PointField >::points(), triangle::pointToBarycentric(), and samples().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.