Hi Thomas,

If you have the ability to view/edit the source code that is generating the 
output binary file, then I would suggest that you take a look at the vtk manual 
that describes the data formats. It discusses how to write the data in the vtk 
format such that the output is either cell data or point data.  VTK data format 
guide: http://www.vtk.org/wp-content/uploads/2015/04/file-formats.pdf

 

If it is a black box, then perhaps you can look into using the filter ‘Cell 
Data To Point Data”. This may yield something helpful, although it is just an 
interpolation from the cell centers to the cell vertices(If I understand 
correctly).

Best regards,

Chris Neal

 

From: ParaView <[email protected]> on behalf of Thomas Oliveira 
<[email protected]>
Date: Friday, August 19, 2016 at 11:20 AM
To: ParaView <[email protected]>
Subject: [Paraview] Import Raw (binary) Files as Cell Data

 

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 regards,

Thomas Oliveira

_______________________________________________ Powered by www.kitware.com 
Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html Please keep messages on-topic 
and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the 
list archives at: http://markmail.org/search/?q=ParaView Follow this link to 
subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview 

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to