CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

c language memory

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 7, 2004, 14:40
Default c language memory
  #1
Junseok Kim
Guest
 
Posts: n/a
There are two types, float and double.

Is it enough to use float for CFD calculation? And does it really save memory, especially speed of the calculation?

Thanks

Junseok
  Reply With Quote

Old   June 7, 2004, 15:48
Default Re: c language memory
  #2
Jarmo Monttinen
Guest
 
Posts: n/a
Depends on the problem. I've had success with float for steady-state runs, for time-dependent ones I would use double.

If I want to do stability analysis on the results, then again double...

It does save memory, but how much, that depends on the code, environment, problem size and so on... not really my specialty.

-- Jarmo
  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
How to optimize the memory usage when using FEM vasilis Main CFD Forum 11 August 24, 2009 23:57
Memory error? Young CFX 3 September 30, 2008 11:33
Out of Memory Naghman Khan FLUENT 3 August 30, 2007 06:08
CFX CPU time & real time Nick Strantzias CFX 8 July 23, 2006 17:50
Run-Time memory conifguration Error Graeme CFX 1 February 20, 2006 23:04


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