Mesh motion solver for an fvMesh. Based on solving the cell-centre Laplacian for the given component of the motion displacement. More...
#include <fvMotionSolvers/displacementComponentLaplacianFvMotionSolver.H>
Mesh motion solver for an fvMesh. Based on solving the cell-centre Laplacian for the given component of the motion displacement.
Definition at line 53 of file displacementComponentLaplacianFvMotionSolver.H.
Public Member Functions | |
TypeName ("displacementComponentLaplacian") | |
Runtime type information.
| |
displacementComponentLaplacianFvMotionSolver (const polyMesh &, Istream &msData) | |
Construct from polyMesh and data stream.
| |
~displacementComponentLaplacianFvMotionSolver () | |
const scalarField & | points0 () const |
Return reference to the reference field.
| |
volScalarField & | cellDisplacement () |
Non-const access to the cellDisplacement in order to allow.
| |
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.
|
displacementComponentLaplacianFvMotionSolver | ( | const polyMesh & | mesh, |
Istream & | msData | ||
) |
Construct from polyMesh and data stream.
Definition at line 86 of file displacementComponentLaplacianFvMotionSolver.C.
References IOobject::AUTO_WRITE, Foam::endl(), Foam::Info, IOobject::MUST_READ, MeshObject< polyMesh, pointMesh >::New(), and Foam::nl.
Definition at line 196 of file displacementComponentLaplacianFvMotionSolver.C.
TypeName | ( | "displacementComponentLaplacian" | ) |
Runtime type information.
const scalarField& points0 | ( | ) | const [inline]
|
Return reference to the reference field.
Definition at line 125 of file displacementComponentLaplacianFvMotionSolver.H.
volScalarField& cellDisplacement | ( | ) | [inline]
|
Non-const access to the cellDisplacement in order to allow.
changes to the boundary motion
Definition at line 132 of file displacementComponentLaplacianFvMotionSolver.H.
Foam::tmp< Foam::pointField > curPoints | ( | ) | const [virtual]
|
Return point location obtained from the current motion field.
Implements fvMotionSolver.
Definition at line 203 of file displacementComponentLaplacianFvMotionSolver.C.
References Foam::endl(), forAll, Foam::Info, volPointInterpolation::interpolate(), and MeshObject< fvMesh, volPointInterpolation >::New().
void solve | ( | ) | [virtual]
|
Solve for motion.
Implements fvMotionSolver.
Definition at line 280 of file displacementComponentLaplacianFvMotionSolver.C.
References Foam::fvm::laplacian(), and Foam::solve().
void updateMesh | ( | const mapPolyMesh & | mpm ) | [virtual]
|
Update topology.
Reimplemented from fvMotionSolver.
Definition at line 302 of file displacementComponentLaplacianFvMotionSolver.C.
References Field< Type >::component(), Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, Foam::gMax(), Foam::gMin(), mapPolyMesh::hasMotionPoints(), motionDiffusivity::New(), mapPolyMesh::pointMap(), points, mapPolyMesh::preMotionPoints(), mapPolyMesh::reversePointMap(), List< T >::size(), and fvMotionSolver::updateMesh().