CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

Is e actually the Enthalpy in rhoCentralFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By rmoreno

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 11, 2012, 18:28
Default Is e actually the Enthalpy in rhoCentralFoam?
  #1
New Member
 
Ruben Moreno
Join Date: Nov 2011
Posts: 6
Rep Power: 14
rmoreno is on a distinguished road
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 21:57.
rmoreno is offline   Reply With Quote

Old   November 18, 2012, 17:34
Default
  #2
New Member
 
Ruben Moreno
Join Date: Nov 2011
Posts: 6
Rep Power: 14
rmoreno is on a distinguished road
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!
mm.abdollahzadeh and shock77 like this.
rmoreno is offline   Reply With Quote

Reply

Tags
energy, enthalpy, rhocentralfoam


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
Sensible Enthalpy vs. Total enthalpy Sethi OpenFOAM Programming & Development 3 March 23, 2017 21:48
Defining Inlet Mixture Enthalpy Munggang FLUENT 0 March 2, 2012 16:50
Mismatch between H-Energy and massFlowInt(Static Enthalpy) Chander CFX 13 December 16, 2011 11:37
derivation enthalpy Tomik FLUENT 2 March 9, 2006 15:39
meaning static enthalpy and total enthalpy mspark Siemens 1 April 1, 2004 06:20


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