fvMeshMover Class Referenceabstract

Abstract base class for fvMesh movers. More...

Inheritance diagram for fvMeshMover:

Public Member Functions

 TypeName ("fvMeshMover")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, fvMeshMover, fvMesh,(fvMesh &mesh, const dictionary &dict),(mesh, dict))
 
 fvMeshMover (fvMesh &)
 Construct from fvMesh. More...
 
 fvMeshMover (const fvMeshMover &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~fvMeshMover ()
 Destructor. More...
 
fvMeshmesh ()
 Return the fvMesh. More...
 
const fvMeshmesh () const
 Return the fvMesh. More...
 
virtual bool dynamic () const
 Is mesh dynamic, i.e. might it change? More...
 
virtual bool solidBodyMotion () const
 Is the motion solid body? I.e., are the volumes and area magnitudes. More...
 
virtual bool update ()=0
 Update the mesh for both mesh motion and topology change. More...
 
virtual void topoChange (const polyTopoChangeMap &)=0
 Update local data for topology changes. More...
 
virtual void mapMesh (const polyMeshMap &)=0
 Update from another mesh using the given map. More...
 
virtual void distribute (const polyDistributionMap &)=0
 Update corresponding to the given distribution map. More...
 
virtual bool write (const bool write=true) const
 Write the mover state. More...
 
void operator= (const fvMeshMover &)=delete
 Disallow default bitwise assignment. More...
 

Static Public Member Functions

static autoPtr< fvMeshMoverNew (fvMesh &)
 Select, construct and return the fvMeshMover. More...
 

Detailed Description

Abstract base class for fvMesh movers.

These classes move the mesh points, update the cell volumes and generate the corresponding mesh fluxes without any topology change.

Source files

Definition at line 52 of file fvMeshMover.H.

Constructor & Destructor Documentation

◆ fvMeshMover() [1/2]

fvMeshMover ( fvMesh mesh)
explicit

Construct from fvMesh.

Definition at line 40 of file fvMeshMover.C.

◆ fvMeshMover() [2/2]

fvMeshMover ( const fvMeshMover )
delete

Disallow default bitwise copy construction.

◆ ~fvMeshMover()

~fvMeshMover ( )
virtual

Destructor.

Definition at line 48 of file fvMeshMover.C.

Member Function Documentation

◆ TypeName()

TypeName ( "fvMeshMover"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
fvMeshMover  ,
fvMesh  ,
(fvMesh &mesh, const dictionary &dict ,
(mesh, dict  
)

◆ New()

Foam::autoPtr< Foam::fvMeshMover > New ( fvMesh mesh)
static

Select, construct and return the fvMeshMover.

If the constant/dynamicMeshDict does not exist a staticFvMesh is returned

Definition at line 31 of file fvMeshMoverNew.C.

References TimePaths::constant(), dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, found, typeIOobject< Type >::headerOk(), Foam::indentOrNl(), Foam::Info, Foam::libs, dictionary::lookup(), fvMeshMover::mesh(), Foam::nl, IOobject::NO_WRITE, dlLibraryTable::open(), IOobject::READ_IF_PRESENT, fvMesh::time(), and Foam::type().

Referenced by fvMesh::postConstruct().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mesh() [1/2]

fvMesh& mesh ( )
inline

◆ mesh() [2/2]

const fvMesh& mesh ( ) const
inline

Return the fvMesh.

Definition at line 108 of file fvMeshMover.H.

◆ dynamic()

virtual bool dynamic ( ) const
inlinevirtual

Is mesh dynamic, i.e. might it change?

Defaults to true, set to false in the fvMeshMovers::none

Reimplemented in none.

Definition at line 115 of file fvMeshMover.H.

◆ solidBodyMotion()

virtual bool solidBodyMotion ( ) const
inlinevirtual

Is the motion solid body? I.e., are the volumes and area magnitudes.

unchanged? Defaults to false. Set to true by fvMeshMovers::none and delegated to the motion solver by fvMeshMovers::pointMeshMover.

Reimplemented in fvMotionSolver, pointMeshMover, and none.

Definition at line 123 of file fvMeshMover.H.

◆ update()

virtual bool update ( )
pure virtual

Update the mesh for both mesh motion and topology change.

Implemented in multiValveEngine, interpolator, inkJet, fvMotionSolver, pointMeshMover, and none.

◆ topoChange()

virtual void topoChange ( const polyTopoChangeMap )
pure virtual

◆ mapMesh()

virtual void mapMesh ( const polyMeshMap )
pure virtual

◆ distribute()

virtual void distribute ( const polyDistributionMap )
pure virtual

Update corresponding to the given distribution map.

Implemented in multiValveEngine, interpolator, inkJet, fvMotionSolver, pointMeshMover, and none.

◆ write()

virtual bool write ( const bool  write = true) const
inlinevirtual

Write the mover state.

Reimplemented in pointMeshMover.

Definition at line 141 of file fvMeshMover.H.

◆ operator=()

void operator= ( const fvMeshMover )
delete

Disallow default bitwise assignment.


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