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

Total pressure and mass flow boundary condition at inlet

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By bscphil
  • 1 Post By Tushar@cfd

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2013, 17:17
Default Total pressure and mass flow boundary condition at inlet
  #1
New Member
 
bscphil's Avatar
 
Phillip
Join Date: Mar 2012
Location: Germany
Posts: 27
Rep Power: 14
bscphil is on a distinguished road
Dear Foamer's,

i've some problems with my boundary conditions for a internal flow through a diffuser and the outflow in atmosphere.

For my case i must set the inlet total pressure + the inlet mass flow rate, because the diffuser is after an rotor/stator stage, which drops the total pressure to e.g. 101325 Pa + 680 Pa. The mass flow rate through the stage is constant e.g. 11.75 kg/s. The flow should be expanding to atmospheric static pressure e.g. 101325 Pa. Ok, this are the main restrictions...

My first attempt was for a incompressible RANS simulation with "simpleFoam":
  • inlet:
    • p: zeroGradient
    • U: fixedValue = 96.8m/s (plug profile)
      or U: flowRateInletVelocity = 11.75kg/s (plug profile)
  • walls:
    • p: zeroGradient
    • U: fixedValue = 0m/s
  • atmosphere:
    • p: fixedValue = 101325 Pa
    • U: zeroGradient
This attempt calculates the right mass flow rate, but the total pressure was wrong (101325 Pa + ~5500 Pa).

My second attempt was:
  • inlet:
    • p: totalPressure = 101325 Pa + 680 Pa
    • U: zeroGradient
  • walls:
    • p: zeroGradient
    • U: fixedValue = 0m/s
  • atmosphere:
    • p: fixedValue = 101325 Pa
    • U: zeroGradient
This attempt calculates the right total pressure at inlet, but the wrong mass flow rate (~5.5 kg/s).

My third attempt was:
  • inlet:
    • p: totalPressure = 101325 Pa + 680 Pa
    • U: flowRateInletVelocity = 11.75kg/s
  • walls:
    • p: zeroGradient
    • U: fixedValue = 0m/s
  • atmosphere:
    • p: fixedValue = 101325 Pa
    • U: zeroGradient
This attempt crashes after some iteration.

My fourth attempt was:
  • inlet:
    • p: totalPressure = 101325 Pa + 680 Pa
    • U: pressureInletVelocity
  • walls:
    • p: zeroGradient
    • U: fixedValue = 0m/s
  • atmosphere:
    • p: fixedValue = 101325 Pa
    • U: zeroGradient
This calculates very high mass flow rates.

Summary: i could not find out which boundary conditions are exactly right to set total pressure and mass flow rate (or velocity) at the inlet.

I hope somebody with some experience in a similar problem can help me, thanks and sorry for my poor english.

(the attached picture is a overview of the region)
Attached Images
File Type: jpg diffuserRegion.jpg (16.1 KB, 222 views)

Last edited by bscphil; May 7, 2013 at 05:22.
bscphil is offline   Reply With Quote

Old   May 28, 2013, 01:44
Default
  #2
Senior Member
 
T. Chourushi
Join Date: Jul 2009
Posts: 321
Blog Entries: 1
Rep Power: 18
Tushar@cfd is on a distinguished road
Quote:
Originally Posted by bscphil View Post
Dear Foamer's,

i've some problems with my boundary conditions for a internal flow through a diffuser and the outflow in atmosphere.

For my case i must set the inlet total pressure + the inlet mass flow rate, because the diffuser is after an rotor/stator stage, which drops the total pressure to e.g. 101325 Pa + 680 Pa. The mass flow rate through the stage is constant e.g. 11.75 kg/s. The flow should be expanding to atmospheric static pressure e.g. 101325 Pa. Ok, this are the main restrictions...

My first attempt was for a incompressible RANS simulation with "simpleFoam":
  • inlet:
    • p: zeroGradient
    • U: fixedValue = 96.8m/s (plug profile)
      or U: flowRateInletVelocity = 11.75kg/s (plug profile)
  • walls:
    • p: zeroGradient
    • U: fixedValue = 0m/s
  • atmosphere:
    • p: fixedValue = 101325 Pa
    • U: zeroGradient
This attempt calculates the right mass flow rate, but the total pressure was wrong (101325 Pa + ~5500 Pa).

My second attempt was:
  • inlet:
    • p: totalPressure = 101325 Pa + 680 Pa
    • U: zeroGradient
  • walls:
    • p: zeroGradient
    • U: fixedValue = 0m/s
  • atmosphere:
    • p: fixedValue = 101325 Pa
    • U: zeroGradient
This attempt calculates the right total pressure at inlet, but the wrong mass flow rate (~5.5 kg/s).

My third attempt was:
  • inlet:
    • p: totalPressure = 101325 Pa + 680 Pa
    • U: flowRateInletVelocity = 11.75kg/s
  • walls:
    • p: zeroGradient
    • U: fixedValue = 0m/s
  • atmosphere:
    • p: fixedValue = 101325 Pa
    • U: zeroGradient
This attempt crashes after some iteration.

My fourth attempt was:
  • inlet:
    • p: totalPressure = 101325 Pa + 680 Pa
    • U: pressureInletVelocity
  • walls:
    • p: zeroGradient
    • U: fixedValue = 0m/s
  • atmosphere:
    • p: fixedValue = 101325 Pa
    • U: zeroGradient
This calculates very high mass flow rates.

Summary: i could not find out which boundary conditions are exactly right to set total pressure and mass flow rate (or velocity) at the inlet.

I hope somebody with some experience in a similar problem can help me, thanks and sorry for my poor english.

(the attached picture is a overview of the region)

Good one... first attempt seems to be the best practice in case of diffusing problems, but don't know how come your Total pressure is varying a lot.. Are you able to reach convergence??
raj kumar saini likes this.
Tushar@cfd is offline   Reply With Quote

Old   April 19, 2015, 08:56
Question change flow rate to static pressure
  #3
New Member
 
Ali hassan
Join Date: Apr 2015
Posts: 2
Rep Power: 0
Ali hassan is on a distinguished road
Hello everyone, I am doing validation for previous article about CNG mixer, my problem is using outlet static pressure instead of out flow because they ANSYS fluent don't allow to use out flow if I use inlet pressure, so, is there any one can help me to get static pressure from mass flow rate? Thanks
Ali hassan is offline   Reply With Quote

Old   July 9, 2017, 15:39
Default
  #4
New Member
 
mrwan
Join Date: Dec 2015
Location: egypt
Posts: 27
Rep Power: 10
mrwan is on a distinguished road
dear
i think the first attempt is the best but u v confusion about the area at inlet
mrwan is offline   Reply With Quote

Reply


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
Wind turbine simulation Saturn CFX 60 July 17, 2024 06:45
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 18:44
Low Mixing time Problem Mavier CFX 5 April 29, 2013 01:00
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05


All times are GMT -4. The time now is 13:07.