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

BCs to the outlet patch (filling a simple tank)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 7, 2012, 12:55
Default BCs to the outlet patch (filling a simple tank)
  #1
New Member
 
Pierre D.
Join Date: Dec 2011
Posts: 5
Rep Power: 14
Ternox is on a distinguished road
Hello

Nice to create my first post on the CFD-online forum !

I have been trying for 3 days to solve a very basic problem with openFoam/interFoam solver... a filling of a tank with steel water!
When I look at the results with paraFoam, from the step 90 to 100 the filling seems stopping and begin to be turbulent. The result is that the tank is not full of water but just filled at 90%.

I guess the air is trapped into the tank and It can't go out.
>>> Does anyone know which BCs should I apply to the outlet patch to allow the air to go throught and to fill completely ?

Please find attached my complete case ready to run !

Many thanks by advance,
All the best,
Pierre
Attached Files
File Type: zip tank_filling.zip (30.7 KB, 78 views)
Ternox is offline   Reply With Quote

Old   February 8, 2012, 02:37
Default
  #2
New Member
 
Pierre D.
Join Date: Dec 2011
Posts: 5
Rep Power: 14
Ternox is on a distinguished road
Hello,

It seems you have to delete/move the text document named " Pb description " from the folder to run comfortly the simulation.

Sorry for this additional step,
And thank you for the hits you are going to give me.

All the best,
Pierre
Ternox is offline   Reply With Quote

Old   February 10, 2012, 04:33
Default
  #3
New Member
 
Pierre D.
Join Date: Dec 2011
Posts: 5
Rep Power: 14
Ternox is on a distinguished road
Hello everybody,

In order to help you answering my question, I propose a synthesis of my BCs.

My problem is that the filling (steady flow from the bottom to the top) of a tank is not full, near to the outlet, the air seems to be trapped and not able to espace throught the outlet.

I am looking for the right BC for the outlet BC.


BC
--

°°°°°°°°°°°°°°°°inlet°°°°°°°°°°°°° walls°°°°°°°°°°°°°° outlet

boundary | °°°°°patch°°°°°°°°°°°°°patch°°°°°°°°°°°°°°patch

alpha1 °°°| °°°°fixedValue°°°°°zeroGradient°°°°°°°°° zeroGradient
°°°°°°°°°°°°°°°°uniform 0

U°°°°°°°° |°°°fixedValue°°°°°°°fixedValue°°°°°°°°°°°zeroGrad ient
°°°°°°°°°°°uniform (0 0 0.1)°°°uniform (0 0 0)

p_rhg°°°°°|°° zeroGradient°°°°°°° zeroGradient °°°°°*** see bellow



***
outlet_mesh
{
type totalPressure;
p0 uniform 0;
U U;
phi phi;
rho rho;
psi none;
gamma 0.5;
value uniform 0;
}


Many thanks by advanced !
Pierre
Ternox is offline   Reply With Quote

Old   February 17, 2012, 10:21
Default
  #4
New Member
 
Pierre D.
Join Date: Dec 2011
Posts: 5
Rep Power: 14
Ternox is on a distinguished road
Hello!

After a two weeks searching, here is my answer.

Place an outlet velocity to make the air escape. Moreover, as described in the "dambreack" tutorial, it is possible to usea bouyantPressure and an pressureInletOutletVelocity.

The limit of this solution is the inlet keeps on injecting fluid while the said fluid doen't run-over.

All the best,
Pierre
Attached Files
File Type: zip filling_dam_answer.zip (27.5 KB, 117 views)
Ternox is offline   Reply With Quote

Old   August 21, 2017, 07:19
Default Help
  #5
New Member
 
Join Date: Feb 2013
Posts: 24
Rep Power: 13
me12p1006 is on a distinguished road
Hi,

I am trying to solve water filling bottle tutorial from long back (http://www.tfd.chalmers.se/~hani/kur...Hemida_VOF.pdf). I am not getting reasonable results.

I used inlet velocity as 0.1 m/sec. I am attaching my FOAM files. Please kindly let me know what mistake I am doing.
Attached Files
File Type: zip bottlefill.zip (8.9 KB, 6 views)
me12p1006 is offline   Reply With Quote

Reply

Tags
bcs, filling, interfoam, outlet, tank


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
Filling Tank with Water leff CFX 7 August 21, 2017 07:47
Outlet patch with a hole inside osol OpenFOAM 3 September 7, 2011 10:10
p & U outlet bcs for realistic wind inlet profile stevek OpenFOAM 4 July 19, 2010 02:29
VOF Outlet boundary condition in cfd - ace JM Main CFD Forum 0 December 15, 2006 08:07
BCS for SIMPLE Peter Main CFD Forum 1 October 19, 2001 22:26


All times are GMT -4. The time now is 15:52.