37 #ifndef snappyHexMeshConfiguration_H
38 #define snappyHexMeshConfiguration_H
69 const label refinementLevel_;
84 const bool explicitFeatures_;
90 const scalar firstLayerThickness_;
93 const scalar layerExpansionRatio_;
99 const label nCellsBetweenLevels_;
105 void writeSnappySwitches();
108 void writeGeometrySurface(
const label surfID);
111 void writeSearchableBox(
const label i);
114 void writeSnappyGeometry();
117 void writeFeatures();
120 void writeRefinementSurfacesLevel(
const label rl);
123 void writeRefinementSurfacesLevel();
126 void writeRefinementSurfacesLevel(
const word&
name);
132 void writeRefinementSurfaces();
135 void writeRefinementSurfacesRegion
142 void writeRefinementSurfacesRegions
149 void writeRefinementRegion(
const word&
name,
const label level);
152 void writeRefinementRegions();
155 void writeCastellatedMeshControls();
158 void writeSnapControls();
161 void writeAddLayersControls();
164 void writeWriteFlags();
177 const label refinementLevel,
182 const bool explicitFeatures,
184 const scalar firstLayerThickness,
185 const scalar layerExpansionRatio,
186 const point& insidePoint,
187 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()
Destructor.
void operator=(const snappyHexMeshConfiguration &)=delete
Disallow default bitwise assignment.
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 explicitFeatures, const List< Tuple2< word, label >> &layers, const scalar firstLayerThickness, const scalar layerExpansionRatio, const point &insidePoint, const label nCellsBetweenLevels)
Construct from components.
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.
const word & regionName(const solver ®ion)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.