componentVelocityMotionSolver Class Reference

Virtual base class for velocity motion solver. More...

Inheritance diagram for componentVelocityMotionSolver:
Collaboration diagram for componentVelocityMotionSolver:

Public Member Functions

 TypeName ("componentVelocityMotionSolver")
 Runtime type information. More...
 
 componentVelocityMotionSolver (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...
 
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 updateMesh (const mapPolyMesh &)
 Update local data for topology changes. 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 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 tmp< pointFieldcurPoints () const =0
 Provide current points for motion. Uses current motion field. More...
 
virtual void twoDCorrectPoints (pointField &) const
 
virtual void solve ()=0
 Solve for motion. More...
 
virtual bool write () const
 Optionally write motion state information for restart. More...
 

Protected Attributes

word cmptName_
 The component name to solve for. More...
 
direction cmpt_
 The component to solve for. More...
 
pointScalarField pointMotionU_
 Point motion field. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from motionSolver
static autoPtr< motionSolverNew (const polyMesh &, const dictionary &)
 Select constructed from polyMesh and dictionary. More...
 

Detailed Description

Virtual base class for velocity motion solver.

The boundary displacement is set as a boundary condition on the pointMotionUX pointScalarField.

Source files

Definition at line 54 of file componentVelocityMotionSolver.H.

Constructor & Destructor Documentation

◆ componentVelocityMotionSolver() [1/2]

componentVelocityMotionSolver ( const polyMesh mesh,
const dictionary dict,
const word type 
)

Construct from mesh and dictionary.

Definition at line 70 of file componentVelocityMotionSolver.C.

◆ componentVelocityMotionSolver() [2/2]

Disallow default bitwise copy construction.

◆ ~componentVelocityMotionSolver()

Destructor.

Definition at line 96 of file componentVelocityMotionSolver.C.

Member Function Documentation

◆ TypeName()

TypeName ( "componentVelocityMotionSolver"  )

Runtime type information.

◆ pointMotionU()

pointScalarField& pointMotionU ( )
inline

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

to the boundary motion

Definition at line 111 of file componentVelocityMotionSolver.H.

Referenced by fvMotionSolverEngineMesh::move().

Here is the caller graph for this function:

◆ movePoints()

void movePoints ( const pointField p)
virtual

Update local data for geometry changes.

Implements motionSolver.

Definition at line 102 of file componentVelocityMotionSolver.C.

◆ updateMesh()

void updateMesh ( const mapPolyMesh mpm)
virtual

Update local data for topology changes.

Implements motionSolver.

Reimplemented in velocityComponentLaplacianFvMotionSolver.

Definition at line 108 of file componentVelocityMotionSolver.C.

References motionSolver::updateMesh().

Referenced by velocityComponentLaplacianFvMotionSolver::updateMesh().

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

◆ operator=()

void operator= ( const componentVelocityMotionSolver )
delete

Disallow default bitwise assignment.

Member Data Documentation

◆ cmptName_

word cmptName_
protected

The component name to solve for.

Definition at line 63 of file componentVelocityMotionSolver.H.

◆ cmpt_

direction cmpt_
protected

The component to solve for.

Definition at line 66 of file componentVelocityMotionSolver.H.

◆ pointMotionU_

pointScalarField pointMotionU_
mutableprotected

Point motion field.

Definition at line 69 of file componentVelocityMotionSolver.H.


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