stellarmesh.VolumeMesh

class VolumeMesh(mesh_filename: str | bytes | PathLike | None = None)Source

Volume Mesh.

classmethod from_geometry(geometry: Geometry, options: GmshVolumeOptions) VolumeMeshSource

Mesh solids with Gmsh.

See Gmsh documentation on mesh sizes: https://gmsh.info/doc/texinfo/gmsh.html#Specifying-mesh-element-sizes

Parameters:
  • geometry – Geometry to be meshed.

  • options – Meshing options.

skin() SurfaceMeshSource

Transform a tetrahedral volume mesh into a triangular surface mesh.