|
[Sponsors] |
![]() |
![]() |
#1 |
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 |
|
![]() |
![]() |
![]() |
#2 |
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,
|
|
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
polynomial thermophysical properties II | sebastian | OpenFOAM Running, Solving & CFD | 54 | November 21, 2019 07:12 |
checking the system setup and Qt version | vivek070176 | OpenFOAM Installation | 22 | June 1, 2010 12:34 |
Installation OF1.5-dev | ttdtud | OpenFOAM Installation | 46 | May 5, 2009 02:32 |
Compiling problems with hello worldC | fw407 | OpenFOAM Installation | 21 | January 6, 2008 17:38 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 14, 2003 23:19 |