CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Calculation sum(Yi*hi) (https://www.cfd-online.com/Forums/openfoam/93558-calculation-sum-yi-hi.html)

yiwang25 October 19, 2011 03:49

Calculation sum(Yi*hi)
 
In the Openfoam, I want to calculate Sum(yi*hi), where yi,hi are species mass fraction and enthalpy. How to do? Please show me the details.

markusrehm October 24, 2011 17:28

Hello,

have a look at

https://github.com/Openfoam/OpenFOAM...ingFoam/YEqn.H

Markus

yiwang25 October 24, 2011 18:08

I mean how to get hi(speices specific enthalpy). this is the key point.
Anyway, thank you very much


All times are GMT -4. The time now is 18:00.