CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Suitable inlet boundary condition for a compressible flow simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 13, 2013, 15:00
Default Suitable inlet boundary condition for a compressible flow simulation
  #1
siw
Senior Member
 
Stuart
Join Date: Jul 2009
Location: Portsmouth, England
Posts: 739
Rep Power: 26
siw will become famous soon enough
Hi,

I'm using FLUENT v14.5 to simulate the turbulent flow over a zero pressure gradient flat plate (RANS, Spalart-Allmaras, pressure-based coupled solver, ICEM Hexa mesh with y+=1). I'm using a compressible free-stream Mach number (M = 0.92), standard sea-level free-stream ideal-gas air properties and a 3-D fluid domain with a cross-sectional area of about 0.057m^2 (rather than 2-D as I need the outlet data as a profile for another simulation). From all this I know the mass flow rate (22.05kg/s).

I've run this for an incompressible free-stream Mach number using the velocity-inlet and pressure-outlet boundary conditions (BoCos) and the results matched my hand-calculations.

However, with the compressible Mach number I get different problems depending on which inlet boundary condition I use and none of them give the correct solution.

1. I understand the velocity-inlet should not be used of compressible flows even though the User Guide says it can. I tried it anyway and FLUENT said the mass flow rate (which I monitor on the outlet face) was twice what it should be.
2. I tried the mass-flow-rate BoCo but the velocity outside the boundary layer was too low (284m/s rather than 313m/s).
3. Neither the pressure-inlet or pressure-far-field BoCos would give a converged solution.

This flow has been solved countless times so can someone tell me which inlet BoCo to use?

Thanks.
siw is offline   Reply With Quote

Old   September 20, 2013, 13:03
Default
  #2
Senior Member
 
Gonzalo
Join Date: Mar 2011
Location: Argentina
Posts: 122
Rep Power: 16
gfoam is on a distinguished road
Hi, did you find out which BC's are suitable for that kind of simulation? Thanks in advance. Gonzalo
gfoam is offline   Reply With Quote

Old   September 20, 2013, 13:47
Default
  #3
siw
Senior Member
 
Stuart
Join Date: Jul 2009
Location: Portsmouth, England
Posts: 739
Rep Power: 26
siw will become famous soon enough
I have not looked into this since I posted that above, but I will need to go back to this simulation soon.
siw is offline   Reply With Quote

Old   September 20, 2013, 14:18
Default
  #4
Senior Member
 
Gonzalo
Join Date: Mar 2011
Location: Argentina
Posts: 122
Rep Power: 16
gfoam is on a distinguished road
OK, I'll try to do some simulations and I'll see what results I get! Regards
gfoam is offline   Reply With Quote

Old   September 30, 2013, 13:37
Default
  #5
Senior Member
 
Gonzalo
Join Date: Mar 2011
Location: Argentina
Posts: 122
Rep Power: 16
gfoam is on a distinguished road
Check out this paper, may be it will help you. Regards.
Gonzalo

Last edited by gfoam; September 30, 2013 at 18:35.
gfoam is offline   Reply With Quote

Old   October 1, 2013, 10:38
Thumbs up reply
  #6
Member
 
kiran Ambilpur
Join Date: Jun 2010
Location: India
Posts: 50
Rep Power: 16
kiran is on a distinguished road
Send a message via Skype™ to kiran
Use

Pressure Inlet and
Pressure oulet as your inlet and outlet conditions

Thanks
Kiran
kiran is offline   Reply With Quote

Old   October 2, 2013, 10:58
Default
  #7
Senior Member
 
ghost82's Avatar
 
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27
ghost82 will become famous soon enough
As a general rule, for compressible flows you can use:
mass flow inlet, pressure inlet, pressure outlet, pressure far field.

Daniele
ghost82 is offline   Reply With Quote

Old   October 2, 2013, 12:23
Default
  #8
Senior Member
 
Gonzalo
Join Date: Mar 2011
Location: Argentina
Posts: 122
Rep Power: 16
gfoam is on a distinguished road
Thank you ghost82 and kiran for your replies! Best Regards
Gonzalo
gfoam is offline   Reply With Quote

