[Paraview] Import Raw (binary) Files as Cell Data

2016-08-19 Thread Thomas Oliveira
Dear all, In a raw (binary) file, I have 4x4x5 values that represent the values on a grid composed by 4x4x5 blocks. When I import it on Paraview, the values are is interpreted as Point Data, giving rise to 3x3x4 blocks (with 4x4x5 points). How can import those 4x4x5 values as Cell Data? Best rega

Re: [Paraview] Import Raw (binary) Files as Cell Data

2016-08-19 Thread Christopher Neal
to the cell vertices(If I understand correctly). Best regards, Chris Neal From: ParaView on behalf of Thomas Oliveira Date: Friday, August 19, 2016 at 11:20 AM To: ParaView Subject: [Paraview] Import Raw (binary) Files as Cell Data Dear all, In a raw (binary) file, I have 4x4x5 values

Re: [Paraview] Import Raw (binary) Files as Cell Data

2016-08-22 Thread Favre Jean
I personally favor the use of XDMF to import raw binary data. This gives the flexibility to import cell-data and/or node-data the XDMF code most likely to work for your example is the following: Given your binary data stored in file "rawdata.bin", double-length floating point, with 4x4x5 cells,

Re: [Paraview] Import Raw (binary) Files as Cell Data

2016-08-31 Thread Thomas Oliveira
ices(If I > understand correctly). > > Best regards, > > Chris Neal > > > > *From: *ParaView on behalf of Thomas > Oliveira > *Date: *Friday, August 19, 2016 at 11:20 AM > *To: *ParaView > *Subject: *[Paraview] Import Raw (binary) Files as Cell Data > > >

Re: [Paraview] Import Raw (binary) Files as Cell Data

2016-08-31 Thread Thomas Oliveira
Dear Jean, Thank you for your reply. The solution you suggested involving XDMF has worked. I just needed to change NumberType, Precision and Endian attributes to match to my data. Best regards, Thomas On Mon, Aug 22, 2016 at 9:22 AM, Favre Jean wrote: > I personally favor the use of XDMF to im