displacementLaplacian Class Reference

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

Inheritance diagram for displacementLaplacian:
Collaboration diagram for displacementLaplacian:

Public Member Functions

 TypeName ("displacementLaplacian")
 Runtime type information. More...
 
 displacementLaplacian (fvMesh &, const dictionary &)
 Construct from fvMesh and dictionary. More...
 
 displacementLaplacian (const polyMesh &, const dictionary &)
 Construct from polyMesh and dictionary. More...
 
 displacementLaplacian (const displacementLaplacian &)=delete
 Disallow default bitwise copy construction. More...
 
 ~displacementLaplacian ()
 Destructor. More...
 
volVectorFieldcellDisplacement ()
 Return reference to the cell motion displacement field. More...
 
const volVectorFieldcellDisplacement () const
 Return const reference to the cell motion displacement field. More...
 
motionDiffusivitydiffusivity ()
 Return reference to the diffusivity field. More...
 
virtual tmp< pointFieldnewPoints ()
 Return point location obtained from the current motion field. More...
 
virtual void topoChange (const polyTopoChangeMap &)
 Update corresponding to the given map. More...
 
virtual void mapMesh (const polyMeshMap &)
 Update from another mesh using the given map. More...
 
void operator= (const displacementLaplacian &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from fvMotionSolver
 ClassName ("fvMotionSolver")
 Runtime type information. More...
 
 fvMotionSolver (fvMesh &)
 Construct from fvMesh. More...
 
 fvMotionSolver (const polyMesh &)
 Construct from polyMesh. More...
 
virtual bool solidBodyMotion () const
 Is this motion solid body? Delegate to the motion solver. More...
 
virtual bool update ()
 Update the mesh for both mesh motion and topology change. More...
 
virtual void distribute (const polyDistributionMap &)
 Update corresponding to the given distribution map. More...
 
template<class Type >
Foam::wordList cellMotionBoundaryTypes (const typename PointField< Type >::Boundary &pmUbf) const
 
- Public Member Functions inherited from fvMeshMover
 TypeName ("fvMeshMover")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, fvMeshMover, fvMesh,(fvMesh &mesh, const dictionary &dict),(mesh, dict))
 
 fvMeshMover (fvMesh &)
 Construct from fvMesh. More...
 
 fvMeshMover (const fvMeshMover &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~fvMeshMover ()
 Destructor. More...
 
fvMeshmesh ()
 Return the fvMesh. More...
 
const fvMeshmesh () const
 Return the fvMesh. More...
 
virtual bool dynamic () const
 Is mesh dynamic, i.e. might it change? More...
 
virtual bool write (const bool write=true) const
 Write the mover state. More...
 
void operator= (const fvMeshMover &)=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...
 
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 movePoints (const pointField &)
 Update local data for geometry changes. 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 fvMeshMover
static autoPtr< fvMeshMoverNew (fvMesh &)
 Select, construct and return the fvMeshMover. More...
 
- 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 fvMotionSolver
template<class Type >
wordList cellMotionBoundaryTypes (const typename PointField< Type >::Boundary &pmUbf) const
 Create the corresponding patch types for cellMotion from those. 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 56 of file displacementLaplacian_fvMotionSolver.H.

Constructor & Destructor Documentation

◆ displacementLaplacian() [1/3]

displacementLaplacian ( fvMesh mesh,
const dictionary dict 
)

Construct from fvMesh and dictionary.

Definition at line 146 of file displacementLaplacian_fvMotionSolver.C.

◆ displacementLaplacian() [2/3]

◆ displacementLaplacian() [3/3]

Disallow default bitwise copy construction.

◆ ~displacementLaplacian()

Destructor.

Definition at line 158 of file displacementLaplacian_fvMotionSolver.C.

Member Function Documentation

◆ TypeName()

TypeName ( "displacementLaplacian"  )

Runtime type information.

◆ cellDisplacement() [1/2]

volVectorField& cellDisplacement ( )
inline

Return reference to the cell motion displacement field.

Definition at line 106 of file displacementLaplacian_fvMotionSolver.H.

◆ cellDisplacement() [2/2]

const volVectorField& cellDisplacement ( ) const
inline

Return const reference to the cell motion displacement field.

Definition at line 112 of file displacementLaplacian_fvMotionSolver.H.

◆ diffusivity()

Foam::motionDiffusivity & diffusivity ( )

Return reference to the diffusivity field.

Definition at line 165 of file displacementLaplacian_fvMotionSolver.C.

References mesh, and motionDiffusivity::New().

Here is the call graph for this function:

◆ newPoints()

◆ topoChange()

void topoChange ( const polyTopoChangeMap map)
virtual

Update corresponding to the given map.

Implements fvMeshMover.

Definition at line 263 of file displacementLaplacian_fvMotionSolver.C.

References displacementPoints0::topoChange().

Here is the call graph for this function:

◆ mapMesh()

void mapMesh ( const polyMeshMap map)
virtual

Update from another mesh using the given map.

Reimplemented from displacement.

Definition at line 273 of file displacementLaplacian_fvMotionSolver.C.

References displacement::mapMesh().

Here is the call graph for this function:

◆ operator=()

void operator= ( const displacementLaplacian )
delete

Disallow default bitwise assignment.


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