<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Documentation for vtu file format (and several other standard VTK formats) is here:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><a href="http://www.vtk.org/VTK/img/file-formats.pdf">http://www.vtk.org/VTK/img/file-formats.pdf</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">-Ken<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> ParaView [mailto:paraview-bounces@paraview.org]
<b>On Behalf Of </b>Andi Hartarto<br>
<b>Sent:</b> Thursday, January 12, 2017 7:54 PM<br>
<b>To:</b> paraview@paraview.org<br>
<b>Subject:</b> [EXTERNAL] [Paraview] Decode a vtu file<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hello all,<br>
<br>
Can I please have guidance/help in decoding a vtu file?<br>
<br>
My file is a <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><?xml version="1.0"?><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><VTKFile type="UnstructuredGrid" version="0.1" byte_order="LittleEndian" compressor="vtkZLibDataCompressor"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <UnstructuredGrid><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <Piece NumberOfPoints="116" NumberOfCells="1052" ><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <PointData><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> </PointData><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <CellData><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <DataArray type="Int32" Name="TetrahedraRank" format="appended" RangeMin="1" RangeMax="2" offset="0" /><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <DataArray type="Int32" Name="TetrahedraNo" format="appended" RangeMin="0" RangeMax="262" offset="188" /><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> </CellData><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <Points><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <DataArray type="Float32" Name="Points" NumberOfComponents="3" format="appended" RangeMin="2003013.3465" RangeMax="2003224.1668" offset="812" /><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> </Points><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <Cells><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <DataArray type="Int64" Name="connectivity" format="appended" RangeMin="" RangeMax="" offset="1680" /><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <DataArray type="Int64" Name="offsets" format="appended" RangeMin="" RangeMax="" offset="5892" /><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <DataArray type="UInt8" Name="types" format="appended" RangeMin="" RangeMax="" offset="8116" /><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> </Cells><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> </Piece><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> </UnstructuredGrid><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <AppendedData encoding="base64"><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"> (data long list)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br>
The file can be found in this link:<br>
<a href="https://drive.google.com/open?id=0BzmZiSDoM7l3U2poYWNTbUhBWVU">https://drive.google.com/open?id=0BzmZiSDoM7l3U2poYWNTbUhBWVU</a><br>
<br>
I don't understand how to decode a vtk file and couldn't find anything in google. I've tried using some scripts in python for base64 but it didn't work..<br>
<br>
The reason why I need to decode this is because somehow this vtk file which load in paraview perfectly becomes a 2d file in another software "MOOSE" .. So I think somehow in the encoded data is telling the other software "only display the 2D intersection of
blocks". But I want a 3D cube not a 2D surface. If someone knows about this please tell me .<br>
<br>
Thank you,<br>
Andi<o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>