|
[Sponsors] |
March 23, 2000, 12:55 |
Reaction rates
|
#1 |
Guest
Posts: n/a
|
Dear All,
I'm using a methane-air mixture with 2 step reaction mechanism. Trying to modify the reaction rate by a UDF there was no change in the reaction rates (I checked the xy plots), even when I set the reaction rate to 0 in the UDF. I would have two questions: 1. What could be the problem? 2. What does a 'function hook' mean: the parameter (in my case the reaction rate) is calculated only by the UDF, or is calculated by Fluent and after that is modified by the UDF. Thank you for any ideas, Robi |
|
May 10, 2000, 07:06 |
Re: Reaction rates
|
#2 |
Guest
Posts: n/a
|
Altering the rate in a UDF will not show up as a change in reaction rates in the GUI. I presume that you are redifining the *rr and *rr_t rates in the UDF. My understanding is that Fluent calculates the reaction rate according to its data in the finite rate section of problem setup. It then invokes the UDF which adjusts the *rr and *rr_t values to your new chemistry rates etc. However, Fluent uses the initial or old *rr and *rr_t values in the reporting of 'reaction rates'(menu etc.).
The way around this is to define a scalar in the UDF(for your new reaction rate). This scalar can then be plotted etc. (you don't need to solve the scalar since it is updated in the UDF). As you probably realise, this is quite an inefficient way of adding a reaction rate UDF since the code effectively does the chemistry calculation twice. Fantastic! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
External Chemistry Solvers and Internal Reaction Rates | mturcios777 | OpenFOAM | 6 | May 17, 2013 08:11 |
Segmentation fault in running alternateSteadyReactingFoam,why? | NewKid | OpenFOAM | 18 | January 20, 2011 17:55 |
combustion - reaction rates - urgent help needed | siri | Main CFD Forum | 2 | March 3, 2007 13:25 |
EDC l- Reaction Rates are Zero for some Reactions | Atul | FLUENT | 2 | October 7, 2005 11:38 |
chemical reaction - decompostition | La S. Hyuck | CFX | 1 | May 23, 2001 01:07 |