|January 29, 2008, 05:15||
Programing a UDF
I´m a begineer using UDF´s. I´d like to create one UDF related with methane combustion (CH4 + 2O2-->CO2 + 2H2O).
The reaction mechanism is (-R_CH4)=k1*YCH4^0.72*e(k2/T) [mol/s·m3], where K1 and K2 are constants, T is temperature and YCH4 is the molar fraction of methane.
I´d like to use the DEFINE_SOURCE macro because is the one I´ve used before but I don´t know how to translate the reaction to a programing language!!
Thank you in advance
|Thread||Thread Starter||Forum||Replies||Last Post|
|UDF parallel error: chip-exec: function not found?????||shankara.2||Fluent UDF and Scheme Programming||1||January 16, 2012 23:14|
|How to add a UDF to a compiled UDF library||kim||FLUENT||3||October 26, 2011 21:38|
|Dynamic Mesh UDF||Qureshi||FLUENT||1||December 2, 2009 01:27|
|UDF...UDF...UDF...UDF||Luc SEMINEL||FLUENT||0||November 25, 2002 05:03|
|UDF, UDF, UDF, UDF||Luc SEMINEL||Main CFD Forum||0||November 25, 2002 05:01|