velocityLaplacianFvMotionSolver Class Reference

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

Inheritance diagram for velocityLaplacianFvMotionSolver:
Collaboration diagram for velocityLaplacianFvMotionSolver:

Public Member Functions

 TypeName ("velocityLaplacian")
 Runtime type information. More...
 
 velocityLaplacianFvMotionSolver (const polyMesh &, const dictionary &)
 Construct from polyMesh and dictionary. More...
 
 velocityLaplacianFvMotionSolver (const velocityLaplacianFvMotionSolver &)
 Disallow default bitwise copy construction. More...
 
 ~velocityLaplacianFvMotionSolver ()
 Destructor. More...
 
volVectorFieldcellMotionU ()
 Return reference to the cell motion velocity field. More...
 
const volVectorFieldcellMotionU () const
 Return const reference to the cell motion velocity field. More...
 
virtual tmp< pointFieldcurPoints () const
 Return point location obtained from the current motion field. More...
 
virtual void solve ()
 Solve for motion. More...
 
virtual void updateMesh (const mapPolyMesh &)
 Update topology. More...
 
void operator= (const velocityLaplacianFvMotionSolver &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from velocityMotionSolver
 TypeName ("velocityMotionSolver")
 Runtime type information. More...
 
 velocityMotionSolver (const polyMesh &, const dictionary &, const word &type)
 Construct from mesh and dictionary. More...
 
 velocityMotionSolver (const velocityMotionSolver &)
 Disallow default bitwise copy construction. More...
 
virtual ~velocityMotionSolver ()
 Destructor. More...
 
pointVectorFieldpointMotionU ()
 Return reference to the point motion velocity field. More...
 
const pointVectorFieldpointMotionU () const
 Return const reference to the point motion velocity field. More...
 
virtual void movePoints (const pointField &)
 Update local data for geometry changes. More...
 
void operator= (const velocityMotionSolver &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from motionSolver
 TypeName ("motionSolver")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, motionSolver, dictionary,(const polyMesh &mesh, const dictionary &dict),(mesh, dict))
 
 motionSolver (const polyMesh &mesh, const dictionary &, const word &type)
 Construct from polyMesh and dictionary and type. More...
 
virtual autoPtr< motionSolverclone () const
 Clone function. More...
 
virtual ~motionSolver ()
 Destructor. More...
 
const polyMeshmesh () const
 Return reference to mesh. More...
 
const dictionarycoeffDict () const
 Const access to the coefficients dictionary. More...
 
virtual tmp< pointFieldnewPoints ()
 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 fvMeshmesh () 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< motionSolverNew (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 velocityMotionSolver
pointVectorField pointMotionU_
 Point motion field. More...
 
- Protected Attributes inherited from fvMotionSolver
const fvMeshfvMesh_
 The fvMesh to be moved. More...
 

Detailed Description

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

Source files

Definition at line 53 of file velocityLaplacianFvMotionSolver.H.

Constructor & Destructor Documentation

◆ velocityLaplacianFvMotionSolver() [1/2]

velocityLaplacianFvMotionSolver ( const polyMesh mesh,
const dictionary dict 
)

Construct from polyMesh and dictionary.

Definition at line 50 of file velocityLaplacianFvMotionSolver.C.

◆ velocityLaplacianFvMotionSolver() [2/2]

Disallow default bitwise copy construction.

◆ ~velocityLaplacianFvMotionSolver()

Destructor.

Definition at line 85 of file velocityLaplacianFvMotionSolver.C.

Member Function Documentation

◆ TypeName()

TypeName ( "velocityLaplacian"  )

Runtime type information.

◆ cellMotionU() [1/2]

volVectorField& cellMotionU ( )
inline

Return reference to the cell motion velocity field.

Definition at line 96 of file velocityLaplacianFvMotionSolver.H.

◆ cellMotionU() [2/2]

const volVectorField& cellMotionU ( ) const
inline

Return const reference to the cell motion velocity field.

Definition at line 102 of file velocityLaplacianFvMotionSolver.H.

References velocityLaplacianFvMotionSolver::curPoints(), velocityLaplacianFvMotionSolver::operator=(), velocityLaplacianFvMotionSolver::solve(), and velocityLaplacianFvMotionSolver::updateMesh().

Here is the call graph for this function:

◆ curPoints()

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

Return point location obtained from the current motion field.

Implements motionSolver.

Definition at line 92 of file velocityLaplacianFvMotionSolver.C.

References volPointInterpolation::interpolate(), and MeshObject< fvMesh, UpdateableMeshObject, volPointInterpolation >::New().

Referenced by velocityLaplacianFvMotionSolver::cellMotionU().

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

◆ solve()

void solve ( )
virtual

Solve for motion.

Implements motionSolver.

Definition at line 112 of file velocityLaplacianFvMotionSolver.C.

References Foam::fvm::laplacian(), Foam::solve(), and velocityLaplacianFvMotionSolver::updateMesh().

Referenced by velocityLaplacianFvMotionSolver::cellMotionU().

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

◆ updateMesh()

void updateMesh ( const mapPolyMesh mpm)
virtual

Update topology.

Reimplemented from velocityMotionSolver.

Definition at line 141 of file velocityLaplacianFvMotionSolver.C.

References lookup(), motionDiffusivity::New(), and velocityMotionSolver::updateMesh().

Referenced by velocityLaplacianFvMotionSolver::cellMotionU(), and velocityLaplacianFvMotionSolver::solve().

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

◆ operator=()

void operator= ( const velocityLaplacianFvMotionSolver )
delete

Disallow default bitwise assignment.

Referenced by velocityLaplacianFvMotionSolver::cellMotionU().

Here is the caller graph for this function:

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