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

parallized UDF

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 10, 2005, 11:56
Default parallized UDF
  #1
matong
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!
  Reply With Quote

Old   August 10, 2005, 12:25
Default Re: parallized UDF
  #2
Vinod Dhiman
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
  Reply With Quote

Old   August 11, 2005, 02:30
Default Re: parallized UDF
  #3
matong
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 */ }
  Reply With Quote

Old   August 11, 2005, 05:18
Default Re: parallized UDF
  #4
Luca
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
  Reply With Quote

Old   August 11, 2005, 13:09
Default Re: parallized UDF
  #5
Vinod Dhiman
Guest
 
Posts: n/a
Yes, can you tell what is the error you are getting

Vinod Dhiman
  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
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
Dynamic Mesh UDF Qureshi FLUENT 1 December 2, 2009 01:27
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 05:03
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 05:01


All times are GMT -4. The time now is 12:59.