48 else if (cmptName ==
"y")
52 else if (cmptName ==
"z")
59 <<
"Given component name " << cmptName <<
" should be x, y or z" 78 cmptName_(coeffDict().
lookup(
"component")),
79 cmpt_(cmpt(cmptName_)),
100 "pointDisplacement" + cmptName_,
109 if (points0_.size() != mesh.
nPoints())
112 <<
"Number of points in mesh " << mesh.
nPoints()
113 <<
" differs from number of points " << points0_.size()
114 <<
" read from file " 170 forAll(newPoints0, pointi)
178 if (masterPointi == pointi)
180 newPoints0[pointi] = points0_[oldPointi];
193 <<
"Cannot work out coordinates of introduced vertices." 194 <<
" New vertex " << pointi <<
" at coordinate " 198 points0_.transfer(newPoints0);
205 pointDisplacement_ ==
Zero;
virtual void topoChange(const polyTopoChangeMap &)
Update local data for topology changes.
#define forAll(list, i)
Loop across all elements in list.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Type gMin(const FieldField< Field, Type > &f)
virtual void distribute(const polyDistributionMap &)
Update corresponding to the given distribution map.
Templated form of IOobject providing type information for file reading and header type checking...
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
void size(const label)
Override size to be inconsistent with allocated storage.
bool hasMotionPoints() const
Has valid preMotionPoints?
const labelList & pointMap() const
Old point map.
Virtual base class for mesh motion solver.
virtual const pointField & points() const
Return raw points.
stressControl lookup("compactNormalStress") >> compactNormalStress
static word timeName(const scalar, const int precision=curPrecision_)
Return time name of given scalar time.
A class for handling words, derived from string.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual void movePoints(const pointField &)
Update local data for geometry changes.
const word & constant() const
Return constant name.
const labelList & reversePointMap() const
Reverse point map.
tmp< Field< cmptType > > component(const direction) const
Return a component field of the field.
Type gMax(const FieldField< Field, Type > &f)
const Time & time() const
Return time.
defineTypeNameAndDebug(combustionModel, 0)
const pointField & preMotionPoints() const
Pre-motion point positions.
static pointMesh & New(polyMesh &mesh)
componentDisplacementMotionSolver(const word &name, const polyMesh &, const dictionary &, const word &type)
Construct from polyMesh and dictionary and type.
Mesh consisting of general polyhedral cells.
Class containing mesh-to-mesh mapping information.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A primitive field of type <T> with automated input and output.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
virtual ~componentDisplacementMotionSolver()
Destructor.