DEFINE_VR_RATE issue
Hello everyone!
I wrote this UDF to define a reaction rate: #include "udf.h" DEFINE_VR_RATE(user_rate, c, t, r, mole_weight, species_mf, rr) { real s1 = species_mf[0]; real mw1 = mole_weight[0]; *rr=(2.303/12.6)*s1*mw1; } which seems to work. Now I need to insert a -temperature dependent- value of D (which is constant in this udf and is 12.6 ). The dependence is D=12.6/ 10^((T-121)/10) How can I insert it? |
Please see my reply in this thread:http://www.cfd-online.com/Forums/flu...botulinum.html
Quote:
|
All times are GMT -4. The time now is 17:47. |