Re: [Paraview] Paraview 3.14.1 Tecplot Reader Errors
Hello. Your Tecplot file is written as an Unstructured grid with quadrilateral elements. The Tecplot reader in Paraview cannot read this: it assumes that the file contains a MultiBlock Structured grid (with 3 index I, J and K for a volume, or only two index I and J for a surface) When I see your image, I think that you can write your grid in a Structured format. Moreover, a file header is missing. You should have a header with two lines: line for the title end a line for the variables: TITLE="SOMETHING" VARIABLES="X" "Y" "Z" Richard. -- Richard GRENON ONERA Departement d'Aerodynamique Appliquee - DAAP/ACI 8 rue des Vertugadins 92190 MEUDON - FRANCE phone : +33 1 46 73 42 17 fax : +33 1 46 73 41 46 mailto:richard.gre...@onera.fr http://www.onera.fr ___ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Paraview 3.14.1 Tecplot Reader Errors
Hello. Sorry, I made a mistake in my previous mail: I see in the Tecplot reader help that it should be able to read unstructured: The output of the reader is a vtkMultiBlockDataset, of which each block is either a vtkStructuredGrid or a vtkUnstructuredGrid. But I never succeeded in reading my own Tecplot unstructured grids with triangle elements, so I can't help you for this type of file. Also, I had some problems in reading some structured grids because some Tecplot options in the ZONE card are not recognized by the reader, and I had to suppress it. The Tecplot reader should still be improved. But if you try again Tecplot files with Structured or Unstructure grids, don't forget the two header lines for title and variables. Richard. -- Richard GRENON ONERA Departement d'Aerodynamique Appliquee - DAAP/ACI 8 rue des Vertugadins 92190 MEUDON - FRANCE phone : +33 1 46 73 42 17 fax : +33 1 46 73 41 46 mailto:richard.gre...@onera.fr http://www.onera.fr ___ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Paraview 3.14.1 Tecplot Reader Errors
Hi Richard, Thank you for your feedback. While we are hoping that Paraview developers resolve this problem and accomplish a usable Tecplot reader, I may rewrite a code to output my data as legacy .vtk ASCII files. May I ask you a question? it is probably simple: how to convert a legacy .vtk ASCII file to a binary file. Tecplot provides such a command line tool, preplot, which compresses data greatly before loading into Tecplot, otherwise uncompressed data could eat up all the memory quickly. For my own large scale simulation of particles, one snapshot generates as much as 14GB data for Tecplot, and preplot shrinks them to 2GB! I will run Paraview in parallel processing mode, but it is always optimal to compress ASCII data into binary before loading them into Paraview. Thanks, Beichuan Yan From: Richard GRENON [mailto:richard.gre...@onera.fr] Sent: Monday, August 20, 2012 2:52 AM To: Beichuan Yan; paraview@paraview.org Subject: Re: [Paraview] Paraview 3.14.1 Tecplot Reader Errors Hello. Sorry, I made a mistake in my previous mail: I see in the Tecplot reader help that it should be able to read unstructured: The output of the reader is a vtkMultiBlockDataset, of which each block is either a vtkStructuredGrid or a vtkUnstructuredGrid. But I never succeeded in reading my own Tecplot unstructured grids with triangle elements, so I can't help you for this type of file. Also, I had some problems in reading some structured grids because some Tecplot options in the ZONE card are not recognized by the reader, and I had to suppress it. The Tecplot reader should still be improved. But if you try again Tecplot files with Structured or Unstructure grids, don't forget the two header lines for title and variables. Richard. -- Richard GRENON ONERA Departement d'Aerodynamique Appliquee - DAAP/ACI 8 rue des Vertugadins 92190 MEUDON - FRANCE phone : +33 1 46 73 42 17 fax : +33 1 46 73 41 46 mailto:richard.gre...@onera.fr http://www.onera.fr ___ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Paraview 3.14.1 Tecplot Reader Errors
Hello I don't know how to make this with a command line, but you may read your ASCII file, then use the menu File->Save Data, select the VTK file type, and you will have a popup window with some options: - Data mode: ascii, binary or appended (default). - Compressor: None (default) or Zlib May be this could be automated with a Python script. Browse the mailing list: there are several subject about converting ascii to binary. Also you make look here for Python vtk writers : http://certik.github.com/visit_writer/ Richard Le 20/08/2012 20:53, Beichuan Yan a écrit : Hi Richard, Thank you for your feedback. While we are hoping that Paraview developers resolve this problem and accomplish a usable Tecplot reader, I may rewrite a code to output my data as legacy .vtk ASCII files. May I ask you a question? it is probably simple: how to convert a legacy .vtk ASCII file to a binary file. Tecplot provides such a command line tool, preplot, which compresses data greatly before loading into Tecplot, otherwise uncompressed data could eat up all the memory quickly. For my own large scale simulation of particles, one snapshot generates as much as 14GB data for Tecplot, and preplot shrinks them to 2GB! I will run Paraview in parallel processing mode, but it is always optimal to compress ASCII data into binary before loading them into Paraview. Thanks, Beichuan Yan *From:*Richard GRENON [mailto:richard.gre...@onera.fr] *Sent:* Monday, August 20, 2012 2:52 AM *To:* Beichuan Yan; paraview@paraview.org *Subject:* Re: [Paraview] Paraview 3.14.1 Tecplot Reader Errors Hello. Sorry, I made a mistake in my previous mail: I see in the Tecplot reader help that it should be able to read unstructured: The output of the reader is a vtkMultiBlockDataset, of which each block is either a vtkStructuredGrid or a vtkUnstructuredGrid. But I never succeeded in reading my own Tecplot unstructured grids with triangle elements, so I can't help you for this type of file. Also, I had some problems in reading some structured grids because some Tecplot options in the ZONE card are not recognized by the reader, and I had to suppress it. The Tecplot reader should still be improved. But if you try again Tecplot files with Structured or Unstructure grids, don't forget the two header lines for title and variables. Richard. -- Richard GRENON ONERA Departement d'Aerodynamique Appliquee - DAAP/ACI 8 rue des Vertugadins 92190 MEUDON - FRANCE phone : +33 1 46 73 42 17 fax : +33 1 46 73 41 46 mailto:richard.gre...@onera.fr http://www.onera.fr -- Richard GRENON ONERA Departement d'Aerodynamique Appliquee - DAAP/ACI 8 rue des Vertugadins 92190 MEUDON - FRANCE phone : +33 1 46 73 42 17 fax : +33 1 46 73 41 46 mailto:richard.gre...@onera.fr http://www.onera.fr ___ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview