|
[Sponsors] |
December 28, 2010, 16:33 |
udf for heat generation rate
|
#1 |
Member
sarah
Join Date: Aug 2010
Posts: 42
Rep Power: 15 |
hi every body
I am supposed to write a udf for heat generation rate which is a cosine function #include"udf.h" DEFINE_SOURCE(energy_source,c,t,ds,eqn) { real x; ds[eqn]=0.3*cos(0.3*x); return sin(0.3*x) ; } but there are some errors! any one can help me to modidfy it. thanks |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF to measure Mass Flow Rate | a.lynchy | Fluent UDF and Scheme Programming | 31 | October 4, 2018 14:10 |
strain rate in UDF | Paulina | FLUENT | 11 | November 20, 2014 03:06 |
UDF for critical strain rate to extinction | Birute Bunkute | FLUENT | 1 | March 25, 2010 15:40 |
surface reaction rate with udf | yellow-stuff | FLUENT | 4 | January 29, 2010 12:53 |
heat generation rate w/m3 in 2D | Laszlo | FLUENT | 1 | May 6, 2004 11:58 |