|
[Sponsors] |
September 23, 2014, 13:36 |
Pressure BC using interFoam
|
#1 |
New Member
Anonymous
Join Date: Sep 2014
Posts: 6
Rep Power: 12 |
Hi Everyone,
I am very new to OpenFOAM and am trying to simulate water entering a tank (very similar to this bottle filling tutorial: http://www.tfd.chalmers.se/~hani/kur...Hemida_VOF.pdf). My mesh works fine, and is attached for reference. The problem I am having is with the Pressure boundary conditions. I've attached the pressure boundary conditions and velocity boundary conditions for reference. The tank is originally filled with air and at time 0 water starts entering the tank through an inlet at the top. This is all based on the force of gravity which I have set up in the constant subfolder. I want to change the pressure at the inlet and see how this affects the water entering the tank. Right now the pressure at the inlet is set to fixedFluxPressure uniform 0. When I change the zero to different values I see no difference in the water falling from the inlet. Am I using the proper boundary condition here? |
|
October 5, 2014, 21:10 |
|
#2 |
Senior Member
Fatema Zandi Goharrizi
Join Date: Mar 2009
Posts: 158
Rep Power: 17 |
Hi
fixedFluxPressure is a derived BC from zeroGradient type which can changed to a value in agreement with calculated U domain. it helps in better convergence. test totalPressure for P inlet and pressureInletVelocity for U inlet if you have the value of pressure at inlet, and see what happen then. |
|
October 6, 2014, 14:11 |
|
#3 |
New Member
Anonymous
Join Date: Sep 2014
Posts: 6
Rep Power: 12 |
Hi,
Thanks for answering! It won't let me change P inlet to totalPressure with the atmosphere set to totalPressure. Do I just have to change the variables for P inlet? Thanks |
|
October 10, 2014, 17:05 |
|
#4 |
Senior Member
Fatema Zandi Goharrizi
Join Date: Mar 2009
Posts: 158
Rep Power: 17 |
Hi tilt,
you're right. I had a wrong image in my mind from your geometry. i'm interested in your question, in my especial case about BC affects. I do free surface and interaction of air and water in flow. so if I find something helpful I would let you know. could you attach an image from geometry? and aaa please let us have your useful experience in thread. kind of you foamer! |
|
October 14, 2014, 09:04 |
|
#5 |
New Member
Anonymous
Join Date: Sep 2014
Posts: 6
Rep Power: 12 |
I've attached an image of the geometry and a new BlockMeshDict.
Still trying to solve my problem. If I solve the problem I will let you know. |
|
Tags |
boundary condition, inlet pressure, interfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
pressure driven flow in interFoam | deniggo | OpenFOAM Running, Solving & CFD | 28 | November 18, 2015 09:54 |
Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 07:27 |
strange pressure behaviour with symmetricPlane boudary condition - interFoam | duongquaphim | OpenFOAM Running, Solving & CFD | 10 | August 20, 2013 15:00 |
Pressure reference in cyclic interFoam | AlmostSurelyRob | OpenFOAM | 7 | February 16, 2011 10:58 |
interFoam pressure conservation | AndrewB | OpenFOAM | 0 | August 27, 2009 00:15 |