|
[Sponsors] |
October 15, 2014, 05:11 |
(porous)interFoam: Pressure in trapped air
|
#1 |
New Member
Peter
Join Date: Apr 2014
Posts: 21
Rep Power: 12 |
Hi Foamers,
I'm trying to simulate the filling of a cavity, which is a porous zone. This cavity is initially filled with air. In the middle of the cavity, there is an obstacle, that creates an air trap. Now, as I defined a pressure of 0 Pa on the outlet, which persists in the air filled zone, I would expect the trap to be filled up with liquid. At least, this is what Pam-RTM simulates and what happens in experiment. But, after the air is trapped, its pressure increases suddenly and stops the flow from advancing. Why does that happen? I attached a sketch and my case (to be run blockMesh and porousInterFoam). Thank you, Kind Regards Peter Last edited by John Degenkolb; October 15, 2014 at 09:35. Reason: changed attached picture so no unpacking necessary |
|
October 15, 2014, 05:24 |
|
#2 |
New Member
Peter
Join Date: Apr 2014
Posts: 21
Rep Power: 12 |
I've got an idea which I'd like to discuss.
Is it possible that the following happens in my problem?: The alpha value is not EXACTLY zero in air filled regions. The mixture rule in VOF-method now calculates the cell viscosity from air and liquid viscosities. In the PISO-loop, this slightly raised viscosity leeds to a higher flow resistance which in turn raise the pressure in the trapped air zone. This would explain why, when I lower the air viscosity to something ridiculously small, the air trap is nearly completely filled. Best regards, Peter |
|
October 15, 2014, 06:31 |
|
#3 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Hi,
I don't know which version of OpenFOAM you may be using, but you may also need to reformulate the alpha equation, as by default it does not take porosity into account. Check this post: http://www.cfd-online.com/Forums/ope...tml#post431805 Regarding your problem, you may want to test the influence of cAlpha in preventing the diffusion of your interface. Best, Pablo |
|
October 15, 2014, 08:32 |
|
#4 |
New Member
Peter
Join Date: Apr 2014
Posts: 21
Rep Power: 12 |
Hi Pablo,
thank you very much for your reply. I'm using OpenFoam version 2.3.0 To take porosity into account, I use to multiply the d value in the porosityProperties with the porosity ( d = Porosity/Permeability ). I know this is not the clean solution, but (I hope) for incompressible, laminar and creeping flows it's ok. At least my numerical results are in accordance to analytical calculation with Darcy's law. About cAlpha: I'll test this, thank you for the advice! Do you think it's possible to tell the solver not to calculate any pressure in the non-filled area, but to take the outlet pressure in those cells? And if yes: Which piece of code do I have to change: pEqn.H or createFields.H? (createFields.H is only called right at the beginning for the calculation, not in every time step, isn't it?) Peter |
|
October 15, 2014, 08:51 |
|
#5 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
Hello John Degenkolb,
First of all I know nothing of porous material. What I am wondering if why the air will leave the cavity. If this was a tube then the pressure will increase (P*V=constant) until the P is equal to the height of the water column on the outside P=rho * g* h. But maybe this is different with porosity. To completely fill the tube you need a leak at the top of the tube so the air can escape. Hope this helps Wouter |
|
October 15, 2014, 09:11 |
|
#6 |
New Member
Peter
Join Date: Apr 2014
Posts: 21
Rep Power: 12 |
Hi Wouter,
I expected something like this to happen as well... Until I did my experiments You are right with p*V=constant, but p=0 ! Now one could saw: In that case it will be filled in zero time. Well, no, as the porous media (and to a small extent the viscous forces) slow down the fluid. I know Openfoam only works with relative pressures. But how to teach it about vacuum? |
|
October 15, 2014, 09:48 |
|
#7 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
Hello John Degenkolb,
Oke, there is no air (P=0) so do not put air in, it is just a one phase system so you do not need interFoam, but maybe a dynamic mesh system hope this helps Wouter |
|
October 15, 2014, 10:02 |
|
#8 |
New Member
Peter
Join Date: Apr 2014
Posts: 21
Rep Power: 12 |
I never tried dynamic meshing, but
|
|
October 16, 2014, 19:35 |
|
#9 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
hello John Degenkolb,
The Interfoam solver can be used, I think, because there are two phases: liquid and liquid vapour. Could the filling of the pores be due to condensation of the liquid vapour, because pressure increase supersaturated? hope this gives you another thing to think about, nice problem Wouter |
|
|
|
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 06:21 |
Setting Pressure Boundary Conditions in ANSYS CFX Pre | saisanthoshm88 | CFX | 21 | February 22, 2017 17:50 |
InterPhaseChangeFoam ERROR | shipman | OpenFOAM Running, Solving & CFD | 37 | March 23, 2014 13:43 |
Setting up the pressure variation due to tornado in a duct(UDF)+animation | guillaume1990 | FLUENT | 0 | March 3, 2014 12:59 |
pressure gradient term in low speed flow | Atit Koonsrisuk | Main CFD Forum | 2 | January 10, 2002 11:52 |