|
[Sponsors] |
October 25, 2001, 17:16 |
Unsteady Velocity - UDF in parallel
|
#1 |
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. |
|
November 6, 2001, 05:35 |
Re: Unsteady Velocity - UDF in parallel
|
#2 |
Guest
Posts: n/a
|
Hi,
Your UDF is perfect. However, Did you select the "unsteady_velocity" in the boundary conditions panel ? Thanks, |
|
November 6, 2001, 10:44 |
Re: Unsteady Velocity - UDF in parallel
|
#3 |
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. |
|
November 7, 2001, 04:23 |
Re: Unsteady Velocity - UDF in parallel
|
#4 |
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. |
|
November 23, 2001, 05:40 |
Re: Unsteady Velocity - UDF in parallel
|
#5 |
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 |
|
|
|
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 |