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

Paralleling UDF for shared memory machines

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By El Veneno

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 19, 2013, 09:35
Default Paralleling UDF for shared memory machines
  #1
New Member
 
Trariq Mahmood
Join Date: Aug 2013
Posts: 3
Rep Power: 12
honeychem is on a distinguished road
Hi fellows,
I am trying to run UDF on a linux based machine with shared memory by parallel processing (16 processors).but i got the following error,

Error: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (lnia64).

No such file or directory
/data1/home/mehmood/fluent/3dAbid/libudf/lnia64/3ddp_host/libudf.so
Error Object: #f


Error: CAR: invalid argument [1]: wrong type [not a pair]
Error Object: ()

my UDF is as under,

#include "udf.h"

DEFINE_PROFILE(velocityinletw , thread, position)
{

float t, velocityw;
face_t f;

t = RP_Get_Real("flow-time");

velocityw = (3.14*0.01*1.4*0.496*cos(2*3.14*1.4*t));
begin_f_loop(f, thread)
{
F_PROFILE(f, thread, position) = velocityw;
}
end_f_loop(f, thread)

}

can any one help me in sorting out this problem.
est Regards
honeychem is offline   Reply With Quote

Old   September 23, 2013, 21:48
Default
  #2
New Member
 
Serch Rmz
Join Date: Sep 2013
Location: Mexico
Posts: 1
Rep Power: 0
El Veneno is on a distinguished road
Your program a UDF for paralell use, and I see your defining a profile, you can run the UDF in serial processing and then write the profile on the section your applying the UDF. Then open a new fluent case and you can read the profile instead of using the UDF. Ive done that but my profile was on stedy state and dont change. Good look.
honeychem likes this.
El Veneno is offline   Reply With Quote

Old   September 24, 2013, 10:05
Default
  #3
New Member
 
Trariq Mahmood
Join Date: Aug 2013
Posts: 3
Rep Power: 12
honeychem is on a distinguished road
Thanks El Veneno. I welcome your suggestion. will inform you about the progress.
honeychem is offline   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
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
Is my UDF correct ehooi FLUENT 0 January 5, 2011 02:56
How to optimize the memory usage when using FEM vasilis Main CFD Forum 11 August 24, 2009 23:57
linux cluster Johan Carlsson Siemens 6 July 4, 2003 12:02
ECC Memory Needed for Clusters? Jonas Larsson Main CFD Forum 1 January 17, 2001 08:08


All times are GMT -4. The time now is 04:23.