CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Internal Compressible Flow: boundary conditions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 14, 2011, 16:31
Default Internal Compressible Flow: boundary conditions
  #1
Member
 
Francesco Capuano
Join Date: May 2010
Posts: 81
Rep Power: 15
francesco_capuano is on a distinguished road
Hi everyone,

I have some problems in setting up the proper boundary conditions for an internal compressible flow (e.g. flow through a convergent-divergent nozzle), using a generic compressible solver like rhoSimpleFoam. I have found out that many OF users have encountered the same issues, so I think it would be nice if, once and for all, we could find a solution.

Tipically, such cases comprise, in addition to a wall (on which a no-slip condition is assumed), an INLET face and an OUTLET face. So the question is: what are the right boundary conditions to be set for p and U on such faces in order to reach a convergent solution?

Thanks in advance.
francesco_capuano is offline   Reply With Quote

Old   November 15, 2011, 09:53
Default
  #2
Member
 
Francesco Capuano
Join Date: May 2010
Posts: 81
Rep Power: 15
francesco_capuano is on a distinguished road
Hi,

someone who could send a converged test case for a similar flow would be greatly appreciated.

Thanks
francesco_capuano is offline   Reply With Quote

Old   November 18, 2014, 05:39
Default
  #3
Member
 
crixman's Avatar
 
Christian
Join Date: Apr 2014
Posts: 74
Rep Power: 12
crixman is on a distinguished road
Hi Francesco,
did you make any progress? I am trying to modify rhoSimplefoam as well as I am having problems with floating points due to thermal properties, maybe we can work on that together, let me know!
crixman is offline   Reply With Quote

Old   November 21, 2014, 04:51
Default
  #4
New Member
 
Sindre Tosse
Join Date: Sep 2014
Posts: 6
Rep Power: 11
stosse is on a distinguished road
Hi, guys!
I have been working on a similar problem for the last couple of weeks (using a modified version of the fireFoam solver), and have had severe difficulties getting a correct flow field with a module with inflow/outflow. I have tried many different configurations, but what has worked for me is to use totalPressure BCs for p_rgh with a pressure gradient between the inflow and outflow patch, and pressureInletOutletVelocity for U.

p_rgh:
Quote:
outlet
{
type totalPressure;
rho rho;
psi none;
gamma 1.4;
p0 uniform 101275;
value uniform 101275;
}
inlets
{
type totalPressure;
rho rho;
psi none;
gamma 1.4;
p0 uniform 101325;
value uniform 101325;
}
I am not very experienced with OpenFOAM, so this is a result of trial and error. It would be nice if some more experienced users know why this setup (compressible flow, inlet and outlet) is so unstable.

Regards,
Sindre
stosse is offline   Reply With Quote

Old   November 21, 2014, 13:44
Default
  #5
Member
 
crixman's Avatar
 
Christian
Join Date: Apr 2014
Posts: 74
Rep Power: 12
crixman is on a distinguished road
Hi Sindre, thank you for sharing your findings, would try it out when I have some free time!
crixman is offline   Reply With Quote

Reply

Tags
bcs, compressible flow, rhosimplefoam


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
Boundary Conditions for Internal compressible Flow xisto OpenFOAM Pre-Processing 26 May 17, 2016 02:30
Compressible Flow over Airfoil. Boundary Conditions jose21 OpenFOAM 2 November 3, 2013 06:58
Boundary conditions low Mach number flow lost.identity Main CFD Forum 0 November 28, 2010 04:44
setting boundary conditions on internal edges Renate Stump FLUENT 4 November 7, 2008 10:55
boundary conditions for compressible flow George Main CFD Forum 12 March 16, 2005 09:26


All times are GMT -4. The time now is 11:06.