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

Pressure Inlet = Problem

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 8, 2009, 09:19
Default Pressure Inlet = Problem
  #1
New Member
 
Benjamin Mandt
Join Date: Sep 2009
Location: Germany
Posts: 8
Rep Power: 7
bmandt is on a distinguished road
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
bmandt is offline   Reply With Quote

Old   October 8, 2009, 09:31
Cool
  #2
New Member
 
Sameera
Join Date: Sep 2009
Posts: 15
Rep Power: 7
rans2009 is on a distinguished road
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
rans2009 is offline   Reply With Quote

Old   October 8, 2009, 09:45
Default
  #3
New Member
 
Benjamin Mandt
Join Date: Sep 2009
Location: Germany
Posts: 8
Rep Power: 7
bmandt is on a distinguished road
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
bmandt is offline   Reply With Quote

Old   October 9, 2009, 07:56
Default
  #4
New Member
 
Benjamin Mandt
Join Date: Sep 2009
Location: Germany
Posts: 8
Rep Power: 7
bmandt is on a distinguished road
does anyone has an idea to solve this problem?
bmandt is offline   Reply With Quote

Old   October 12, 2009, 05:45
Default
  #5
New Member
 
bigred's Avatar
 
Matthew Philpott
Join Date: Aug 2009
Location: Belgium
Posts: 24
Rep Power: 8
bigred is on a distinguished road
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
bigred is offline   Reply With Quote

Old   October 12, 2009, 07:12
Default
  #6
New Member
 
Benjamin Mandt
Join Date: Sep 2009
Location: Germany
Posts: 8
Rep Power: 7
bmandt is on a distinguished road
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
File Type: jpg jtnakScreen.jpg (12.5 KB, 34 views)
bmandt is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inlet table in STAR-CD Sachin CD-adapco 1 March 26, 2008 11:22
Adding Source term of a new field at the inlet vatant OpenFOAM Running, Solving & CFD 0 October 14, 2006 15:39
convergency problem enis Main CFD Forum 0 July 27, 2005 09:27
Rev: Can Fluent 6.0.20 predict this problem right? Yazid Bindar FLUENT 5 March 6, 2003 04:09
Can Fluent 6.0.20 predict this problem right? Yazid Bindar FLUENT 0 March 5, 2003 09:07


All times are GMT -4. The time now is 09:19.