CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   rhoSimpleFoam egrmixture (https://www.cfd-online.com/Forums/openfoam-solving/126245-rhosimplefoam-egrmixture.html)

inf.vish November 12, 2013 03:57

rhoSimpleFoam egrmixture
 
1 Attachment(s)
Hello,

I want to simulate exhuast gas flowing through a valve (egr valve). I am trying to use the egrmixture option in thermophysicalProperties as follows:

{
type heheuPsiThermo;
mixture egrMixture;
transport sutherland;
thermo janaf;
equationOfState perfectGas;
specie specie;
energy absoluteEnthalpy;
}

But when i run rhoSimpleFoam, i get the following error -

--> FOAM FATAL ERROR:
Supported energy types are h and e, thermodynamics package provides ha

From function rhoSimpleFoam
in file basicThermo/basicThermo.C at line 354.

FOAM exiting

I go check in basicThermo.C at line 354 and it is testing only for two enerygy types h and e.

Can someone help me with this problem. I am attaching the required files (except for the geometry as the file is too big).

Attachment 26760


All times are GMT -4. The time now is 09:38.