[vtk-developers] vtkEnSightReader::ReplaceWildcards

Hank Childs childs3 at llnl.gov
Wed May 21 20:04:28 EDT 2008


Hi Everyone,

(First, FYI to all, I'm taking my garbage collection talk offline  
until we narrow down why I see problems and others don't.)

But I have a new issue:

A user gave me an EnSight file whose case file has:

...
scalar per node: 1 pressure Navier_Stokes4_.ens.pressure.t*
...
filename numbers:  0 20 40 60 80 100 120 140 160 180 181
...


The reader then fails when trying to open: pressure  
Navier_Stokes4_.ens.pressure.20 (note that it should be t20, not 20)

I think the problem is in the ReplaceWildcards method of  
vtkEnSightReader.C.  I can suggest a fix, but the code looks like it  
is doing what it is doing very intentionally, which makes me think  
I'm missing something.

So:
1) Can someone who knows something about the reader let me know if  
this is in indeed intentional?
2) If someone out there knows something about EnSight files and the . 
20 is somehow correct, I'd sure like to know that too.

Thanks!!
Hank


The full case file is:
davinci src/bin> cat Navier_Stokes4_.ens.case
FORMAT
type: ensight gold
GEOMETRY
model: Navier_Stokes4_.ens.geo
VARIABLE
scalar per node: 1 pressure Navier_Stokes4_.ens.pressure.t*
vector per node: 1 velocity Navier_Stokes4_.ens.velocity.t*
scalar per node: 1 temperature Navier_Stokes4_.ens.temperature.t*
TIME
time set: 1
number of steps: 11
filename numbers:  0 20 40 60 80 100 120 140 160 180 181
time values:  0.36 0.368 0.376 0.384 0.392 0.4 0.408 0.416 0.424  
0.432 0.432



More information about the vtk-developers mailing list