CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Modify reaction order value in 'reaction' dictionary.

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

LinkBack Thread Tools Display Modes
Old   March 25, 2013, 21:38
Default Modify reaction order value in 'reaction' dictionary.
New Member
Join Date: Feb 2012
Posts: 25
Rep Power: 5
Marshak is on a distinguished road

I have a global reaction for Methane

CH4^a + 2O2^b = CO2 + 2H20

has to be calculated using the formula
R = A*T^b*exp(-Ta/T)*c(CH4)^a * c(O2)^a

In general, in the above formula, we give a constant value to reaction orders 'a' and 'b'. But I instead need to define the reaction order as follows:

a= 0.1+(0.2*exp(-700 Y_CH4)

Where Y_CH4 is the mass fraction of methane (CH4).

Does someone know how to define/write the above mentioned reaction order in the 'constant/reaction' dictionary.
Marshak is offline   Reply With Quote


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
how to set periodic boundary conditions Ganesh FLUENT 13 January 22, 2014 05:11
Accessing reaction information from PaSR.C tatu OpenFOAM Programming & Development 0 November 28, 2012 12:10
Reaction help!! Harry CFX 4 October 30, 2008 11:11
CFL condition for higher order schemes Shyam Main CFD Forum 2 February 14, 2008 15:24
chemical reaction - decompostition La S. Hyuck CFX 1 May 23, 2001 00:07

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