Example of hybrid (structured-unstructured) mesh plot with matplotlib and python-vtk.
Allrun script:
- Creates (if it is not already created) mesh using Gmsh.
- Converts disk.msh using gmshToFoam.
- Corrects boundary dictionary: sets walls patch type to wall, and front-n-back patch type to empty.
- Runs potentialFoam.
- Samples flow field with sample utility.
- Creates plots (U_center-plane.pdf & U_center-plane.png) using plot-vtk.py script.
Allclean script removes results of Allrun.