|
[Sponsors] |
July 29, 2009, 07:02 |
UDF on parallel
|
#1 |
Senior Member
christine
Join Date: Jul 2009
Location: europe
Posts: 125
Rep Power: 17 |
olà everyone,
I have a problem with a UDF that i'm trying to use on parallel. When using it in the serial mode, it's ok. But i don't understand how to use the commands such as "#if RP_HOST .... and also the commands such as "host_to_node"...ecc. My udf is as follows - i can't send it for "confidential reasons" - so i will try to be as clear as precise as possible : ----------------------------------------------- #include "udf.h" #include "math.h" #include "stdio.h" #include <stdlib.h> #include <unistd.h> #include "para.h" (is this one useful? ) #define M_PI 3.14159265.... int **holewall; int *indicet; DEFINE_ON_DEMAND(calc_holewall) - list of variables... - reading of the data file - other variables : meth = (Thread **)malloc(sizeof(Thread *)*idotmax); holewall = (int **)malloc(sizeof(int *)*idotmax); - program that loops on c_loop end of DEFINE_ON_DEMAND DEFINE_SOURCE(xmom_source,c,t,dS,eqn) -list of variables - program the same for ymom and zmom. ------------------------------------------------ I don't know how i can understand what the host or the nodes do... If someone as any clue for me...i can be more precise if needed. Thank you very much. |
|
Tags |
fluent - udf - parallel |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
udf compile in parallel system | tahereh | FLUENT | 1 | December 9, 2008 10:48 |
Help: how to realize UDF on parallel cluster? | Haoyin | FLUENT | 1 | August 6, 2007 14:53 |
Parallel Fluent +UDF | Jack Martinez | FLUENT | 0 | June 28, 2007 12:19 |
UDF in Parallel | Gavin | FLUENT | 1 | June 19, 2005 23:17 |
UDF in parallel version. | yobee | FLUENT | 0 | August 17, 2004 05:12 |