All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
medialAxisMeshMover Class Reference

Mesh motion solver that uses a medial axis algorithm to work out a fraction between the (nearest point on a) moving surface and the (nearest point on a) fixed surface. This fraction is then used to scale the motion. Use. More...

Inheritance diagram for medialAxisMeshMover:
Collaboration diagram for medialAxisMeshMover:

Public Member Functions

 TypeName ("displacementMedialAxis")
 Runtime type information. More...
 
 medialAxisMeshMover (const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement)
 Construct from dictionary and displacement field. More...
 
 medialAxisMeshMover (const medialAxisMeshMover &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~medialAxisMeshMover ()
 
virtual bool move (const dictionary &, const label nAllowableErrors, labelList &checkFaces)
 Move mesh using current pointDisplacement boundary values. More...
 
virtual void movePoints (const pointField &)
 Update local data for geometry changes. More...
 
virtual void updateMesh (const mapPolyMesh &)
 Update local data for topology changes. More...
 
void operator= (const medialAxisMeshMover &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from externalDisplacementMeshMover
 TypeName ("externalDisplacementMeshMover")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, externalDisplacementMeshMover, dictionary,(const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement),(dict, baffles, pointDisplacement))
 
 externalDisplacementMeshMover (const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement)
 Construct from dictionary and displacement field. Dictionary is. More...
 
 externalDisplacementMeshMover (const externalDisplacementMeshMover &)
 Disallow default bitwise copy construction. More...
 
virtual ~externalDisplacementMeshMover ()
 Destructor. More...
 
pointVectorFieldpointDisplacement ()
 Return reference to the point motion displacement field. More...
 
const pointVectorFieldpointDisplacement () const
 Return const reference to the point motion displacement field. More...
 
const pointMeshpMesh () const
 
const polyMeshmesh () const
 
void operator= (const externalDisplacementMeshMover &)=delete
 Disallow default bitwise assignment. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from externalDisplacementMeshMover
static autoPtr< externalDisplacementMeshMoverNew (const word &type, const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement)
 Return a reference to the selected meshMover model. More...
 
- Protected Attributes inherited from externalDisplacementMeshMover
List< labelPairbaffles_
 Baffles in the mesh. More...
 
pointVectorFieldpointDisplacement_
 Reference to point motion field. More...
 

Detailed Description

Mesh motion solver that uses a medial axis algorithm to work out a fraction between the (nearest point on a) moving surface and the (nearest point on a) fixed surface. This fraction is then used to scale the motion. Use.

- fixedValue on all moving patches

  • zeroFixedValue on stationary patches
  • slip on all slipping patches
Source files

Definition at line 58 of file medialAxisMeshMover.H.

Constructor & Destructor Documentation

◆ medialAxisMeshMover() [1/2]

medialAxisMeshMover ( const dictionary dict,
const List< labelPair > &  baffles,
pointVectorField pointDisplacement 
)

Construct from dictionary and displacement field.

Definition at line 1594 of file medialAxisMeshMover.C.

◆ medialAxisMeshMover() [2/2]

Disallow default bitwise copy construction.

◆ ~medialAxisMeshMover()

Member Function Documentation

◆ TypeName()

TypeName ( "displacementMedialAxis"  )

Runtime type information.

◆ move()

bool move ( const dictionary moveDict,
const label  nAllowableErrors,
labelList checkFaces 
)
virtual

Move mesh using current pointDisplacement boundary values.

Return true if successful (errors on checkFaces less than allowable). Updates pointDisplacement.

Name of field specifying min thickness

Move mesh according to calculated displacement

Implements externalDisplacementMeshMover.

Definition at line 2100 of file medialAxisMeshMover.C.

References snappyLayerDriver::EXTRUDE, forAll, dictionary::lookup(), objectRegistry::lookupObject(), Foam::mag(), mesh, PrimitivePatch< FaceList, PointField >::meshPoints(), snappyLayerDriver::NOEXTRUDE, PrimitivePatch< FaceList, PointField >::nPoints(), and points.

Referenced by medialAxisMeshMover::~medialAxisMeshMover().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ movePoints()

void movePoints ( const pointField p)
virtual

Update local data for geometry changes.

Reimplemented from externalDisplacementMeshMover.

Definition at line 2170 of file medialAxisMeshMover.C.

References externalDisplacementMeshMover::movePoints().

Here is the call graph for this function:

◆ updateMesh()

virtual void updateMesh ( const mapPolyMesh )
inlinevirtual

Update local data for topology changes.

Reimplemented from externalDisplacementMeshMover.

Definition at line 268 of file medialAxisMeshMover.H.

References NotImplemented, and medialAxisMeshMover::operator=().

Here is the call graph for this function:

◆ operator=()

void operator= ( const medialAxisMeshMover )
delete

Disallow default bitwise assignment.

Referenced by medialAxisMeshMover::updateMesh().

Here is the caller graph for this function:

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