37 #ifndef snappyHexMeshConfiguration_H
38 #define snappyHexMeshConfiguration_H
182 const label refinementLevel,
187 const bool explicitFeatures,
189 const scalar firstLayerThickness,
190 const scalar layerExpansionRatio,
191 const bool insidePointsOpt,
193 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...
const bool explicitFeatures_
Using explicit feature capturing?
void writeFeatures()
Write features list in castellatedMeshControls.
void writePatchInfo(const word &type, const word &group="")
Write refinementSurfaces wall patchInfo entry.
void writeRefinementSurfacesLevel()
Write refinementSurfaces level entry using refinementLevel_.
void writeSnappySwitches()
Write switches.
void writeRefinementSurfacesRegion(const word regionName, const List< word > ®ions)
Write a refinement surface region.
~snappyHexMeshConfiguration()
Destructor.
void writeRefinementRegions()
Write refinementRegions.
void writeSearchableBox(const label i)
Write searchableBox entry for geometry sub-dictionary.
void writeRefinementSurfaces()
Write refinementSurfaces.
const List< Tuple2< word, label > > layers_
Number of layers on specified surfaces.
const List< Tuple3< word, scalar, label > > & refinementDists_
Refinement distances with level of refinement.
const label nCellsBetweenLevels_
nCellsBetweenLevels parameter
void writeRefinementSurfacesRegions(const wordList &inletRegions, const wordList &outletRegions)
Write refinement surface region information.
const scalar layerExpansionRatio_
Expansion ratio used with layer addition.
void operator=(const snappyHexMeshConfiguration &)=delete
Disallow default bitwise assignment.
void writeSnapControls()
Write snapControls.
void writeSnappyGeometry()
Write geometry sub-dictionary.
const meshingSurfaceList & surfaces_
List of surfaces used for meshing.
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 bool insidePointsOpt, const List< point > &insidePoints, const label nCellsBetweenLevels)
Construct from components.
const bool insidePointsOpt_
insidePoints option (true when '-insidePoints' selected)
void writeRefinementRegion(const word &name, const label level)
Write a refinement region.
void writeWriteFlags()
Write writeFlags.
void writeAddLayersControls()
Write addLayersControls.
const List< point > insidePoints_
insidePoints
void writeGeometrySurface(const label surfID)
Write surface entry for geometry sub-dictionary.
const label refinementLevel_
Refinement level applied across the snappyHexMeshDict file.
const scalar firstLayerThickness_
Thickness of the near wall cells with layer addition.
const List< Tuple2< word, label > > & refinementRegions_
Refinement regions specified by surface and level.
const List< Tuple3< vector, vector, label > > & refinementBoxes_
Refinement boxes with level of refinement.
void writeCastellatedMeshControls()
Write castellatedMeshControls.
meshingSurface::surfaceType surfaceType
The surface type.
const List< Tuple2< word, label > > & surfaceLevels_
Level of refinement on specified surfaces.
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.
const word & regionName(const solver ®ion)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.