Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i create a VORONOI MESH and visualise it in TOUGHIO? #143

Open
tjuCJC opened this issue Jul 18, 2023 · 2 comments
Open

How can i create a VORONOI MESH and visualise it in TOUGHIO? #143

tjuCJC opened this issue Jul 18, 2023 · 2 comments

Comments

@tjuCJC
Copy link

tjuCJC commented Jul 18, 2023

I need to calculate a slope model, so I need to create a voronoi mesh like that. how can i make a voronoi mesh, and use it in the TOUGHIO. Picture shown below is a sample that i want to achieve
image

@jtecklenburg
Copy link

Here [1] I saw a tool [2] to create voronoi meshes for TOUGH. This tool can write VTU-files. You can create a TOUGH mesh, export the mesh as a VTU and run your simulations. Then you can use TOUGHIO to read the results and attach the results to the VTU files. Read the VTU with pyvista. Warning: When you are simulating with more than one core, the order of elements in the TOUGH results can be different to the order in the VTU mesh.

[1] https://tough.lbl.gov/pre-and-post-processors/
[2] https://site.unibo.it/softwaredicam/en/software/voro2mesh-and-tough2viewer-for-unstructured-voronoi-modflow-grids-1

@jtecklenburg
Copy link

Here is another python module to work with Voronoi meshes and TOUGH:
https://github.com/jtecklenburg/voromesh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants