CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Elemental imbalance in H in reaction (http://www.cfd-online.com/Forums/openfoam-solving/94165-elemental-imbalance-h-reaction.html)

Abhishekd18 November 8, 2011 02:52

Elemental imbalance in H in reaction
 
Hi everyone,

I am trying to run sprayFoam. I am using C12H26 and have added the specie in therm.dat and reaction in chem.inp.

ELEMENTS
H O C N AR
END
SPECIE
C12H26 O2 N2 CO2 H2O
END
REACTIONS
2C12H26 + 37O2 => 24CO2 + 26H2O 3.00E+5 0.0 15780.0! 1
FORD / C12H26 0.75 /
FORD / O2 1.5 /
END

I am getting following error.

--> FOAM FATAL ERROR: Elemental imbalance in H in reaction irreversibleArrheniusReaction 2C12H26^0.75 + 37O2^1.5 = 24CO2 + 26H2O on line 10 From function chemkinReader::addReaction in file chemistryReaders/chemkinReader/chemkinReader.C at line 782. FOAM exiting

Where is the imbalance?

hismother February 3, 2012 15:07

I am having the same problem. Does anyone know how to fix it???

Abhishekd18 February 3, 2012 22:37

Formatting of the therm.dat file is crucial. copy/paste the numbers below into your therm.dat-file and try that.

Code:
C12H26 121687O 0C 12H 26 G 0200.00 6000.000 1000.00 1
3.70187925E+01 5.54721488E-02-1.92079548E-05 3.08175574E-09-1.84800617E-13 2
-5.26984458E+04-1.61453501E+02 2.13264480E+01-3.86394002E-02 3.99476113E-04 3
-5.06681097E-07 2.00697878E-10-4.22475053E+04-4.85848300E+01-3.49836226E+04 4

Abhishekd18 February 3, 2012 22:38

http://www.galcit.caltech.edu/EDL/pu...s/chemkin.html


All times are GMT -4. The time now is 16:08.