<div dir="ltr"><div><div><div>Hi Tim,<br><br></div>It's possible that there's something funky going on when the data set being passed through parts of the pipeline are empty. I'm hoping for the easy fix with passing in the time since I've know that has caused unexpected behavior before. If that doesn't solve your issue then I'll probably have to do something similar and run it locally to see what's going on.<br><br></div>Cheers,<br></div>Andy<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 13, 2017 at 11:06 AM, Gallagher, Timothy P <span dir="ltr"><<a href="mailto:tim.gallagher@gatech.edu" target="_blank">tim.gallagher@gatech.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_8572230535016518358divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>The RequestDataDescription is the same as the default output from the script generator, so I didn't include it. The DoCoProcessing gets called every time step and the volumeIntegrals data is updated and written correctly every delta_t, so I'm confident in
that part. <br>
</p>
<p><br>
</p>
<p>I will add the calls you suggested and re-run. It takes some time for it to evolve to the point something will happen -- I don't have it saving data frequently enough to run a quick test, I was expecting the pipeline to save it for me!</p>
<p><br>
</p>
<p>The other thing that occurred to me -- is there something about the Contour filter that turns it off/disables it when the pipeline is built and there is no surface at that contour level?
<br>
</p>
<p><br>
</p>
<p>Thanks,</p>
<p><br>
</p>
<p>Tim<br>
</p>
<br>
<br>
<div style="color:rgb(49,55,57)">
<hr style="display:inline-block;width:98%">
<div id="m_8572230535016518358divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Andy Bauer <<a href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>><br>
<b>Sent:</b> Monday, February 13, 2017 10:56 AM<br>
<b>To:</b> Gallagher, Timothy P<br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> Re: [Paraview] Cataylst pipeline not updating</font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>Hi Tim,<br>
<br>
</div>
Try adding in the current time to the UpdatePipeline() calls, e.g. *.UpdatePipeline(<wbr>datadescription.<wbr>GetCurrentTime())<br>
<br>
</div>
It's tough to tell with RequestDataDescription() missing but I assume that DoCoProcessing() is getting called when you want, correct?<br>
<br>
</div>
Let me know if that doesn't solve the problem.<br>
<br>
</div>
Best,<br>
</div>
Andy<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Feb 13, 2017 at 5:45 AM, Gallagher, Timothy P <span dir="ltr">
<<a href="mailto:tim.gallagher@gatech.edu" target="_blank">tim.gallagher@gatech.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_8572230535016518358m_9203553041942863659divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Back with another question!</p>
<p><br>
</p>
<p>I have a pipeline that has 1 input and 4 outputs. The simplest is a IntegrateVariables filter hooked up to the input. Another branch of the pipeline goes through several PythonCalculator filters and a CellDataToPointData filter and then arrives at the three
outputs:</p>
<p><br>
</p>
<p>1. The CD2PD filter is connected to a Contour filter with a single level, X. This is then connected to an IntegrateVariables filter (used to compute the area of the Contour) and a Writer.</p>
<p>2. The CD2PD filter is also connected to another Contour filter with a single level Y. This is connected to an IntegrateVariables and Writer just as in 1.
<br>
</p>
<p>3. The CD2PD filter is sliced two times with each slice in a different render view to save images.
<br>
</p>
<p><br>
</p>
<p>I have the coprocessor running every delta_t seconds. The initial IntegrateVariables filter is updated with UpdatePipeline and then the values are saved to disk. This works every step, no issues.
<br>
</p>
<p><br>
</p>
<p>I then call UpdatePipeline on both of the Contour and both of the IntegrateVariables filters in 1 and 2. I check if the 'Area' field in the IntegrateVariables exceeds a threshold, and if it does, I save the Contour's to disk as a VTK file. This is not working
correctly. <br>
</p>
<p><br>
</p>
<p>If I start the simulation from a point where the Contour's exist in the flow already, then everything works great and the Area field changes in time and it saves the Contour's.
<br>
</p>
<p><br>
</p>
<p>However, if the simulation starts without the Contours already in the flow, the Area fields stay zero forever. It's as if the pipeline isn't updating or something. I have attached the DoCoProcessing function used. I don't see anything immediately obvious
that would prevent it from updating or getting the correct values for the Area. <br>
</p>
<p><br>
</p>
<p>Am I missing something about how the pipeline or contour filters update?</p>
<p><br>
</p>
<p>Thanks,</p>
<p><br>
</p>
<p>Tim<br>
</p>
</div>
</div>
<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></div></div>
</div>
</div>
</blockquote></div><br></div>