MantisBT - ParaView
View Issue Details
0007633ParaView(No Category)public2008-09-08 15:312011-01-13 17:00
Alan Scott 
Utkarsh Ayachit 
normalminoralways
closedfixed 
 
3.6 
0007633: File ID variables
Old ParaView use to create a variable that numbered each incoming file. There is a variable now, called File Id, which is always zero.

I have a user that needs to identify which files are which, in order to debug algorithms from simulation codes.

Either we need a working File Id-ish variable, or we need the File Id fixed.

This needs to be done early in the development of 3.6.
No tags attached.
Issue History
2008-09-08 15:31Alan ScottNew Issue
2009-02-17 13:27Utkarsh AyachitNote Added: 0015037
2009-02-17 13:27Utkarsh AyachitStatusbacklog => @80@
2009-02-17 13:27Utkarsh AyachitResolutionopen => unable to reproduce
2009-02-17 13:27Utkarsh AyachitAssigned To => Utkarsh Ayachit
2009-02-17 21:34Alan ScottNote Added: 0015118
2009-02-17 21:34Alan ScottStatus@80@ => @20@
2009-02-17 21:34Alan ScottResolutionunable to reproduce => reopened
2009-02-18 11:03Utkarsh AyachitNote Added: 0015139
2009-02-18 11:03Utkarsh AyachitStatus@20@ => @80@
2009-02-18 11:03Utkarsh AyachitResolutionreopened => fixed
2009-02-18 16:53Alan ScottNote Added: 0015181
2009-02-18 16:53Alan ScottStatus@80@ => closed
2009-05-13 13:46Utkarsh AyachitTarget Version => 3.6
2011-01-13 17:00Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00Source_changeset_attached => VTK master 020ef709
2011-06-16 13:10Zack GalbreathCategory => (No Category)

Notes
(0015037)
Utkarsh Ayachit   
2009-02-17 13:27   
This seems to have been fixed. I opened "z_pinch1.exo.8.[0-7]" and there's a "File Ids" variable that when turned on of the properties panel creates a cell variable "FileId" which is what you want and is no zero (goes from 0-7 in my case).
(0015118)
Alan Scott   
2009-02-17 21:34   
Nope, not fixed. It is now kind of strange.

Do exactly as follows:

Paraview trunk, local server, XP
Open z_pinch1.exo.8.0. Turn all variables on. Apply.
Color by fileId.
Toggle color legend visibility. Range is 0-0
Rescale to Data Range. Range remains 0-0

Now, try advancing one time step.
Rescale to Data Range. Range is now 0-7. This is what we want.
Now, go back one time step. Range remains good.
(0015139)
Utkarsh Ayachit   
2009-02-18 11:03   
vtkPExodusIIReader sets the FileId and then sets the
FileName, however setting file name was resulting in resetting of the fileId to
0. Fixed that by not resetting the FileId since it's not meta-data read from
file anyways.

Commit to directory "ParaView3/VTK/Hybrid" lies in external project VTK
/cvsroot/ParaView3/ParaView3/VTK/Hybrid/vtkExodusIIReader.cxx,v <-- VTK/Hybrid/vtkExodusIIReader.cxx
new revision: 1.74; previous revision: 1.73
(0015181)
Alan Scott   
2009-02-18 16:53   
Tested local server.