37 #ifndef snappyHexMeshConfiguration_H
38 #define snappyHexMeshConfiguration_H
69 const label refinementLevel_;
84 const bool implicitFeatures_;
93 const label nCellsBetweenLevels_;
99 void writeSnappySwitches();
102 void writeGeometrySurface(
const label surfID);
105 void writeSearchableBox(
const label i);
108 void writeSnappyGeometry();
111 void writeFeatures();
114 void writeRefinementSurfacesLevel(
const label rl);
117 void writeRefinementSurfacesLevel();
120 void writeRefinementSurfacesLevel(
const word&
name);
126 void writeRefinementSurfaces();
129 void writeRefinementSurfacesRegion
136 void writeRefinementSurfacesRegions
143 void writeRefinementRegion(
const word&
name,
const label level);
146 void writeRefinementRegions();
149 void writeCastellatedMeshControls();
152 void writeSnapControls();
155 void writeAddLayersControls();
158 void writeWriteFlags();
171 const label refinementLevel,
176 const bool implicitFeatures,
178 const point& insidePoint,
179 const label nCellsBetweenLevels
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A 2-tuple for storing two objects of different types.
A 3-tuple for storing three objects of different types.
Base class for writing case files.
A class for handling file names.
List of meshingSurfaces which stores the overall bounding box of all the meshingSurfaces.
surfaceType
Type of surface.
Encapsulates queries for volume refinement ('refine all cells within shell').
From a set of input surface geometry files and some configuration parameters, writes out a snappyHexM...
snappyHexMeshConfiguration(const fileName &name, const fileName &dir, const Time &time, const meshingSurfaceList &surfaces, const label refinementLevel, const List< Tuple2< word, label >> &surfaceLevels, const List< Tuple2< word, label >> &refinementRegions, const List< Tuple3< vector, vector, label >> &refinementBoxes, const List< Tuple3< word, scalar, label >> &refinementDists, const bool implicitFeatures, const label layers, const point &insidePoint, const label nCellsBetweenLevels)
Construct from components.
~snappyHexMeshConfiguration()
Destructor.
void operator=(const snappyHexMeshConfiguration &)=delete
Disallow default bitwise assignment.
A class for handling words, derived from string.
const char *const group
Group name for atomic constants.
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.