|
[Sponsors] |
May 9, 2002, 04:20 |
Double Precision
|
#1 |
Guest
Posts: n/a
|
Hi all, I want to ask a problem... When should the "double precision" in Star-CD be used? I guess that it should be used when flows involve chemical reactions. And is my guess right? However, if I use single precision in above, is the solution different? Wu
|
|
May 9, 2002, 15:59 |
Re: Double Precision
|
#2 |
Guest
Posts: n/a
|
Double precision is normally used for flows with small density differences. This means there is only an affect on the convergence rate not on the result.
James |
|
May 10, 2002, 00:25 |
Re: Double Precision
|
#3 |
Guest
Posts: n/a
|
Thank you very much. You mean that there is only an affect on the convergence rate. And if using single precision as analysis suits double precision, the convergence rate will be slower. Right?
|
|
May 10, 2002, 05:43 |
Re: Double Precision
|
#4 |
Guest
Posts: n/a
|
Yes,
this means for flows with small density differences it is nearly impossible to get a converged solution with single precision. |
|
May 10, 2002, 11:40 |
Re: Double Precision
|
#5 |
Guest
Posts: n/a
|
Always use double precision, memory is relatively cheap so why even risk the introducing additional round off error into your solution.
|
|
May 10, 2002, 14:20 |
Re: Double Precision
|
#6 |
Guest
Posts: n/a
|
Using double precision all the time when its not necessary is just a waste of time and resources. Many (not all) machines simply take longer to do double precision arithmetic. When you are trying to run problems with several million cells, the difference in size may mean the difference in whether you can run at all on a 32bit machine (ie cheap linux or windows box) or whether you need a 64 bit machine. The difference in cost, even for a pc between 4Gb of memory and 2Gb is several thousand dollars. Memory is cheaper than it used to be, but its not free and its not so cheap on bigger unix machines either.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
When to use double precision? | Paul | FLUENT | 3 | December 11, 2008 17:57 |
double precision cfx | pat | CFX | 5 | November 11, 2008 07:45 |
OpenFOAM Double precision vs Single Precision | alexandrepereira | OpenFOAM Running, Solving & CFD | 1 | June 11, 2008 15:30 |
When to use double precision | Mark Render | Main CFD Forum | 10 | January 21, 2008 13:16 |
Double Precision? | Novak Elliott | CFX | 1 | June 6, 2003 02:45 |