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

Unsteady Velocity - UDF in parallel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 25, 2001, 17:16
Default Unsteady Velocity - UDF in parallel
  #1
Prateep Chatterjee
Guest
 
Posts: n/a
I've failed to make my UDF, which computes a time dependent inlet boundary velocity, to work on an Origin 2000 multi processor machine. here is the C code:

#include "udf.h"

DEFINE_PROFILE(unsteady_velocity, thread, position)

{ face_t f;

/* #if !RP_HOST */

begin_f_loop(f, thread)

{

real t = RP_Get_Real("flow-time");

F_PROFILE(f, thread, position) = 0.01789 + 0.001789*sin(20.*t);

} end_f_loop(f, thread)

/* #endif */

}

can anybody point out what changes should I make to the code to make it work in parallel ? the error comes out as:

"chip-exec: unsteady_velocity not found"

I've tried to make changes after looking at files from Fluent. I have some info. related to UDFs in parallel @ http://fbox.vt.edu/users/pchatter. wasn't able to solve the problem though.

  Reply With Quote

Old   November 6, 2001, 05:35
Default Re: Unsteady Velocity - UDF in parallel
  #2
hampton
Guest
 
Posts: n/a
Hi,

Your UDF is perfect. However, Did you select the "unsteady_velocity" in the boundary conditions panel ?

Thanks,
  Reply With Quote

Old   November 6, 2001, 10:44
Default Re: Unsteady Velocity - UDF in parallel
  #3
Prateep Chatterjee
Guest
 
Posts: n/a
yes, I did select the function in the BC panel. I've found out the error:

the "cpp" being used for compiling the UDF was not in the path of NQS batch scheduler! so, all my efforts in trying to find errors in the UDF/Fluent was a complete waste of time. so, in reality, the UDF wasn't getting compiled at all.
  Reply With Quote

Old   November 7, 2001, 04:23
Default Re: Unsteady Velocity - UDF in parallel
  #4
hampton
Guest
 
Posts: n/a
Hi,

Are you using "interpreted UDF" ,aren't you?. In case of this kind of problem, there are possibilities that your system couldn't find the "cpp" during the iterations as you mentioned. So, I recommend changing into "complied UDF". Then, the problem will be solved.

About "complied UDF",please refer to Chapter 24 in FLUENT User's Guide .

Thanks.
  Reply With Quote

Old   November 23, 2001, 05:40
Default Re: Unsteady Velocity - UDF in parallel
  #5
Volker Pawlik
Guest
 
Posts: n/a
It is necessary that all cpus or machines find the udf. Hence the path has to be same for all yor machines in the cluster. If not you will get such a message.

Volker
  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
UDF Unsteady velocity parabolic profile Rashad FLUENT 3 October 1, 2018 16:27
unsteady inlet velocity udf jill FLUENT 8 February 10, 2015 07:04
UDF for a Unsteady velocity change Paul FLUENT 8 August 29, 2011 03:19
UDF Unsteady velocity profile Rashad FLUENT 0 February 27, 2008 15:57
Prob with UDF on parallel computing mainamunna FLUENT 0 February 12, 2008 09:26


All times are GMT -4. The time now is 03:55.