Mesh motion solver for an fvMesh. Based on solving the cell-centre Laplacian for the given component of the motion velocity. More...
#include <fvMotionSolvers/velocityComponentLaplacianFvMotionSolver.H>
Mesh motion solver for an fvMesh. Based on solving the cell-centre Laplacian for the given component of the motion velocity.
Definition at line 53 of file velocityComponentLaplacianFvMotionSolver.H.
Public Member Functions | |
TypeName ("velocityComponentLaplacian") | |
Runtime type information.
| |
velocityComponentLaplacianFvMotionSolver (const polyMesh &, Istream &msData) | |
Construct from polyMesh and data stream (provides component)
| |
~velocityComponentLaplacianFvMotionSolver () | |
volScalarField & | cellMotionU () |
Non-const access to the cellMotionU in order to allow changes.
| |
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.
|
velocityComponentLaplacianFvMotionSolver | ( | const polyMesh & | mesh, |
Istream & | msData | ||
) |
Construct from polyMesh and data stream (provides component)
Definition at line 51 of file velocityComponentLaplacianFvMotionSolver.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, and Y.
Definition at line 123 of file velocityComponentLaplacianFvMotionSolver.C.
TypeName | ( | "velocityComponentLaplacian" | ) |
Runtime type information.
volScalarField& cellMotionU | ( | ) | [inline]
|
Non-const access to the cellMotionU in order to allow changes.
to the boundary motion
Definition at line 112 of file velocityComponentLaplacianFvMotionSolver.H.
Referenced by fvMotionSolverEngineMesh::move().
Foam::tmp< Foam::pointField > curPoints | ( | ) | const [virtual]
|
Return point location obtained from the current motion field.
Implements fvMotionSolver.
Definition at line 130 of file velocityComponentLaplacianFvMotionSolver.C.
References Foam::component(), volPointInterpolation::interpolate(), and MeshObject< fvMesh, volPointInterpolation >::New().
Referenced by fvMotionSolverEngineMesh::move().
void solve | ( | ) | [virtual]
|
Solve for motion.
Implements fvMotionSolver.
Definition at line 153 of file velocityComponentLaplacianFvMotionSolver.C.
References Foam::fvm::laplacian(), and Foam::solve().
Referenced by fvMotionSolverEngineMesh::move().
void updateMesh | ( | const mapPolyMesh & | mpm ) | [virtual]
|
Update topology.
Reimplemented from fvMotionSolver.
Definition at line 175 of file velocityComponentLaplacianFvMotionSolver.C.
References motionDiffusivity::New(), and fvMotionSolver::updateMesh().