[vtk-developers] [vtkusers] Error reading asci data. Possible mismatch of datasize with declaration

Bill Lorensen bill.lorensen at gmail.com
Mon Mar 5 11:48:02 EST 2018


Sorry, you have 6 entries per point. Tses are symetric tensors. Declare the
type as TENSORS6 rather than TENSORS.

Bill


On Mon, Mar 5, 2018 at 8:24 AM, Bill Lorensen <bill.lorensen at gmail.com>
wrote:
> Tensor data should have 9 entries per point. Your data has 3 entries per
point
>
>
> On Mon, Mar 5, 2018 at 6:59 AM, Amine Aboufirass
> <amine.aboufirass at gmail.com> wrote:
>> Hello,
>>
>>
>>
>> I am trying to read a vtk unstructured grid file with tensor data in
>> paraview. I cannot for the life of me figure out why I am getting the
>> following error message:
>>
>>
>>
>> Error reading asci data. Possible mismatch of datasize with declaration.
>>
>>
>>
>> The problem is that I have actually counted up the points and the tensors
>> inside this file. It is apparent that it contains 1560 points and 4680
>> corresponding tensor entries. I have attached the file above so that the
>> problem can be reproduced.
>>
>>
>>
>> Why am I getting the above error and how can I fix it?
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Amine
>>
>>
>>
>> _______________________________________________
>> 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 VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> https://vtk.org/mailman/listinfo/vtkusers
>>
>
>
>
> --
> Unpaid intern in BillsParadise at noware dot com



-- 
Unpaid intern in BillsParadise at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20180305/c00abc36/attachment.html>


More information about the vtk-developers mailing list