CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Bugs

Bug in specieThermoI.H ?

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   July 2, 2012, 09:13
Default Bug in specieThermoI.H ?
Florian Ettner
Join Date: Mar 2009
Location: Munich, Germany
Posts: 41
Rep Power: 10
dohnie is on a distinguished road
Dear Foamers,
is it possible that the computation of the internal energy is wrong in OF 2.1.1?

specieThermoI.H, line 112, reads:

return this->h(T) - this->RR*(T - this->Tstd);
In my opinion, it should read
return this->h(T) - this->RR*T;
because e = h - p*v = h - R*T in ideal gases.

Same problem for sensible energy in the following lines.

UPDATE: The issue is now in the OF bug reporting system.

Last edited by dohnie; July 2, 2012 at 10:41.
dohnie is offline   Reply With Quote


internal energy

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug in groovyBC in parallel computation Aleksey_R OpenFOAM Bugs 19 September 18, 2012 07:50
Serious bug in LES interface fs82 OpenFOAM Bugs 21 November 16, 2009 09:15
bug in Rcomponents utility cedric_duprat OpenFOAM Bugs 1 May 7, 2009 02:56
Bug reports Mattijs Janssens (Mattijs) OpenFOAM 0 January 10, 2005 11:05
Forum y2k Bug Jonas Larsson Main CFD Forum 1 January 5, 2000 11:22

All times are GMT -4. The time now is 10:30.