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

Parse error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 25, 2013, 04:40
Unhappy Parse error
  #1
Member
 
mehdimoradi
Join Date: Jun 2013
Posts: 53
Rep Power: 13
mehdimoradi. is on a distinguished road
Hi
I have been a udf as follow:
After trying to interpret it, error reports was seen as follow:
Error: C:\Fluent.Inc\ntbin\ntx86\udf.c: line 13: parse error.
Error: C:\Fluent.Inc\ntbin\ntx86\udf.c: line 31: parse error.
Error: C:\Fluent.Inc\ntbin\ntx86\udf.c: line 46: parse error.
Error: C:\Fluent.Inc\ntbin\ntx86\udf.c: line 51: parse error.
How eliminate these error?
Anyhelp would be appreciated.

Last edited by mehdimoradi.; November 5, 2013 at 06:27.
mehdimoradi. is offline   Reply With Quote

Old   October 25, 2013, 05:37
Default hadi iraji
  #2
New Member
 
hadi
Join Date: May 2013
Posts: 10
Rep Power: 13
h.iraji is on a distinguished road
hi
salam.

^ incorrect
correct :for example x ^y = pow(x, y);

fluent help :
// UDF Manual // A. C Programming Basics // A.13. C Library Functions // A.13.2. Miscellaneous Mathematical Functions


*
h.iraji is offline   Reply With Quote

Old   October 25, 2013, 06:24
Default
  #3
Member
 
mehdimoradi
Join Date: Jun 2013
Posts: 53
Rep Power: 13
mehdimoradi. is on a distinguished road
Quote:
Originally Posted by h.iraji View Post
hi
salam.

^ incorrect
correct :for example x ^y = pow(x, y);

fluent help :
// UDF Manual // A. C Programming Basics // A.13. C Library Functions // A.13.2. Miscellaneous Mathematical Functions


*
Salam
Thanks my friend. I have modified the writted code based your comment, but parse errors donot resolved.
mehdimoradi. is offline   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
Errors in UDF shashank312 Fluent UDF and Scheme Programming 6 May 30, 2013 21:30
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 08:24
[OpenFOAM] Saving ParaFoam views and case sail ParaView 9 November 25, 2011 16:46
user defined function cfduser CFX 0 April 29, 2006 11:58


All times are GMT -4. The time now is 16:59.