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

Global Reductions

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   August 27, 2013, 17:02
Default Global Reductions
  #1
Senior Member
 
Andrew Kokemoor
Join Date: Aug 2013
Posts: 122
Rep Power: 13
Kokemoor is on a distinguished road
I'm trying to use a global reduction, specifically PRF_GRSUM1, in my parallel interpreted UDF. Seems that it should be pretty straightforward, but I'm getting errors.

Code:
Error: ... line 30: MPT_gdsum1: no function prototype
I went digging around to find how it's defined, and found that prf.h has
Code:
#define PRF_GRSUM1 MPT_GDSUM1
, but no prototype. reductions.h has a prototype, but if I include it, I get the following:

Code:
Error: C:\\PROGRA~1\\ANSYSI~1\\v145\\fluent\\fluent14.5.0/multiport/src/reductions.h: line 393: MPT_check has already been defined in the current frame
Does anyone know anything about how this is all put together? Why isn't this covered by including udf.h?
Kokemoor is offline   Reply With Quote

 


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
AMI interDyMFoam for mixer nu problem danny123 OpenFOAM Programming & Development 8 September 6, 2013 02:34
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


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