60 transform_(SBMFPtr_().transformation())
69 Info<<
"Applying solid body motion to entire mesh" <<
endl;
116 transform_ = SBMFPtr_().transformation();
133 return ttransformedPts;
152 forAll(newPoints0, pointi)
160 if (masterPointi == pointi)
162 newPoints0[pointi] = points0_[oldPointi];
167 transform_.invTransformPoint(
points[pointi]);
173 <<
"Cannot determine co-ordinates of introduced vertices."
174 <<
" New vertex " << pointi <<
" at co-ordinate "
179 twoDCorrectPoints(newPoints0);
181 points0_.transfer(newPoints0);
#define forAll(list, i)
Loop across all elements in list.
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.
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 polyMesh & mesh() const
Return reference to mesh.
Virtual base class for displacement motion solvers.
General run-time selected cell set selection class for polyMesh.
Mesh consisting of general polyhedral cells.
virtual const faceList & faces() const
Return raw faces.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const pointField & preMotionPoints() const
Pre-motion point positions.
const labelList & reversePointMap() const
Reverse point map.
const labelList & pointMap() const
Old point map.
bool hasMotionPoints() const
Has valid preMotionPoints?
const cellList & cells() const
Base class for defining solid-body motions.
Solid-body motion of the mesh specified by a run-time selectable motion function.
virtual tmp< pointField > curPoints() const
Return point location obtained from the current motion field.
solidBodyMotionSolver(const word &name, const polyMesh &, const dictionary &)
Construct from mesh and dictionary.
virtual void topoChange(const polyTopoChangeMap &)
Update local data for topology changes.
~solidBodyMotionSolver()
Destructor.
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 FatalErrorInFunction
Report an error message using Foam::FatalError.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
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.
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
defineTypeNameAndDebug(combustionModel, 0)
word name(const complex &)
Return a string representation of a complex.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)