CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > FLOW-3D

single - double precision

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 10, 2008, 11:21
Default single - double precision
  #1
PC
Guest
 
Posts: n/a
Can anyone comment on loss of accuracy (or lack of) using single precision instead of double precision in high pressure castings?
  Reply With Quote

Old   October 11, 2008, 14:01
Default Re: single - double precision
  #2
Michael Barkhudarov
Guest
 
Posts: n/a
In my experience the difference in the results between single and double precision versions are typically minute.

There are some cases, when the difference are significant, but not in casting applications.

In fact, the main reason for the existence of the single precision version of FLOW-3D are the die casting applications. Ten years ago, these were, and still often are, the most computationally and memory intensive problems, often reaching the 2 Gb limit of the addressable memory on 32-bit operating systems. It was more important to be able to mesh a part than maintain the doulbe precision accuracy. Of course, if you can comfortably fit the double precision model on your machine, then you should do so.
  Reply With Quote

Old   October 14, 2008, 05:39
Default Re: single - double precision
  #3
CK
Guest
 
Posts: n/a
Hi please advice if any significant differences in simulation time between single vs double precison version?

Rgds CK
  Reply With Quote

Old   October 16, 2008, 10:20
Default Re: single - double precision
  #4
Michael Barkhudarov
Guest
 
Posts: n/a
Hi Ck,

Not typically. AS far as I understand, the single precision version may run a bit faster (~10%) because it uses less memory, therefore, it has to access memory and refresh cache less often. If this is true, the difference in time will be hardware-dependent.

Of course, if the double precision code uses so much memory that it has to swap some to disk, then the difference in CPU time wil be greater.
  Reply With Quote

Old   October 16, 2008, 20:28
Default Re: single - double precision
  #5
CK
Guest
 
Posts: n/a
Hi Michael Thanks a lot for the input.

Rgds CK
  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
Continuing User Defined Real Gas Model issues aeroman FLUENT 6 April 8, 2016 04:34
Parallel User Defined Real Gas Model aeroman FLUENT 4 July 1, 2015 07:09
Missing math.h header Travis FLUENT 4 January 15, 2009 12:48
what's wrong about my code for 2d burgers equation morxio Main CFD Forum 3 April 27, 2007 11:38
REAL GAS UDF brian FLUENT 6 September 11, 2006 09:23


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