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

how to hook UDF to a parallel job??

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 16, 2010, 00:30
Default how to hook UDF to a parallel job??
  #1
Member
 
Sandeep
Join Date: Jul 2010
Posts: 48
Rep Power: 16
gandesk is on a distinguished road
Hi,

I want to run a parallel job on a linux cluster. I have written a UDF which runs for my serial job. How do I make it useful for the same case to run in parallel. I am including my UDF below.

Any help would be appreciated!!


#include "udf.h"
DEFINE_PROPERTY(dyn_surf_tension, cell, thread)
{
double dst;
double t = CURRENT_TIME;
dst = 141121*pow(t,5) + 0.071;
return dst;
}
gandesk is offline   Reply With Quote

Reply


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 parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14
Help: how to realize UDF on parallel cluster? Haoyin FLUENT 1 August 6, 2007 14:53
Parallel Fluent +UDF Jack Martinez FLUENT 0 June 28, 2007 12:19
UDF for parallel computation Stanislav Kraev FLUENT 3 October 10, 2006 04:12
UDF in parallel version. yobee FLUENT 0 August 17, 2004 05:12


All times are GMT -4. The time now is 14:05.