CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Simple and Double Precision in STAR-CCM+

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By me3840

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 15, 2014, 06:13
Post Simple and Double Precision in STAR-CCM+
  #1
New Member
 
jerome stempert
Join Date: Mar 2014
Posts: 2
Rep Power: 0
Jstempert is on a distinguished road
Hi, I'm a French student and i have to use STAR-CCM+ to predict the aerodynamic noise produced by the nose landing gear of the Gulfstream G550.

Currently,, i'm using a simple precision of STAR-CCM+.
I wonder what are the difference between simple and double precision and what are the consequences on the predictions of the noise, the pressure and the velocity magnitude ?
Is the time simulated will be the same for the same results ?
Same question for the time-step requiered ?

Thank you.

Jerome
Jstempert is offline   Reply With Quote

Old   May 15, 2014, 15:50
Default SINGLE and double precision
  #2
New Member
 
Join Date: Mar 2014
Location: Switzerland
Posts: 10
Rep Power: 12
phys-zephyr is on a distinguished road
Send a message via Skype™ to phys-zephyr
Dear Jerome,

I think that you mean SINGLE rather than SIMPLE precision.
Single precision floating point format is a computer number format that stores information in 4bytes (32 bits) in contrast to double precision that uses 8 bytes (64 bits). There are significant differences concerning the precision of the teo formats.
As single precision uses only 32bits (1bit for the sign, 8 bits for the exponent and 24 (only 23 explicitly stored) for the significand precision), the decimal digit precision obly ranges from 6-9 digits, whereas in double precision the 64 bits (1 sign, 11 exponent, 53 (52) significand precision) yield 15-17 precise digits. As you are using single precision, you can only trust 6-9 of all digits and should consider this for your results...

Hope that helped,
Cheers
phys-zephyr is offline   Reply With Quote

Old   May 15, 2014, 20:50
Default
  #3
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 24
me3840 is on a distinguished road
While phys-zephyr is correct on what single and double precision means from a mathematical standpoint, it's important to note that STAR-CCM+ does not have a single-precision version.

STAR-CCM+ comes in a mixed-precision and a double-precision version. In the latter, all variables and functions are computed with 64-bit floating point numbers. In the former, all variables and functions except for position/distance (x,y,z) and pressure are computed with 32-bit floating point numbers. The four functions mentioned are computed in 64-bit, regardless of your precision choice.

If you are doing a direct noise simulation (not using a broadband model), you should use the double-precision version.

The double-precision version will be more computationally expensive, yes.

Your timestep is set based upon your physics and your highest desired frequency; the precision of the build has no bearing on this value.
LuckyTran likes this.
me3840 is offline   Reply With Quote

Old   May 16, 2014, 09:59
Default
  #4
New Member
 
jerome stempert
Join Date: Mar 2014
Posts: 2
Rep Power: 0
Jstempert is on a distinguished road
Thank you for your both answers.

In fact i'm using a DES model coupled with FW-H method.

Have a good day
Jstempert is offline   Reply With Quote

Reply

Tags
simple double precision


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
Continuity divergence in simple gas flow Okka FLUENT 7 January 11, 2019 01:01
Scalar precision: float vs. double Hisham OpenFOAM Programming & Development 5 August 25, 2011 11:24
double precision hsn CFX 6 June 13, 2011 23:18
UDF & Double precision; Please help?? Asghari FLUENT 0 January 31, 2007 13:14


All times are GMT -4. The time now is 07:08.