CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   CO and H2 reaction in reactingFoam (https://www.cfd-online.com/Forums/main/212035-co-h2-reaction-reactingfoam.html)

Kikuta.K November 25, 2018 11:35

CO and H2 reaction in reactingFoam
 
Hello foamers.


Now I'm trying to calculate the reaction of carbon monoxide and hydrogen by reactingFoam.

I changed the file constant/reactions like below
/**************************/
reactions
{
methaneReaction
{
type irreversibleArrheniusReaction;
reaction "2CO + O2 = 2CO2 ;
A 7e+06;
beta 0;
Ta 10063.8;
}
hydrogenReaction
{
type irreversibleArrheniusReaction;
reaction "2H2 + O2 = 2H2O";
A 4.74342e+12;
beta 0;
Ta 10063.8;
}
}
/**************************/

but couldn't calculate due to the error like below.

/**************************/
H2 not found in table. Valid entries:
5
(
N2
CO2
O2
CH4
H2O
)
/**************************/

Of course I've already added H2 into the table of constant/reactions,
but I don't know why the error like this happens.

How can I fix this problem?

Hopefully anyone could help me to fix this problem?


My OpenFOAM is version 2.1.1.

Best regards.


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