69 if (zoneIDs_[zonei] == -1)
74 ) <<
"Cannot find cellZone named " << iter().keyword()
102 movePts[pointi] =
true;
120 Info<<
"Applying solid body motion " << SBMFs_[zonei].type()
121 <<
" to " << pointIDs_[zonei].
size() <<
" points of cellZone "
122 << iter().keyword() <<
endl;
128 SBMFs_.setSize(zonei);
148 const labelList& zonePoints = pointIDs_[i];
152 SBMFs_[i].transformation(),
157 return ttransformedPts;
#define forAll(list, i)
Loop across all elements in list.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
Macros for easy insertion into run-time selection tables.
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append(const T &)
Append an element at the end of the list.
void transfer(List< T > &)
Transfer the contents of the argument List into this list.
void size(const label)
Override size to be inconsistent with allocated storage.
void setSize(const label)
Reset size of List.
label findZoneID(const word &zoneName) const
Find zone index given a name.
wordList names() const
Return a list of zone names.
A List with indirect addressing.
A cell is defined as a list of faces with extra functionality.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A face is a list of labels corresponding to mesh vertices.
Virtual base class for mesh motion solver.
const word & keyword() const
Return keyword.
const dictionary & coeffDict() const
Const access to the coefficients dictionary.
const polyMesh & mesh() const
Return reference to mesh.
Solid-body motion of the mesh specified by a run-time selectable motion function.
~multiSolidBodyMotionSolver()
Destructor.
virtual tmp< pointField > curPoints() const
Return point location obtained from the current motion field.
multiSolidBodyMotionSolver(const word &name, const polyMesh &, const dictionary &)
Construct from mesh and dictionary.
const Time & time() const
Return time.
Virtual base class for displacement motion solvers.
Mesh consisting of general polyhedral cells.
virtual const faceList & faces() const
Return raw faces.
const meshCellZones & cellZones() const
Return cell zones.
const cellList & cells() const
static autoPtr< solidBodyMotionFunction > New(const dictionary &SBMFCoeffs, const Time &runTime)
Select constructed from the SBMFCoeffs dictionary and Time.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
A class for handling words, derived from string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
const dimensionedScalar c
Speed of light in a vacuum.
errorManipArg< error, int > exit(error &err, const int errNo=1)
void transformPoints(vectorField &, const spatialTransform &, const vectorField &)
Transform given vectorField of coordinates with the given spatialTransform.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
vectorField pointField
pointField is a vectorField.
defineTypeNameAndDebug(combustionModel, 0)
word name(const complex &)
Return a string representation of a complex.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)