[Paraview] Integrate Variables divide cell data by volume has no effect?

Andy Bauer andy.bauer at kitware.com
Tue Feb 20 02:05:34 EST 2018


The DivideCellDataByVolume only operates on cell data and you're
integrating a point data array so it won't work the way you're expecting it
to. You can use the point data to cell data filter and then try using the
integrate variable filter to see if that gives the result that you want.

On Mon, Feb 19, 2018 at 11:59 PM, Shuhao Wu <shuhao at shuhaowu.com> wrote:

> Hello all,
>
> I've been using the filter IntegrateVariables with the option
> DivideCellDataByVolume = on on a 2D surface. I've noticed that turning this
> option on and off has no effect on the PointData of the output. No
> additional cell data is produced either.
>
> I thought the idea of the the integrate variables filter is (for 2D): it
> sums up the values at each point and multiplied by the area associated with
> that point (*). If the DivideCellDataByVolume option is on, it will divide
> the final result by the total area. If this is the case, why does the
> option do nothing, shouldn't the point data be scaled by a constant factor
> that's the area?
>
> (*) how does it associate the points with their areas?
>
> Thanks,
> Shuhao
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview/attachments/20180220/56e4a0d4/attachment.html>


More information about the ParaView mailing list