|
[Sponsors] |
August 23, 2006, 05:13 |
how to use double precision ?
|
#1 |
Guest
Posts: n/a
|
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
|
|
August 23, 2006, 08:53 |
Re: how to use double precision ?
|
#2 |
Guest
Posts: n/a
|
star -dp
|
|
August 24, 2006, 09:15 |
Re: how to use double precision ?
|
#3 |
Guest
Posts: n/a
|
If -dp cannot run, normally it is due to memory (RAM) problem.
|
|
August 25, 2006, 01:52 |
Re: how to use double precision ?
|
#4 |
Guest
Posts: n/a
|
I don't know whether the Ram is enough(use 2G Ram)but my total cell number is about 2005000.
|
|
August 25, 2006, 09:33 |
Re: how to use double precision ?
|
#5 |
Guest
Posts: n/a
|
If you use Window XP machine, it is marginal. Did the virtual memory not enough message pop up at system tray/task bar?
|
|
August 25, 2006, 09:43 |
Re: how to use double precision ?
|
#6 |
Guest
Posts: n/a
|
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. |
|
August 25, 2006, 10:07 |
Re: how to use double precision ?
|
#7 |
Guest
Posts: n/a
|
Hi Ben,
How many percent the deviation between sp and dp? |
|
August 25, 2006, 10:27 |
Re: how to use double precision ?
|
#8 |
Guest
Posts: n/a
|
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...
|
|
August 25, 2006, 11:15 |
Re: how to use double precision ?
|
#9 |
Guest
Posts: n/a
|
Thanks Ben
|
|
|
|
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 |