CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Water tank baffles - modeling the flow with tank half full

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 31, 2014, 13:08
Default Water tank baffles - modeling the flow with tank half full
  #1
Member
 
Abdul Afoo Parkar
Join Date: Oct 2012
Posts: 42
Rep Power: 13
A_Prakash is on a distinguished road
Hello there,

I would very much appreciate your advice in helping me set-up the following problem to get meaningful results:

Tank description (see attached figure):
> 35m L x 25 W x 7m High tank
> Water level at 3.5 m
> Constant steady flow from top (inlet BC) at roughly 100kg/s
> Outlet at bottom (100 kg/s)

Question:
Do I really need to have two different domains (air and water) in CFX in order to set-up a two phase problem?
I am using this approach. Specifying volume fractions of air and water. I am able to get the free-surface. However, there is something amiss..as solution starts to diverge. As in, water keeps circulating locally at inlet....there's hardly any action at outlet.


Could any of you here share your idea of best practice in such problem. My final objective is to estimate the extent of re-circulation for various baffle configs. I wish to refine my approach to be able to estimate average residence time, if possible.
Attached Images
File Type: jpg Tank.JPG (20.3 KB, 68 views)
A_Prakash is offline   Reply With Quote

Old   December 31, 2014, 17:14
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,729
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I assume you want the simulation to model the water surface level as it changes enough to be significant. In this case this is a single domain simulation, but with two phases. The free surface model will do it. You will also probably need to model this transient, even if you are looking for the final steady state condition.

Have you done the free surface over a bump tutorial? That shows the basics of how to set up these sort of simulations.

You should be able to get recirculations and residence times when this model is running correctly.
ghorrocks is offline   Reply With Quote

Old   January 1, 2015, 00:51
Default
  #3
Member
 
Abdul Afoo Parkar
Join Date: Oct 2012
Posts: 42
Rep Power: 13
A_Prakash is on a distinguished road
Thanks Glenn. I will follow your tips. Yes, I will start from scratch by going over the tutorial. I will keep the forum posted!
Cheers and happy new year!
A_Prakash is offline   Reply With Quote

Old   January 1, 2015, 04:35
Default
  #4
Member
 
Abdul Afoo Parkar
Join Date: Oct 2012
Posts: 42
Rep Power: 13
A_Prakash is on a distinguished road
Ok. I followed the philosophy outlined in the tutorial. The main difference between the tutorial and my problem is the closed tank.
With regard to setting up the approximate volume fraction, I specified the water height approximately half of the tank volume. Thereafter, I put in the appropriate expressions to specify the volume fractions as a function height (z coordinate).

For initial steady-state run, this is how I adapt the tutorial for my model:
1) Because the tutorial has an entertainment/opening BC; I knew that I couldn't go with downstream pressure (DownPres expression) for my problem-which is enclosed tank with specified flow in and mechanically extracted flow out. Therefore, I specified inlet with normal speed (0.1 m/s), VOFair=0 and VOFwater=1.
2) At outlet I put the same flow out (0.1 m/s).
3) Domain initialization for velocity and pressure = AUTOMATIC (unlike the case in tutorial)
4) VOF values were specified (same way as in tutorial)
5) UpH specified as per my water level. DownH= UpH-0.3m (just a rough guess)
*As far as mesh refinement goes, I had manually refined it at halfway mark..therefore, I did not activate it in the model...to keep it simple for now.

Here is my problem now:
My tanks seems to be progressively emptying. Water level keeps coming down. My objective is to model the steady-state water-in and water-out process. Examining the VOF contours, I can see that I have the initial water
and air VOF correct. Looking closely at the inlet, I see that there is no continous water stream through inlet. See pic. I suspect pressure BC isn't right.
Many thanks for your advise.
Attached Images
File Type: jpg Tank-jpg-01.jpg (21.9 KB, 51 views)
A_Prakash is offline   Reply With Quote

Old   January 1, 2015, 05:26
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,729
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
As I said in my previous post, you are probably (almost certainly actually) going to need to run this transient. It will not work steady state due to gravity waves on the free surface.

