Skip to content

eitcom/eitmesh

Repository files navigation

eitmesh

status: experimental

Models and Meshes for pyEIT

eitmesh provides a easy-to-use interface for loading pre-built meshes into pyEIT,

import eitmesh
mesh_obj = eitmesh.load("hsymm")  # a PyEITMesh dataclass

1. Introduction

Build 2D (triangles) and 3D (tetrahedrons) mesh models using third party libraries. These meshes are for the forward and inverse simulations in EIT settings. So we will add an easy to use electrodes interface.

Some mesh-generating or mesh-converting libraries (under consideration).

  • meshio Mesh input and output conversion (by nschloe).

  • pygmsh Gmsh for Python (by nschloe).

  • meshplex Compute interesting points, areas, and volumes in triangular and tetrahedral meshes.

  • meshpy 2D/3D simplicial mesh generator interface for Python (Triangle, TetGen, gmsh)

  • tetwild Robust Tetrahedral Meshing in the Wild.

  • triwild TriWild: Robust Triangulation with Curve Constraints.

  • PyMesh Geometry Processing Library for Python. An interface, the mesh generation part are using CGAL, Triangle, TetGen and Quartet.

  • iso2mesh A 3D surface and volumetric mesh generator for MATLAB/Octave.

Visualization of 3D tetrahedron meshes.

Some thoughts on FEM simulation

  • ceviche Electromagnetic Simulation and Automatic Differentiation

2. FMMU Meshes

mesh_plot.png

Reproducible mesh files from the FMMU-EIT group.

data/DLS2.mes: Human head annotated mesh (for used in Damped Least Squares, DLS).

DLS2.png

data/I0007.mes: Small scaled down human head mesh.

I0007.png

data/IM470.mes: Regenerated assymetric mesh (Yang Bin).

IM470.png

data/hsymm.mat: Symmetric (almost) head mesh (Benyuan Liu).

hsymm22.png

3. Applications

Some sample applications. FEM/EIT simulations using pyEIT