|
[Sponsors] |
November 8, 2011, 01:52 |
Elemental imbalance in H in reaction
|
#1 |
Member
Abhishek
Join Date: Dec 2010
Posts: 39
Rep Power: 15 |
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? |
|
February 3, 2012, 14:07 |
|
#2 |
New Member
Terrence Nguyen
Join Date: Jan 2012
Posts: 13
Rep Power: 14 |
I am having the same problem. Does anyone know how to fix it???
|
|
February 3, 2012, 21:37 |
|
#3 |
Member
Abhishek
Join Date: Dec 2010
Posts: 39
Rep Power: 15 |
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 |
|
February 3, 2012, 21:38 |
|
#4 |
Member
Abhishek
Join Date: Dec 2010
Posts: 39
Rep Power: 15 |
||
August 21, 2021, 11:16 |
|
#5 |
New Member
Join Date: Aug 2021
Posts: 2
Rep Power: 0 |
I have the same problem. I am sure that the problem is related to the imbalance Tolerance. How can I set it? Thanks.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
getting a warning about mass imbalance in reaction | lily | FLUENT | 5 | February 13, 2018 10:41 |
Domain Imbalance | HMR | CFX | 5 | October 10, 2016 05:57 |
Segmentation fault in running alternateSteadyReactingFoam,why? | NewKid | OpenFOAM | 18 | January 20, 2011 16:55 |
reaction in UDF(DEFINE_VR_RATE) | louiza | FLUENT | 3 | October 13, 2010 23:59 |
chemical reaction - decompostition | La S. Hyuck | CFX | 1 | May 23, 2001 00:07 |