[Paraview] Legacy Format

Paul Wells pauljwells at mac.com
Thu Sep 15 14:27:36 EDT 2005


I am modifying a CFD code to write unstructured grid results in legacy 
vtk format. The type of output data is quite simple: an unstructured 
surface mesh of arbitrary polygon cells with a number of scalar 
properties assigned to each cell.

I have completed the geometry part no problem, but I cannot find (or at 
least cannot understand what I have found!) a good description of the 
file format for the data.

Should I use repeated blocks of CELL_DATA, SCALARS. or should I use a 
FIELD, with each scalar in one array of the field.
Regarding the FIELD data, I couldn't see how the data in the arrays 
would 'know' whether it was assigned to CELLs or to POINTS.

OR

Should I write the whole thing in the XML format?

Many thanks in advance


-- 
Regards
Paul J Wells MA.(Cantab.) CEng. MRAeS.





More information about the ParaView mailing list