<div dir="ltr"><div><div>Hi<br><br></div>Sure, take a look into vtkXMLPolyDataWriter<br><br></div>Regards<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mathieu Westphal<br></div></div></div>
<br><div class="gmail_quote">On Tue, Jan 10, 2017 at 2:56 PM, 张驭洲 <span dir="ltr"><<a href="mailto:yzhzhang@ipe.ac.cn" target="_blank">yzhzhang@ipe.ac.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>Hi Mathieu,<br><br>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?<br><br>Sincerely<br>-Zhang<br><br><blockquote name="replyContent" style="padding-left:5px;margin-left:5px;border-left:#b6b6b6 2px solid;margin-right:0">-----原始邮件-----<br>
<b>发件人:</b> "Mathieu Westphal" <<a href="mailto:mathieu.westphal@kitware.com" target="_blank">mathieu.westphal@kitware.com</a>><br>
<b>发送时间:</b> 2017年1月10日 星期二<br>
<b>收件人:</b> "张驭洲" <<a href="mailto:yzhzhang@ipe.ac.cn" target="_blank">yzhzhang@ipe.ac.cn</a>><br>
<b>抄送:</b> ParaView <<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>><br>
<b>主题:</b> Re: [Paraview] How to load different data files for multiple pvservers<div><div class="h5"><br><br><div dir="ltr"><div><div><div><div>Hi<br><br>It is quite simple.<br></div>First convert your file to modern file type, eg .vtu , .vtp or .vti<br></div>Then manually create a .pvtu/p/i with the correct syntax.<br><br></div>Take a look at the attached file file.pvtp<br><br></div>Regards<br></div><div class="gmail_extra"><br clear="all"><div><div class="m_-84800221816592691gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mathieu Westphal<br></div></div></div>
<br><div class="gmail_quote">On Tue, Jan 10, 2017 at 12:41 PM, 张驭洲 <span dir="ltr"><<a href="mailto:yzhzhang@ipe.ac.cn" target="_blank">yzhzhang@ipe.ac.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br>Hello,<br><br>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?<br><br>Thanks a lot!<br>-Zhang <br><span>
 </span><br><br><br><br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote><br><span></span><br><br><br></blockquote></div><br></div>