[Paraview] 答复: Help: How to convert a group of vtk data files at one time though ParaView

Moreland, Kenneth kmorel at sandia.gov
Thu Mar 9 15:58:01 EST 2017


(Responding back to the list.)

As I said, click on the “Save Data” toolbar button (or select File -> Save Data). This will give you an option to save the data from the vtk file as a csv file.

-Ken

From: 董 舒迪 <ganplankr at hotmail.com>
Date: Thursday, March 9, 2017 at 3:51 PM
To: "Moreland, Kenneth" <kmorel at sandia.gov>
Subject: [EXTERNAL] 答复: [Paraview] Help: How to convert a group of vtk data files at one time though ParaView


Hello Ken,



Really thank you for your reply.



Yes, my data files are written as a numeric series, and I notice that ParaView will load all of them when I press play button.

However, I have a confusion. I am not sure about the meaning of "write out", do you mean export?  I obtained those files from my colleague with another simulation software, this is why I want to convert (or export) those series data file with ParaView. I will try your method, and thank you for your kind reply.

Best regards,
Stan

________________________________
发件人: Moreland, Kenneth <kmorel at sandia.gov>
发送时间: 2017年3月9日 20:08
收件人: 董 舒迪; paraview at paraview.org
主题: Re: [Paraview] Help: How to convert a group of vtk data files at one time though ParaView

Stan,

I don’t know if this functionality goes all the way back to version 4.1 (I only tried back to 4.3), but if you load your vtk data as a time series then you can similarly write them out as a time series of csv files.

Assuming that your vtk files are written as a numeric series (e.g. file001.vtk, file002.vtk, file003.vtk, …), ParaView will interpret that as a file series. When you click on the file series in the browser to open it, ParaView only actually reads in the first file. If you hit the play button, ParaView will load your files one by one as an animation over time.

If you have data in a time series like that, you can write out a series of csv files as a time series. Simply click on Save Data, specify a csv file name in the file browser, and then in the next dialog box check the box for “Write All Time Steps”. ParaView will then write out a series of numbered csv file, one per time step, which corresponds to each of your input files.

-Ken

From: ParaView <paraview-bounces at paraview.org> on behalf of 董 舒迪 <ganplankr at hotmail.com>
Date: Thursday, March 9, 2017 at 1:09 PM
To: "paraview at paraview.org" <paraview at paraview.org>
Subject: [EXTERNAL] [Paraview] Help: How to convert a group of vtk data files at one time though ParaView

Dear all,

I am currently use ParaView version 4.1, to analyse vtk data. I want to export a group of data file from vtk into csv. However, there are about 900 data file in that group, and I don't think I could export them one by one. Do you know is there any way I could select them all and export them together at one time?  I cannot find relevant information in guidebook of version 4.1, and I am wondering is this due to the limitation of the old version?

Many Thanks,
Stan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170309/73113b42/attachment.html>


More information about the ParaView mailing list