Go to the documentation of this file.
42 multiSolidBodyMotionFvMesh,
66 ).subDict(typeName +
"Coeffs")
89 <<
" but the current mesh has " <<
nPoints()
110 ) <<
"Cannot find cellZone named " << iter().keyword()
138 movePts[pointI] =
true;
156 Info<<
"Applying solid body motion " <<
SBMFs_[zoneI].type()
157 <<
" to " <<
pointIDs_[zoneI].
size() <<
" points of cellZone "
158 << iter().keyword() <<
endl;
179 static bool hasWarned =
false;
181 pointField transformedPts(undisplacedPoints_);
185 const labelList& zonePoints = pointIDs_[i];
190 SBMFs_[i].transformation(),
197 if (foundObject<volVectorField>(
"U"))
207 <<
"Did not find volVectorField U."
208 <<
" Not updating U boundary conditions." <<
endl;
vectorField pointField
pointField is a vectorField.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
labelListList pointIDs_
Points to move per cellZone.
static autoPtr< solidBodyMotionFunction > New(const dictionary &SBMFCoeffs, const Time &runTime)
Select constructed from the SBMFCoeffs dictionary and Time.
#define forAll(list, i)
Loop across all elements in list.
labelList zoneIDs_
Specified cellZones.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
const cellList & cells() const
Abstract base class for geometry and/or topology changing fvMesh.
void transfer(List< T > &)
Transfer the contents of the argument List into this list.
const cellZoneMesh & cellZones() const
Return cell zone mesh.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Time & time() const
Return time.
bool isDict(const word &) const
Check if entry is a sub-dictionary.
dimensionSet transform(const dimensionSet &)
Constant dispersed-phase particle diameter model.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
fileName objectPath() const
Return complete path + object name.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
const dictionary dynamicMeshCoeffs_
Dictionary of motion control parameters.
pointIOField undisplacedPoints_
The reference points which are transformed.
~multiSolidBodyMotionFvMesh()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
bool movePoints()
Do what is neccessary if the mesh has moved.
virtual bool update()
Update the mesh for both mesh motion and topology change.
label findZoneID(const word &zoneName) const
Find zone index given a name.
wordList names() const
Return a list of zone names.
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append(const T &)
Append an element at the end of the list.
errorManipArg< error, int > exit(error &err, const int errNo=1)
void setSize(const label)
Reset size of List.
virtual const faceList & faces() const
Return raw faces.
U correctBoundaryConditions()
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
multiSolidBodyMotionFvMesh(const multiSolidBodyMotionFvMesh &)
Disallow default bitwise copy construct.
label k
Boltzmann constant.
const dimensionedScalar c
Speed of light in a vacuum.
A List with indirect addressing.
A face is a list of labels corresponding to mesh vertices.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
void size(const label)
Override size to be inconsistent with allocated storage.
PtrList< solidBodyMotionFunction > SBMFs_
The motion control function.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
Generic GeometricField class.
defineTypeNameAndDebug(combustionModel, 0)
#define WarningInFunction
Report a warning using Foam::Warning.
A cell is defined as a list of faces with extra functionality.