CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Post-Processing (
-   -   Tracking Settling Interface (

paul December 4, 2007 12:05

Hello Everyone, I am using
Hello Everyone,

I am using twoPhaseEulerFoam to model a settling case. I would like to track the interface between the two phases and then graph it. Basically, the graph will be the location of the interface (ie. height) vs. time. Is this possible? If so, how would I do it?
Note: my mesh is 3D and fairly complex. So importing the alpha values from the directory and reorganizing the values would be very very difficult.

Any suggestions would be greatly appreciated.

Thank you,

hemph December 5, 2007 04:48

Hello Paul, I was faced with
Hello Paul,
I was faced with just the same problem in my case. The way I solved it was by using a vtk probe (first convert the solution to vtk by foamToVTK). I could post you my python-script if you wanted to give it a try.

Best regards

All times are GMT -4. The time now is 18:42.