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

Heterogeneous reaction rate UDF

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

Reply
 
LinkBack Thread Tools 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: 4
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: 7
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: 227
Rep Power: 5
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

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
UDF for VR Rate calculation ADI FLUENT 3 June 23, 2014 17: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 06:20
Euler-Euler heterogeneous reaction rate? HP FLUENT 0 June 5, 2006 09:30


All times are GMT -4. The time now is 14:51.