Virtual base class for finite volume mesh motion solvers. More...
#include <fvMotionSolvers/fvMotionSolver.H>
Virtual base class for finite volume mesh motion solvers.
The boundary motion is set as a boundary condition on the motion velocity variable motionU.
Definition at line 56 of file fvMotionSolver.H.
Public Member Functions | |
TypeName ("fvMotionSolver") | |
Runtime type information.
| |
fvMotionSolver (const polyMesh &mesh) | |
Construct from polyMesh.
| |
virtual | ~fvMotionSolver () |
const fvMesh & | mesh () const |
Return reference to the fvMesh to be moved.
| |
virtual tmp< pointField > | curPoints () const =0 |
Return point location obtained from the current motion field.
| |
virtual void | solve ()=0 |
Solve for motion.
| |
void | movePoints (const pointField &) |
Update the pointMesh corresponding to the new points.
| |
virtual void | updateMesh (const mapPolyMesh &) |
Update the mesh corresponding to given map.
| |
Protected Member Functions | |
template<class Type > | |
wordList | cellMotionBoundaryTypes (const typename GeometricField< Type, pointPatchField, pointMesh >::GeometricBoundaryField &pmUbf) const |
Create the corresponding patch types for cellMotion from those.
| |
Protected Attributes | |
const fvMesh & | fvMesh_ |
The fvMesh to be moved.
|
fvMotionSolver | ( | const polyMesh & | mesh ) |
Construct from polyMesh.
Definition at line 39 of file fvMotionSolver.C.
~fvMotionSolver | ( | ) | [virtual]
|
Definition at line 48 of file fvMotionSolver.C.
Foam::wordList cellMotionBoundaryTypes | ( | const typename GeometricField< Type, pointPatchField, pointMesh >::GeometricBoundaryField & | pmUbf ) | const [protected]
|
Create the corresponding patch types for cellMotion from those.
of the given pointMotion
Definition at line 34 of file fvMotionSolverTemplates.C.
References Foam::endl(), forAll, Foam::isA(), OSstream::name(), Foam::Pout, and List< T >::setSize().
TypeName | ( | "fvMotionSolver" | ) |
Runtime type information.
const fvMesh& mesh | ( | ) | const [inline]
|
Return reference to the fvMesh to be moved.
Reimplemented from motionSolver.
Definition at line 101 of file fvMotionSolver.H.
References fvMotionSolver::fvMesh_.
Referenced by motionDirectionalDiffusivity::correct(), inverseVolumeDiffusivity::correct(), inversePointDistanceDiffusivity::correct(), inverseFaceDistanceDiffusivity::correct(), inverseDistanceDiffusivity::correct(), and directionalDiffusivity::correct().
virtual tmp<pointField> curPoints | ( | ) | const [pure virtual]
|
Return point location obtained from the current motion field.
Implements motionSolver.
Implemented in displacementComponentLaplacianFvMotionSolver, displacementInterpolationFvMotionSolver, displacementLaplacianFvMotionSolver, displacementSBRStressFvMotionSolver, velocityComponentLaplacianFvMotionSolver, and velocityLaplacianFvMotionSolver.
virtual void solve | ( | ) | [pure virtual]
|
Solve for motion.
Implements motionSolver.
Implemented in displacementComponentLaplacianFvMotionSolver, displacementInterpolationFvMotionSolver, displacementLaplacianFvMotionSolver, displacementSBRStressFvMotionSolver, velocityComponentLaplacianFvMotionSolver, and velocityLaplacianFvMotionSolver.
void movePoints | ( | const pointField & | p ) |
Update the pointMesh corresponding to the new points.
Definition at line 54 of file fvMotionSolver.C.
void updateMesh | ( | const mapPolyMesh & | mpm ) | [virtual]
|
Update the mesh corresponding to given map.
Implements motionSolver.
Reimplemented in displacementComponentLaplacianFvMotionSolver, displacementFvMotionSolver, displacementLaplacianFvMotionSolver, displacementSBRStressFvMotionSolver, velocityComponentLaplacianFvMotionSolver, and velocityLaplacianFvMotionSolver.
Definition at line 60 of file fvMotionSolver.C.
References motionSolver::updateMesh().
Referenced by velocityLaplacianFvMotionSolver::updateMesh(), velocityComponentLaplacianFvMotionSolver::updateMesh(), displacementFvMotionSolver::updateMesh(), and displacementComponentLaplacianFvMotionSolver::updateMesh().
The fvMesh to be moved.
Definition at line 66 of file fvMotionSolver.H.
Referenced by fvMotionSolver::mesh().