[Paraview] cgns via hdf5

Max Staufer max.staufer at gmx.net
Sun Jan 29 09:25:33 EST 2006


Hi there,

  Im new to the list so I just post.

Im trying to get a cgns file into Paraview using the xdmf reader build
in, that should work because cgns can be used with HDF5 as the
underlying Format. But the code keeps telling it cant find the dataset.

Here are the outputs from h5ls and my xml file, maybe someone knows
whats wrong.


> /\ format                Dataset {15}
> /\ version               Dataset {33}
> /Base                    Group
> /Base/\ data             Dataset {2}
> /Base/Zone\ 1            Group
> /Base/Zone\ 1/\ data     Dataset {3, 3}
> /Base/Zone\ 1/GridCoordinates Group
> /Base/Zone\ 1/GridCoordinates/CoordinateX Group
> /Base/Zone\ 1/GridCoordinates/CoordinateX/\ data Dataset {21, 17, 9}
> /Base/Zone\ 1/GridCoordinates/CoordinateY Group
> /Base/Zone\ 1/GridCoordinates/CoordinateY/\ data Dataset {21, 17, 9}
> /Base/Zone\ 1/GridCoordinates/CoordinateZ Group
> /Base/Zone\ 1/GridCoordinates/CoordinateZ/\ data Dataset {21, 17, 9}
> /Base/Zone\ 1/ZoneType   Group
> /Base/Zone\ 1/ZoneType/\ data Dataset {10}
> /CGNSLibraryVersion      Group
> /CGNSLibraryVersion/\ data Dataset {1}
> 


> <?xml version="1.0" ?>
> <!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" [
> <!ENTITY HeavyData "/home/max/cgns/UserGuideCodeV2/Fortran_code/grid.cgns">
> ]>
> 
> 
> <Domain Name="Zone1">
>    <Grid Name="BLOCK1">
>       <Topology Type="3DSMesh" Dimensions="21 17 9">
>           <Geometry Type="X Y Z">
>            <DataStructure Name="X" Type="Float" Dimensions="3213" Format="HDF">
>             grid.cgns:/Base/Zone\ 1/GridCoordinates/CoordinateX\ data
>            </DataStructure>
>            <DataStructure Name="Y" Type="Float" Dimensions="3213" Format="HDF">
>             grid.cgns:/Base/Zone\ 1/GridCoordinates/CoordinateY\ data
>            </DataStructure>
>            <DataStructure Name="Z" Type="Float" Dimensions="3213" Format="HDF">
>             grid.cgns:/Base/Zone\ 1/GridCoordinates/CoordinateZ\ data
>            </DataStructure>
>         </Geometry>
>       </Topology>
>     </Grid>
> </Domain>

cheers

Max 



More information about the ParaView mailing list