CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

How can I modify surface reaction using UDF

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 28, 2014, 09:13
Default How can I modify surface reaction using UDF
  #1
New Member
 
Juun
Join Date: Aug 2013
Location: UK
Posts: 12
Rep Power: 12
Juun is on a distinguished road
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 13:55.
Juun is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
surface reaction UDF jeniuswx Fluent UDF and Scheme Programming 2 August 8, 2017 12:06
[Gmsh] Problem with Gmsh nishant_hull OpenFOAM Meshing & Mesh Conversion 23 August 5, 2015 02:09
[snappyHexMesh] Layers don't fully surround surface EVBUCF OpenFOAM Meshing & Mesh Conversion 14 August 20, 2012 04:31
udf for partical surface reaction blaid FLUENT 0 April 25, 2011 07:24
parallelization of serial Fluent UDF for surface reaction sri31049 FLUENT 0 September 8, 2010 14:15


All times are GMT -4. The time now is 06:45.