Hi everyone,
I’m a vtk newcomer and I have started writing a c++ program to convert an openfoam mesh to another mesh format. So far, I managed to extract the internal mesh adapting
the example. I can also list the names of the patches. But I can’t figure out how to extract the patch faces. Looking at the vtk open foam reader code I see that there is a vtkOpenFOAMReaderPrivate class where the ReadFacesFile() call is, but the class is not available from outside and the public methods of vtkOpenFOAMReader class do not seem to have an option to extract these data. However, I am sure that this is doable because paraview does it, only I can’t figure out how. Any help would be greatly appreciated.