Hi again,
I receive several meshes where the boundary conditions are not separated it means: all the outer faces are named with a single name, namely: defaultFaces
(And I can’t do anything about that issue). The meshes are generally very complex and may contain up to 20 faces (boundary conditions to be specified). So I must use the autoPatch
utility to get those faces separated and to be used as boundary conditions.
The autoPatch
generated faces (auto0, auto1, etc.) are completely random (at least for me and there is no way to know their physical meaning without visualizing them).
I am just asking for suggestions on how to do that, maybe using a python macro script? is it possible to create small GUI windows inside Paraview using Python? if that’s possible, I am pretty sure I will be able to solve my problem by invoking some bach commands using the subprocess module.
I agree with you that if the mesh is a simple one as is the case of an airfoil there should be an easy way to automate that but in my case, as I mentioned above, the meshes are generally complex (think of, compressors, wind turbines, heat exchangers) where it is impossible to rename the generated faces to meaningful names without visualization.