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

Total pressure BC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2006, 16:03
Default I am working on a simpleFoam f
  #1
New Member
 
Greg Zink
Join Date: Mar 2009
Location: Ames, Iowa, USA
Posts: 16
Rep Power: 17
gzink is on a distinguished road
I am working on a simpleFoam flow through a nozzle as a comparison with Fluent. In Fluent I would set up the problem with a total pressure at the inlet, and a static pressure at the outlet to induce the flow through the nozzle.

The atmosphere boundary condition was the only one I could find that used a total pressure, so I used this at the inlet and a pressure outlet at the other end.

My first case was an inviscid flow in a pipe, which worked well with my setup (I did notice that the run-time was heavily dependent on the initial guess velocity throughout the domain, though). However, when I switch to the nozzle geometry I get blowups in both pressure and velocity after a short number of iterations.

Am I implementing the atmosphere boundary condition incorrectly? If so, is there another way to set a total pressure at the inlet? If anyone has any experience in how to set up a flow using a total pressure, I would appreciate any insight you might have. Thanks!

Greg Z.
gzink is offline   Reply With Quote

Old   June 16, 2006, 05:06
Default Not sure if you are speaking a
  #2
New Member
 
Javier Ros
Join Date: Mar 2009
Posts: 8
Rep Power: 17
jros is on a distinguished road
Not sure if you are speaking about Fluent's boundary conditions or about OpenFoam ones.

I'm not right now started with OpenFoam, althought wishing to have time to deal with it.

Nevertheless, you must be quite sure of the physics of your problem when puting presure boundary conditions at the inlet and outlet of a fluid domain.

A little presure difference can produce a supersonic flow, and if the solver is not ready to deal with such physics, it will certainly give bad results.

If this is you physical situation, switch to a compresible fluid model, use the temperature (or enthalpy) equation.

There is a subtle diference between, total presure and thermodynamic presure. Normally I would use total presure at both input and output, if the velocity can have significative or variable value at input or output. This is because you normaly know thermodynamic pressures at input and output when the fluid has no motion, far away from the input and output. The total presure BC, will in fact apply a lower thermodynamic presure using the Bernouilli equation, this is usually more realistic.

Puting a thermodynamic pressure BC will neglect the velocity effect in thermodynamic presure, as commented above.

Neverthless if the solver does not allow to use the the total presure BC at one end you can, and if the velocity effect in presure can be relevant at output, still put a computational funnel at the corresponding BC to put the BC farther away, abd giving it a shape compatible with the physics an so that the velocity gets lowered.

Still, depending on the solver, having an output without recirculation, can very interesting, to have realistic flows and to avoid numerical problems. This is more inportant if the BC is a total (thermodynamic + dynamic) presure BC.

I hope this helps

Javier Ros
jros is offline   Reply With Quote

Old   June 19, 2006, 07:48
Default If I choose boundary type as p
  #3
Member
 
Dihao Tang
Join Date: Mar 2009
Posts: 78
Rep Power: 17
tangd is on a distinguished road
If I choose boundary type as pressureInlet and then change p from fixedValue into totalPressure p0 in the code, can this be an alternative to implement total pressure?
tangd is offline   Reply With Quote

Old   July 20, 2010, 15:08
Default
  #4
New Member
 
Vitor Braga
Join Date: Oct 2009
Posts: 28
Rep Power: 17
vitor is on a distinguished road
Hi,

I was having problems simulating a similar case. In Fluent I stablished total pressure at the inlet and static pressure at the outlet. So, I used the totalPressure BC in OpenFOAM and I got the same results. But I'm still in doubt, I don't know why the user must set the "gamma" value along with the totalPressure BC.
vitor 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
total pressure loss!! Thiyagarajandhayalan FLUENT 0 April 18, 2006 02:26
definitioon of total pressure with k Carl H. Main CFD Forum 4 June 7, 2005 04:59
total pressure in CFX Atit Koonsrisuk CFX 0 January 1, 2005 06:46
Total pressure to static pressure ratio roadracer Siemens 1 April 17, 2003 06:31
Total pressure etc. Maxim Olshanskii Main CFD Forum 2 May 1, 2000 16:58


All times are GMT -4. The time now is 14:56.