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

interpreting UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 27, 2012, 15:37
Default interpreting UDF
  #1
New Member
 
Daniel Ortega
Join Date: Jul 2012
Posts: 3
Rep Power: 14
daniel_ortega79 is on a distinguished road
I have written a UDF code and saved it as UDF.C in my ntx86 folder. But when I want to interpret it in my fluent it shows the below error:
line 18: parse error
my line 18 is:
DEFINE_PROFILE(x_velocity,t,i)

is there something wrong with my udfconfig.h file? because I made some changes in my udf file and saved them in my udf.c file but didn't change anything else.
daniel_ortega79 is offline   Reply With Quote

Old   July 27, 2012, 19:19
Default
  #2
Member
 
Join Date: May 2009
Posts: 58
Rep Power: 17
amir2920 is on a distinguished road
Quote:
Originally Posted by daniel_ortega79 View Post
I have written a UDF code and saved it as UDF.C in my ntx86 folder. But when I want to interpret it in my fluent it shows the below error:
line 18: parse error
my line 18 is:
DEFINE_PROFILE(x_velocity,t,i)

is there something wrong with my udfconfig.h file? because I made some changes in my udf file and saved them in my udf.c file but didn't change anything else.
I think there is some mistakes in your line 18. I used this and it worked.

DEFINE_PROFILE(inlet_x_velocity, thread, position)

You can find the meaning of each one in FLUENT manual. (e.g. Inlet_X_velocity is the name of UDF)

Good luck
amir2920 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
parse error while interpreting udf Kristin Fluent UDF and Scheme Programming 3 March 15, 2012 07:43
Problem with interpreting UDF Boris Kloser Fluent UDF and Scheme Programming 1 December 30, 2009 00:48
parse error with interpreting UDF ivanbuz Fluent UDF and Scheme Programming 2 August 13, 2009 19:29
interpreting UDF Muhammad Shakaib FLUENT 1 January 24, 2006 11:58
help wanted on interpreting a simple UDF Suresh FLUENT 4 December 8, 2004 12:41


All times are GMT -4. The time now is 22:46.