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

Bug in specieThermoI.H ?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 2, 2012, 10:13
Default Bug in specieThermoI.H ?
  #1
Member
 
Florian Ettner
Join Date: Mar 2009
Location: Munich, Germany
Posts: 41
Rep Power: 17
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:

Code:
return this->h(T) - this->RR*(T - this->Tstd);
In my opinion, it should read
Code:
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 11:41.
dohnie is offline   Reply With Quote

Reply

Tags
internal energy

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] Bug in groovyBC in parallel computation Aleksey_R OpenFOAM Community Contributions 19 September 18, 2012 08: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 03: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 07:46.