externalDisplacement Class Reference

Mesh motion solver for an fvMesh. Based on solving the cell-centre Laplacian for the motion displacement. More...

Inheritance diagram for externalDisplacement:
Collaboration diagram for externalDisplacement:

Public Member Functions

 TypeName ("externalDisplacement")
 Runtime type information. More...
 
 externalDisplacement (const polyMesh &, const dictionary &)
 Construct from polyMesh and dictionary. More...
 
 externalDisplacement (const externalDisplacement &)=delete
 Disallow default bitwise copy construction. More...
 
 ~externalDisplacement ()
 Destructor. More...
 
externalDisplacementMeshMovermeshMover () const
 
virtual tmp< pointFieldnewPoints ()
 Return point location obtained from the current motion field. More...
 
virtual void movePoints (const pointField &)
 Update local data for geometry changes. More...
 
virtual void topoChange (const polyTopoChangeMap &)
 Update topology. More...
 
void operator= (const externalDisplacement &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from displacement
 TypeName ("displacement")
 Runtime type information. More...
 
 displacement (const polyMesh &, const dictionary &, const word &type)
 Construct from mesh and dictionary. More...
 
 displacement (const displacement &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~displacement ()
 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...
 
virtual void mapMesh (const polyMeshMap &)
 Update from another mesh using the given map (not implemented) More...
 
void operator= (const displacement &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from displacementPoints0
 TypeName ("displacementPoints0")
 Runtime type information. More...
 
 displacementPoints0 (const polyMesh &, const dictionary &, const word &type)
 Construct from mesh and dictionary. More...
 
 displacementPoints0 (const displacementPoints0 &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~displacementPoints0 ()
 Destructor. More...
 
pointFieldpoints0 ()
 Return reference to the reference field. More...
 
const pointFieldpoints0 () const
 Return reference to the reference field. More...
 
virtual void distribute (const polyDistributionMap &)
 Update corresponding to the given distribution map. More...
 
virtual bool write () const
 Write points0 if the mesh topology changed. More...
 
void operator= (const displacementPoints0 &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from pointMeshMover
 TypeName ("pointMeshMover")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, pointMeshMover, dictionary,(const polyMesh &mesh, const dictionary &dict),(mesh, dict))
 
 pointMeshMover (const polyMesh &mesh, const word &type)
 Construct from polyMesh and dictionary and type. More...
 
virtual autoPtr< pointMeshMoverclone () const
 Clone function. More...
 
virtual ~pointMeshMover ()
 Destructor. More...
 
const polyMeshpoly () const
 Return reference to mesh. More...
 
virtual void twoDCorrectPoints (pointField &) const
 Correct point field for reduced-dimensionality cases. More...
 
virtual bool solidBodyMotion () const
 Is the motion solid body? I.e., are the volumes and area magnitudes. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from displacementPoints0
static pointVectorField readPoints0 (const polyMesh &mesh)
 
- Static Public Member Functions inherited from pointMeshMover
static autoPtr< pointMeshMoverNew (const polyMesh &, const dictionary &)
 Select constructed from polyMesh and dictionary. More...
 
- Protected Member Functions inherited from displacement
tmp< pointFieldpoints () const
 Return the points corresponding to the current displacement. More...
 
- Protected Attributes inherited from displacement
pointVectorField pointDisplacement_
 Point motion field. More...
 
- Protected Attributes inherited from displacementPoints0
pointVectorField points0_
 Starting points. More...
 

Detailed Description

Mesh motion solver for an fvMesh. Based on solving the cell-centre Laplacian for the motion displacement.

Source files

Definition at line 52 of file externalDisplacement_pointMeshMover.H.

Constructor & Destructor Documentation

◆ externalDisplacement() [1/2]

externalDisplacement ( const polyMesh mesh,
const dictionary dict 
)

Construct from polyMesh and dictionary.

Definition at line 50 of file externalDisplacement_pointMeshMover.C.

◆ externalDisplacement() [2/2]

Disallow default bitwise copy construction.

◆ ~externalDisplacement()

Destructor.

Definition at line 63 of file externalDisplacement_pointMeshMover.C.

Member Function Documentation

◆ TypeName()

TypeName ( "externalDisplacement"  )

Runtime type information.

◆ meshMover()

Foam::externalDisplacementMeshMover & meshMover ( ) const

Definition at line 70 of file externalDisplacement_pointMeshMover.C.

References localPointRegion::findDuplicateFacePairs(), and externalDisplacementMeshMover::New().

Here is the call graph for this function:

◆ newPoints()

Foam::tmp< Foam::pointField > newPoints ( )
virtual

Return point location obtained from the current motion field.

Implements displacement.

Definition at line 89 of file externalDisplacement_pointMeshMover.C.

References Foam::identityMap(), and points.

Here is the call graph for this function:

◆ movePoints()

void movePoints ( const pointField p)
virtual

Update local data for geometry changes.

Reimplemented from displacementPoints0.

Definition at line 114 of file externalDisplacement_pointMeshMover.C.

References displacementPoints0::movePoints(), and p.

Here is the call graph for this function:

◆ topoChange()

void topoChange ( const polyTopoChangeMap map)
virtual

Update topology.

Reimplemented from displacementPoints0.

Definition at line 129 of file externalDisplacement_pointMeshMover.C.

References displacementPoints0::topoChange().

Here is the call graph for this function:

◆ operator=()

void operator= ( const externalDisplacement )
delete

Disallow default bitwise assignment.


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