|
[Sponsors] |
October 19, 2009, 12:18 |
Parallelizing Transient UDF
|
#1 |
New Member
Elias Montoya
Join Date: Aug 2009
Posts: 9
Rep Power: 16 |
Hi, I am a newbie on UDFs and I have a problem that maybe is easy or even for some of you who have a lot of experience.
From the fluent's UDF manual I copied an example and changed a function to get the following UDF /************************************************** ******************** unsteady.c UDF for specifying a transient velocity profile boundary condition ************************************************** *********************/ #include "udf.h" DEFINE_PROFILE(unsteady_velocity, thread, position) { face_t f; real t = CURRENT_TIME; begin_f_loop(f, thread) { F_PROFILE(f, thread, position) = 0.5*t; } end_f_loop(f, thread) } It works when I run it in serial fluent, but it does not work when I try to run the simulation in parallel fluent. I have read the manual but I honestly dont know how to make it work. It would be great if someone told me what should I add or change to make it work for parallel fluent. Thanks for any reply, Elias |
|
Tags |
parallel, transient, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help, parallelizing UDF problem. | blivurmind | Fluent UDF and Scheme Programming | 2 | July 24, 2009 11:40 |
Help, parallelizing UDF problem | blivurmind | FLUENT | 0 | July 9, 2009 21:39 |
Multi step transient UDF velocity profile problem | William177 | FLUENT | 1 | February 3, 2008 06:47 |
spatial and transient B.C. using UDF | Park | FLUENT | 0 | April 28, 2005 21:32 |
UDF for transient boundary condition? | Shankar | FLUENT | 1 | November 22, 2003 08:10 |