|
[Sponsors] |
UDF is working in Laptop, but not working in Serial Cluster |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 20, 2013, 22:42 |
UDF is working in Laptop, but not working in Serial Cluster
|
#1 |
Senior Member
Tanjina Afrin
Join Date: May 2013
Location: South Carolina
Posts: 169
Rep Power: 13 |
Hello everyone,
I am facing a weird problem. This is the UDF for assign hydrostatic pressure on one face. #include "udf.h" DEFINE_PROFILE(pressure_profile,t,i) { real x[ND_ND]; real y; face_t f; begin_f_loop(f,t) { F_CENTROID(x,f,t); y=x[1]; F_PROFILE(f,t,i)=(0.4898-y)*998.2*9.81; } end_f_loop(f,t) } It is working properly when I run it on my Laptop. But it's not working on Cluster, even I select serial processor. it gives me the following error. cpp -I"/opt/ansys_inc/v145/fluent/fluent14.5.0/src" -I"/opt/ansys_inc/v145/fluent/fluent14.5.0/cortex/src" -I"/opt/ansys_inc/v145/fluent/fluent14.5.0/client/src" -I"/opt/ansys_inc/v145/fluent/fluent14.5.0/multiport/src" -I. -DUDFCONFIG_H="<udfconfig.h>" "/home/tafrin/side_inlet_wide_12_8.75_files/dp0/FFF/Fluent/hello.c" Error: /home/tafrin/side_inlet_wide_12_8.75_files/dp0/FFF/Fluent/hello.c: line 2: syntax error. For parallel processor, it also gives gives the same error. I can understand that for parallel, it needs some modification, but for serial why it is not working on cluster, I don't understand. I didn't use C language before, so facing difficulties to debug the problem. Could anyone please help me in this regard? Thanks in advance. Regards, Tanjina Last edited by Tanjina; December 21, 2013 at 01:43. Reason: adding appropriate word |
|
Tags |
cluster, parallel computation, serial, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem loading UDF library in parallel cluster | Veera Gutti | FLUENT | 8 | July 26, 2016 08:24 |
Differences between serial and parallel runs | carsten | OpenFOAM Bugs | 11 | September 12, 2008 12:16 |
UDF Working At The Same Time | Carlos V. | FLUENT | 0 | March 21, 2006 12:30 |
compiling my UDF | Seyed Farid Hosseinizadeh | FLUENT | 22 | February 14, 2006 11:19 |
DEFINE_DPM_OUTPUT macro UDF HELP | Puneet | FLUENT | 3 | November 28, 2003 11:55 |