FreeFOAM The Cross-Platform CFD Toolkit
wedge Class Reference

Extrudes by rotating a surface around an axis. More...

#include <extrudeModel/wedge.H>


Detailed Description

Extrudes by rotating a surface around an axis.

- extrusion is opposite the surface/patch normal so inwards the source mesh

  • axis direction has to be consistent with this.
  • use -mergeFaces option if doing full 360 and want to merge front and back
  • note direction of axis. This should be consistent with rotating against the patch normal direction. If you get it wrong you'll see all cells with extreme aspect ratio and internal faces wrong way around in checkMesh

Definition at line 56 of file wedge.H.

+ Inheritance diagram for wedge:
+ Collaboration diagram for wedge:

List of all members.

Public Member Functions

 TypeName ("wedge")
 Runtime type information.
 wedge (const dictionary &dict)
 Construct from components.
 ~wedge ()
 Destrcuctor.
point operator() (const point &surfacePoint, const vector &surfaceNormal, const label layer) const
- Public Member Functions inherited from extrudeModel
 TypeName ("extrudeModel")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, extrudeModel, dictionary,(const dictionary &dict),(dict))
 Declare runtime constructor selection table.
 extrudeModel (const word &modelType, const dictionary &)
 Construct from dictionary.
virtual ~extrudeModel ()
 Destructor.
label nLayers () const
virtual point operator() (const point &surfacePoint, const vector &surfaceNormal, const label layer) const =0

Additional Inherited Members

- Static Public Member Functions inherited from extrudeModel
static autoPtr< extrudeModelNew (const dictionary &)
 Select null constructed.
- Protected Member Functions inherited from extrudeModel
 extrudeModel (const extrudeModel &)
 Disallow default bitwise copy construct.
void operator= (const extrudeModel &)
 Disallow default bitwise assignment.
- Protected Attributes inherited from extrudeModel
const label nLayers_
const dictionarydict_
const dictionarycoeffDict_

Constructor & Destructor Documentation

wedge ( const dictionary dict)

Construct from components.

Definition at line 46 of file wedge.C.

~wedge ( )

Destrcuctor.

Definition at line 61 of file wedge.C.


Member Function Documentation

TypeName ( "wedge"  )

Runtime type information.

point operator() ( const point surfacePoint,
const vector surfaceNormal,
const label  layer 
) const

Definition at line 68 of file wedge.C.

References Foam::cos(), d, Foam::mag(), and Foam::sin().


The documentation for this class was generated from the following files: