CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

UDF is working in Laptop, but not working in Serial Cluster

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   December 20, 2013, 22:42
Default UDF is working in Laptop, but not working in Serial Cluster
Senior Member
Tanjina Afrin
Join Date: May 2013
Location: South Carolina
Posts: 168
Rep Power: 6
Tanjina is on a distinguished road
Hello everyone,

I am facing a weird problem. This is the UDF for assign hydrostatic pressure on one face.

#include "udf.h"

real x[ND_ND];
real y;
face_t f;

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.


Last edited by Tanjina; December 21, 2013 at 01:43. Reason: adding appropriate word
Tanjina is offline   Reply With Quote


cluster, parallel computation, serial, udf

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem loading UDF library in parallel cluster Veera Gutti FLUENT 8 July 26, 2016 07:24
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 11: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

All times are GMT -4. The time now is 18:22.