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

Double Precision

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 9, 2002, 04:20
Default Double Precision
  #1
Wu
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
  Reply With Quote

Old   May 9, 2002, 15:59
Default Re: Double Precision
  #2
James
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
  Reply With Quote

Old   May 10, 2002, 00:25
Default Re: Double Precision
  #3
Wu
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?
  Reply With Quote

Old   May 10, 2002, 05:43
Default Re: Double Precision
  #4
James
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.
  Reply With Quote

Old   May 10, 2002, 11:40
Default Re: Double Precision
  #5
bosko
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.
  Reply With Quote

Old   May 10, 2002, 14:20
Default Re: Double Precision
  #6
steve
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.
  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
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


All times are GMT -4. The time now is 00:07.