[Paraview] coloring the simulation data based on the size of the mesh cell (UNCLASSIFIED)

Berk Geveci berk.geveci at kitware.com
Thu May 15 13:43:15 EDT 2014


Hi Simon,

You can use the Python calculator:

http://www.paraview.org/Wiki/ParaView/Users_Guide/Python_Calculator

You need an expression like:

area(inputs[0])

or

volume(inputs[0])

Be careful, area and volume are not super accurate for 2nd order or higher
cells currently.

-berk



On Thu, May 15, 2014 at 1:37 PM, Su, Simon M CTR USARMY ARL (US) <
simon.m.su.ctr at mail.mil> wrote:

> Classification: UNCLASSIFIED
> Caveats: NONE
>
> Hello,
>
> I would like to color the data based on the size of the mesh cell. Is there
> away to do it in ParaView? In the coloring pull down selection, I can only
> find the variables in the dataset. If I have to compute the size of the
> mesh
> cell to create a new variable, how would it be done?
>
> Thanks
> -simon
>
> Classification: UNCLASSIFIED
> Caveats: NONE
>
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140515/34ef125e/attachment.html>


More information about the ParaView mailing list