|
[Sponsors] |
October 10, 2008, 11:21 |
single - double precision
|
#1 |
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?
|
|
October 11, 2008, 14:01 |
Re: single - double precision
|
#2 |
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. |
|
October 14, 2008, 05:39 |
Re: single - double precision
|
#3 |
Guest
Posts: n/a
|
Hi please advice if any significant differences in simulation time between single vs double precison version?
Rgds CK |
|
October 16, 2008, 10:20 |
Re: single - double precision
|
#4 |
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. |
|
October 16, 2008, 20:28 |
Re: single - double precision
|
#5 |
Guest
Posts: n/a
|
Hi Michael Thanks a lot for the input.
Rgds CK |
|
|
|
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 |