velocityComponentLaplacian Class Reference

Mesh motion solver for an fvMesh. Based on solving the cell-centre Laplacian for the given component of the motion velocity. More...

Inheritance diagram for velocityComponentLaplacian:
Collaboration diagram for velocityComponentLaplacian:

Public Member Functions

 TypeName ("velocityComponentLaplacian")
 Runtime type information. More...
 
 velocityComponentLaplacian (fvMesh &, const dictionary &)
 Construct from fvMesh and dictionary. More...
 
 velocityComponentLaplacian (const polyMesh &, const dictionary &)
 Construct from polyMesh and dictionary. More...
 
 velocityComponentLaplacian (const velocityComponentLaplacian &)=delete
 Disallow default bitwise copy construction. More...
 
 ~velocityComponentLaplacian ()
 Destructor. More...
 
volScalarFieldcellMotionU ()
 Non-const access to the cellMotionU in order to allow changes. 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 velocityComponentLaplacian &)=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 velocityComponent
 TypeName ("velocityComponent")
 Runtime type information. More...
 
 velocityComponent (const polyMesh &, const dictionary &, const word &type)
 Construct from mesh and dictionary. More...
 
 velocityComponent (const velocityComponent &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~velocityComponent ()
 Destructor. More...
 
pointScalarFieldpointMotionU ()
 Non-const access to the pointMotionU in order to allow changes. 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...
 
void operator= (const velocityComponent &)=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...
 
virtual bool write () const
 Optionally write motion state information for restart. 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 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 Attributes inherited from velocityComponent
word cmptName_
 The component name to solve for. More...
 
direction cmpt_
 The component to solve for. More...
 
pointScalarField pointMotionU_
 Point motion field. More...
 

Detailed Description

Mesh motion solver for an fvMesh. Based on solving the cell-centre Laplacian for the given component of the motion velocity.

Source files

Definition at line 56 of file velocityComponentLaplacian_fvMotionSolver.H.

Constructor & Destructor Documentation

◆ velocityComponentLaplacian() [1/3]

velocityComponentLaplacian ( fvMesh mesh,
const dictionary dict 
)

Construct from fvMesh and dictionary.

Definition at line 89 of file velocityComponentLaplacian_fvMotionSolver.C.

◆ velocityComponentLaplacian() [2/3]

velocityComponentLaplacian ( const polyMesh mesh,
const dictionary dict 
)

Construct from polyMesh and dictionary.

Definition at line 59 of file velocityComponentLaplacian_fvMotionSolver.C.

◆ velocityComponentLaplacian() [3/3]

Disallow default bitwise copy construction.

◆ ~velocityComponentLaplacian()

Destructor.

Definition at line 101 of file velocityComponentLaplacian_fvMotionSolver.C.

Member Function Documentation

◆ TypeName()

TypeName ( "velocityComponentLaplacian"  )

Runtime type information.

◆ cellMotionU()

volScalarField& cellMotionU ( )
inline

Non-const access to the cellMotionU in order to allow changes.

to the boundary motion

Definition at line 102 of file velocityComponentLaplacian_fvMotionSolver.H.

◆ newPoints()

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

◆ topoChange()

void topoChange ( const polyTopoChangeMap map)
virtual

Update corresponding to the given map.

Reimplemented from velocityComponent.

Definition at line 149 of file velocityComponentLaplacian_fvMotionSolver.C.

References mesh, motionDiffusivity::New(), and velocityComponent::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 velocityComponent.

Definition at line 168 of file velocityComponentLaplacian_fvMotionSolver.C.

References velocityComponent::mapMesh(), mesh, and motionDiffusivity::New().

Here is the call graph for this function:

◆ operator=()

void operator= ( const velocityComponentLaplacian )
delete

Disallow default bitwise assignment.


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