[Paraview] 2 different behaviours with using GridType="Collection"

paul.carrico at free.fr paul.carrico at free.fr
Fri May 18 10:25:16 EDT 2018


Hi
Dear All 

To build an assembly with its subparts, I use "Collection", but when the
file is imported into Paraview 5.5.0, I've met 2 behaviours:
- using the xmf reader, the hierachy can be seen on the lower left
corner
- whereas using the xmf3 one, nothing appears
(see the screenshots in attachment) 

Am I doing someting wrong in my code? 

Thanks for any suggestion 

Paul 

My code here bellow (each element type is independant) ... just a trial
:-)
<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf Version="2.1">
<Domain>
<Grid Name="All Finite Elements" CollectionType="Spatial"
GridType="Collection">
<Grid Name="Linear Quad" GridType="Uniform">
<Geometry GeometryType="XYZ">
<DataItem Dimensions="4 3" NumberType="Float" Precision="4"
Format="XML">
-1. 0. 0.
-1. 1. 0.
-2. 1. 0.
-2. 0. 0.
</DataItem>
</Geometry>
<Topology TopologyType="Mixed" NumberOfElements="1">
<DataItem Dimensions="5" DataType="Int" Format="XML">
5 0 1 2 3
</DataItem>
</Topology>
</Grid>
<Grid Name="Linear Hex" GridType="Uniform">
<Geometry GeometryType="XYZ">
<DataItem Dimensions="8 3" NumberType="Float" Precision="4"
Format="XML">
0. 0. 0.
1. 0. 0.
1. 1. 0.
0. 1. 0.
0. 0. 1.
1. 0. 1.
1. 1. 1.
0. 1. 1.
</DataItem>
</Geometry>
<Topology TopologyType="Mixed" NumberOfElements="1">
<DataItem Dimensions="9" DataType="Int" Format="XML">
9 0 1 2 3 4 5 6 7
</DataItem>
</Topology>
</Grid>
</Grid>
</Domain>
</Xdmf>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview/attachments/20180518/80ba6a04/attachment.html>


More information about the ParaView mailing list