movingCone Class Reference

Sample fvMeshTopoChanger that moves an object in x direction and introduces/removes layers. More...

Inheritance diagram for movingCone:
Collaboration diagram for movingCone:

Public Member Functions

 TypeName ("movingCone")
 Runtime type information. More...
 
 movingCone (fvMesh &mesh, const dictionary &dict)
 Construct from fvMesh and dictionary. More...
 
 movingCone (const movingCone &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~movingCone ()
 Destructor. More...
 
virtual bool update ()
 Update the mesh for both mesh motion and topology change. More...
 
virtual void topoChange (const polyTopoChangeMap &)
 Update corresponding to the given map. More...
 
virtual void mapMesh (const polyMeshMap &)
 Update from another mesh using the given map. More...
 
virtual void distribute (const polyDistributionMap &)
 Update corresponding to the given distribution map. More...
 
void operator= (const movingCone &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from fvMeshTopoChanger
 TypeName ("fvMeshTopoChanger")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, fvMeshTopoChanger, fvMesh,(fvMesh &mesh, const dictionary &dict),(mesh, dict))
 
 fvMeshTopoChanger (fvMesh &)
 Construct from fvMesh. More...
 
 fvMeshTopoChanger (const fvMeshTopoChanger &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~fvMeshTopoChanger ()
 Destructor. More...
 
fvMesh & mesh ()
 Return the fvMesh. More...
 
const fvMesh & mesh () const
 Return the fvMesh. More...
 
virtual bool dynamic () const
 Is mesh dynamic, i.e. might it change? More...
 
virtual bool write (const bool write=true) const
 Write the mover state. More...
 
void operator= (const fvMeshTopoChanger &)=delete
 Disallow default bitwise assignment. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from fvMeshTopoChanger
static autoPtr< fvMeshTopoChanger > New (fvMesh &, const dictionary &dict)
 Select, construct and return the fvMeshTopoChanger. More...
 
static autoPtr< fvMeshTopoChanger > New (fvMesh &)
 Select, construct and return the fvMeshTopoChanger. More...
 

Detailed Description

Sample fvMeshTopoChanger that moves an object in x direction and introduces/removes layers.

Source files

Definition at line 52 of file fvMeshTopoChangersMovingCone.H.

Constructor & Destructor Documentation

◆ movingCone() [1/2]

movingCone ( fvMesh &  mesh,
const dictionary &  dict 
)

◆ movingCone() [2/2]

movingCone ( const movingCone &  )
delete

Disallow default bitwise copy construction.

◆ ~movingCone()

~movingCone ( )
virtual

Destructor.

Definition at line 287 of file fvMeshTopoChangersMovingCone.C.

Member Function Documentation

◆ TypeName()

TypeName ( "movingCone"  )

Runtime type information.

◆ update()

bool update ( )
virtual

Update the mesh for both mesh motion and topology change.

Implements fvMeshTopoChanger.

Definition at line 293 of file fvMeshTopoChangersMovingCone.C.

References Foam::average(), Foam::endl(), Foam::Info, Foam::mag(), Foam::constant::mathematical::pi(), points, Foam::pos0(), Foam::Pout, Foam::sin(), and autoPtr< T >::valid().

Here is the call graph for this function:

◆ topoChange()

void topoChange ( const polyTopoChangeMap &  map)
virtual

Update corresponding to the given map.

Implements fvMeshTopoChanger.

Definition at line 391 of file fvMeshTopoChangersMovingCone.C.

◆ mapMesh()

void mapMesh ( const polyMeshMap &  map)
virtual

Update from another mesh using the given map.

Implements fvMeshTopoChanger.

Definition at line 398 of file fvMeshTopoChangersMovingCone.C.

◆ distribute()

void distribute ( const polyDistributionMap &  map)
virtual

Update corresponding to the given distribution map.

Implements fvMeshTopoChanger.

Definition at line 405 of file fvMeshTopoChangersMovingCone.C.

◆ operator=()

void operator= ( const movingCone &  )
delete

Disallow default bitwise assignment.


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