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

UDF Error with udf_names.c

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 29, 2016, 22:41
Question UDF Error with udf_names.c
  #1
New Member
 
Join Date: May 2014
Posts: 13
Rep Power: 11
darsonli is on a distinguished road
Hi,

I'm quite new to udf. Please be nice if this question is too easy for most of you.

I always get the following error message when I am trying to compile my udf on my Windows computer. Does anyone know what it means and how to solve this error? Thank you in advance.

udf_names.c(15) : warning C4113: 'void (*)()' differs in parameter lists from 'void (*)(void)'
darsonli is offline   Reply With Quote

Old   March 30, 2016, 04:23
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26
pakk will become famous soon enough
It is not your mistake. Fluent gives slightly wrong instructions to the compiler. The compiler can guess what Fluent really means, so it does not have any effect on your simulation.

You can safely ignore this warning.

If you really don't want this warning text to be shown anymore: contact Ansys, and tell them to fix it. (I did not check yet if this is already fixed in Fluent 17.)



But in general, it is very good of you to look at all the warnings/errors you get when you compile, and it is a wise goal to write your code so that you don't see any more warnings. If this is the only warning you see, you did a better job than the Fluent programmers.
pakk is offline   Reply With Quote

Old   March 30, 2016, 18:56
Default
  #3
New Member
 
Join Date: May 2014
Posts: 13
Rep Power: 11
darsonli is on a distinguished road
Thank you for your reply
darsonli 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 Compilation Error - Loading Library - COMMON Problem! Help! robtheslob Fluent UDF and Scheme Programming 8 July 24, 2015 00:53
Parallelize UDF? Which kind of UDF? Lilly FLUENT 5 March 25, 2014 02:05
Help! Delete the UDM codes in the UDF Messi Fluent UDF and Scheme Programming 2 January 28, 2014 09:01
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 22:14
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 04:01


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