|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
endlessfree
Join Date: Sep 2009
Posts: 2
Rep Power: 0 ![]() |
the program with parallel udf was solved the average temperature of Zone ID=4.when the average temperature is above 1013K,send save and exit fluent signal.it may be compiled in windows and linux,but run in windows,can not run in linux. please help me.
display error: /public/software/Fluent.Inc/fluent6.3.26/lnamd64/3d_host/fluent.6.3.26: symbol lookup error: /public/home/nengyuan/endlessfree/example/libudf/lnamd64/3d_node/libudf.so: undefined symbol: node_recv_int_1 #include "udf.h" static int alid=4; DEFINE_ADJUST(my_adjust,d) { /*!!!!al Zone ID*/ real cell_tot=0,altavg=0.; #if !RP_NODE char *filenamesignal="//public//home//nengyuan//endlessfree//example//exit-fluent.txt"; /*!!!save and exit fluent signal*/ FILE *fp=NULL; #endif #if !RP_HOST Thread *alt; cell_t c; #endif /*#if !RP_NODE alid=4; #endif*/ host_to_node_int_1(alid); #if !RP_HOST alt= Lookup_Thread(d, alid); begin_c_loop(c,alt) { cell_tot++; altavg += C_T(c,alt); } end_c_loop(c,alt) #if RP_NODE altavg=PRF_GRSUM1(altavg); cell_tot=PRF_GRSUM1(cell_tot); #endif #endif node_to_host_real_2(altavg,cell_tot); #if !RP_NODE altavg /= cell_tot; Message("Al Averge Temperature= %.2f\n",altavg); if(altavg>=1013){ fp=fopen(filenamesignal,"w"); fclose(fp); } #endif } |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parallel UDF Problem | Dimitris | Fluent UDF and Scheme Programming | 7 | September 20, 2013 01:51 |
A UDF Problem in Parallel Mode | Jun | FLUENT | 1 | October 26, 2011 12:49 |
Problem with UDF compilation in LINUX | tez | Fluent UDF and Scheme Programming | 2 | April 11, 2010 19:18 |
problem loading UDF in parallel fluent | Tim | FLUENT | 12 | July 12, 2008 12:59 |
Problem in Parallel UDF | Giacomo de Renzi | FLUENT | 12 | June 18, 2008 12:19 |