CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Stratified Two-Phase Flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 26, 2010, 02:15
Default
  #21
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Sorry, ignore the comment on cavitatingFoam. I was actually referring to interPhaseChangeFoam, which is a VOF code with mass-transfer.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   May 26, 2010, 06:43
Default
  #22
Member
 
Sabin Ceuca
Join Date: Mar 2010
Location: Munich
Posts: 42
Rep Power: 16
sabin.ceuca is on a distinguished road
Hi guys, I am also working on the simulation of 2-phase stratified flow with OpenFOAM. I would recommend to you “Metro”, that you don’t start the simulation with the full “steam” velocity of 10m/s but using a ramp starting from u_steam = u_water. I have experienced a lot of crashes if not preceding so.
Greatings Sabin
sabin.ceuca is offline   Reply With Quote

Old   May 30, 2010, 02:19
Default
  #23
New Member
 
Join Date: May 2010
Posts: 27
Rep Power: 16
metro is on a distinguished road
Hey

I have been experimenting with the twoPhaseEulerFoam and been applying it to a 10inch pipe with non uniform B.C to determine its accuracy. The conditions were applied with funkySetFields and groovyBC and are piecewise functions for simplicity. Ive also filled half of the control volume with liquid to help with convergence. The problem which I am encountering is that the system isn't converging and my Courant number exceeds the limits set in the control dict. Any help will be greatly appreciated.............

(PS Ive already increased the maxdeltaT and changed the U values but no use)

Thanks

Metro

Last edited by metro; May 31, 2010 at 05:06.
metro is offline   Reply With Quote

Old   May 30, 2010, 03:17
Default
  #24
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Change one condition at a time to understand what is causing the problem.

You should reduce the maxDeltaT if you have that kind of problem, not increase it :-)
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   May 30, 2010, 19:01
Default
  #25
New Member
 
Join Date: May 2010
Posts: 27
Rep Power: 16
metro is on a distinguished road
Hey Alberto,

I have done the following -

1) decrease the maxdeltaT to 1e-7 (My mistake in the previous thread )

2) changed the velocities to more realistic figures (1 and 10m/s for liquid and gas)

3) set the internalfield for both the alpha and the velocities (done with funkysetfields and checked in paraView)

4) checked the pressure boundary conditions

And it is still not working, Do you have any ideas? Im stuck and realy need some help. Also does anyone have the details on the interPhaseChangeFoam tutorial and the governing equations?

Thanks

Metro
metro is offline   Reply With Quote

Old   June 4, 2010, 09:02
Default
  #26
Member
 
Sabin Ceuca
Join Date: Mar 2010
Location: Munich
Posts: 42
Rep Power: 16
sabin.ceuca is on a distinguished road
@Metro can you post your input files? Ok, I am not an advanced user of OF but maybe I can help
Greats
sabin.ceuca is offline   Reply With Quote

Old   June 11, 2010, 02:09
Default
  #27
New Member
 
Join Date: May 2010
Posts: 27
Rep Power: 16
metro is on a distinguished road
Thanks for the input. I found that I set the phase interfacial properties incorrectly and as a result it affected the convergence. It seems to be working now.

I am currently looking into incorporating a temperature field into the twoPhaseEulerFoam solver. Is there any one who has done this and might be able to assist.

Thanks Metro
metro is offline   Reply With Quote

Old   June 11, 2010, 05:58
Default
  #28
Member
 
Sabin Ceuca
Join Date: Mar 2010
Location: Munich
Posts: 42
Rep Power: 16
sabin.ceuca is on a distinguished road
There are 2 tutorials, take a look at them http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam
and
http://www.cfd-online.com/Forums/ope...interfoam.html
sabin.ceuca is offline   Reply With Quote

Old   June 11, 2010, 15:46
Default
  #29
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by metro View Post
I am currently looking into incorporating a temperature field into the twoPhaseEulerFoam solver. Is there any one who has done this and might be able to assist.
How do you plan to do this? Meaning, how does your energy equation look like?

Best,
A.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   January 19, 2012, 05:20
Default hello sir,
  #30
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 15
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
i m started to solve the problem of two phase pipe flow using interDyMFoam solver in which two liquid water and air flowing inside the pipe.but both have different velocities so how can i take care of the boundary condition at inlet?
at the inlet of the pipe the half portion carries water and another half portion carries air but how can i define B.C.?

please help me.
jignesh_thaker2007 is offline   Reply With Quote

Old   January 19, 2012, 07:56
Default
  #31
Member
 
Sabin Ceuca
Join Date: Mar 2010
Location: Munich
Posts: 42
Rep Power: 16
sabin.ceuca is on a distinguished road
Hi Jignesh,
the solution to your problem is to split your inlet patch in two parts:
one for the air inflow the other for the water inlet. If you don't want to remesh your domain, as required in order to split a patch, you can use swak4Foam or groovyBC (just google for them). They help you to define a BC as an expersion of, in your case, (x,y,z).
Good luck
sabin.ceuca is offline   Reply With Quote

Old   January 21, 2012, 02:14
Default Hii
  #32
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 15
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
Actually i drew geometry in Gambit and i split inlet in two parts in gambit. then i convert this geometry in openFoam also i put all condition related about that plz check this problem is it right or roungh? so plz give me your mail Id so i will send it to you.

thanks
Jignesh








Quote:
Originally Posted by sabin.ceuca View Post
Hi Jignesh,
the solution to your problem is to split your inlet patch in two parts:
one for the air inflow the other for the water inlet. If you don't want to remesh your domain, as required in order to split a patch, you can use swak4Foam or groovyBC (just google for them). They help you to define a BC as an expersion of, in your case, (x,y,z).
Good luck
jignesh_thaker2007 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
Two phase flow with condensation Sunnie FLUENT 0 May 31, 2009 11:02
Stratified Two Phase Flow ravi1650 FLUENT 1 May 29, 2009 06:13
Error in Lax-wendroff with two phase flow k.baker Main CFD Forum 1 November 24, 2007 05:22
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 22:31


All times are GMT -4. The time now is 00:21.