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

2018-02-19 Thread Shuhao Wu
I suspected so as well but didn't know how to convert the point data to 
cell data until now.


So does that mean integrate variables with point data will not be 
integration weighted by the area?


Thanks,
Shuhao

On 2018-02-20 02:05 AM, Andy Bauer wrote:

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  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




___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/paraview


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

2018-02-19 Thread Andy Bauer
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  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
>
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/paraview


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

2018-02-19 Thread Shuhao Wu

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/opensource/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