[Paraview] Script to save avg value in an array

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Aug 7 10:22:31 EDT 2013


Do you have  sample dataset that you can share and the expression you
want to use? That'll make it easier.

On Wed, Aug 7, 2013 at 4:11 AM, Rakesh Dhote <rpd.toastmasters at gmail.com> wrote:
> Hi,
>
> I need a small favor in writing a small python script. I calculate average
> stress in the domain based on the strain values using an analytical
> expression. The avg. stress value is calculated at one time instant.
>
> I need to save the average stress at every time instant  in an array , which
> will later be plotted to obtain the avg. stress value with time.
>
> I am not conversant with the Paraview scripting. Please let me know how to
> write a script to acheive above task.
>
> The results are plotted in paraview in the ensight case format.
>
> Warm regards,
> Rakesh
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list