CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Elemental imbalance in H in reaction

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 8, 2011, 02:52
Default Elemental imbalance in H in reaction
  #1
Member
 
Abhishek
Join Date: Dec 2010
Posts: 38
Rep Power: 6
Abhishekd18 is on a distinguished road
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?
Abhishekd18 is offline   Reply With Quote

Old   February 3, 2012, 15:07
Default
  #2
New Member
 
Terrence Nguyen
Join Date: Jan 2012
Posts: 11
Rep Power: 5
hismother is on a distinguished road
I am having the same problem. Does anyone know how to fix it???
hismother is offline   Reply With Quote

Old   February 3, 2012, 22:37
Default
  #3
Member
 
Abhishek
Join Date: Dec 2010
Posts: 38
Rep Power: 6
Abhishekd18 is on a distinguished road
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 is offline   Reply With Quote

Old   February 3, 2012, 22:38
Default
  #4
Member
 
Abhishek
Join Date: Dec 2010
Posts: 38
Rep Power: 6
Abhishekd18 is on a distinguished road
http://www.galcit.caltech.edu/EDL/pu...s/chemkin.html
Abhishekd18 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain Imbalance HMR CFX 3 March 6, 2011 21:10
Segmentation fault in running alternateSteadyReactingFoam,why? NewKid OpenFOAM 18 January 20, 2011 17:55
reaction in UDF(DEFINE_VR_RATE) louiza FLUENT 3 October 13, 2010 23:59
getting a warning about mass imbalance in reaction lily FLUENT 4 February 26, 2006 09:37
chemical reaction - decompostition La S. Hyuck CFX 1 May 23, 2001 00:07


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