<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri, sans-serif" size="2">
<div>Hello,</div>
<div>&nbsp;</div>
<div>I have an application code that runs parallel calculations (multiple parts) and writes a vtk file(s) for each time step.&nbsp; </div>
<div>&nbsp;</div>
<div>There appears to be an issue with having a period &#8220;.&#8221;&nbsp; within the name of the file given to the writer vtkXMLPUnstructuredGridWriter --&nbsp; See below.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A work around for us has been to replace the &#8220;.&#8221; with &#8220;_&#8221;.&nbsp; </div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vtkSmartPointer&lt;vtkXMLPUnstructuredGridWriter &gt; w = vtkSmartPointer&lt;vtkXMLPUnstructuredGridWriter&gt;::New();</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; w-&gt;SetNumberOfPieces(numProcs);</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; w-&gt;SetStartPiece(rank);</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; w-&gt;SetEndPiece(rank);</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; w-&gt;SetFileName(_fileName);&nbsp; // where&nbsp; _filename = &#8220;Compression_2x1x1.gold&#8221;. </div>
<div>&nbsp;</div>
<div>Then, this code was called once for each timestep:</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vtkSmartPointer&lt;vtkUnstructuredGrid&gt; g = &#8230;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; writer-&gt;SetFileName(name.c_str()); // where name = &#8220;Compression_2x1x1.gold_t0.pvtu&#8221;, &#8220;Compression_2x1x1.gold_t1.pvtu&#8221;, etc</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; writer -&gt;SetInput(g);</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; writer -&gt;Write();</div>
<div>&nbsp;</div>
<div>The result was the creation of the following files:</div>
<div>Compression_2x1x1_0.vtu&nbsp;&nbsp;&nbsp;&nbsp; </div>
<div>Compression_2x1x1.gold_t0.pvtu&nbsp; </div>
<div>Compression_2x1x1.gold_t1.pvtu&nbsp; </div>
<div>Compression_2x1x1.gold_t2.pvtu&nbsp; </div>
<div>Compression_2x1x1.gold_t3.pvtu&nbsp; </div>
<div>Compression_2x1x1.gold_t4.pvtu&nbsp; </div>
<div>Compression_2x1x1.gold_t5.pvtu</div>
<div>&nbsp;</div>
<div>The single vtu file contained only the data from the last call to write(). Each pvtu file pointed to the same vtu file (e.g., each pvtu file contained &#8220;&lt;Piece Source=&quot;Compression_2x1x1_0.vtu&quot;/&gt;&#8221;). </div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>john</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
</font>
</body>
</html>