[Paraview] [EXTERNAL] Re: CSV to PVTU

Moreland, Kenneth kmorel at sandia.gov
Thu Mar 2 15:59:16 EST 2017


Faiz,

I was able to replicate your problem. It looks like it is not an issue with D3 but a change with how Table to Points creates data (or perhaps how data are written). It looks like Table to Points is creating one “cell” with a lot of points. This saves a little memory but ends up preventing D3 from dividing the points up.

The best solution is to add a “2D Glyph” filter after the Table to Points but before the D3 filter. Set the “Glyph Type” to “Vertex”. Then apply the D3 filter to the output of the 2D Glyph filter.

-Ken

From: Faiz Abidi [mailto:fabidi89 at vt.edu]
Sent: Thursday, March 2, 2017 1:38 PM
To: Moreland, Kenneth <kmorel at sandia.gov>
Cc: ParaView <paraview at paraview.org>; Rajamohan, Srijith <srijithr at vt.edu>; Nicholas Polys <npolys at vt.edu>; Ayat Mohammed <maaayat at vt.edu>
Subject: [EXTERNAL] Re: [Paraview] CSV to PVTU

Hi Moreland,

Thanks for your reply.

I thought same except maybe not use the GUI since my data is big and takes forever to load up in Paraview.

Quick question/observation - using the GUI and 8 processes, and applying the Tables to Points filter + D3 and then trying to save files doesn't create 8 vtu files and 1 pvtu file as expected. Instead, what happens is that I get only 1 pvtu file along with 1 vtu file instead. Clearly something wrong. This was done using v5.2.0.

I tried the same thing using v4.0.1 (yes, old but it works!) and I got 8 vtu files and 1 pvtu file as expected.

Do you think this is a bug with 5.2.0? Or do I need to do something different with 5.2.0? Any pointers appreciated!

On Wed, Mar 1, 2017 at 4:15 PM, Moreland, Kenneth <kmorel at sandia.gov<mailto:kmorel at sandia.gov>> wrote:
You can use ParaView itself to read in the csv file, convert it to an unstructured grid (Table to Points filter), redistributed on your 8 parallel processors (D3 filter) and then write out a pvtu file.

Offhand I cannot think of an easier way.

-Ken

From: ParaView [mailto:paraview-bounces at paraview.org<mailto:paraview-bounces at paraview.org>] On Behalf Of Faiz Abidi
Sent: Wednesday, March 1, 2017 2:03 PM
To: ParaView <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: [EXTERNAL] [Paraview] CSV to PVTU

Hi again community!

Looking for suggestions - what would be a decently fast way to convert a huge CSV file into PVTU files?

What I want to do - load this huge file in a CAVE like environment, and use 8 parallel processors.
--
Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com<http://www.faizabidi.com> | +1-540-998-6636<tel:(540)%20998-6636>



--
Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com<http://www.faizabidi.com> | +1-540-998-6636
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170302/b2b2476a/attachment.html>


More information about the ParaView mailing list