|
[Sponsors] |
Discontinuity at water level in stratified 2 phase flow |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 1, 2012, 05:02 |
Discontinuity at water level in stratified 2 phase flow
|
#1 |
Senior Member
Khalid Baker
Join Date: Mar 2009
Location: IRAQ
Posts: 168
Rep Power: 17 |
Hi I am trying simulating stratified two phase air water flow in a pipe (its D=98.5 mm and length = 25 m while water level fixed at 8 mm) with CFX from couple of a days ago. I set the case as 2D I divide the inlet into two parts (one for water and the second for air) to set the velocities of the individual phases separately (all details mentioned at the attached report). I used the homogeneous model because the phases never mixed and with steady state analysis type. Also I made a CEL expression to some variables similar to that mentioned in free surface flow over a Bump tutorial (see attachment for ccl file too).
The problem I face currently the water is formulated near the lower inlet in a very small portion of pipe length then disappeared (see first image attached) then re-formulated after nearly 2 meters of length (which full length is 25 m) and still fixed at this level (as I want it) to the outlet (see the other image for vof attached). I am wondered why this discontinuity appeared in water at the results? what happened? Any suggestions please? Last edited by kbaker; June 1, 2012 at 05:25. |
|
June 2, 2012, 07:37 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
What is the mesh size in this region?
|
|
June 2, 2012, 11:51 |
|
#3 |
Senior Member
Khalid Baker
Join Date: Mar 2009
Location: IRAQ
Posts: 168
Rep Power: 17 |
Hi Glenn the mesh is equally spaced over the entire length there is 600 elements distributed over the 25 m length of the pipe (I draw the mesh in Gambit) while for the vertical dimension there is 40 elements for the 100 mm diameter as I said the mesh distributed equally over the length so there is no different in mesh quality at inlet and outlet as I expect.
|
|
June 3, 2012, 08:12 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
Your mesh across the diameter is a bit coarse, you are resolving the water in only 4 nodes or so.
But the problem you are seeing is going to be something about your set up. Either it is not converged properly or not set up properly. |
|
June 3, 2012, 09:32 |
|
#5 |
Senior Member
Khalid Baker
Join Date: Mar 2009
Location: IRAQ
Posts: 168
Rep Power: 17 |
There is 10 nodes for water and 30 nodes for air? The convergence is very well and I post my problem setup at the previous zip file in my first post you can have a look? Even if you need my cfx-pre file I can post it here?
Last edited by kbaker; June 3, 2012 at 12:50. |
|
June 3, 2012, 20:26 |
|
#6 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
The zip file only contains a small section of CCL. Can you post the full CCL?
|
|
June 4, 2012, 09:04 |
|
#7 |
Senior Member
Khalid Baker
Join Date: Mar 2009
Location: IRAQ
Posts: 168
Rep Power: 17 |
Hi Glenn I check the CCL file on the attached zip file it full and nothing missing with it you can have a look at the Report.html file which contain the problem settings too or you can download my cfx-pre file from the link below I uploaded it:
http://www.4shared.com/file/snuV21Oh/two_inlets.html Last edited by kbaker; June 4, 2012 at 12:49. |
|
June 6, 2012, 02:55 |
|
#8 |
Senior Member
Khalid Baker
Join Date: Mar 2009
Location: IRAQ
Posts: 168
Rep Power: 17 |
Glenn did you check the cfx-pre file I sent you? You not reply me yet?
|
|
June 6, 2012, 03:09 |
|
#9 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
I only want to look at your CCL. Please extract the full CCL and post that.
|
|
June 6, 2012, 03:50 |
|
#10 |
Senior Member
Khalid Baker
Join Date: Mar 2009
Location: IRAQ
Posts: 168
Rep Power: 17 |
CEL:
EXPRESSIONS: DenH = (DenWater - DenRef) DenRef = 1.225 [kg m^-3] DenWater = 1000 [kg m^-3] DownH = 0.008 [m] DownPres = DenH*g*DownVFWater*(DownH-y) DownVFAir = step((y-DownH)/1[m]) DownVFWater = 1-DownVFAir UpH = 0.008 [m] UpPres = DenH*g*UpVFWater*(UpH-y) UpVFAir = step((y-UpH)/1[m]) UpVFWater = 1-UpVFAir END END |
|
June 6, 2012, 04:11 |
|
#11 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
That is just the section specifying the CEL. The full CCL includes the bondary condition setup, convergence parameters, output file specification, physical models, material properties and lots more.
|
|
June 6, 2012, 06:08 |
|
#12 |
Senior Member
Khalid Baker
Join Date: Mar 2009
Location: IRAQ
Posts: 168
Rep Power: 17 |
Sorry here is it
|
|
June 6, 2012, 07:20 |
|
#13 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
Some comments:
1) Free surface modelling is tricky in steady state. Very hard to get convergence. Try doing it as a transient model. This is especially the case as this is a surface tension model. 2) Are you sure surface tension is significant on these length scales? Surface tension modelling increases the difficulty of the mode a lot. 3) Your convergence tolerance is loose. |
|
June 6, 2012, 07:46 |
|
#14 |
Senior Member
Khalid Baker
Join Date: Mar 2009
Location: IRAQ
Posts: 168
Rep Power: 17 |
Thanks a lot
1) I will take your advice about shifting to transient analysis. 2) I activate surface tension option because I am interested in generating waves at the interface furthermore I took the values of velocities, liquid level , pipe diameter and pipe length depending on an experimental case mentioned in a paper I want to validate CFX results with it. 3) How my convergence tolerance not specified? I set it as 1E-04? |
|
June 6, 2012, 08:05 |
|
#15 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
2) You do not need surface tension to generate waves. I think you will find ST is not having a significant effect on the final results, but will make convergence MUCH harder to achieve.
3) Yes, and 1E-4 is quite loose for a steady state model. |
|
June 6, 2012, 08:14 |
|
#16 |
Senior Member
Khalid Baker
Join Date: Mar 2009
Location: IRAQ
Posts: 168
Rep Power: 17 |
2) You advice me still working with steady state simulations but without activating surface tension?
3) How much you think the better tolerance value for steady-state modeling? |
|
June 6, 2012, 08:18 |
|
#17 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
2) Definitely turn ST off unless you know you need it. Try that first, and if you still have problems try transient.
3) Do a sensitivity check to work out the convergence residual you need for this model for the accuracy you want to achieve. |
|
June 12, 2012, 14:52 |
|
#18 |
Senior Member
Khalid Baker
Join Date: Mar 2009
Location: IRAQ
Posts: 168
Rep Power: 17 |
Glenn I attempt to change my problem to transient but the following message appeared to me:
In Analysis 'Flow Analysis 1' - Domain 'Default Domain': Transient analyses require that initial conditions are specified unless an Initial Values file is specified at run-time. I tried several options but failed to fix it? may you tell me with details how to resolve it? |
|
June 12, 2012, 20:47 |
|
#19 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
That sounds pretty straight forward to me - you just need to define an initial condition.
|
|
June 13, 2012, 09:03 |
|
#20 |
Senior Member
Khalid Baker
Join Date: Mar 2009
Location: IRAQ
Posts: 168
Rep Power: 17 |
I need to make the whole problem unsteady because I still face convergence difficulties with steady state solution you advice me to go through transient at your last posts if you remember (see the above posts pls)?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
two phase slug flow | Justion | FLUENT | 4 | June 5, 2014 11:47 |
Two Phase Flow Problem | miner15kick | CFX | 5 | October 28, 2010 19:03 |
Two phase T-junction pipe flow Viscous model | Kortels | FLUENT | 0 | September 10, 2010 07:18 |
Stratified Oil-water Flow simulation | Mijail | FLUENT | 2 | May 18, 2009 21:20 |
How to set volume fraction in two phase flow | Kamel | FLUENT | 2 | March 23, 2007 01:06 |