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

Pressure BC using interFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 23, 2014, 13:36
Default Pressure BC using interFoam
  #1
New Member
 
Anonymous
Join Date: Sep 2014
Posts: 6
Rep Power: 10
s.tilt is on a distinguished road
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?
Attached Files
File Type: pdf blockMeshDict- Tank.pdf (19.1 KB, 17 views)
File Type: pdf p_rgh-Tank.pdf (17.8 KB, 39 views)
File Type: pdf U-Tank.pdf (17.9 KB, 24 views)
s.tilt is offline   Reply With Quote

Old   October 5, 2014, 21:10
Default
  #2
Senior Member
 
zandi's Avatar
 
Fatema Zandi Goharrizi
Join Date: Mar 2009
Posts: 158
Rep Power: 15
zandi is on a distinguished road
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.
zandi is offline   Reply With Quote

Old   October 6, 2014, 14:11
Default
  #3
New Member
 
Anonymous
Join Date: Sep 2014
Posts: 6
Rep Power: 10
s.tilt is on a distinguished road
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
s.tilt is offline   Reply With Quote

Old   October 10, 2014, 17:05
Default
  #4
Senior Member
 
zandi's Avatar
 
Fatema Zandi Goharrizi
Join Date: Mar 2009
Posts: 158
Rep Power: 15
zandi is on a distinguished road
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!
zandi is offline   Reply With Quote

Old   October 14, 2014, 09:04
Default
  #5
New Member
 
Anonymous
Join Date: Sep 2014
Posts: 6
Rep Power: 10
s.tilt is on a distinguished road
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.
Attached Images
File Type: jpg Screenshot from 2014-10-14 08_59_41.jpg (31.4 KB, 22 views)
Attached Files
File Type: pdf blockMeshDict..pdf (22.9 KB, 5 views)
s.tilt is offline   Reply With Quote

Reply

Tags
boundary condition, inlet pressure, interfoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
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


All times are GMT -4. The time now is 01:12.