# Pressure Inlet = Problem

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

 October 8, 2009, 09:19 Pressure Inlet = Problem #1 New Member   Benjamin Mandt Join Date: Sep 2009 Location: Germany Posts: 8 Rep Power: 10 Hi all, I would like to fill a tank (interFoam), with U = 0, Inlet Pressure 202650, Outlet 101325. File 0/p: object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -2 0 0 0 0]; internalField uniform 101325; boundaryField { inlet { type fixedValue; value uniform 202650; } outlet { type fixedValue; value uniform 101325; } walls { type zeroGradient; } } File 0/U: object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { inlet { type pressureInletVelocity; value uniform (0 0 0); } outlet { type zeroGradient; } walls { type fixedValue; value uniform (0 0 0); } } The simulation works without error output, but nothing happens, no fluid flows. Has anyone a solution, where is my mistake? Thank you very much. Best regards Benjamin

 October 8, 2009, 09:31 #2 New Member   Sameera Join Date: Sep 2009 Posts: 15 Rep Power: 10 Hi Benjamin, Have you set initial fields for the volume fraction of fluid that flows, I dont know precisely, even I might be wrong, Sameera

 October 8, 2009, 09:45 #3 New Member   Benjamin Mandt Join Date: Sep 2009 Location: Germany Posts: 8 Rep Power: 10 Hi Sameera, thanks for your help! Do you mean "setFields"? No, the tanks are only filled with phase2 (air). For better understanding, the case is added: jtank.tar.gz. Best regards. Benjamin

 October 9, 2009, 07:56 #4 New Member   Benjamin Mandt Join Date: Sep 2009 Location: Germany Posts: 8 Rep Power: 10 does anyone has an idea to solve this problem?

 October 12, 2009, 05:45 #5 New Member     Matthew Philpott Join Date: Aug 2009 Location: Belgium Posts: 24 Rep Power: 10 I think your type for your inlet in your velocity file is wrong. I looked in the manual and it shows that type pressureInletVelocity is used for when the pressure is known and when the velocity will be calculated using the flux. The value to be given for this type, I assume is the pressure value, not the velocity value. I fi understand it correctly, you're putting the inlet velocity to 0, so you will have no flow. Try changing the type to zeroGradient. __________________ CAELinux 2009 + OF1.5 Ubuntu 9.04 x64 (jaunty jackalope) + OF1.6

October 12, 2009, 07:12
#6
New Member

Benjamin Mandt
Join Date: Sep 2009
Location: Germany
Posts: 8
Rep Power: 10
Hi bigred,

I chanhed the type from InletOutletVelocity to zeroGradient. But I think, there is something wrong already. Please have a look at the screenshot.

I do not understand the problem. And I don't understand, why it doesn't work.

I know the pressure at the inlet: 202650 Pa
I know the pressure at the outlet: 101325 Pa

OF has to calculate the velocity at the inlet with the known pressures (I think so).

Thank you very much for your kind help!

Best regards.

Benjamin
Attached Images
 jtnakScreen.jpg (12.5 KB, 35 views)

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Sachin Siemens 1 March 26, 2008 11:22 vatant OpenFOAM Running, Solving & CFD 0 October 14, 2006 15:39 enis Main CFD Forum 0 July 27, 2005 09:27 Yazid Bindar FLUENT 5 March 6, 2003 04:09 Yazid Bindar FLUENT 0 March 5, 2003 09:07

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