Mixed or Double Precision

Simcenter STAR-CCM+ comes in two versions: a mixed precision version and a double precision version. Both versions are provided on the download area of the Support Center portal.

The double precision version of Simcenter STAR-CCM+ is generally intended for cases that involve physical phenomena of vastly differing scales. Examples include: sound wave propagation in water, three-dimensional microstructure battery modeling, electrodynamics simulations, and multiphase flows.

The advantage of running these simulations in double precision is increased accuracy due to less round-off error. This increase in accuracy leads to robust convergences of problems that would otherwise not converge to an adequate result in single precision.

When running simulations with double precision:

  • The memory requirements are 20% greater than with mixed precision.
  • The overall simulation time increases by 15-20%.
  • The size of .sim files increases by not more than 100% (depending on the proportion of floating point fields for the case).

Refer to the release notes for a list of the platforms for which a double precision version is available.

To run simulations with double precision, install a double precision version of Simcenter STAR-CCM+. The interface and workflow for both versions are identical.

Precision

The term precision refers to the size of (and hence, number of digits of precision that are stored for) floating point data. A single precision float occupies 4 bytes of memory and has 7 digits of precision. A double precision float occupies 8 bytes of memory and has 15 digits of precision.

Double Precision Variables

In the mixed precision version of Simcenter STAR-CCM+, the fields of double precision floating point data include:

  • Coordinates (that is, vertices locations in space)
  • Pressure
  • Displacements (for example, solid-stress displacements).

In the double precision version of Simcenter STAR-CCM+, all fields of floating point data are double precision.

Fields of other types (for example, integers and booleans) are the same in either version.