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

Heterogeneous reaction rate UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 22, 2013, 01:43
Default Heterogeneous reaction rate UDF
  #1
snh
New Member
 
Snh
Join Date: Aug 2012
Location: India
Posts: 14
Rep Power: 14
snh is on a distinguished road
Hi

I am new to using UDF in fluent and I am trying to interpret a heterogeneous reaction rate UDF which is provided in UDF manual. But when I interpret the UDF i get the following message:

cpp -I"C:\Fluent.Inc\fluent6.3.26/src" -I"C:\Fluent.Inc\fluent6.3.26/cortex/src" -I"C:\Fluent.Inc\fluent6.3.26/client/src" -I"C:\Fluent.Inc\fluent6.3.26/multiport/src" -I. -DUDFCONFIG_H="<udfconfig.h>" "C:\Fluent.Inc\ntbin\ntx86\rate.c"
Error: C:\Fluent.Inc\ntbin\ntx86\rate.c: line 2: parse error.

Can anyone help me out with this error ?
snh is offline   Reply With Quote

Old   February 22, 2013, 11:33
Default
  #2
New Member
 
Tim Maguire
Join Date: Sep 2009
Posts: 19
Rep Power: 17
timjm is on a distinguished road
You may either be missing pointers, or you do not have a return function in your UDF.
timjm is offline   Reply With Quote

Old   February 23, 2013, 03:15
Default
  #3
Senior Member
 
SSL
Join Date: Oct 2012
Posts: 226
Rep Power: 15
msaeedsadeghi is on a distinguished road
Quote:
Originally Posted by snh View Post
Hi

I am new to using UDF in fluent and I am trying to interpret a heterogeneous reaction rate UDF which is provided in UDF manual. But when I interpret the UDF i get the following message:

cpp -I"C:\Fluent.Inc\fluent6.3.26/src" -I"C:\Fluent.Inc\fluent6.3.26/cortex/src" -I"C:\Fluent.Inc\fluent6.3.26/client/src" -I"C:\Fluent.Inc\fluent6.3.26/multiport/src" -I. -DUDFCONFIG_H="<udfconfig.h>" "C:\Fluent.Inc\ntbin\ntx86\rate.c"
Error: C:\Fluent.Inc\ntbin\ntx86\rate.c: line 2: parse error.

Can anyone help me out with this error ?
You should not copy paste the UDF from manual. Rewrite it by yourself. Also share if there was any new error.
msaeedsadeghi 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
UDF for VR Rate calculation ADI FLUENT 3 June 23, 2014 18:31
Volumetric Reaction Rate UDF. Inactivation of Clostridium Botulinum Robbb Fluent UDF and Scheme Programming 11 March 20, 2013 04:54
write forward, reverse reaction coefficient, reaction rate in ChemFoam hismother OpenFOAM Running, Solving & CFD 3 November 7, 2012 04:33
Reaction Rate in UDF mahdi FLUENT 0 August 5, 2007 07:20
Euler-Euler heterogeneous reaction rate? HP FLUENT 0 June 5, 2006 10:30


All times are GMT -4. The time now is 12:09.