Parallel partitions visualization

Dear all,

I have an OpenFOAM case that I run in parallel and I load using the classic .foam file. Is there a simple way to visualize the parallel partitions?

The case is a multi-region problem, so in the dropdown list vtkBlockColors displays the regions, not the parallel partions.

Thanks in advance,

That means you are not reading the data in a distributed way.

Well actually I am


Still, vtkBlockColors shows regions, not partitions.
Actually I have checked that also in a single-region case vtkBlockColors does not show partitions.
I managed to visualize single partitions creating a .foam file in each processor* folder, but seems kind of a dirty solution, I cannot believe this cannot be done loading a decomposed case.

Are you running ParaView with a distributed server ?

No, it’s a personal laptop with Windows, and I run OpenFOAM on a Linux WSL.

:slight_smile:

afaik, the openfoam reader does not create a dedicated field to see how the data was distributed, but it is able to distribute the data accress server if you run ParaView distributed.

I suppose visualizing partitions while reading serially was not deemed an interesting usecase ?

In any case you can extract this info by adding the following:

  • ExtractBlock
  • MergeBlocks , uncheck MergePoints
  • Connectivity

Amazing, thanks a lot!