<div dir="ltr">Hi Utkarsh,<br><div class="gmail_quote"><div dir="ltr"><div><br></div><div>Please find the sample results file in the zip folder for the first 3 time steps. You can load the state to find the expression for stressxx  (calculator1) and strainxx (calculator2). </div>

<div><br></div><div>I would like to integrate the stress and strain separately over the whole domain at each time step and save it in an arrays to plot the average stress and avg. strain over time.</div><div>
Later I would like to plot the stress-strain relationship.</div><div><br></div><div>Please let me know how  to do it in Paraview.</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Aug 7, 2013 at 10:22 AM, Utkarsh Ayachit <span dir="ltr">&lt;<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Do you have  sample dataset that you can share and the expression you<br>
want to use? That&#39;ll make it easier.<br>
<div><div><br>
On Wed, Aug 7, 2013 at 4:11 AM, Rakesh Dhote &lt;<a href="mailto:rpd.toastmasters@gmail.com" target="_blank">rpd.toastmasters@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I need a small favor in writing a small python script. I calculate average<br>
&gt; stress in the domain based on the strain values using an analytical<br>
&gt; expression. The avg. stress value is calculated at one time instant.<br>
&gt;<br>
&gt; I need to save the average stress at every time instant  in an array , which<br>
&gt; will later be plotted to obtain the avg. stress value with time.<br>
&gt;<br>
&gt; I am not conversant with the Paraview scripting. Please let me know how to<br>
&gt; write a script to acheive above task.<br>
&gt;<br>
&gt; The results are plotted in paraview in the ensight case format.<br>
&gt;<br>
&gt; Warm regards,<br>
&gt; Rakesh<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;<br>
</blockquote></div><br></div>
</div></div></div><br></div>