Mesh motion solver for an fvMesh. Based on solving the cell-centre Laplacian for the motion velocity. More...
Public Member Functions | |
TypeName ("velocityLaplacian") | |
Runtime type information. More... | |
velocityLaplacianFvMotionSolver (const word &name, const polyMesh &, const dictionary &) | |
Construct from polyMesh and dictionary. More... | |
velocityLaplacianFvMotionSolver (const velocityLaplacianFvMotionSolver &)=delete | |
Disallow default bitwise copy construction. More... | |
~velocityLaplacianFvMotionSolver () | |
Destructor. More... | |
volVectorField & | cellMotionU () |
Return reference to the cell motion velocity field. More... | |
const volVectorField & | cellMotionU () const |
Return const reference to the cell motion velocity field. 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 velocityLaplacianFvMotionSolver &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from velocityMotionSolver | |
TypeName ("velocityMotionSolver") | |
Runtime type information. More... | |
velocityMotionSolver (const word &name, const polyMesh &, const dictionary &, const word &type) | |
Construct from mesh and dictionary. More... | |
velocityMotionSolver (const velocityMotionSolver &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~velocityMotionSolver () |
Destructor. More... | |
pointVectorField & | pointMotionU () |
Return reference to the point motion velocity field. More... | |
const pointVectorField & | pointMotionU () const |
Return const reference to the point motion velocity field. 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 velocityMotionSolver &)=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 |
Correct point field for reduced-dimensionality cases. More... | |
virtual bool | solidBody () 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... | |
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 PointField< Type >::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 PointField< Type >::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 fvMesh & | fvMesh_ |
The fvMesh to be moved. More... | |
Mesh motion solver for an fvMesh. Based on solving the cell-centre Laplacian for the motion velocity.
Definition at line 53 of file velocityLaplacianFvMotionSolver.H.
velocityLaplacianFvMotionSolver | ( | const word & | name, |
const polyMesh & | mesh, | ||
const dictionary & | dict | ||
) |
Construct from polyMesh and dictionary.
Definition at line 49 of file velocityLaplacianFvMotionSolver.C.
|
delete |
Disallow default bitwise copy construction.
Destructor.
Definition at line 86 of file velocityLaplacianFvMotionSolver.C.
TypeName | ( | "velocityLaplacian" | ) |
Runtime type information.
|
inline |
Return reference to the cell motion velocity field.
Definition at line 97 of file velocityLaplacianFvMotionSolver.H.
|
inline |
Return const reference to the cell motion velocity field.
Definition at line 103 of file velocityLaplacianFvMotionSolver.H.
|
virtual |
Return point location obtained from the current motion field.
Implements motionSolver.
Definition at line 93 of file velocityLaplacianFvMotionSolver.C.
References volPointInterpolation::interpolate(), DemandDrivenMeshObject< fvMesh, DeletableMeshObject, volPointInterpolation >::New(), and tmp< T >::ref().
|
virtual |
Solve for motion.
Implements motionSolver.
Definition at line 113 of file velocityLaplacianFvMotionSolver.C.
References Foam::fvm::laplacian(), and Foam::solve().
|
virtual |
Update corresponding to the given map.
Reimplemented from velocityMotionSolver.
Definition at line 141 of file velocityLaplacianFvMotionSolver.C.
References motionDiffusivity::New(), and velocityMotionSolver::topoChange().
|
virtual |
Update from another mesh using the given map.
Reimplemented from velocityMotionSolver.
Definition at line 159 of file velocityLaplacianFvMotionSolver.C.
References velocityMotionSolver::mapMesh(), and motionDiffusivity::New().
|
delete |
Disallow default bitwise assignment.