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

Total pressure problem

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 28, 2006, 03:26
Default I looked into the code of tota
  #1
Member
 
Dihao Tang
Join Date: Mar 2009
Posts: 78
Rep Power: 17
tangd is on a distinguished road
I looked into the code of totalPressure and guess that the equation for total pressure is only applied to incompressible fluid flow. The equation I copied from totalPressureFvPatchScalarField.C is:

operator==(p0_/(1.0+0.5*psi*(1.0-pos(phip))*magSqr(Up)));

or

operator==(p0_-0.5*(1.0-pos(phip))*magSqr(Up));

That could be part of the reason why my simulation with sonicTurbFoam failed. So I think when using compressible solvers, atmosphere boundary type could not be used. Is my conclusion correct?

In my opinion, the corresponding total pressure equation for compressible flow should be derived from second law and the enthalpy equation dh = cp(T)dT, if Cp is not constant. So the mathematical expression for ptot should be more complicated. Maybe I'm wrong, but I want to confirm this information. Thanks!
tangd is offline   Reply With Quote

 


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
BuoyantFoam and total pressure bc problem is a bug ariorus OpenFOAM Bugs 3 January 28, 2008 04:20
total pressure problem Ermanno CFX 5 February 19, 2007 17:16
total pressure in CFX Atit Koonsrisuk CFX 0 January 1, 2005 05:46
Total pressure to static pressure ratio roadracer Siemens 1 April 17, 2003 05:31
Total pressure etc. Maxim Olshanskii Main CFD Forum 2 May 1, 2000 15:58


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