Hello,
I wanted to get a feedback on the correct way of post process OpenFOAM cases using paraview.
For better understanding, I will use case and simulation files indistinctively.
for background:
- I have a simulation that is in its decomposed state (ie., it has not been reconstructed, and the case is divided in all the processor* folders
- I have an empty .foam file (created by
touch sim.foam
) - I have my post processing python file (created from a trace in paraview)
right now, the post processing takes a relative chunck of time in the total workflow (simulation+post processing), and I would like to know if I am doing things correctly or I am missing in calculation power to ‘accelerate’ this section of the workflow.
some information:
- my PC has 8 cores with 2 threads each (mpirun is limited to 8, and I see 16 processors in htop)
- my PC has a graphic card
NVIDIA Corporation GA104GLM [RTX A3000 Mobile]
- my case is divided into 8 subdomains (the case has processor0, 1,…, 7)
- this is the about info from paraview:
Client Information:
Version: 5.13.2-1040-g1a57559ebc
VTK Version: 9.4.0-533-g5184be8117
Qt Version: 5.15.10
vtkIdType size: 64bits
Embedded Python: On
Python Library Path: /home/franco/Programs/ParaView/ParaView-5.13.20250113-MPI-Linux-Python3.12-x86_64/lib/python3.12
Python Library Version: 3.12.7 (main, Jan 13 2025, 06:08:27) [GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]
Python Numpy Support: On
Python Numpy Path: /home/franco/Programs/ParaView/ParaView-5.13.20250113-MPI-Linux-Python3.12-x86_64/lib/python3.12/site-packages/numpy
Python Numpy Version: 1.26.4
Python Matplotlib Support: On
Python Matplotlib Path: /home/franco/.local/lib/python3.12/site-packages/matplotlib
Python Matplotlib Version: 3.10.0
Python Testing: Off
MPI Enabled: On
ParaView Build ID: superbuild c6d7e04a2f5e215b44466da4f91952c39f6d5cd2 (master)
Disable Registry: Off
Test Directory:
Data Directory:
SMP Backend: TBB
SMP Max Number of Threads: 16
OpenGL Vendor: Intel
OpenGL Version: 4.6 (Core Profile) Mesa 24.3.4-1~24.04-tux1
OpenGL Renderer: Mesa Intel(R) UHD Graphics (TGL GT1)
Accelerated filters overrides available: No
Connection Information:
Remote Connection: No
currently I am running the paraview script using:
pvbatch ./paraviewScript.py
where pvbatch
is a simple alias defined in the .bashrc alias pvbatch='/home/franco/Programs/ParaView/ParaView-5.13.20250113-MPI-Linux-Python3.12-x86_64/bin/pvbatch'
also If I open my simulation by doing paraview sim.foam
and put it in vtkBlockColors I see that the geometry is all the same color (it can be seen nevertheless the internal boundaries of the processors)
I am missing or doing something wrong?
should I add something to the python script (inside of the file)?
should I run a different command instead of simply
pvbatch ./paraviewScript.py
?should I do change a setting in paraview GUI?
thanks in advance,