|
[Sponsors] |
November 11, 2012, 19:28 |
Is e actually the Enthalpy in rhoCentralFoam?
|
#1 |
New Member
Ruben Moreno
Join Date: Nov 2011
Posts: 6
Rep Power: 15 |
Dear all,
I have been struggling for some time comparing the equations and the flux calculations in Openfoam, but I guess I know more or less now what it is all about. However, checking the relationship between psi and the energy I have found a discrepancy that I would like to confirm if it is real or not. I am using OpenFoam 2.1, the ShockTube tutorial. If I output directly to a file e and T, it happens that e is not Cv*T, as one would expect, but Cp*T (i.e. the Enthalpy). However, the Energy equation, at least to my knowledge, is treating e as the energy and adding the pressure to it. Am I missing something or this is an actual bug? Thanks a lot and best regards Last edited by rmoreno; November 11, 2012 at 22:57. |
|
November 18, 2012, 18:34 |
|
#2 |
New Member
Ruben Moreno
Join Date: Nov 2011
Posts: 6
Rep Power: 15 |
It turns out that this is an already known bug (see http://www.openfoam.org/mantisbt/view.php?id=571#c1445).
In fact it only returns the enthalpy when T=Tstd, which was the case. Anyway, it was its inconsistency with the standard perfect gas formulation what was giving me headaches. Regards! |
|
Tags |
energy, enthalpy, rhocentralfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sensible Enthalpy vs. Total enthalpy | Sethi | OpenFOAM Programming & Development | 3 | March 23, 2017 22:48 |
Defining Inlet Mixture Enthalpy | Munggang | FLUENT | 0 | March 2, 2012 17:50 |
Mismatch between H-Energy and massFlowInt(Static Enthalpy) | Chander | CFX | 13 | December 16, 2011 12:37 |
derivation enthalpy | Tomik | FLUENT | 2 | March 9, 2006 16:39 |
meaning static enthalpy and total enthalpy | mspark | Siemens | 1 | April 1, 2004 07:20 |