<div dir="ltr">You should probably write an XDMF file (<a href="http://www.xdmf.org/index.php/Main_Page">http://www.xdmf.org/index.php/Main_Page</a>) that describes the hdf5 file. Like a "text" file or a "binary" file, "hdf5" files can contain anything, so the XDMF file adds a bit of helpful context.<div><div><br></div><div>Here is a sample xdmf file that reads in three arrays from a named hdf5 file that define the cell connectivity. coordinates, and one scalar field. The data in this case looks like a rubix cube of 27 hexes.</div><div><br></div><div><div><Xdmf xmlns:xi="<a href="http://www.w3.org/2003/XInclude">http://www.w3.org/2003/XInclude</a>" Version="2.2"></div><div>  <Domain></div><div>    <Grid GridType="Uniform"></div><div>      <Topology TopologyType="Hexahedron" Dimensions="27"></div><div>        <DataItem Dimensions="27 8" NumberType="Int" Precision="8" Format="HDF">/Users/demarle/Desktop/rubix.h5:/Data0</DataItem></div><div>      </Topology></div><div>      <Geometry GeometryType="XYZ"></div><div>        <DataItem Dimensions="64 3" NumberType="Float" Precision="4" Format="HDF">/Users/demarle/Desktop/rubix.h5:/Data1</DataItem></div><div>      </Geometry></div><div>      <Attribute Name="RTData" Active="1" AttributeType="Scalar" Center="Node"></div><div>        <DataItem Dimensions="64" NumberType="Float" Precision="4" Format="HDF">/Users/demarle/Desktop/rubix.h5:/Data2</DataItem></div><div>      </Attribute></div><div>    </Grid></div><div>  </Domain></div><div></Xdmf></div></div><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div></div>
<br><div class="gmail_quote">On Wed, Jan 28, 2015 at 2:52 PM, Martín Huarte E <span dir="ltr"><<a href="mailto:martin.huartee@gmail.com" target="_blank">martin.huartee@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote">Dear Paraview community: Good day. I need assistance on visualizing a matlab file? Any tips will be greatly appreciated. Thanks.</div><div class="gmail_quote"><br></div><div class="gmail_quote"><br><div dir="ltr"><div>Details:</div><div>I need to visualize temperature distribution in a volume.  The volume is a wedge-like slice of a hollow cylinder (shown in the attached schematic).</div><div><br></div><div>The calculations are made in MATLAB.  The three-dimensional matrices of the solution (T) and the node-coordinates (X, Y and Z) are saved in a HDF5 file.</div><div><br></div><div>So far, I have not been able to make ParaView to visualize the result in the actual geometry. They get the length, width and height of the volume and simply build a cuboid out of them.</div><div><br></div><div>Thanks</div><div><div><div><div dir="ltr"><div dir="ltr"><div style="font-size:12.7272720336914px"><br>My best, Martín</div><div style="font-size:12.7272720336914px"><u>                                                                                             </u></div><div style="font-size:12.7272720336914px"><i>Martín Huarte-Espinosa, Ph.D.</i></div><div style="font-size:12.7272720336914px"><i style="font-size:12.7272720336914px">Computational Physicist  -  </i><i style="font-size:12.7272720336914px">High Performance Computing Specialist</i></div><div style="font-size:12.7272720336914px"><i style="font-size:12.8000001907349px"><a href="http://linkedin.com/pub/martin-huarte-espinosa/59/6b7/13a" target="_blank">linkedin.com/pub/martin-huarte-espinosa/59/6b7/13a</a></i><br></div><div><br></div></div></div></div></div><font color="#888888"><div><br></div></font></div></div>
</div><br></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>