CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Modify reaction order value in 'reaction' dictionary.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 25, 2013, 20:38
Default Modify reaction order value in 'reaction' dictionary.
  #1
New Member
 
Join Date: Feb 2012
Posts: 25
Rep Power: 14
Marshak is on a distinguished road
Hi!

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

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
Accessing reaction information from PaSR.C tatu OpenFOAM Programming & Development 5 June 12, 2018 08:47
Reaction help!! Harry CFX 4 October 30, 2008 10:11
CFL condition for higher order schemes Shyam Main CFD Forum 2 February 14, 2008 14:24
chemical reaction - decompostition La S. Hyuck CFX 1 May 23, 2001 00:07


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