Mesh motion solver for a polyMesh. More...
Public Member Functions | |
TypeName ("displacementInterpolation") | |
Runtime type information. More... | |
displacementInterpolationMotionSolver (const polyMesh &, const dictionary &dict) | |
Construct from polyMesh and dictionary. More... | |
displacementInterpolationMotionSolver (const displacementInterpolationMotionSolver &) | |
Disallow default bitwise copy construction. More... | |
~displacementInterpolationMotionSolver () | |
Destructor. More... | |
virtual tmp< pointField > | curPoints () const |
Return point location obtained from the current motion field. More... | |
virtual void | solve () |
Solve for motion. More... | |
void | operator= (const displacementInterpolationMotionSolver &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from points0MotionSolver | |
TypeName ("points0MotionSolver") | |
Runtime type information. More... | |
points0MotionSolver (const polyMesh &, const dictionary &, const word &type) | |
Construct from mesh and dictionary. More... | |
points0MotionSolver (const points0MotionSolver &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~points0MotionSolver () |
Destructor. More... | |
pointField & | points0 () |
Return reference to the reference field. More... | |
const pointField & | points0 () const |
Return reference to the reference field. More... | |
virtual void | movePoints (const pointField &) |
Update local data for geometry changes. More... | |
virtual void | updateMesh (const mapPolyMesh &) |
Update local data for topology changes. More... | |
void | operator= (const points0MotionSolver &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from motionSolver | |
TypeName ("motionSolver") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, motionSolver, dictionary,(const polyMesh &mesh, const dictionary &dict),(mesh, dict)) | |
motionSolver (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 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 |
virtual bool | write () const |
Optionally write motion state information for restart. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from motionSolver | |
static autoPtr< motionSolver > | New (const polyMesh &, const dictionary &) |
Select constructed from polyMesh and dictionary. More... | |
Protected Attributes inherited from points0MotionSolver | |
pointIOField | points0_ |
Starting points. More... | |
Mesh motion solver for a polyMesh.
Scales in between 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 57 of file displacementInterpolationMotionSolver.H.
displacementInterpolationMotionSolver | ( | const polyMesh & | mesh, |
const dictionary & | dict | ||
) |
Construct from polyMesh and dictionary.
Definition at line 56 of file displacementInterpolationMotionSolver.C.
References Foam::abort(), Foam::component(), TimePaths::constant(), Foam::endl(), Foam::exit(), polyMesh::faceZones(), Foam::FatalError, FatalErrorInFunction, Foam::findLower(), ZoneMesh< ZoneType, MeshType >::findZoneID(), UList< T >::first(), forAll, Foam::gMax(), Foam::gMin(), lookup(), Foam::max(), mesh, Foam::min(), IOobject::MUST_READ, ZoneMesh< ZoneType, MeshType >::names(), VectorSpace< Vector< scalar >, scalar, 3 >::nComponents, IOobject::NO_WRITE, nPoints, Foam::Pout, Foam::returnReduce(), PtrList< T >::setSize(), List< T >::setSize(), UPtrList< T >::size(), List< T >::size(), objectRegistry::time(), and displacementInterpolationMotionSolver::~displacementInterpolationMotionSolver().
Disallow default bitwise copy construction.
Destructor.
Definition at line 295 of file displacementInterpolationMotionSolver.C.
Referenced by displacementInterpolationMotionSolver::displacementInterpolationMotionSolver().
TypeName | ( | "displacementInterpolation" | ) |
Runtime type information.
|
virtual |
Return point location obtained from the current motion field.
Implements motionSolver.
Definition at line 302 of file displacementInterpolationMotionSolver.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::interpolateXY(), mesh, VectorSpace< Vector< scalar >, scalar, 3 >::nComponents, nPoints, primitiveMesh::nPoints(), Foam::Pout, tmp< T >::ref(), List< T >::size(), and Foam::Zero.
|
inlinevirtual |
Solve for motion.
Implements motionSolver.
Definition at line 118 of file displacementInterpolationMotionSolver.H.
References displacementInterpolationMotionSolver::operator=().
|
delete |
Disallow default bitwise assignment.
Referenced by displacementInterpolationMotionSolver::solve().