|
[Sponsors] |
DEFINE_NET_REACTION_RATE of species reaction rate |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 5, 2022, 12:50 |
DEFINE_NET_REACTION_RATE of species reaction rate
|
#1 |
New Member
ZhangHaoqi
Join Date: Jul 2022
Posts: 1
Rep Power: 0 |
Hi everyone,
I am learning how to modify the reaction rate through DEFINE_NET_REACTION_RATE while using the EDC model. I know it is used to "compute the homogeneous net molar reaction rates of all species" and I could program the rate of each reaction, but I have no idea how to program the rate of every species. For example, a1A+b1B->c1C;//reaction rate is r1 c2C+d1D->e1E;//reaction rate is r2 Obviously, the rate of C = c1*r1-c2*r2, but how to describe that in the UDF The codes below are from the header file "material.h", do they help? real stoich_product[MAX_PDF_SPECIES]; /* stoichiometric coefficients of products */ real stoich_reactant[MAX_PDF_SPECIES]; /* stoichiometric coefficients of reactants */ What's more, after I hook that UDF, should I use a new UDF to modify the source term? Any suggestion would be appreciated. Thank you. |
|
Tags |
define_net_reaction_rate, edc model, reaction kinetics, udf and programming |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Species transport for decomposition reaction | achrofi | FLUENT | 1 | August 1, 2017 13:26 |
Modelling species transport and implementing reaction rates | res | FLUENT | 0 | May 11, 2017 11:29 |
Defining reaction rate with multiple surface reaction | Fred Marias | FLUENT | 1 | September 12, 2013 05:56 |
calculate species reaction rate | Anna_p | FLUENT | 2 | July 1, 2013 14:10 |
UDF for catalyst volumetric reaction, temperature overshoot though rate is small | elmcmaster | FLUENT | 0 | October 11, 2010 10:37 |