How to add some usr-defined function in postmfix (bubble properties)

If you are exporting VTU files, you can script Paraview to extract the bubble properties. A pipeline such as:

  1. contour Epg = 0.9
  2. marching cubes to segment the contours
  3. vtk mass properties to extract bubble size, etc.

Bubble rise velocity is a little more difficult. Need to match bubbles between time steps and calculate the displacement.