CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Problem with UDF in Linux?

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   March 6, 2006, 17:11
Default Problem with UDF in Linux?
  #1
Andrew
Guest
 
Posts: n/a
I wrote a short and simple UDF for Fluent Windows XP, which works in both serial and parallel processing.

However when I take this simulation into Linux, I keep getting the following error:

Error: /home/fluentuser/UDF.c: line 2: Syntax Error

I run fluent from the /home/fluentuser directory and that is where my cas/data is stored.

By the way, the system has recently had a fresh install so all it has on is Redhat and Fluent 6.2.16

Can anyone help me solve the problem,

Thank you

Andrew

P.S. The code is intepreted and reads as follows:

#include "udf.h"

DEFINE_SDOF_PROPERTIES(store, prop, dt, time, dtime) {

/* Define the mass matrix */

prop[SDOF_MASS] = 5000.;

prop[SDOF_IZZ] = 5000.;
  Reply With Quote

 


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 40 March 18, 2018 06:05
UDF using problem, error happens-heip!! Michael FLUENT 1 December 9, 2008 07:51
udf compiling problem akr FLUENT 3 August 22, 2007 07:14
UDF PROBLEM anant FLUENT 2 January 17, 2007 00:15
I have problem of UDF with turbulent premx source. Z FLUENT 0 February 16, 2005 03:34


All times are GMT -4. The time now is 07:25.