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

loading udf in parallel sytem

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 6, 2008, 08:03
Default loading udf in parallel sytem
  #1
tahere
Guest
 
Posts: n/a
hello my friends i have a problem in loading my udf. my project is dynamic mesh and i should compile my udf. in serial systems,i dont have any problem. in parallel system with 3 nodes i can build my libudf but when i want to load it,the computer hangs and i cant do anything more! i am sure that my directory is shared.

my udf is as follow:

#include "udf.h" static real v_prev; DEFINE_CG_MOTION(tnewback,dt,vel,omega,time,dtime) { Thread *t = DT_THREAD(dt); real dv;

/* reset velocities */ NV_S(vel, =, 0.0); NV_S(omega, =, 0.0); if (!Data_Valid_P())

return;

if ( time <= 2)

{ dv = time ;

v_prev = dv;

/* set x-component of velocity */

vel[2] =10* v_prev;}

/************************************************** **********/

if ( time > 2 && time <= 5.1)

{ v_prev =20;

/* set x-component of velocity */

vel[2] = v_prev;}

/************************************************** **********/

if ( time > 5.1 && time <= 7.1)

{ dv = -10* time + 51 ;

v_prev = dv + 20;

/* set x-component of velocity */

vel[2] = v_prev;}

if ( time > 7.1 )

{ vel[2] = 0;

} }
  Reply With Quote

Old   December 6, 2008, 12:41
Default Re: loading udf in parallel sytem
  #2
bohis
Guest
 
Posts: n/a
Hi mate!

I have completely the same problem. I can build the udf library without any problem. Despite the working directory is shared, compute nodes on different machine cannot read it. It is very confusing, because there is report in fluent console like "the working directory is not shared! " and in real, it is shared. I am trying to cope with this. If I work it out, I will put it here. I would appretiate if you do the same, thanks! good luck! jack
  Reply With Quote

Old   December 7, 2008, 19:37
Default Re: loading udf in parallel sytem
  #3
CDE
Guest
 
Posts: n/a
Have you used a netwrok path to load the udf?

eg: \\computer\fluent\udf
  Reply With Quote

Old   December 8, 2008, 03:59
Default Re: loading udf in parallel sytem
  #4
bohis
Guest
 
Posts: n/a
thanks, I will try today! Then I let you know!

  Reply With Quote

Old   December 8, 2008, 10:16
Default Re: loading udf in parallel sytem
  #5
bohis
Guest
 
Posts: n/a
CDE was right, I forgot to use full the path to my udf library. For others: if you fail to load UDF in parallel, it could be because your UDF was compiled in serial Fluent.

thanks, bye!!

  Reply With Quote

Old   December 13, 2008, 02:17
Default Re: loading udf in parallel sytem
  #6
tahereh
Guest
 
Posts: n/a
hi friends! please explain more. where should i use the network full path? while i am compiling my udf i can't find anywhere to write fullpath!

  Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem loading UDF library in parallel cluster Veera Gutti FLUENT 7 July 3, 2011 09:15
Loading parallel udf Pablo FLUENT 7 March 6, 2011 11:25
problem loading UDF in parallel fluent Tim FLUENT 12 July 12, 2008 12:59
UDF Error while loading Sujay S FLUENT 8 November 12, 2007 23:30
Problems with loading udf Mukund FLUENT 6 July 6, 2004 02:13


All times are GMT -4. The time now is 16:15.