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

printf "#INF"

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 1, 2017, 14:05
Default printf "#INF"
  #1
Member
 
Tarantino
Join Date: Feb 2013
Posts: 46
Rep Power: 13
Tarantino is on a distinguished road
Hello all.

I used prinf in an UDF to print a value, however, I got the following:

Code:
1.#INF00
The actual value is "0.0265". Anyone knows the problem?
Tarantino is offline   Reply With Quote

Old   October 2, 2017, 04:55
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
One of your assumptions is wrong.
Maybe you print the wrong value, or maybe the value is not 0.0265.

Hard to say without code...
pakk 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
How to print a message only once with printf in a UDF asal Fluent UDF and Scheme Programming 1 September 25, 2017 22:41
problem with printf and Massage D.M Fluent UDF and Scheme Programming 2 July 7, 2016 12:01
printf in DEFINE_PROFILE philus Fluent UDF and Scheme Programming 6 April 17, 2015 06:19
A problem about 'printf' and 'Message' in UDF. LICH Fluent UDF and Scheme Programming 2 May 2, 2013 03:45
C, printf marye FLUENT 0 June 1, 2010 07:08


All times are GMT -4. The time now is 15:49.