Is e actually the Enthalpy in rhoCentralFoam?
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
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.
|All times are GMT -4. The time now is 21:55.|