CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

OpenFOAM Double precision vs Single Precision

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By deepsterblue

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 11, 2008, 09:11
Default Hi Foamers I am trying to s
  #1
Senior Member
 
Alexandre Pereira
Join Date: Mar 2009
Posts: 155
Rep Power: 17
alexandrepereira is on a distinguished road
Hi Foamers

I am trying to solve a BIG CFD problem in a NOT SO BIG computer, so i had this idea, correct me if i am wrong here:

Using the precompiled OpenFOAM single precision or compile it and use it in my problem should roughly be the same as "doubling" the memory capacity, since the float representation requirements in C++ is roughly half the double float representation requirements;

So that shoul be enough to solve a problem with a size double of the ones that i solve in double precision, but there is a catch ( at least i think so )... :

Due to the reduced precision, the effect of round up errors may simply abort convergence of the solvers in OpenFOAM... or increase drastically the number of iterations needed for convergence...

Does anybody has experience in this...?

Best Regards

Alex
alexandrepereira is offline   Reply With Quote

 


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
Single or double precision Jonas Larsson Main CFD Forum 16 June 20, 2017 06:53
Single v.s. double precision Confused CFX 15 November 10, 2016 04:42
single - double precision PC FLOW-3D 4 October 16, 2008 19:28
CFX 64bit single-double precision Tom CFX 2 December 19, 2006 15:39
Compiling OpenFOAM 12 in Single Precision fra76 OpenFOAM Installation 5 April 21, 2006 12:05


All times are GMT -4. The time now is 19:51.