Go to the documentation of this file.
105 static const Enum<mergeStrategy> strategyNames_;
111 const IOdictionary& meshDict_;
117 bool checkFaceCorrespondence_;
120 searchableSurfaces geometry_;
138 autoPtr<polyMesh> topologyPtr_;
161 template<
class Source>
162 void checkPatchLabels
164 const Source& source,
165 const word& patchName,
199 void calcGeometricalMerge();
203 void calcTopologicalMerge();
207 void createPoints()
const;
208 void createCells()
const;
209 void createPatches()
const;
216 void operator=(
const blockMesh&) =
delete;
305 void verbose(
const bool on=
true);
vectorField pointField
pointField is a vectorField.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
PtrList< dictionary > patchDicts() const
Get patch information from the topology mesh.
const dictionary & meshDict() const
Access to input dictionary.
const faceListList & patches() const
Return the patch face lists.
A class for handling words, derived from Foam::string.
Default (TOPOLOGY), not selectable.
ClassName("blockMesh")
Runtime type information.
mergeStrategy
The block merging strategy.
PtrList< blockVertex > blockVertexList
A PtrList of blockVertex.
List< cellShape > cellShapeList
List of cellShapes and PtrList of List of cellShape.
const searchableSurfaces & geometry() const
Optional searchable geometry to project face-points to.
"topology" merge by block topology (default)
const blockFaceList & faces() const
Return the curved faces.
const polyMesh & topology() const
Return the blockMesh topology as a polyMesh.
Mesh consisting of general polyhedral cells.
void verbose(const bool on=true)
Enable/disable verbose information about the progress.
wordList patchTypes(nPatches)
List< word > wordList
A List of words.
PtrList< blockEdge > blockEdgeList
A PtrList of blockEdges.
void writeTopology(Ostream &) const
Writes edges of blockMesh in OBJ format.
A patch is a list of labels that address the faces in the global face list.
const pointField & vertices() const
Reference to point field defining the blockMesh.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
scalar scaleFactor() const
The scaling factor used to convert to metres.
bool valid() const
True if the blockMesh topology exists.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
"points" merge by point geometry
PtrList< blockFace > blockFaceList
A PtrList of blockFaces.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
label numZonedBlocks() const
Number of blocks with specified zones.
List< faceList > faceListList
A List of faceList.
const pointField & points() const
The points for the entire mesh.
wordList patchNames() const
Return patch names.
Container for searchableSurfaces. The collection is specified as a dictionary. For example,...
~blockMesh()=default
Destructor.
const blockEdgeList & edges() const
Return the curved edges.
PtrList< block > blockList
A PtrList of blocks.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const cellShapeList & cells() const
Return cell shapes list.
A multi-block mesh generator.