[Paraview] Legacy Format

Mattijs Janssens m.janssens at opencfd.co.uk
Thu Sep 15 14:57:33 EDT 2005


I use FIELD. E.g.

POINT_DATA 882
FIELD attributes 2
p 1 882 float
..
U 3 882 float
..


(never tried the xml format though)

Paul Wells wrote:
> 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
> 
> 

Mattijs

-- 

Mattijs Janssens

OpenCFD Ltd.
The Mews, Picketts Lodge,
Picketts Lane, Salfords,
Surrey RH1 5RG.
Tel: +44 (0)1293 821272
Email: M.Janssens at OpenCFD.co.uk
URL: http://www.OpenCFD.co.uk


More information about the ParaView mailing list