Hi Chenz,

without commenting further on your problem, could you tell which Xdmf
version you are using. ParaView comes currently with two Xdmf
implementations called "Xdmf" and "Xdmf3". Which one did you use for
reading/writing your dataset?

-Armin



On 10/11/2016 07:32 PM, Chen Zhang wrote:
Hi,

I recently noticed a strange error in xdmf reading. If a multi-demension array 
(e.g. 32x32x32x24 ) is exported to Xdmf format by paraview, it will generate 
something like this:

<Attribute Name="resistance_slip" Active="1" AttributeType="None" Center="Cell">
          <DataItem Dimensions="32 32 32 24" NumberType="Float" Precision="8" 
Format="HDF">test.h5:/Block_0_t000000/Cell/resistance_slip</DataItem>
 </Attribute>

Although the original data is a 24 length vector for each cell, Paraview is 
only interpolating it as a simple scalar, thus break the data structure. This 
error can not be resolved by manually switching AttributeType to “Matrix”, 
which indicates the “Matrix” type of support is somehow missing at the moment.

I am currently running the Paraview 5.2.0-RC1 on a MacBook pro (mid 2012) 
running macOS Sierra.

cheers,
Chenz



_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to