<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hello,</p>
<p><br>
</p>
<p>I have written a python script that loads in an Ensight data file which has multiple solution times associated with it and performs a set of fairly simple operations on it. It is running very slow, and I'm wondering if there are any experts who use Python
 to control Paraview that could help me to optimize the script.  In a nutshell the script does the following.</p>
<p><br>
</p>
<p>1.) Go to a timestep</p>
<p>2.) Generate a series of 2D slices in the 3D domain</p>
<p>3.) Compute some values of the solution variables on those slices</p>
<p>4.) Write data to a file</p>
<p>5.) Delete the entire pipeline except the original data</p>
<p>6.) Go back to 1.)</p>
<p><br>
</p>
<p>This process is painfully slow(2+days just to run the script on a modest size data set).  I believe that the script having to delete the pipeline and then re-create it for every timestep is contributing to the slowdown. My  trouble is that I do not know
 how to selectively activate certain elements in the pipeline if I want to extract information from them, so I have to add them sequentially so that the newest one is the active one.  The script may also be rendering each step, which is unnecessary for me,
 but I do not know how to disable that as well.</p>
<p><br>
</p>
<p>I have attached a copy of the script. I have a minimal working example that contains the data set with only 3 timesteps worth of data.</p>
<p><br>
</p>
<p>I am even willing to pay  $100 for an expert to help me out with this.<br>
</p>
<p><br>
</p>
<p>Thank you,<br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<span lang="en-US">
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">Christopher R. Neal<span name="searchHitInReadingPane" id="0.6422234599957483" class="highlight"></span></span></font></div>
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">Graduate Student
<br>
Center for Compressible Multiphase Turbulence<br>
</span></font></div>
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">Mechanical and Aerospace Engineering Department<br>
</span></font></div>
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">University of Florida</span></font></div>
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">Cell: (863)-697-1958</span></font></div>
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">E-mail:  chrisneal@ufl.edu</span></font></div>
</span></div>
</div>
</div>
</body>
</html>