Mesh motion solver for an fvMesh. Based on solving the cell-centre Laplacian for the motion velocity. More...
#include <fvMotionSolvers/velocityLaplacianFvMotionSolver.H>
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.
Public Member Functions | |
TypeName ("velocityLaplacian") | |
Runtime type information.
| |
velocityLaplacianFvMotionSolver (const polyMesh &, Istream &msDataUnused) | |
Construct from polyMesh and data stream.
| |
~velocityLaplacianFvMotionSolver () | |
pointVectorField & | pointMotionU () |
Return reference to the point motion velocity field.
| |
const pointVectorField & | pointMotionU () const |
Return const reference to the point motion velocity field.
| |
volVectorField & | cellMotionU () |
Return reference to the cell motion velocity field.
| |
const volVectorField & | cellMotionU () const |
Return const reference to the cell motion velocity field.
| |
virtual tmp< pointField > | curPoints () const |
Return point location obtained from the current motion field.
| |
virtual void | solve () |
Solve for motion.
| |
virtual void | updateMesh (const mapPolyMesh &) |
Update topology.
|
velocityLaplacianFvMotionSolver | ( | const polyMesh & | mesh, |
Istream & | msDataUnused | ||
) |
Construct from polyMesh and data stream.
Definition at line 50 of file velocityLaplacianFvMotionSolver.C.
Definition at line 96 of file velocityLaplacianFvMotionSolver.C.
TypeName | ( | "velocityLaplacian" | ) |
Runtime type information.
pointVectorField& pointMotionU | ( | ) | [inline]
|
Return reference to the point motion velocity field.
Definition at line 105 of file velocityLaplacianFvMotionSolver.H.
const pointVectorField& pointMotionU | ( | ) | const [inline]
|
Return const reference to the point motion velocity field.
Definition at line 111 of file velocityLaplacianFvMotionSolver.H.
volVectorField& cellMotionU | ( | ) | [inline]
|
Return reference to the cell motion velocity field.
Definition at line 117 of file velocityLaplacianFvMotionSolver.H.
const volVectorField& cellMotionU | ( | ) | const [inline]
|
Return const reference to the cell motion velocity field.
Definition at line 123 of file velocityLaplacianFvMotionSolver.H.
Foam::tmp< Foam::pointField > curPoints | ( | ) | const [virtual]
|
Return point location obtained from the current motion field.
Implements fvMotionSolver.
Definition at line 103 of file velocityLaplacianFvMotionSolver.C.
References volPointInterpolation::interpolate(), and MeshObject< fvMesh, volPointInterpolation >::New().
void solve | ( | ) | [virtual]
|
Solve for motion.
Implements fvMotionSolver.
Definition at line 123 of file velocityLaplacianFvMotionSolver.C.
References Foam::fvm::laplacian(), and Foam::solve().
void updateMesh | ( | const mapPolyMesh & | mpm ) | [virtual]
|
Update topology.
Reimplemented from fvMotionSolver.
Definition at line 145 of file velocityLaplacianFvMotionSolver.C.
References motionDiffusivity::New(), and fvMotionSolver::updateMesh().