Intermediate class for handling "zonified" motion. Can select motion for the entire mesh, or restrict to a subset of points based on a specified cellSet or cellZone(s). More...

Public Member Functions | |
| zoneMotion (const dictionary &dict, const polyMesh &mesh) | |
| Construct from dictionary. More... | |
| virtual | ~zoneMotion ()=default |
| Destructor. More... | |
| const labelList & | pointIDs () const noexcept |
| The point ids (for cell set/zone subset) More... | |
| bool | moveAllCells () const noexcept |
| Move all cells? More... | |
Intermediate class for handling "zonified" motion. Can select motion for the entire mesh, or restrict to a subset of points based on a specified cellSet or cellZone(s).
{
cellSet <name>;
// and/or
cellZone <name or regex>;
}
Definition at line 66 of file zoneMotion.H.
| zoneMotion | ( | const dictionary & | dict, |
| const polyMesh & | mesh | ||
| ) |
Construct from dictionary.
Definition at line 32 of file zoneMotion.C.
References cellIDs, wordRe::clear(), dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, Foam::flatOutput(), Foam::Info, mesh, Foam::nl, Foam::returnReduceAnd(), bitSet::set(), HashTable< T, Key, Hash >::toc(), and zoneIDs.

|
virtualdefault |
Destructor.
|
inlinenoexcept |
The point ids (for cell set/zone subset)
Definition at line 102 of file zoneMotion.H.
Referenced by solidBodyMotionSolver::curPoints().

|
inlinenoexcept |
Move all cells?
Definition at line 110 of file zoneMotion.H.
Referenced by solidBodyMotionSolver::curPoints().

Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.