|
[Sponsors] |
December 6, 2008, 08:03 |
loading udf in parallel sytem
|
#1 |
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; } } |
|
December 6, 2008, 12:41 |
Re: loading udf in parallel sytem
|
#2 |
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 |
|
December 7, 2008, 19:37 |
Re: loading udf in parallel sytem
|
#3 |
Guest
Posts: n/a
|
Have you used a netwrok path to load the udf?
eg: \\computer\fluent\udf |
|
December 8, 2008, 03:59 |
Re: loading udf in parallel sytem
|
#4 |
Guest
Posts: n/a
|
thanks, I will try today! Then I let you know!
|
|
December 8, 2008, 10:16 |
Re: loading udf in parallel sytem
|
#5 |
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!! |
|
December 13, 2008, 02:17 |
Re: loading udf in parallel sytem
|
#6 |
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!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem loading UDF library in parallel cluster | Veera Gutti | FLUENT | 8 | July 26, 2016 08:24 |
Loading parallel udf | Pablo | FLUENT | 7 | March 6, 2011 11:25 |
problem loading UDF in parallel fluent | Tim | FLUENT | 12 | July 12, 2008 13:59 |
UDF Error while loading | Sujay S | FLUENT | 8 | November 12, 2007 23:30 |
Problems with loading udf | Mukund | FLUENT | 6 | July 6, 2004 03:13 |