keurfonluu / toughio

Pre- and post-processing Python library for TOUGH
Other
59 stars 9 forks source link

Generate a non conforme mesh using toughio ? #161

Open geowomen opened 11 months ago

geowomen commented 11 months ago

Hi Kerfonluu, Thank you for all the direction and for your answers.

I have aquestion can we generate a non-conform mesh as shown in the attached image without using pygmsh. For the conform mesh i have read your comment in TOUGH Users forum :

dx = 10 * [10.0]
mesh = toughio.meshmaker.structured_grid(dx, dx, dx, material="MID")
mesh.set_material("BOT", mesh.filter.box(z0=-100, dz=20))
mesh.set_material("TOP", mesh.filter.box(z0=-20, dz=20))
mesh.plot(show_edges=True)

Do we have an option to do so ? if not can you suggest me the simple way to do it ? thank you ! non_connform_mesh