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

UDF problem in 2 CPU machine

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2004, 10:18
Default UDF problem in 2 CPU machine
  #1
David
Guest
 
Posts: n/a
This is a simple UDF used to define the inlet velocity profile. It is compliled and linked correctly both in single CPU Windows machine and SGI 8 CPU Irix workstation. But when it is used in 2 CPU Windows server, it could not linked properly after being passed the compilation. Fluent prompts could not find the path of the UDF library. Who can tell me how to solve this proplem? Thanks in andvace.

#include "udf.h"

DEFINE_PROFILE(inlet_x_velocity,thread,index)

{

real x[ND_ND];

real z;

face_t f;

begin_f_loop(f,thread)

{

F_CENTROID(x,f,thread);

z=x[2];

F_PROFILE(f,thread,index)=0.511*log((z+0.000225)/0.000225)/0.42;

}

end_f_loop(f,thread)

}
  Reply With Quote

Old   April 18, 2004, 07:34
Default Re: UDF problem in 2 CPU machine
  #2
thomas
Guest
 
Posts: n/a
You have to build your library with your case already running in paralell. So launch your case in paralell, cmpiled and save and it will work. Thomas
  Reply With Quote

Old   April 18, 2004, 09:02
Default Re: UDF problem in 2 CPU machine
  #3
David
Guest
 
Posts: n/a
I find where the prolblem occurs. In the process of compiling UDF, it should specify the full path of the UDF library,not just the default libray name. Thank you for your reply.
  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
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 40 March 18, 2018 06:05
UDF Problem ozgur Fluent UDF and Scheme Programming 18 January 17, 2016 14:40
udf compiling problem akr FLUENT 3 August 22, 2007 07:14
UDF PROBLEM anant FLUENT 2 January 17, 2007 00:15
parallel UDF problem kerem FLUENT 2 June 20, 2006 06:56


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