Meshing#

Meshing Interfaces#

MeshingParams

Meshing parameters for volume and/or surface mesher.

ModularMeshingWorkflow

Structure consolidating surface and volume meshing parameters.

Unified Meshing API#

Classes related to the MeshingParams interface.

MeshingDefaults

Default/global settings for meshing parameters.

SurfaceEdgeRefinement

Setting for growing anisotropic layers orthogonal to the specified Edge (s).

AngleBasedRefinement

Surface edge refinement by specifying curvature resolution angle.

HeightBasedRefinement

Surface edge refinement by specifying first layer height of the anisotropic layers.

AspectRatioBasedRefinement

Surface edge refinement by specifying maximum aspect ratio of the anisotropic cells.

ProjectAnisoSpacing

Project the anisotropic spacing from neighboring faces to the edge.

SurfaceRefinement

Setting for refining surface elements for given Surface.

BoundaryLayer

Setting for growing anisotropic layers orthogonal to the specified Surface (s).

PassiveSpacing

Passively control the mesh spacing either through adjacent Surface's meshing setting or doing nothing to change existing surface mesh at all.

UniformRefinement

Uniform spacing refinement inside specified region of mesh.

AxisymmetricRefinement

GeometryRefinement

Setting for refining surface elements for given Surface.

Modular Meshing Workflow#

Classes related to the ModularMeshingWorkflow interface.

Snappy Mesher#

snappy.SurfaceMeshingParams

Parameters for snappyHexMesh surface meshing.

Specifications#

snappy.CastellatedMeshControls

snappyHexMesh castellation controls.

snappy.QualityMetrics

Mesh quality control parameters for snappyHexMesh meshing process.

snappy.SmoothControls

Mesh smoothing controls.

snappy.SnapControls

snappyHexMesh snap controls.

snappy.SurfaceMeshingDefaults

Default/global settings for snappyHexMesh surface meshing parameters.

OctreeSpacing

Helper class for octree-based meshers.

Refinements#

snappy.BodyRefinement

Refinement for snappyHexMesh body (searchableSurfaceWithGaps).

snappy.RegionRefinement

Refinement for the body region in snappyHexMesh.

snappy.SurfaceEdgeRefinement

Edge refinement for bodies and regions in snappyHexMesh.

UniformRefinement

Uniform spacing refinement inside specified region of mesh.

New Volume Mesher#

VolumeMeshingParams

Volume meshing parameters.

VolumeMeshingDefaults

Default/global settings for volume meshing parameters.

UniformRefinement

Uniform spacing refinement inside specified region of mesh.

BoundaryLayer

Setting for growing anisotropic layers orthogonal to the specified Surface (s).

PassiveSpacing

Passively control the mesh spacing either through adjacent Surface's meshing setting or doing nothing to change existing surface mesh at all.

AxisymmetricRefinement

Zones#

Zones are used to define the creation of volume zones in the meshers, regardless of the interface.

AutomatedFarfield

Settings for automatic farfield volume zone generation.

UserDefinedFarfield

Setting for user defined farfield zone generation.

WindTunnelFarfield

Settings for analytic wind tunnel farfield generation.

CustomZones

CustomZones class for creating volume zones from custom volumes or seedpoint volumes.

RotationVolume

Creates a rotation volume mesh using cylindrical or axisymmetric body entities.

Outputs#

To inspect the generated mesh, specific meshing outputs need to be defined.

MeshSliceOutput

MeshSliceOutput class for mesh slice output settings.

Farfield Zone Specifications#

Farfield Specs

Specification classes for farfield zones (e.g., AutomatedFarfield, UserDefinedFarfield, WindTunnelFarfield)

Farfield Specifications