CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

c language memory

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

LinkBack Thread Tools Display Modes
Old   June 7, 2004, 14:40
Default c language memory
Junseok Kim
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?


  Reply With Quote

Old   June 7, 2004, 15:48
Default Re: c language memory
Jarmo Monttinen
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


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
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 21, 2006 00:04

All times are GMT -4. The time now is 01:53.