|
[Sponsors] |
September 3, 2013, 05:00 |
Pressure driven flow in vertical pipe
|
#1 |
Member
Hale
Join Date: May 2013
Posts: 53
Rep Power: 13 |
Hi to all,
I have a tank connected to a vertical pipe. The tank is full of water and the sides of the tank have the following boundary condition Inlet U: zeroGradient; p: zeroGradient; alpha1: fixedValue uniform 1; The water in the tank would then fall into the vertical pipe. The outlet of the pipe has the following boundary condition outlet U: zeroGradient; p: fixedValue uniform -250; alpha1: zeroGradient; The upper side of the tank is then open to the atmosphere with following boundary condition atmosphere U: inletOutlet; p: totalPressure (p0=0); alpha1: zeroGradient; In this way I want the water to fall down based on the pressure difference between outlet and inlet. But with the mentioned boundary conditions the water moves upward and the simulation crashes after some seconds. I guess that the hydrostatic pressure at the outlet causes problems, since there is a positiv hydrostatic pressure corresponding to the water in the pipe. Am I choosing wrong boundary conditions? I really appreciate any help and idea. NB. I'm using interFoam. |
|
September 4, 2013, 14:47 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
well whats your OpenFOAM version ?
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
September 4, 2013, 18:44 |
|
#3 |
Member
Hale
Join Date: May 2013
Posts: 53
Rep Power: 13 |
It's version 2.0.1
|
|
September 5, 2013, 01:53 |
|
#4 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
then you should assign p_rgh not p! p will be calculated then through solving problem whats your p_rgh configurations?
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
September 5, 2013, 05:15 |
|
#5 | |
Member
Hale
Join Date: May 2013
Posts: 53
Rep Power: 13 |
Quote:
By the way do you know how to change the values for Sp and Su. In the page below, post #7 decribes that the problem with unbounded alpha1 can be solved by changing Sp and Su but I have no idea how and where to change them. Do you know that? http://www.cfd-online.com/Forums/ope...tml#post449990 Thanks for your time |
||
September 5, 2013, 10:17 |
|
#6 | ||
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
Quote:
Quote:
Code:
solvers/multiphase/interFoam and solvers/multiphase/compressibleInterFoam
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|||
September 13, 2013, 09:16 |
|
#7 |
Member
Hale
Join Date: May 2013
Posts: 53
Rep Power: 13 |
Thanks a lot Nima. I have solved the problem.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Application of a pressure gradient/forcing term in a compressible pipe flow | mrs206 | OpenFOAM | 1 | July 14, 2017 13:36 |
total pressure change in a pipe flow | Im | FLUENT | 5 | February 23, 2017 09:55 |
steam flow in a pipe driven by a pressure gradient between inlet and outlet | SalvoCalvo | COMSOL | 0 | March 11, 2010 07:52 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |
Hydrostatic pressure in 2-phase flow modeling (CFX4.2) | HB &DS | CFX | 0 | January 9, 2000 14:19 |