[vtk-developers] vtkEnSightReader::ReplaceWildcards

Amy Squillacote ahs at cfdrc.com
Thu May 22 09:10:08 EDT 2008


Hi Hank,

I wrote the ReplaceWildcards method. It should only be replacing the * 
with numbers, not removing other parts of the filename. Please go ahead 
and suggest your fix for it.

- Amy

Hank Childs wrote:
>
> 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
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>

-- 
Amy Squillacote                    Phone: (256) 726-4839
Computer Scientist                 Fax: (256) 726-4806
CFD Research Corporation           Web: http://www.cfdrc.com
215 Wynn Drive, Suite 501
Huntsville, AL  35805





More information about the vtk-developers mailing list