How to adapt the mesh size from values within a merged vtk volume ?
Hi,
I am trying to generate a mesh whose local size is defined by values within a VTK volume.
I proceed in 3 steps:
- generating the vtk volume containing local mesh sizes using python
- visualising the generated volume using pyvista
- merging the volume and generating the final mesh using gmsh
I have some problems in the step 3 when i try to merge and generate my final mesh. Here you have the small code i am using in order to do that for the moment.
Could you tell me how to debug my code please ? This is just a test in order to perform a more complex mesh generation.
Edited by rkenko