|
[Sponsors] |
January 2, 2012, 08:13 |
calculate integral in UDF
|
#1 |
New Member
Yu-Pei Chen
Join Date: Jun 2011
Posts: 26
Rep Power: 14 |
Hi, everybody.
My case has a heat flux cross the wall, and it's not a constant value. The value is calculated by integrating the domain from z1 to z2, the variable in the integral is temperature (function of z), others are just some constants. I wanna calculate the integral in UDF. I have a idea by using "TRAPEZOIDAL RULE", but I don't now how to do it. Does anyone knows how to calculate integral in UDF or how to apply TRAPEZOIDAL RULE ?? thank you very much ! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Drag coefficient, DPM. | jorge poyatos | FLUENT | 14 | January 20, 2012 13:41 |
UDF for Heat Exchanger model | francois louw | FLUENT | 2 | July 16, 2010 02:21 |
How to calculate the mass flow rate with UDF ? | HP | FLUENT | 0 | January 10, 2005 19:38 |
DEFINE_DPM_OUTPUT macro UDF HELP | Puneet | FLUENT | 3 | November 28, 2003 10:55 |
DEFINE_GEOM UDF Problems | Pat | FLUENT | 0 | August 14, 2003 13:16 |