<div dir="ltr"><div><div>Hi Neks!<br><br>I want to convert my nek binary files into hdf5 using Matlab. Am I right that the data structure in nek is as follows:<br><br>132 byte header, 4+nel1*4 byte mapping stuff, [3*nel1*lx1*ly1*lz1 byte coordinates], 3*nel1*lx1*ly1*lz1 byte velocity field [, nel1*lx1*ly1*lz1 byte pressure], etc.<br>
<br>Where the data structure of u/v/w (and x/y/z) is like u(1...lx1*ly1*lz1,1),v(1...lx1*ly1*lz1,1),w(1...lx1*ly1*lz1,1),u(1...lx1*ly1*lz1,2),v(1...lx1*ly1*lz1,2),... u(1...lx1*ly1*lz1,nel1),v(1...lx1*ly1*lz1,nel1),w(1...lx1*ly1*lz1,nel1)<br>
<br></div>Thanks in advance!<br></div>Jan F.<br></div>