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

ERROR MESSAGE: line 1: parse error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 16, 2006, 13:02
Default ERROR MESSAGE: line 1: parse error
  #1
Lourival
Guest
 
Posts: n/a
Hellow Fluent users, I'm new in this forum as I'm new to FLUENT also.

I'm trying to understand the UDFs function, so I tryed the manual and it work fine until I tryed to interprete the simple function listed in the example of the manual.

So I runned to the internet to try to find an answer to my existential doubt "error in the line 1: parse error". What would be that error if I just copied exactly the same as in the manual ? And then I saw that this error is a commom error at the begging.

I would like to post here what I've done to fix this error.

1) I set the environment variable through the Start -> Programs -> Fluent.Inc -> Fluent 6.2.16 -> Set Environment (C:\Fluent.Inc\ntbin\ntx86\setenv.exe)

2) As I was running my case files and my UDF.c function in another folder I checked if the PATH to the case and to the UDF.c function was the SAME and WITHOUT ANY SPACE.

After doing this I could interpret the function without any error.

I hope that this note can help any other begginer as helped me.

Best Regards,

Lourival
  Reply With Quote

Old   February 18, 2006, 02:35
Default Re: ERROR MESSAGE: line 1: parse error
  #2
Seyed Farid Hosseinizadeh
Guest
 
Posts: n/a
Hey Man, May be you have entered the incorrect directory in the adreess of the file. For example your udf file is c:/ff/abc.c. You add it in intrepret window. If you see in the window the "c:/ff/abc.c" you must delete the "c:/ff/" and only see the file name in the window"abc.c". I hope that works for you. Best Regards, Farid,
  Reply With Quote

Reply


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
polynomial thermophysical properties II sebastian OpenFOAM Running, Solving & CFD 54 November 21, 2019 08:12
checking the system setup and Qt version vivek070176 OpenFOAM Installation 22 June 1, 2010 13:34
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 03:32
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 18:38
Problems of Duns Codes! Martin J Main CFD Forum 8 August 15, 2003 00:19


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