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

Parse error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 25, 2013, 03:40
Unhappy Parse error
  #1
Member
 
mehdimoradi
Join Date: Jun 2013
Posts: 50
Rep Power: 4
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, 04:37
Default hadi iraji
  #2
New Member
 
hadi
Join Date: May 2013
Posts: 10
Rep Power: 4
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, 05:24
Default
  #3
Member
 
mehdimoradi
Join Date: Jun 2013
Posts: 50
Rep Power: 4
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

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Native ParaView Reader Bugs tj22 OpenFOAM Paraview & paraFoam 266 Yesterday 02:00
Errors in UDF shashank312 Fluent UDF and Scheme Programming 6 May 30, 2013 20:30
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 07:24
Saving ParaFoam views and case sail OpenFOAM Paraview & paraFoam 9 November 25, 2011 16:46
user defined function cfduser CFX 0 April 29, 2006 10:58


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