CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   how to use double precision ? (https://www.cfd-online.com/Forums/siemens/55577-how-use-double-precision.html)

lenson August 23, 2006 04:13

how to use double precision ?
 
how to use double precision I model the case where the grid size difference is large. the grid usage is like compressible flow grid usage. so how can I do when simulate such kind of grid. someone says it is way to use the double precision. but after setting the double precision,the case can not run.how can I do ? help


Ben August 23, 2006 07:53

Re: how to use double precision ?
 
star -dp

airfoil August 24, 2006 08:15

Re: how to use double precision ?
 
If -dp cannot run, normally it is due to memory (RAM) problem.

lenson August 25, 2006 00:52

Re: how to use double precision ?
 
I don't know whether the Ram is enough(use 2G Ram)but my total cell number is about 2005000.


airfoil August 25, 2006 08:33

Re: how to use double precision ?
 
If you use Window XP machine, it is marginal. Did the virtual memory not enough message pop up at system tray/task bar?

Ben August 25, 2006 08:43

Re: how to use double precision ?
 
What other features do you have in the simulation? Stuff like lagrangian etc really eats memory, make sure you don't have any other software running, especially memory hungry stuff like pro-STAR or any other CFD/FEA packages. Also if you are using window$ hit control+alt+delete, look in the task manager and see what the memory usage is like of if using linux, just type "top" in a new shell.

What happens when it doesn't run, does it start up and crash, crash a few iterations in .....be more specific please.

airfoil August 25, 2006 09:07

Re: how to use double precision ?
 
Hi Ben,

How many percent the deviation between sp and dp?

Ben August 25, 2006 09:27

Re: how to use double precision ?
 
There isn't really a way of saying dp is x% more accurate than sp it is somewhat case dependend. Douple precision variables can contain 17 digits before truncation where as single precision ones contain 10 therefore you get more accuracy and less rounding error in dp compared to sp. Certain applications dp is a must (l2p for example) others it is less important and is just a waste of resource. Run some tests yourself and compare...

airfoil August 25, 2006 10:15

Re: how to use double precision ?
 
Thanks Ben


All times are GMT -4. The time now is 20:49.