[Paraview] xdmf example with tensors

Felipe Bordeu felipe.bordeu at ec-nantes.fr
Thu Sep 23 08:52:53 EDT 2010


<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf Version="2.0" xmlns:xi="http://www.w3.org/2001/XInclude">
<Domain Name="test.xdmf">
<Grid Name="Domain Space x Time" GridType="Collection"
CollectionType="Temporal">
<Time TimeType="List">
<DataItem Format="XML" NumberType="Float" Dimensions="1">
  0.000000
</DataItem>
</Time>
<Grid Name="Time 1" GridType="Collection">
<Grid Name="Domain 1x1x1">
<Topology TopologyType="Wedge" NumberOfElements="2">
<DataItem  Format="XML" NumberType="int" Dimensions="2 6">
  0 1 4 2 3 6
  4 5 8 6 7 9
</DataItem>
</Topology>
<Geometry GeometryType="XYZ">
<DataItem  Format="XML" NumberType="Float" Dimensions="10 3">
   0.00000000  0.00000000  0.00000000
   1.00000000  0.00000000  0.00000000
   0.00000000  1.00000000  0.00000000
   1.00000000  1.00000000  0.00000000
   0.00000000  0.00000000  1.00000000
   1.00000000  0.00000000  1.00000000
   0.00000000  1.00000000  1.00000000
   1.00000000  1.00000000  1.00000000
   1.00000000  0.00000000  2.00000000
   1.00000000  1.00000000  2.00000000
</DataItem>
</Geometry>
<Attribute Name="sig" Center="Node"  AttributeType="Tensor6">
<DataItem  Format="XML" NumberType="Float" Dimensions="10 6">
   0.95010000  0.92180000  0.13890000  0.95010000  0.92180000  0.13890000
   0.23110000  0.73820000  0.20280000  0.23110000  0.73820000  0.20280000
   0.60680000  0.17630000  0.19870000  0.60680000  0.17630000  0.19870000
   0.48600000  0.40570000  0.60380000  0.48600000  0.40570000  0.60380000
   0.89130000  0.93550000  0.27220000  0.89130000  0.93550000  0.27220000
   0.76210000  0.91690000  0.19880000  0.76210000  0.91690000  0.19880000
   0.45650000  0.41030000  0.01530000  0.45650000  0.41030000  0.01530000
   0.01850000  0.89360000  0.74680000  0.01850000  0.89360000  0.74680000
   0.44470000  0.35290000  0.93180000  0.44470000  0.35290000  0.93180000
   0.79190000  0.00990000  0.41860000  0.79190000  0.00990000  0.41860000
</DataItem>
</Attribute>
<Attribute Name="P" Center="Cell"  AttributeType="Tensor">
<DataItem  Format="XML" NumberType="Float" Dimensions="2 9">
   0.95010000  0.92180000  0.13890000  0.95010000  0.92180000
0.13890000  0.95010000  0.92180000  0.13890000
   0.79190000  0.00990000  0.41860000  0.79190000  0.00990000
0.41860000  0.44470000  0.35290000  0.93180000
</DataItem>
</Attribute>
</Grid>
</Grid>
</Grid>
</Domain>
</Xdmf>


On 21/09/2010 19:59, Dan Lussier wrote:
>  I was wondering is someone might be able to post an example file of
>  the XML file for XDMF showing use of tensor and tensor6 type data?
>
>  Thanks!
>  _______________________________________________
>  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


-- 
Felipe Bordeu Weldt
Ingénieur de Recherche
---------------------------------------------------------------------------
Tél. : 02 40 37 68 84
Fax. : 02 40 74 74 06
Felipe.Bordeu at ec-nantes.fr
GEM
École Centrale de Nantes, Université de Nantes, CNRS
1 rue de la Noë BP 92101
44321 Nantes Cedex 3
---------------------------------------------------------------------------





More information about the ParaView mailing list