|
[Sponsors] |
January 11, 2014, 02:10 |
Extracting Reaction Rates OF20x
|
#1 |
New Member
Ah Cai
Join Date: Dec 2010
Location: Malaysia
Posts: 16
Rep Power: 15 |
Hi,
I am using the tutorial dieselFoam with its global n-heptane mechanism to simulate diesel combustion. I wanted to output the reaction rates for CO2 as the fuel combusts. I checked that in basicChemistryModel.H and found that RR() refers to Reaction rates. However, when I type "chemistry.RR()" it does not work. If I write it this way where I include the chemistry.RR() in a for loop. PHP Code:
If I were to write it as such: PHP Code:
My guess is that "rr" will output the reaction rates of ALL the species at ALL the cells while "rr[3]" will only output the reaction rates of ALL the species at cell[3]. What I had in mind is to extract only the RR for one of the species (for my case, CO2) over all the cells. Thanks. Ahcai |
|
Tags |
dieselfoam, reaction rate |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Segmentation fault in running alternateSteadyReactingFoam,why? | NewKid | OpenFOAM | 18 | January 20, 2011 16:55 |
combustion - reaction rates - urgent help needed | siri | Main CFD Forum | 2 | March 3, 2007 12:25 |
EDC l- Reaction Rates are Zero for some Reactions | Atul | FLUENT | 2 | October 7, 2005 10:38 |
chemical reaction - decompostition | La S. Hyuck | CFX | 1 | May 23, 2001 00:07 |
Reaction rates | Szasz Robert | FLUENT | 1 | May 10, 2000 06:06 |