eitcom / pyEIT

Python based toolkit for Electrical Impedance Tomography
Other
170 stars 96 forks source link

rectangle domain with regular mesh? #14

Closed lanzithinking closed 3 years ago

lanzithinking commented 3 years ago

Hi @liubenyuan ,

I see all your examples are defined on discs (2d) or balls (3d). Do you have functions that define the problem on rectangle domain with regular mesh? Thanks!

liubenyuan commented 3 years ago

Hi, thank you for your interest in pyeit.

You could see https://github.com/liubenyuan/pyEIT/blob/master/examples/mesh_distmesh2d.py The example3 and example5 are rectangle based shapes, modify as you needed.

You need to add 16 or N electrodes (just the numbers/IDs of boundary nodes) in order to use the mesh in Forward and Inverse simulation.

lanzithinking commented 3 years ago

Thank you very much @liubenyuan !