1) OK
2) OK, but where do you set the pressure level? The pressure needs to be set somewhere.

There will always be an imbalance in inlet and outlet flow. This is another reason why you cannot run this steady state. At least in a transient simulation the level should only change slowly. Consider a pressure outlet where the pressure is the static head of the depth you want to maintain.
ghorrocks is offline   Reply With Quote

Old   January 1, 2015, 05:36
Default
  #6
Member
 
Abdul Afoo Parkar
Join Date: Oct 2012
Posts: 42
Rep Power: 13
A_Prakash is on a distinguished road
Thanks you very much for your input. Yes, I better go the static pressure head option.
Also, I have to run it in transient mode.

From my previous experience with running the problem (before I posted here)..I found that time interval size has to be chosen carefully. For example, simu time of 60 sec with delta.t of 1s returned more meaningful result compared to running the model for 10 minutes with delta.t of 4s.
From tutorials they mention residence time(Rt). R(t)=Characteristic length/Velocity (makes more sense for uni-directional flow). For tanks with flow bends it better to use R(t)=WaterVolume/flowrate. Could you share some insights into how best to choose the time?
A_Prakash is offline   Reply With Quote

Old   January 1, 2015, 05:48
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,729
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Forget about residence time. That is not applicable for transient simulations. For a transient simulation you need to do a time step size sensitivity analysis to determine time step size. But for free surface simulations it is a really good idea to use adaptive time stepping to automatically find the time step - use 3-5 coeff loops per iteration with a max and min time step size wide enough that you never reach them.
ghorrocks is offline   Reply With Quote

Old   January 1, 2015, 05:51
Default
  #8
Member
 
Abdul Afoo Parkar
Join Date: Oct 2012
Posts: 42
Rep Power: 13
A_Prakash is on a distinguished road
Sounds good! Will try it out. Thanks
A_Prakash is offline   Reply With Quote

Old   January 1, 2015, 06:10
Default
  #9
Member
 
Abdul Afoo Parkar
Join Date: Oct 2012
Posts: 42
Rep Power: 13
A_Prakash is on a distinguished road
Nopes! Does not want to work I have attached the out file. There is 100% backflow at outlet (referenced as "OPEN" in attached ccl).
Attached Files
File Type: txt FORUM_Wbb-x1005-transient-c_001.txt (12.2 KB, 21 views)
A_Prakash is offline   Reply With Quote

Old   January 1, 2015, 06:20
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,729
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The whole idea of the pressure outlet is that it can backflow if it needs to when the water level is low. So of course it is going to have backflow. So make it an opening to allow this.

Also - I suspect you are not setting the pressure on the outlet/opening correctly. Have a close look at it and make sure it is correct.
ghorrocks is offline   Reply With Quote

Old   January 1, 2015, 07:30
Default
  #11
Member
 
Abdul Afoo Parkar
Join Date: Oct 2012
Posts: 42
Rep Power: 13
A_Prakash is on a distinguished road
Found one major mistake . I did not turn on the Homogeneous free surface tracking option. Redoing the analysis again now.
A_Prakash is offline   Reply With Quote

Old   January 1, 2015, 10:43
Default
  #12
Member
 
Abdul Afoo Parkar
Join Date: Oct 2012
Posts: 42
Rep Power: 13
A_Prakash is on a distinguished road
Absolutely appreciate your advise, Glenn.
After chasing this for a couple of hours, I have managed to get my transient simulation going with adaptive time steps. Fixed some of the errors in my input. I am quite happy with the initial results of the run...Hope when I come back later... I don't have any surprises *fingers crossed*
A_Prakash 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 05:21
CFD Modeling of Two-phase Flow in Small Dia.Tubes Eric Poindexter Main CFD Forum 2 September 22, 2000 09:21
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 21:31
Hydrostatic pressure in 2-phase flow modeling (long) DS & HB Main CFD Forum 0 January 8, 2000 15:00
Flow patterns in a stirred tank Glenn Price Main CFD Forum 13 March 20, 1999 10:16


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