[Paraview] question-filter
Cory Quammen
cory.quammen at kitware.com
Mon Feb 22 09:22:35 EST 2016
Islem,
There are likely two steps:
1). Threshold your volume to identify only the water-containing cells.
It looks like you have a way to do this already?
2). Compute the volumes of the water-containing cells and summing them up.
You can use the Threshold filter to do number 1 if you have a material
code in the cell data. To compute the volume of the cells, add a
Python Annotation filter to the Threshold filter. Set the Expression
to
algs.sum(algs.volume(inputs[0]))
This uses the numpy-like interface in the Python layer to compute the
volumes of the cells and sum them all up. The Python Annotation filter
should display the volume with a text label in your renderer.
Hope this helps,
Cory
On Mon, Feb 22, 2016 at 9:09 AM, Megdich Islem <megdich_islem at yahoo.fr> wrote:
> Hi Cory,
>
> Thank you very much for your prompt reply. I've attached here a picture that
> illustrates my problem. I am working on the break of bund walls and I want
> to compute the volume of water that overtops the bund wall (walls
> surrounding storage tank), after the solution reaches the steady state.
>
> Regards,
> Islem
>
>
> Le Lundi 22 février 2016 13h53, Cory Quammen <cory.quammen at kitware.com> a
> écrit :
>
>
> Hi Islem,
>
> This is the place to ask ParaView questions! There is some activity on
> StackOverflow, but most people ask questions on this mailing list.
>
> Could you clarify what you want to compute? Do you just want to subset
> a volume mesh and display the results over time? Do you want to
> compute one quantity and display it as a graph over time? Do you want
> to compute a single number from a time series data set?
>
> Thanks,
> Cory
>
> On Mon, Feb 22, 2016 at 8:48 AM, Megdich Islem <megdich_islem at yahoo.fr>
> wrote:
>> Hello,
>>
>> I am new to paraview, and I didn't find a forum under paraview website to
>> ask my question.
>> My question is is there any filter in paraview that lets to compute the
>> evolution of a quantity within a specific volume of the mesh.
>>
>> Regards,
>> Islem
>>
>> _______________________________________________
>> 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:
>> http://public.kitware.com/mailman/listinfo/paraview
>
>>
>
>
>
> --
> Cory Quammen
> R&D Engineer
> Kitware, Inc.
>
>
>
--
Cory Quammen
R&D Engineer
Kitware, Inc.
More information about the ParaView
mailing list