|
[Sponsors] |
July 28, 2006, 03:26 |
I looked into the code of tota
|
#1 |
Member
Dihao Tang
Join Date: Mar 2009
Posts: 78
Rep Power: 17 |
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! |
|
|
|
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 |