|
[Sponsors] |
August 10, 2005, 11:56 |
parallized UDF
|
#1 |
Guest
Posts: n/a
|
HI,there! Does anybody ever do some researches using parallized UDF? I try it the whole day, but can't tackle it! Can anybody show me the step of using UDF in parallel version. (I'm using windows network for parallized running) Thx!
|
|
August 10, 2005, 12:25 |
Re: parallized UDF
|
#2 |
Guest
Posts: n/a
|
Hi
Don't you have documentation for parallel UDF's. What kind of udf are you writing. I mean for what purpose. If you don't have documentation, I can send it to you in pdf format. Vinod Dhiman |
|
August 11, 2005, 02:30 |
Re: parallized UDF
|
#3 |
Guest
Posts: n/a
|
HI,Vinod Dhiman I do have the udf documentation, but I can't load the compiled libudf. The following is a simple parallized udf I copied from the documentation. I want to use it to test the procedure of using parallized udf. First, I launch the fluent in parallel version.(Windows Network) Then I load the case file in the fluent host. After that, I compile the following udf and get the library named "libudf".(the directory containing the libudf and case file have already been shared). Finally, i load the "libudf" . An error appears.
so, could you give me some advise!! Thx! #include "udf.h" DEFINE_ADJUST(where_am_i, domain) { #if RP_HOST Message("I am in the host process\n"); #endif /* RP_HOST */ #if RP_NODE Message("I am in the node process with ID %d\n",myid); /* myid is a global variable which is set to the multiport ID for each node */ #endif /* RP_NODE */ #if !PARALLEL Message("I am in the serial process\n"); #endif /* !PARALLEL */ } |
|
August 11, 2005, 05:18 |
Re: parallized UDF
|
#4 |
Guest
Posts: n/a
|
What kind of error do you get? Are you sure you're compiling the UDF for the parallel solver. Go to your UDF directory/ntx86: if you see 3ddp_host and 3ddp_node or (3d_host and 3d_node depending of your analuysis) the UDF is for the parallel. Luca
|
|
August 11, 2005, 13:09 |
Re: parallized UDF
|
#5 |
Guest
Posts: n/a
|
Yes, can you tell what is the error you are getting
Vinod Dhiman |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 07:37 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 22:14 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 21:38 |
UDF...UDF...UDF...UDF | Luc SEMINEL | FLUENT | 0 | November 25, 2002 04:03 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 04:01 |