externalDisplacementMeshMover Class Referenceabstract

Virtual base class for mesh movers with externally provided displacement field giving the boundary conditions. Move the mesh from the current location to a new location (so modify the mesh; v.s. motionSolver that only returns the new location). More...

Inheritance diagram for externalDisplacementMeshMover:
Collaboration diagram for externalDisplacementMeshMover:

Public Member Functions

 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
 
virtual bool move (const dictionary &, const label nAllowableErrors, labelList &checkFaces)=0
 Move mesh using current pointDisplacement boundary values. More...
 
virtual void movePoints (const pointField &)
 Update local data for geometry changes. More...
 
virtual void topoChange (const polyTopoChangeMap &)
 Update local data for topology changes. More...
 
void operator= (const externalDisplacementMeshMover &)=delete
 Disallow default bitwise assignment. More...
 

Static Public Member Functions

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

List< labelPairbaffles_
 Baffles in the mesh. More...
 
pointVectorFieldpointDisplacement_
 Reference to point motion field. More...
 

Detailed Description

Virtual base class for mesh movers with externally provided displacement field giving the boundary conditions. Move the mesh from the current location to a new location (so modify the mesh; v.s. motionSolver that only returns the new location).

All mesh movers are expected to read the dictionary settings at invocation of move(), i.e. not cache any settings.

Source files

Definition at line 56 of file externalDisplacementMeshMover.H.

Constructor & Destructor Documentation

◆ externalDisplacementMeshMover() [1/2]

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

Construct from dictionary and displacement field. Dictionary is.

allowed to go out of scope!

Definition at line 41 of file externalDisplacementMeshMover.C.

References externalDisplacementMeshMover::New().

Here is the call graph for this function:

◆ externalDisplacementMeshMover() [2/2]

Disallow default bitwise copy construction.

◆ ~externalDisplacementMeshMover()

Destructor.

Definition at line 87 of file externalDisplacementMeshMover.C.

Member Function Documentation

◆ TypeName()

TypeName ( "externalDisplacementMeshMover"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
externalDisplacementMeshMover  ,
dictionary  ,
(const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement ,
(dict, baffles, pointDisplacement  
)

◆ New()

Foam::autoPtr< Foam::externalDisplacementMeshMover > New ( const word type,
const dictionary dict,
const List< labelPair > &  baffles,
pointVectorField pointDisplacement 
)
static

Return a reference to the selected meshMover model.

Definition at line 56 of file externalDisplacementMeshMover.C.

References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, and Foam::nl.

Referenced by snappyLayerDriver::addLayers(), externalDisplacementMeshMover::externalDisplacementMeshMover(), and displacementMeshMoverMotionSolver::meshMover().

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

◆ pointDisplacement() [1/2]

pointVectorField& pointDisplacement ( )
inline

Return reference to the point motion displacement field.

Definition at line 130 of file externalDisplacementMeshMover.H.

References externalDisplacementMeshMover::pointDisplacement_.

◆ pointDisplacement() [2/2]

const pointVectorField& pointDisplacement ( ) const
inline

Return const reference to the point motion displacement field.

Definition at line 136 of file externalDisplacementMeshMover.H.

References externalDisplacementMeshMover::pointDisplacement_.

◆ pMesh()

const pointMesh& pMesh ( ) const
inline

Definition at line 141 of file externalDisplacementMeshMover.H.

References DimensionedField< Type, GeoMesh >::mesh().

Referenced by externalDisplacementMeshMover::mesh().

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

◆ mesh()

◆ move()

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

Move mesh using current pointDisplacement boundary values.

and current dictionary settings. Return true if successful (errors on checkFaces less than allowable). Updates pointDisplacement.

Implemented in medialAxisMeshMover.

Referenced by externalDisplacementMeshMover::mesh().

Here is the caller graph for this function:

◆ movePoints()

void movePoints ( const pointField )
virtual

Update local data for geometry changes.

Reimplemented in medialAxisMeshMover.

Definition at line 93 of file externalDisplacementMeshMover.C.

References externalDisplacementMeshMover::topoChange().

Referenced by externalDisplacementMeshMover::mesh(), and medialAxisMeshMover::movePoints().

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

◆ topoChange()

void topoChange ( const polyTopoChangeMap map)
virtual

Update local data for topology changes.

Reimplemented in medialAxisMeshMover.

Definition at line 100 of file externalDisplacementMeshMover.C.

References List< T >::append(), f1, forAll, and polyTopoChangeMap::reverseFaceMap().

Referenced by externalDisplacementMeshMover::mesh(), and externalDisplacementMeshMover::movePoints().

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

◆ operator=()

void operator= ( const externalDisplacementMeshMover )
delete

Disallow default bitwise assignment.

Referenced by externalDisplacementMeshMover::mesh().

Here is the caller graph for this function:

Member Data Documentation

◆ baffles_

List<labelPair> baffles_
protected

Baffles in the mesh.

Definition at line 63 of file externalDisplacementMeshMover.H.

◆ pointDisplacement_

pointVectorField& pointDisplacement_
protected

Reference to point motion field.

Definition at line 66 of file externalDisplacementMeshMover.H.

Referenced by externalDisplacementMeshMover::pointDisplacement().


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