CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] Loss of Precision with Ensight Gold Format

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 11, 2016, 17:14
Default Loss of Precision with Ensight Gold Format
  #1
New Member
 
Jeff Irwin
Join Date: Jan 2016
Location: State College, PA
Posts: 3
Rep Power: 10
JeffIrwin is on a distinguished road
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 three ex3_*.txt files that contain the geometry are all attached. This simple example is supposed to show one hex cell, then two hex cells, and in the final increment three hex cells.

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!
Attached Files
File Type: txt ex3_001.txt (593 Bytes, 1 views)
File Type: txt ex3_002.txt (800 Bytes, 1 views)
File Type: txt ex3_003.txt (1,020 Bytes, 1 views)
JeffIrwin is offline   Reply With Quote

Reply

Tags
ensight, ensight gold, precision, time


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
[Commercial meshers] converting Ensight gold format mesh to OF Kossivi OpenFOAM Meshing & Mesh Conversion 1 June 6, 2020 02:39
CFD by anderson, chp 10.... supersonic flow over flat plate varunjain89 Main CFD Forum 18 May 11, 2018 08:31
Single v.s. double precision Confused CFX 15 November 10, 2016 05:42
[General] A "clean" solution to export binary ensight gold format from Fortran to Paraview? flotus1 ParaView 1 June 23, 2015 12:59
what's wrong about my code for 2d burgers equation morxio Main CFD Forum 3 April 27, 2007 11:38


All times are GMT -4. The time now is 11:42.