velocityComponentLaplacianFvMotionSolver 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 velocityComponentLaplacianFvMotionSolver:
Collaboration diagram for velocityComponentLaplacianFvMotionSolver:

Public Member Functions

 TypeName ("velocityComponentLaplacian")
 Runtime type information. More...
 
 velocityComponentLaplacianFvMotionSolver (const word &name, const polyMesh &, const dictionary &)
 Construct from polyMesh and dictionary. More...
 
 velocityComponentLaplacianFvMotionSolver (const velocityComponentLaplacianFvMotionSolver &)=delete
 Disallow default bitwise copy construction. More...
 
 ~velocityComponentLaplacianFvMotionSolver ()
 Destructor. More...
 
volScalarField & cellMotionU ()
 Non-const access to the cellMotionU in order to allow changes. More...
 
virtual tmp< pointField > curPoints () const
 Return point location obtained from the current motion field. More...
 
virtual void solve ()
 Solve for motion. 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 velocityComponentLaplacianFvMotionSolver &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from componentVelocityMotionSolver
 TypeName ("componentVelocityMotionSolver")
 Runtime type information. More...
 
 componentVelocityMotionSolver (const word &name, const polyMesh &, const dictionary &, const word &type)
 Construct from mesh and dictionary. More...
 
 componentVelocityMotionSolver (const componentVelocityMotionSolver &)
 Disallow default bitwise copy construction. More...
 
virtual ~componentVelocityMotionSolver ()
 Destructor. More...
 
pointScalarField & pointMotionU ()
 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 componentVelocityMotionSolver &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from motionSolver
 TypeName ("motionSolver")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, motionSolver, dictionary,(const word &name, const polyMesh &mesh, const dictionary &dict),(name, mesh, dict))
 
 motionSolver (const word &name, const polyMesh &mesh, const dictionary &, const word &type)
 Construct from polyMesh and dictionary and type. More...
 
virtual autoPtr< motionSolver > clone () const
 Clone function. More...
 
virtual ~motionSolver ()
 Destructor. More...
 
const word & name () const
 Return name. More...
 
const word & keyword () const
 Return keyword. More...
 
const polyMesh & mesh () const
 Return reference to mesh. More...
 
const dictionary & coeffDict () const
 Const access to the coefficients dictionary. More...
 
virtual tmp< pointField > newPoints ()
 Provide new points for motion. Solves for motion. More...
 
virtual void twoDCorrectPoints (pointField &) const
 
virtual bool write () const
 Optionally write motion state information for restart. More...
 
- Public Member Functions inherited from fvMotionSolver
 ClassName ("displacementMotionSolver")
 Runtime type information. More...
 
 fvMotionSolver (const polyMesh &)
 Construct from polyMesh. More...
 
const fvMesh & mesh () const
 Return reference to the fvMesh to be moved. More...
 
template<class Type >
Foam::wordList cellMotionBoundaryTypes (const typename GeometricField< Type, pointPatchField, pointMesh >::Boundary &pmUbf) const
 

Additional Inherited Members

- Static Public Member Functions inherited from motionSolver
static autoPtr< motionSolver > New (const word &name, const polyMesh &, const dictionary &)
 Select constructed from polyMesh and dictionary. More...
 
- Protected Member Functions inherited from fvMotionSolver
template<class Type >
wordList cellMotionBoundaryTypes (const typename GeometricField< Type, pointPatchField, pointMesh >::Boundary &pmUbf) const
 Create the corresponding patch types for cellMotion from those. More...
 
- Protected Attributes inherited from componentVelocityMotionSolver
word cmptName_
 The component name to solve for. More...
 
direction cmpt_
 The component to solve for. More...
 
pointScalarField pointMotionU_
 Point motion field. More...
 
- Protected Attributes inherited from fvMotionSolver
const fvMesh & fvMesh_
 The fvMesh to be moved. 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 53 of file velocityComponentLaplacianFvMotionSolver.H.

Constructor & Destructor Documentation

◆ velocityComponentLaplacianFvMotionSolver() [1/2]

velocityComponentLaplacianFvMotionSolver ( const word &  name,
const polyMesh &  mesh,
const dictionary &  dict 
)

Construct from polyMesh and dictionary.

Definition at line 51 of file velocityComponentLaplacianFvMotionSolver.C.

References velocityComponentLaplacianFvMotionSolver::~velocityComponentLaplacianFvMotionSolver().

Here is the call graph for this function:

◆ velocityComponentLaplacianFvMotionSolver() [2/2]

Disallow default bitwise copy construction.

◆ ~velocityComponentLaplacianFvMotionSolver()

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 98 of file velocityComponentLaplacianFvMotionSolver.H.

◆ curPoints()

Foam::tmp< Foam::pointField > curPoints ( ) const
virtual

Return point location obtained from the current motion field.

Implements motionSolver.

Definition at line 90 of file velocityComponentLaplacianFvMotionSolver.C.

References Foam::component(), volPointInterpolation::interpolate(), MeshObject< fvMesh, UpdateableMeshObject, volPointInterpolation >::New(), tmp< T >::ref(), and Field< Type >::replace().

Here is the call graph for this function:

◆ solve()

void solve ( )
virtual

Solve for motion.

Implements motionSolver.

Definition at line 113 of file velocityComponentLaplacianFvMotionSolver.C.

References Foam::fvm::laplacian(), Foam::solve(), and velocityComponentLaplacianFvMotionSolver::topoChange().

Here is the call graph for this function:

◆ topoChange()

void topoChange ( const polyTopoChangeMap &  map)
virtual

Update corresponding to the given map.

Reimplemented from componentVelocityMotionSolver.

Definition at line 135 of file velocityComponentLaplacianFvMotionSolver.C.

References lookup(), velocityComponentLaplacianFvMotionSolver::mapMesh(), motionDiffusivity::New(), and componentVelocityMotionSolver::topoChange().

Referenced by velocityComponentLaplacianFvMotionSolver::solve().

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

◆ mapMesh()

void mapMesh ( const polyMeshMap &  map)
virtual

Update from another mesh using the given map.

Reimplemented from componentVelocityMotionSolver.

Definition at line 153 of file velocityComponentLaplacianFvMotionSolver.C.

References lookup(), componentVelocityMotionSolver::mapMesh(), and motionDiffusivity::New().

Referenced by velocityComponentLaplacianFvMotionSolver::topoChange().

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

◆ operator=()

void operator= ( const velocityComponentLaplacianFvMotionSolver &  )
delete

Disallow default bitwise assignment.


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