38 #ifndef blockMeshCylindricalConfiguration_H
39 #define blockMeshCylindricalConfiguration_H
81 bool isBoundBoxOnZaxis();
84 void calcBlockMeshDict();
87 void writeBackgroundMesh();
90 void writeDefaultPatch();
101 void writeBoundary();
104 void writeGeometry();
107 void writeProjectedVertex
116 void writeVertices();
125 void writeMergePatchPairs();
146 const label refineFactor,
148 const bool clearBoundary
An STL-conforming hash table.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Functions to configure and write a blockMeshDict configuration file.
From a set of input surface geometry files and a set of configuration parameters, writes out a blockM...
blockMeshCylindricalConfiguration(const fileName &name, const fileName &dir, const Time &time, const meshingSurfaceList &surfaces, const Vector< label > &nCells, const label refineFactor, const HashTable< Pair< word >> &patchOpts, const bool clearBoundary)
Construct from components.
static const List< word > patches
Default patch names for the background mesh.
~blockMeshCylindricalConfiguration()
Destructor.
void operator=(const blockMeshCylindricalConfiguration &)=delete
Disallow default bitwise assignment.
A bounding box defined in terms of the points at its extremities.
A face is a list of labels corresponding to mesh vertices.
A class for handling file names.
List of meshingSurfaces which stores the overall bounding box of all the meshingSurfaces.
A class for handling words, derived from string.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const bool)
Return a word representation of a bool.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.