-
Notifications
You must be signed in to change notification settings - Fork 1
Meshing
UPXO can generate Finite Element (FE) meshes directly from grain structures, both conformant and non-conformant to grain boundaries.
Grain boundary geometry conformant meshes align element edges with grain boundaries, essential for accurate FE simulations of grain-scale phenomena.
Key module: meshing/conformal_mesher2d.py, meshing/gsmesh2d.py
Optional dependency: pip install upxo[mesh] (installs pyvoro and tetgen)
Non-conformant meshes use a regular grid overlay — faster to generate, suitable for phase-field and homogenisation approaches.
Key module: meshing/nonConformalMesher.py
- VTK (
.vtk,.vtu,.vti) — viapyvista - Abaqus input (
.inp) — viameshing/pxtalmesh_01.py - Gmsh (
.msh) — optional viagmsh
- Full 3D tetrahedral meshing workflow
- Periodic boundary condition mesh generation
- Direct export to commercial FE solvers
Home | Getting Started | API Reference | PyPI | YouTube | GitHub
© 2026 UK Atomic Energy Authority (UKAEA) — GPL-3.0
Getting Started
Grain Structure Generation
Analysis & Operations
Output
Use Cases
Development
External