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

velocityComponentLaplacianFvMotionSolver Class Reference

Mesh motion solver for an fvMesh. Based on solving the cell-centre Laplacian for the given component of the motion velocity. More...

#include <fvMotionSolvers/velocityComponentLaplacianFvMotionSolver.H>


Detailed Description

Mesh motion solver for an fvMesh. Based on solving the cell-centre Laplacian for the given component of the motion velocity.

Source files

Definition at line 53 of file velocityComponentLaplacianFvMotionSolver.H.

Inheritance diagram for velocityComponentLaplacianFvMotionSolver:
Collaboration diagram for velocityComponentLaplacianFvMotionSolver:

List of all members.

Public Member Functions

 TypeName ("velocityComponentLaplacian")
 Runtime type information.
 velocityComponentLaplacianFvMotionSolver (const polyMesh &, Istream &msData)
 Construct from polyMesh and data stream (provides component)
 ~velocityComponentLaplacianFvMotionSolver ()
volScalarField &  cellMotionU ()
 Non-const access to the cellMotionU in order to allow changes.
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

velocityComponentLaplacianFvMotionSolver ( const polyMesh &   mesh,
Istream &   msData  
)

Construct from polyMesh and data stream (provides component)

Definition at line 51 of file velocityComponentLaplacianFvMotionSolver.C.

References Foam::exit(), Foam::FatalError, FatalErrorIn, and Y.


Member Function Documentation

TypeName ( "velocityComponentLaplacian"    )

Runtime type information.

volScalarField& cellMotionU (  ) [inline]

Non-const access to the cellMotionU in order to allow changes.

to the boundary motion

Definition at line 112 of file velocityComponentLaplacianFvMotionSolver.H.

Referenced by fvMotionSolverEngineMesh::move().

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

Return point location obtained from the current motion field.

Implements fvMotionSolver.

Definition at line 130 of file velocityComponentLaplacianFvMotionSolver.C.

References Foam::component(), volPointInterpolation::interpolate(), and MeshObject< fvMesh, volPointInterpolation >::New().

Referenced by fvMotionSolverEngineMesh::move().

void solve (  ) [virtual]

Solve for motion.

Implements fvMotionSolver.

Definition at line 153 of file velocityComponentLaplacianFvMotionSolver.C.

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

Referenced by fvMotionSolverEngineMesh::move().

void updateMesh ( const mapPolyMesh &   mpm  ) [virtual]

Update topology.

Reimplemented from fvMotionSolver.

Definition at line 175 of file velocityComponentLaplacianFvMotionSolver.C.

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


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