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

parse error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 14, 2006, 07:48
Default parse error
  #1
Tajul
Guest
 
Posts: n/a
Hi everyone I'm trying to pass the Interpreted UDF to Fluent 6.1. But the program generates the following messgae: line 1 parse error. When I use compiled it is ok. My UDF is correct. Can anybody help me?

  Reply With Quote

Old   February 15, 2006, 00:51
Default Re: parse error
  #2
shanu
Guest
 
Posts: n/a
pls fwd ur sourse code to shanuraj82@yahoo.com
  Reply With Quote

Old   February 15, 2006, 02:49
Default Re: parse error !!!!!!!!!!!!!!
  #3
Ahmed
Guest
 
Posts: n/a
What you need is a good C language primer and an English dictionary. Why The parser is a programme that reads a text file and translates its contents to the equivalent machine language. If you have parse error is because you are not following the syntax of the C language (in this case)
  Reply With Quote

Old   February 16, 2006, 10:46
Default Re: parse error !!!!!!!!!!!!!!
  #4
Makaveli
Guest
 
Posts: n/a
This will occur running fluent in windows if the udf file is a directory which has spaces in the path e.g C:\My Documents

Try moving the file to something like C:\temp
  Reply With Quote

Old   February 16, 2006, 23:58
Default Re: parse error !!!!!!!!!!!!!!
  #5
Tajul
Guest
 
Posts: n/a
Hi Makaveli Thanks a lot. My problem is solved by you suggestion. I appreciate your help. Thanks again. Bye regards Tajul
  Reply With Quote

Old   February 17, 2006, 05:24
Default Re: parse error !!!!!!!!!!!!!!
  #6
Makaveli
Guest
 
Posts: n/a
Not a problem. From what I can understand this is quite a common error and no where in the documentation does it tell you how to avoid it.
  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
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 12:39
nonNewtonian viscosity model mhassani OpenFOAM Programming & Development 5 January 7, 2013 10:27
Accessing phi from a fvPatchField at same patch johndeas OpenFOAM 1 September 13, 2010 21:23
compile errors of boundary condition "expDirectionMixed" liying02ts OpenFOAM Bugs 2 February 1, 2010 21:11
user defined function cfduser CFX 0 April 29, 2006 11:58


All times are GMT -4. The time now is 03:04.