CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

udf for heat generation rate

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   December 28, 2010, 16:33
Default udf for heat generation rate
  #1
Member
 
sarah
Join Date: Aug 2010
Posts: 42
Rep Power: 15
sarah l is on a distinguished road
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
hariehkr and jose_zola like this.
sarah l is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 09:01.