majkl 
June 20, 2012 09:40 
Energy equation for compressible flow
Hello,
I have a question about the energy equation (compressible flow  subsonic) in OF v 1.6ext and 2.1.0 (there are some posts but still without answer).
The conservation of energy has the form:
where is the stress tensor:
1) From the conservation of energy I can derive the energy equation (EE), which is used in OF v 2.1.0 but I can not reach the EE which is implemented in version 1.6ext. Why is the difference between EE? The left hand sides of the energy equations are the same in both versions and similarly the enthalpy definitions.
Steadystate case without volume forces and viscous term (same EE implemented in OF 2.1.0):
In OF 1.6ext the EE:
2) I solved some simple case (diffuser), which can be "easy" described analytically. The OF 2.1.0 solver gives the best results.. BUT.. When I applied both version of OF solvers for same turbomachinery case, the version 2.1.0 gave unrealistic temperature field (convergent solution in both version, 6000it). If EE should be the same in both versions, why I have obtained so much different result for identically same case (velocity filed, temperature, pressure, thermoModel, turbulence, ...)?
Your answers would be very helpful for me.
Thank you.
Michal
