CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CD-adapco

how to use double precision ?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 23, 2006, 04:13
Default how to use double precision ?
  #1
lenson
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

  Reply With Quote

Old   August 23, 2006, 07:53
Default Re: how to use double precision ?
  #2
Ben
Guest
 
Posts: n/a
star -dp
  Reply With Quote

Old   August 24, 2006, 08:15
Default Re: how to use double precision ?
  #3
airfoil
Guest
 
Posts: n/a
If -dp cannot run, normally it is due to memory (RAM) problem.
  Reply With Quote

Old   August 25, 2006, 00:52
Default Re: how to use double precision ?
  #4
lenson
Guest
 
Posts: n/a
I don't know whether the Ram is enough(use 2G Ram)but my total cell number is about 2005000.

  Reply With Quote

Old   August 25, 2006, 08:33
Default Re: how to use double precision ?
  #5
airfoil
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?
  Reply With Quote

Old   August 25, 2006, 08:43
Default Re: how to use double precision ?
  #6
Ben
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.
  Reply With Quote

Old   August 25, 2006, 09:07
Default Re: how to use double precision ?
  #7
airfoil
Guest
 
Posts: n/a
Hi Ben,

How many percent the deviation between sp and dp?
  Reply With Quote

Old   August 25, 2006, 09:27
Default Re: how to use double precision ?
  #8
Ben
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...
  Reply With Quote

Old   August 25, 2006, 10:15
Default Re: how to use double precision ?
  #9
airfoil
Guest
 
Posts: n/a
Thanks Ben
  Reply With Quote

Reply

Thread Tools
Display Modes

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 On
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 14: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 01:45


All times are GMT -4. The time now is 11:27.