Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Tracking two phase flow of bubble and moving free surface

Please login with a confirmed email address before reporting spam

Hello - I have a question regarding the use of the Level Set Method for Two Phase flow in COMSOL 4.3? I have included a figure to explain the question. I have a flow domain with two fluids (called fluid 1 and fluid 2). I have a bubble of fluid 2 inside of a fluid 1 domain near a free surface of a fluid 2 domain. My goal is to figure out how the distance h of fluid 1 between the bubble and the moving free surface changes as I inject fluid 1 from the bottom into the domain as shown? It is complicated, because with time fluid 1 is injected from the bottom and this moves the bubble and the free surface upward away their initial positions (i.e. gives me trouble with probes). I want to track h relative to the moving bubble and free surface. One way I attempted this was to integrate the volume fraction of fluid 1 along the center line with a probe boundary tool. The problem with this is that it gives me the fluid 1 thickness not only ahead of the bubble but behind it as well. I just want the thickness of fluid 1 in front of bubble. Any assistance would be greatly appreciated.



1 Reply Last Post 4 mars 2013, 01:05 UTC−5
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 4 mars 2013, 01:05 UTC−5
Hi

I suppose that you should be able to get the CoG (centre of Gravity of your bubble, by integrating over your domain, of the boolean test

y*(level_set_variable>0.5)

then for you to estimate the remaining "h

Perhaps a max() would do too, but that is very CPU & time consuming

--
Good luck
Ivar
Hi I suppose that you should be able to get the CoG (centre of Gravity of your bubble, by integrating over your domain, of the boolean test y*(level_set_variable>0.5) then for you to estimate the remaining "h Perhaps a max() would do too, but that is very CPU & time consuming -- Good luck Ivar

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.