|
[Sponsors] |
July 28, 2014, 10:13 |
How can I modify surface reaction using UDF
|
#1 |
New Member
Juun
Join Date: Aug 2013
Location: UK
Posts: 12
Rep Power: 13 |
Hello everyone, I use Fluent to do a simulation about surface reactions. There are 8 reactions, but I only want to change one reaction rate. (for example the 2nd reaction (or reaction number 2) in my reaction settings).
I have read about the examples in the manual, DEFINE_SR_RATE….. but still no idea how to use those f,t,r,mw,yi,rr and T_w = F_T(f,t); rho_w = C_R(c0,t0)*C_T(c0,t0)/T_w; etc.. As the default equation is k=Ae^(-E/RT), I want to keep everything unchanged, but only adding an extra term for reaction number 2, like k=Ae^((-E/RT)*(1-surface_coverage_ratio)). My question is How to write the code about this? Or what code should I use? How to apply it to the wall? After apply this UDF, will I able to change pre exponential factor and activation energy from reaction window? or I have to do it within my UDF file? Thanks a lot for any help Last edited by Juun; July 31, 2014 at 14:55. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
surface reaction UDF | jeniuswx | Fluent UDF and Scheme Programming | 2 | August 8, 2017 13:06 |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 03:09 |
[snappyHexMesh] Layers don't fully surround surface | EVBUCF | OpenFOAM Meshing & Mesh Conversion | 14 | August 20, 2012 05:31 |
udf for partical surface reaction | blaid | FLUENT | 0 | April 25, 2011 08:24 |
parallelization of serial Fluent UDF for surface reaction | sri31049 | FLUENT | 0 | September 8, 2010 15:15 |