<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" size="2"><span style="font-size:11pt;">
<div>vtk-experts: I am looking for guidance and suggestions on handling the following problem.</div>
<div>&nbsp;</div>
<div>Question Set-up:</div>
<div>I have a very large multiprocessor simulation where we output to .pvd, .pvtu, .vtu files for each time step.&nbsp; There are thousands of time steps and <font face="Monospace" size="2"><span style="font-size:10pt;">t</span></font><font face="Monospace" size="2"><span style="font-size:10pt;">he
jobs are run on hundreds and even thousands of processors</span></font><font face="Monospace" size="2"><span style="font-size:10pt;">.&nbsp; T</span></font><font face="Monospace" size="2"><span style="font-size:10pt;">he</span></font><font face="Monospace" size="2"><span style="font-size:10pt;">
number of files </span></font><font face="Monospace" size="2"><span style="font-size:10pt;">created is in the thousands and post-processing of computed results quickly bec</span></font><font face="Monospace" size="2"><span style="font-size:10pt;">omes unmanageable.</span></font><font face="Monospace" size="2"><span style="font-size:10pt;">
</span></font>&nbsp; Calculations and data is associated with points and we create a vtkUnstructuredGrid and use <font face="Monospace" size="2"><span style="font-size:10pt;">vtkXMLPUnstructuredGridWriter</span></font><font face="Monospace" size="2"><span style="font-size:10pt;">
to write </span></font><font face="Monospace" size="2"><span style="font-size:10pt;">mesh points</span></font><font face="Monospace" size="2"><span style="font-size:10pt;"> and results </span></font><font face="Monospace" size="2"><span style="font-size:10pt;">for
each time step.&nbsp; </span></font><font face="Monospace" size="2"><span style="font-size:10pt;">We write both </span></font><font face="Monospace" size="2"><span style="font-size:10pt;">cells (</span></font><font face="Monospace" size="2"><span style="font-size:10pt;">&#8216;</span></font><font face="Monospace" size="2"><span style="font-size:10pt;">type=VTK_VERTEX</span></font><font face="Monospace" size="2"><span style="font-size:10pt;">&#8217;</span></font><font face="Monospace" size="2"><span style="font-size:10pt;">)</span></font><font face="Monospace" size="2"><span style="font-size:10pt;">
and </span></font><font face="Monospace" size="2"><span style="font-size:10pt;">points</span></font><font face="Monospace" size="2"><span style="font-size:10pt;"> but hang field da</span></font><font face="Monospace" size="2"><span style="font-size:10pt;">ta
off of the points.</span></font><font face="Monospace" size="2"><span style="font-size:10pt;"> </span></font><font face="Monospace" size="2"><span style="font-size:10pt;">The challenge is post-processing computed results.</span></font><font face="Monospace" size="2"><span style="font-size:10pt;">&nbsp;
</span></font></div>
<div>&nbsp;</div>
<div><font face="Monospace" size="2"><span style="font-size:10pt;">Perhaps one way to handle post-processing is to filter the data down to a very small region of interest during the simulation.&nbsp; I was thinking of using &#8216;vtkClipVolume&#8217; to obtain a set of points
within a cubic-like region.&nbsp; Then I would write this relatively small number of points (and other data) out to &#8216;1&#8217; vtk file for each time step &#8211; ie just one file for each time step.&nbsp; I want to eliminate the parallel decomposition of the output data at this
stage.&nbsp; This means that I will need to communicate points found within the clipping volume to one processor (say proc=0) , create a vtkUnstructuredGrid, and then write this grid and data to a file for the time step.&nbsp; After the simulation is done I would have
&#8216;one&#8217; .vtu file for each time step that contains a relatively few number of points.&nbsp; I can post-process these files in a straight forward manner.</span></font></div>
<div>&nbsp;</div>
<div><font face="Monospace" size="2"><span style="font-size:10pt;">Question (s):</span></font></div>
<div><font face="Monospace" size="2"><span style="font-size:10pt;">Does this process make sense?</span></font></div>
<div>&nbsp;</div>
<div><font face="Monospace" size="2"><span style="font-size:10pt;">Is there any existing functionality that can perform this algorithm now?</span></font></div>
<div>&nbsp;</div>
<div><font face="Monospace" size="2"><span style="font-size:10pt;">Will &#8216;vtkClipVolume&#8217; keep the data associated with points it finds?</span></font></div>
<div>&nbsp;</div>
<div><font face="Monospace" size="2"><span style="font-size:10pt;">How do I configure &#8217;vtkClipVolume&#8217; for positioning a Cartesian like cube (say dx, dy, dz) where dx, dy, and dz are the length of each edge?&nbsp; </span></font></div>
<div>&nbsp;</div>
<div><font face="Monospace" size="2"><span style="font-size:10pt;">Does anyone have any suggestions or specifics on how to handle this case &#8211; which vtk filters, how to handle the communications?</span></font></div>
<div>&nbsp;</div>
<div><font face="Monospace" size="2"><span style="font-size:10pt;">Any suggestions/comments are requested.&nbsp; Thank you.</span></font></div>
<div><font face="Monospace" size="2"><span style="font-size:10pt;">John Mitchell</span></font></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
</span></font>
</body>
</html>