Mesh motion solver for an fvMesh. More...
#include <fvMotionSolvers/displacementInterpolationFvMotionSolver.H>
Mesh motion solver for an fvMesh.
Scales inbetween motion prescribed on faceZones. Works out per point the distance between the bounding face zones (in all three directions) at the start and then every time step
Tables are in the constant/tables directory.
Definition at line 61 of file displacementInterpolationFvMotionSolver.H.
Public Member Functions | |
TypeName ("displacementInterpolation") | |
Runtime type information.
| |
displacementInterpolationFvMotionSolver (const polyMesh &, Istream &msDataUnused) | |
Construct from polyMesh and data stream.
| |
~displacementInterpolationFvMotionSolver () | |
virtual tmp< pointField > | curPoints () const |
Return point location obtained from the current motion field.
| |
virtual void | solve () |
Solve for motion.
|
displacementInterpolationFvMotionSolver | ( | const polyMesh & | mesh, |
Istream & | msDataUnused | ||
) |
Construct from polyMesh and data stream.
Definition at line 58 of file displacementInterpolationFvMotionSolver.C.
References Foam::abort(), Field< Type >::component(), TimePaths::constant(), Foam::endl(), Foam::exit(), polyMesh::faceZones(), Foam::FatalError, FatalErrorIn, Foam::findLower(), forAll, Foam::gMax(), Foam::gMin(), Foam::max(), mesh, Foam::min(), ZoneMesh< ZoneType, MeshType >::names(), nPoints, Foam::Pout, Foam::returnReduce(), List< T >::setSize(), PtrList< T >::setSize(), List< T >::size(), and objectRegistry::time().
Definition at line 321 of file displacementInterpolationFvMotionSolver.C.
TypeName | ( | "displacementInterpolation" | ) |
Runtime type information.
Reimplemented from displacementFvMotionSolver.
Foam::tmp< Foam::pointField > curPoints | ( | ) | const [virtual]
|
Return point location obtained from the current motion field.
Implements fvMotionSolver.
Definition at line 328 of file displacementInterpolationFvMotionSolver.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, Foam::interpolateXY(), mesh, VectorSpace< Vector< Cmpt >, Cmpt, 3 >::nComponents, primitiveMesh::nPoints(), nPoints, Foam::Pout, List< T >::size(), and Vector< Cmpt >::zero.
virtual void solve | ( | ) | [inline, virtual]
|
Solve for motion.
Implements fvMotionSolver.
Definition at line 133 of file displacementInterpolationFvMotionSolver.H.