Go to the documentation of this file.
54 field.boundaryField()[patchI];
65 adaptPatchIDs.
append(patchI);
101 label meshFaceI = pp.
start();
105 addressing[nFaces++] = meshFaceI++;
119 Foam::externalDisplacementMeshMover::externalDisplacementMeshMover
128 pointDisplacement_(pointDisplacement),
145 Info<<
"Selecting externalDisplacementMeshMover " <<
type <<
endl;
147 auto* ctorPtr = dictionaryConstructorTable(
type);
154 "externalDisplacementMeshMover",
156 *dictionaryConstructorTablePtr_
162 ctorPtr(
dict, baffles, pointDisplacement, dryRun)
190 if (f0 >= 0 && f1 >= 0)
196 baffles_.transfer(newBaffles);
static labelList getFixedValueBCs(const pointVectorField &)
Extract fixed-value patchfields.
A class for handling words, derived from Foam::string.
static autoPtr< externalDisplacementMeshMover > New(const word &type, const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement, const bool dryRun=false)
Return a reference to the selected meshMover model.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
void append(const T &val)
Append an element at the end of the list.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Mesh consisting of general polyhedral cells.
#define forAll(list, i)
Loop across all elements in list.
Pair< label > labelPair
A pair of labels.
virtual void updateMesh(const mapPolyMesh &)
Update local data for topology changes.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
messageStream Info
Information stream (stdout output on master, null elsewhere)
A patch is a list of labels that address the faces in the global face list.
DynamicList< T, SizeMin > & append(const T &val)
Append an element to the end of this list.
virtual void movePoints(const pointField &)
Update local data for geometry changes.
A List with indirect addressing.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Enables the specification of a zero fixed value boundary condition.
label start() const
Return start label of this patch in the polyMesh face list.
virtual ~externalDisplacementMeshMover()
Destructor.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const labelList & reverseFaceMap() const
Reverse face map.
static autoPtr< indirectPrimitivePatch > getPatch(const polyMesh &, const labelList &)
Construct patch on selected patches.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const TargetType * isA(const Type &t)
Check if dynamic_cast to TargetType is possible.
const polyBoundaryMesh & patches
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
defineTypeNameAndDebug(combustionModel, 0)