FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

displacementLaplacianFvMotionSolver Class Reference

Mesh motion solver for an fvMesh. Based on solving the cell-centre Laplacian for the motion displacement. More...

#include <fvMotionSolvers/displacementLaplacianFvMotionSolver.H>


Detailed Description

Mesh motion solver for an fvMesh. Based on solving the cell-centre Laplacian for the motion displacement.

Source files

Definition at line 53 of file displacementLaplacianFvMotionSolver.H.

Inheritance diagram for displacementLaplacianFvMotionSolver:
Collaboration diagram for displacementLaplacianFvMotionSolver:

List of all members.

Public Member Functions

 TypeName ("displacementLaplacian")
 Runtime type information.
 displacementLaplacianFvMotionSolver (const polyMesh &, Istream &msDataUnused)
 Construct from polyMesh and data stream.
 ~displacementLaplacianFvMotionSolver ()
pointVectorField &  pointDisplacement ()
 Return reference to the point motion displacement field.
const pointVectorField &  pointDisplacement () const
 Return const reference to the point motion displacement field.
volVectorField &  cellDisplacement ()
 Return reference to the cell motion displacement field.
const volVectorField &  cellDisplacement () const
 Return const reference to the cell motion displacement field.
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.

Constructor & Destructor Documentation

displacementLaplacianFvMotionSolver ( const polyMesh &   mesh,
Istream &   msDataUnused  
)

Construct from polyMesh and data stream.

Definition at line 53 of file displacementLaplacianFvMotionSolver.C.

References Foam::endl(), Foam::Info, and Foam::nl.


Member Function Documentation

TypeName ( "displacementLaplacian"    )

Runtime type information.

pointVectorField& pointDisplacement (  ) [inline]

Return reference to the point motion displacement field.

Definition at line 113 of file displacementLaplacianFvMotionSolver.H.

const pointVectorField& pointDisplacement (  ) const [inline]

Return const reference to the point motion displacement field.

Definition at line 119 of file displacementLaplacianFvMotionSolver.H.

volVectorField& cellDisplacement (  ) [inline]

Return reference to the cell motion displacement field.

Definition at line 125 of file displacementLaplacianFvMotionSolver.H.

const volVectorField& cellDisplacement (  ) const [inline]

Return const reference to the cell motion displacement field.

Definition at line 131 of file displacementLaplacianFvMotionSolver.H.

Foam::tmp< Foam::pointField > curPoints (  ) const [virtual]

Return point location obtained from the current motion field.

Implements fvMotionSolver.

Definition at line 153 of file displacementLaplacianFvMotionSolver.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 217 of file displacementLaplacianFvMotionSolver.C.

References Foam::fvm::laplacian(), and Foam::solve().

void updateMesh ( const mapPolyMesh &   mpm  ) [virtual]

Update topology.

Reimplemented from displacementFvMotionSolver.

Definition at line 239 of file displacementLaplacianFvMotionSolver.C.

References motionDiffusivity::New(), and displacementFvMotionSolver::updateMesh().


The documentation for this class was generated from the following files: