OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

displacementInterpolationFvMotionSolver Class Reference

Mesh motion solver for an fvMesh. More...

Inheritance diagram for displacementInterpolationFvMotionSolver:
Collaboration diagram for displacementInterpolationFvMotionSolver:

List of all members.


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.

Detailed Description

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

  • moves the faceZones based on tables
  • interpolates the displacement of all points based on the faceZone motion.

Tables are in the constant/tables directory.

Note:
could be a motionSolver - does not use any fvMesh structure.
Source files

Definition at line 56 of file displacementInterpolationFvMotionSolver.H.


Constructor & Destructor Documentation

displacementInterpolationFvMotionSolver ( const polyMesh &  mesh,
Istream &  msDataUnused 
)

Construct from polyMesh and data stream.

Definition at line 50 of file displacementInterpolationFvMotionSolver.C.


Member Function Documentation

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 320 of file displacementInterpolationFvMotionSolver.C.

virtual void solve (  )  [inline, virtual]

Solve for motion.

Implements fvMotionSolver.

Definition at line 132 of file displacementInterpolationFvMotionSolver.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd