CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   UDF about mass source (http://www.cfd-online.com/Forums/fluent/66088-udf-about-mass-source.html)

vip_lws July 5, 2009 22:57

UDF about mass source
 
Dear all,
I have a question about UDF.
I want to compile a mass source UDF which about the release rate of volatile gas.
The equation is:
(R_(t,i) ) ̃=[c_i exp(-E_i/(R*T_c ))](m_(0,i)-m_(t,i) )
m_(t,i)=_0^t▒(R_(t,i) ) ̃ dt


How to compile the UDF or UDS.

Thanks a lot.


All times are GMT -4. The time now is 17:47.