CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   interTrackFoam for rising bubble (

michielm November 16, 2010 12:47

interTrackFoam for rising bubble
I am working on adapting the hydrofoil tutorial case that comes with the interTrackFoam solver to a gas bubble rising in a stagnant liquid. What I've done until this point is the following:

- created a (2D) mesh with a 'hole' (the bubble) in the middle
- adjusted constant/polyMesh/boundary file to have a left, right, bottom and top and a freeSurface (the interface of the bubble) and of course the frontAndBackPlanes
- adjusted constant/faMesh/faMeshDefinition to have only frontAndBackPlanes attached to the freeSurface (unlike the hydrofoil case my freeSurface is not attached to other boundaries)
- adjusted 0/motionU to have slip on all sides and a fixedValue (000) on freeSurface
- adjusted 0/U to have zeroGradient on all sides and a fixedGradient (000) on freeSurface
- left 0/p as in the hydrofoil case

I can create the faMesh and interTrackFoam starts to run but in the first timestep the curvature gets out of hand and the solver crashes with 'floating point exception'.

Does anyone know what could be the reason for this?

And another question: does interTrackFoam remesh the domain while solving? (which I would say is needed for a rising bubble)

gwierink March 5, 2011 09:09

Hi Michiel,

Perhaps a bit late, but there is actually a solver for a rising bubble using interTrackFoam. The solver is called bubbleInterTrackFoam and was developed by Zeljko Tukovic during his PhD thesis. I think the basic solver is part of OpenFOAM-1.5-dev and perhaps also of 1.6-ext.

michielm March 6, 2011 11:43

Hi Gijs,
I've seen the new solver in OF 1.6-ext, but thanks for pointing it out anyway.

The rising bubble was actually just a testcase to try and get to grips with interTrackFoam. Eventually I would be interested in using it for a droplet or bubble in a partially wetting channel, but I think the boundary conditions for that are not yet implemented.



gwierink March 6, 2011 13:27

Hi Michiel,

Ok, well, in that case you might be interested in the work of Sandeep Menon. He used interTrackFoam to model droplet breakup, if I remember right. You can find some info and even some downloadable code on Sandeep's website.

All times are GMT -4. The time now is 03:16.