[Paraview] How to load different data files for multiple pvservers

张驭洲 yzhzhang at ipe.ac.cn
Tue Jan 10 09:16:56 EST 2017



Hi Mathieu,

Thank you very much! You solved my problem perfectly!

Sincerely

-Zhang
-----原始邮件-----
发件人: "Mathieu Westphal" <mathieu.westphal at kitware.com>
发送时间: 2017年1月10日 星期二
收件人: "张驭洲" <yzhzhang at ipe.ac.cn>
抄送: ParaView <paraview at paraview.org>
主题: Re: Re: [Paraview] How to load different data files for multiple pvservers


Hi


Sure, take a look into vtkXMLPolyDataWriter


Regards



Mathieu Westphal



On Tue, Jan 10, 2017 at 2:56 PM, 张驭洲 <yzhzhang at ipe.ac.cn> wrote:

Hi Mathieu,

Thank you for the quick reply! I have some .vtp files and tried the way you told me, and got the result what I want. However, I don't know how to convert my .vtk files to .vtp files. Could you please give me more information about this? And, can I generate .vtp files from a simulation code by using some vtkwriter object?

Sincerely
-Zhang

-----原始邮件-----
发件人: "Mathieu Westphal" <mathieu.westphal at kitware.com>
发送时间: 2017年1月10日 星期二
收件人: "张驭洲" <yzhzhang at ipe.ac.cn>
抄送: ParaView <paraview at paraview.org>
主题: Re: [Paraview] How to load different data files for multiple pvservers



Hi

It is quite simple.

First convert your file to modern file type, eg .vtu , .vtp or .vti

Then manually create a .pvtu/p/i with the correct syntax.


Take a look at the attached file file.pvtp


Regards



Mathieu Westphal



On Tue, Jan 10, 2017 at 12:41 PM, 张驭洲 <yzhzhang at ipe.ac.cn> wrote:


Hello,

I'm using ParaView for parallel visualization. My dataset is polydata, it is not "parallel aware". However, using the D3 filter, as the ParaView User's Guide says, is too expensive, which slow down the whole process significantly. As my data is  generated in parallel, I want to assign these data files to  multiple pvservers. For example, I have a dataset contains four files: file0.vtk, file1.vtk, file2.vtk and file3.vtk. Note that they are not temporal file series, but each represent a different area of the simulation domain. And, I start four pvservers by mpirun -np 4 ./pvserver. I can connect to the pvserver using paraview GUI on my PC, but I don't how to distribute the four files to each pvserver. I tried to select the four files using the Ctrl key and hit Apply, but it seems that they are all assigned to the process 0. Is there any way I can distribute the data files to each pvserver using the paraview GUI?

Thanks a lot!
-Zhang




_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview















-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170110/75783d27/attachment.html>


More information about the ParaView mailing list