butterfly.meshingparameters module¶
Butterfly Meshing Parameters.
Collection of meshing parameters for blockMesh and snappyHexMesh.
-
class
butterfly.meshingparameters.
MeshingParameters
(cell_size_xyz=None, grading=None, locationInMesh=None, globRefineLevel=None)[source]¶ Bases:
object
Meshing parameters.
-
cell_size_xyz
¶ Cell size in (x, y, z) as a tuple (default: length / 5). This value updates number of divisions in blockMeshDict.
-
grading
¶ A simpleGrading (default: simpleGrading(1, 1, 1)). This value updates grading in blockMeshDict.
-
locationInMesh
¶ A tuple for the location of the mesh to be kept. This value updates locationInMesh in snappyHexMeshDict.
-
globRefineLevel
¶ A tuple of (min, max) values for global refinment. This value updates globalRefinementLevel in snappyHexMeshDict.
-
grading
simpleGrading(1, 1, 1)).
Type: A simpleGrading (default
-
isMeshingParameters
¶ Return True.
-