[Paraview] filter to read in 3D cell data

Felipe Bordeu felipe.bordeu at ec-nantes.fr
Tue Mar 26 06:09:52 EDT 2013


Hi,

I use xdmf to wrap the binary data. (spacing, offset, size, ...)


for  example  Engine.xmdf:

<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf Version="2.0">
<Domain>
<Grid Name="mesh" GridType="Uniform">
<Topology TopologyType="3DCORECTMESH" NumberOfElements="128 256 256"/>
<Geometry GeometryType="ORIGIN_DXDYDZ">
<DataItem Format="XML" NumberType="float" Dimensions="3">
          0.0 0.0 0.0
</DataItem>
<DataItem Format="XML"  NumberType="float" Dimensions="3">
          1.0 1.0 1.0
</DataItem>
</Geometry>
<Attribute Name="myfielddata" Center="Cell" AttributeType="Scalar">
<DataItem Format="Binary" NumberType="UChar" Dimensions="128 256 256" 
Seek="0">
engine_unsignedchar_255_255_127.raw
</DataItem>
</Attribute>
</Grid>
</Domain>
</Xdmf>

the file engine_unsignedchar_255_255_127.raw contains all the data in 
binary.

more information about this format in 
http://www.xdmf.org/index.php/XDMF_Model_and_Format


Felipe



Le 25/03/2013 16:31, Anton Shterenlikht a écrit :
> My data is a large 3D array of integers (cells).
> What is the best reader for it?
>
> The ImageReader seems ideal, but doesn't work for me
> with pvbatch (bug 13953).
> The CSV reader is only 1D.
>
> Other readers seems awfully complex for my simple format.
>
> Please advise
>
> Thanks
>
> Anton
> _______________________________________________
> 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. : 33 (0)2 40 37 16 57
Fax. : 33 (0)2 40 74 74 06
Felipe.Bordeu at ec-nantes.fr
Institut GeM - UMR CNRS 6183
École Centrale Nantes
1 Rue de La Noë, 44321 Nantes, FRANCE
-------------------------------------



More information about the ParaView mailing list