CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Better answer with Single v.s. Double precision

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 7, 2014, 18:49
Default Better answer with Single v.s. Double precision
  #1
Senior Member
 
Joe
Join Date: Feb 2012
Location: Canada
Posts: 111
Rep Power: 14
enayath is on a distinguished road
Hello,

I am wondering if somebody can explain this to me:

My calculation is natural convection in a closed domain.
When I use single precision(sp) the continuity residual is in order of 10e-7 but when I use double precision(dp) the residual is in order of 10e4(plus 4)

I think dp should work better than sp...mine is not reversed!

Thank you in advance!
enayath is offline   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
Missing math.h header Travis FLUENT 4 January 15, 2009 11:48
what's wrong about my code for 2d burgers equation morxio Main CFD Forum 3 April 27, 2007 10:38
UDF & Double precision; Please help?? Asghari FLUENT 0 January 31, 2007 13:14
REAL GAS UDF brian FLUENT 6 September 11, 2006 08:23
double precision assigning in FRTRAN R.A.Khurram Main CFD Forum 12 October 2, 2001 11:00


All times are GMT -4. The time now is 09:35.