OpenFOAM utilities, work in progress ...
aaFoamDiff.py file_1 file_2
Works on non uniform field files (timestep > 0 /U /p ....) that are defined on identical meshes.
Produces a <field>_diff file in the folder of file_1
The values are file_1 minus file_2
aaFoamForcesWatcher.py -l 50 -t 173 -r 5
aaFoamForcesWatcher.py -h
Run at case root, during the run or when the case is solved
Opens a live plot of the forces (requires the forces function in system/controlDict) as it reads the postProcessing/forces/0/force.dat file.
Python 3, numpy & matplotlib
Most of the OpenFOAM files parsing code comes from https://github.com/dayigu
Great forces file parsing ideas : https://github.com/lordvon/OpenFOAM_Tutorials/HowToPlotForces/plot_forces_of5_live.py