CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   BCs to the outlet patch (filling a simple tank) (https://www.cfd-online.com/Forums/openfoam-pre-processing/97038-bcs-outlet-patch-filling-simple-tank.html)

Ternox February 7, 2012 12:55

BCs to the outlet patch (filling a simple tank)
 
1 Attachment(s)
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

Ternox February 8, 2012 02:37

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 February 10, 2012 04:33

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 February 17, 2012 10:21

1 Attachment(s)
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

me12p1006 August 21, 2017 07:19

Help
 
1 Attachment(s)
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.


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