Meshwell#


Robust, efficient Python-based 2.5D meshing.

🧱 Key Features#

  • Preprocessing of Shapely-based inputs:

    • vertex snapping + sub-tolerance buffering for robustness against arbitrary inputs with minimal distortion

    • automated curve fitting for seamless curvilinear meshing

    • Prismatic or tetrahedral elements

  • Shared-memory parallel CAD with OpenCASCADE

  • Shared-memory parallel meshing with GMSH

  • Simplified remeshing with MMG

📦 Installation#

pip install meshwell

📖 Documentation#

For more information and examples, visit the Documentation Site.

Some more notes about this package and documentation#

  • Many examples are rendered in the Notebook using Matplotlib. For better visualization, in practice the GMSH GUI is preferred.

  • The package focuses on the automated generation of unstructured triangle and tetrahedral meshes for “complicated” polygon-based geometries, with support for structured (wedge) meshing of prismatic regions. Some planned features include more mesh types, improved parallelism options, and more advanced polygon-to-smooth shape processing.