Old   October 4, 2013, 15:33
Default
  #9
Senior Member
 
Gonzalo
Join Date: Mar 2011
Location: Argentina
Posts: 122
Rep Power: 16
gfoam is on a distinguished road
HI, i've been tried diferent BC's for the compressible boundary layer simulation over a flapt plate, without pressure gradient, and inlet Mach number under 1. My problem is that, if I put as inlet BC's pressure inlet, I don't get the desired Mach number in the inlet even if I put the total and static pressure according to the isentropic relation. Another BC's that I tried was pressure-far-fiel, and again I didn get the desired Mach number at the inlet. Another BC's I tried was mass-flow-inlet and it also didn't work. The BC's at the top is symmetry and at the outlet is pressure-outlet. How should I fix the inlet Mach number?
gfoam is offline   Reply With Quote

Old   October 5, 2013, 06:21
Default
  #10
siw
Senior Member
 
Stuart
Join Date: Jul 2009
Location: Portsmouth, England
Posts: 739
Rep Power: 26
siw will become famous soon enough
I think that's what I basically said in my original post. I tried all the different boundary conditions at the inlet an none of them gave the correct flowfield. I my return to looking at this soon.
siw is offline   Reply With Quote

Old   January 24, 2014, 11:45
Question External flow
  #11
New Member
 
Join Date: Nov 2013
Posts: 1
Rep Power: 0
ezmirald is on a distinguished road
hi all, I'm trying to learn the external flow simulation over an airfoil, but I noticed it is considered to be at sea level, what if I want to try it at altitude, should I set the operating pressure at the corresponding altitude? .. in some example it was set to "zero" why is that ?.. what about the operating Temperature? thnx
ezmirald is offline   Reply With Quote

Old   March 13, 2014, 07:26
Default
  #12
MDB
New Member
 
Manuel Díaz Brito
Join Date: Jun 2013
Posts: 16
Rep Power: 13
MDB is on a distinguished road
Hi ezmirald,

Yes you would need to match the "altitude" pressure and temperature conditions for the density and viscosity to be representative (check you have the Sutherland and Ideal gas laws activated in the materials options). However you can specify pressure and temperature at your boundaries whilst keeping the operating conditions 0. In this way your pressures will be absolute not gauge (i.e. gauge with respect to 0).

About gonzalo and siw problems: have you checked the density and pressure at the boundaries where you aren't getting the desired Mach?
MDB is offline   Reply With Quote

Old   September 12, 2016, 09:08
Default
  #13
Member
 
annn
Join Date: Jun 2016
Posts: 40
Rep Power: 10
cleoo is on a distinguished road
Quote:
Originally Posted by ghost82 View Post
As a general rule, for compressible flows you can use:
mass flow inlet, pressure inlet, pressure outlet, pressure far field.
can you fix the pressue values both at the inlet or outlet, or is it over defining the situation?
cleoo is offline   Reply With Quote

Old   October 10, 2018, 00:54
Default
  #14
New Member
 
Imran Rasheed
Join Date: Oct 2018
Posts: 3
Rep Power: 8
Imran358 is on a distinguished road
Quote:
Originally Posted by gfoam View Post
HI, i've been tried diferent BC's for the compressible boundary layer simulation over a flapt plate, without pressure gradient, and inlet Mach number under 1. My problem is that, if I put as inlet BC's pressure inlet, I don't get the desired Mach number in the inlet even if I put the total and static pressure according to the isentropic relation. Another BC's that I tried was pressure-far-fiel, and again I didn get the desired Mach number at the inlet. Another BC's I tried was mass-flow-inlet and it also didn't work. The BC's at the top is symmetry and at the outlet is pressure-outlet. How should I fix the inlet Mach number?
Hi. I am currently facing a similar situation. Did you solved the problem?
Imran358 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
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 08:00
How to set up the inlet boundary condition for a low pressure case? beastieboys6 FLUENT 3 April 10, 2012 23:46
error message cuteapathy CFX 14 March 20, 2012 07:45
mass flow inlet boundary condition vivian FLUENT 5 April 21, 2006 07:23


All times are GMT -4. The time now is 22:45.