[Paraview] Tensor6 in Xdmf

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Fri Apr 16 10:15:25 EDT 2010


If someone can send me simple xdmf sample with tensors, I can easily
track this down.

Utkarsh

On Thu, Apr 15, 2010 at 3:07 AM, Biddiscombe, John A. <biddisco at cscs.ch> wrote:
> I had the same trouble a while ago, (I think) the trouble arises from the Xdmf assuming that a tensor is 9 components and therefore rejects a 6 way tensor and treats it like a scalar. I thought this was fixed at some time, I may be wrong. Either way, look at the Xdmf reader code, scan through for references to tensors and tweak it to say 6 instead of 9 (or whatever), you can make it work for a quick fix.
>
> JB
>
>> -----Original Message-----
>> From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org]
>> On Behalf Of Felipe Bordeu Weldt
>> Sent: 14 April 2010 18:19
>> To: paraview at paraview.org
>> Subject: [Paraview] Tensor6 in Xdmf
>>
>> Hi,
>>
>> I'm trying to read a "home made" xdmf file into paraview but, a get
>> the following error:
>>
>> Warning: In /Users/partyd/Kitware/ParaView-3.6/ParaView3/VTK/Filtering/
>> vtkDataSet.cxx, line 447
>> vtkUnstructuredGrid (0x1fa64d80): Cell array Eps2 with 1 components,
>> has 11376 tuples but there are only 1896 cells
>>
>> Tensor6 implies a value with 6 components ???
>> Why paraview thinks that Tensor6 is a 1 components  field???
>>
>> --- extract of the xdmf file ---
>> ...
>>         <Attribute Name="Eps2" Center="Cell"  AttributeType="Tensor6" >
>>             <DataItem Format="XML" Dimensions="1896 6">
>>    0.00053052  -0.00004700  -0.00009759   0.00005925  -0.00000354
>> 0.00008632
>>    0.00049287  -0.00008033  -0.00017234   0.00000038  -0.00000417
>> 0.00004718
>> ...
>> ----------------------------------
>>
>> Thanks
>> Felipe
>>
>> _______________________________________________
>> 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
> _______________________________________________
> 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
>


More information about the ParaView mailing list