<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman"}
a:link, span.MsoHyperlink
{color:#0563C1;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline}
span.EmailStyle17
{font-family:Calibri;
color:windowtext}
span.msoIns
{text-decoration:underline;
color:teal}
.MsoChpDefault
{font-size:10.0pt}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
-->
</style><style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">I personally favor the use of XDMF to import raw binary data. This gives the flexibility to import cell-data and/or node-data<br>
<br>
the XDMF code most likely to work for your example is the following:<br>
<br>
Given your binary data stored in file "rawdata.bin", double-length floating point, with 4x4x5 cells, i.e. a grid of 5x5x6 vertices...<br>
<br>
<?xml version="1.0" ?><br>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []><br>
<Xdmf xmlns:xi="http://www.w3.org/2003/XInclude" Version="2.2"><br>
<Domain><br>
<Grid Name="3DMesh" GridType="Uniform"><br>
<Topology TopologyType="3DCORECTMESH" Dimensions="6 5 5"/><br>
<Geometry GeometryType="ORIGIN_DXDYDZ"><br>
<DataItem Name="Origin" NumberType="Float" Dimensions="3" Format="XML">0. 0. 0.</DataItem><br>
<DataItem Name="Spacing" NumberType="Float" Dimensions="3" Format="XML">1. 1. 1.</DataItem><br>
</Geometry><br>
<Attribute Name="Temperature" Active="1" AttributeType="Scalar" Center="Cell"><br>
<DataItem Dimensions="5 4 4" NumberType="Float" Precision="8" Format="Binary">rawdata.bin</DataItem><br>
</Attribute><br>
</Grid><br>
</Domain><br>
</Xdmf><br>
<div><br>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText">-----------------<br>
Jean<br>
CSCS<span style="font-size:11.0pt; font-family:Calibri"></span><br>
<span style="font-size:11.0pt; font-family:Calibri"></span></div>
</span></font></div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div>
<div class="WordSection1"><br>
</div>
</div>
</div>
</div>
</body>
</html>