37 #ifndef blockMeshCartesianConfiguration_H
38 #define blockMeshCartesianConfiguration_H
61 const label refineFactor_;
64 const bool clearBoundary_;
70 void calcBlockMeshDict(
const bool& boundsOpt);
73 void writeBackgroundMesh();
76 void writeDefaultPatch();
99 void writeMergePatchPairs();
119 const bool& boundsOpt,
121 const label refineFactor,
123 const bool clearBoundary
An STL-conforming hash table.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
From a set of input surface geometry files and a set of configuration parameters, writes out a blockM...
~blockMeshCartesianConfiguration()
Destructor.
blockMeshCartesianConfiguration(const fileName &name, const fileName &dir, const Time &time, const meshingSurfaceList &surfaces, const bool &boundsOpt, 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.
void write()
Write the blockMeshDict.
void operator=(const blockMeshCartesianConfiguration &)=delete
Disallow default bitwise assignment.
Functions to configure and write a blockMeshDict configuration file.
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.
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.