[Paraview] Error with EnSight6 reader with "transient single file format" and "scalar per element" variable
David Luet
luet at princeton.edu
Tue Feb 14 10:39:14 EST 2012
Hi Berk,
Thanks for your answer. I am pretty sure that there is a bug in the reader.
Specifically in the file vtkEnSight6Reader.cxx. I have modified the source
and now the problem is fixed. I have attached a patch to correct the
problem. Could you include this patch if not in the 3.12 version at least
in the next RC? We have users of our solver who need Ensight6 reader.
Thanks,
David
On Fri, Feb 10, 2012 at 12:59 PM, Berk Geveci <berk.geveci at kitware.com>wrote:
> Hi David,
>
> I just responded to what seems to be a related question. I wrote the
> following:
>
> -------------
>
> Hi Jean,
>
> I looked at the dataset and it looks fine at first glance. It is possible
> that this is a bug in the reader. Unfortunately, we don't do any work on
> that particular reader because Ensight 6 is a very old format and not in
> active use. Is there any way you can try the Ensight Gold format? To see an
> example of this sort of thing working, download VTKData from:
>
> http://vtk.org/VTK/resources/software.html
>
> In there, look for blow1_ascii.case and associated files.
>
> Also, this may have something to do with the way the file is written. I
> noticed that the displacement are written in a Fortran style with no spaces
> between the numbers. I am not sure if our parser (which uses C++) supports
> that or not.
>
> On Thu, Feb 9, 2012 at 5:53 PM, David Luet <luet at princeton.edu> wrote:
>
>> Hi,
>> When loading an Ensight 6, ASCII with "transient single file format" and
>> "scalar per element" variable in paraview I get the error message:
>> *ERROR: In
>> /home/kitware/Dashboards/MyTests/ParaView-master/VTK/IO/vtkEnSight6Reader.cxx,
>> line 1187*
>> *vtkEnSight6Reader (0x24b5640): invalid element type*
>> The message is repeated twice when loading a file with 3 time steps.
>>
>> I have attached a simple example as a tarball. Here are the specs of the
>> example:
>> - geometry: 8 nodes, 2 elements (quad4).
>> - variables:
>> - vector per node: displacements.
>> - scalar per element: pressure.
>> - 3 time steps
>>
>> The tarball has two subdirectories:
>> - AsciiMultipleFile: the example in a "transient multiple file format"
>> - AsciiSingleFile: the example in a "transient single file format"
>>
>> The "transient multiple file format" works. The "transient single file
>> format" works if only the geometry and the "vector per node" variables
>> (displacement) are specified, but fails if the "scalar per element"
>> variables (pressure) are included. The "transient single file format" files
>> were basically built by concatenating the "transient multiple file format"
>> files and adding the "BEGIN TIME STEP" and "END TIME STEP" headers between
>> the time steps.
>>
>> I am running paraview v. 3.12.0 Linux x86, 64 bit that I downloaded as a
>> binary, on a Linux CentOS 5.7 (x86_64).
>>
>> Thanks,
>> David
>>
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120214/c18abe57/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkEnSight6Reader.patch
Type: text/x-patch
Size: 600 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120214/c18abe57/attachment.bin>
More information about the ParaView
mailing list