|
[Sponsors] |
[General] Loss of Precision with Ensight Gold Format |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Jeff Irwin
Join Date: Jan 2016
Location: State College, PA
Posts: 3
Rep Power: 10 ![]() |
I have an MWE Ensight Gold Case file as follows:
Code:
FORMAT type: ensight gold GEOMETRY model: 1 ex3_***.txt VARIABLE TIME time set: 1 number of steps: 3 filename start number: 1 filename increment: 1 time values: 1.0 1.00000001 5.0 The problem is that, with double-precision values, 1.0 and 1.00000001 are distinct. However, it seems that ParaView converts these time values to single precision at some point, where they are the same machine number. Then, instead of seeing the three increments that I wanted to see, ParaView just displays the first two increments and skips the third. Then instead of displaying the three times 1.0, 1.00000001, and 5.0, it just shows 1.0 and 5.0. Is there any way that I can have ParaView display these files correctly? I cannot just change the second time from 1.00000001 to 3.0, because then the times displayed with the results will be incorrect. Preferably, I would like to have ParaView read and store the times as double precision. I also tried explicitly giving the filename numbers 1 2 3, instead of the startnumber/increment form, with the same results. Thanks in advance! |
|
![]() |
![]() |
![]() |
Tags |
ensight, ensight gold, precision, time |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] converting Ensight gold format mesh to OF | Kossivi | OpenFOAM Meshing & Mesh Conversion | 1 | June 6, 2020 01:39 |
CFD by anderson, chp 10.... supersonic flow over flat plate | varunjain89 | Main CFD Forum | 18 | May 11, 2018 07:31 |
Single v.s. double precision | Confused | CFX | 15 | November 10, 2016 04:42 |
[General] A "clean" solution to export binary ensight gold format from Fortran to Paraview? | flotus1 | ParaView | 1 | June 23, 2015 11:59 |
what's wrong about my code for 2d burgers equation | morxio | Main CFD Forum | 3 | April 27, 2007 10:38 |