<div dir="ltr"><div>Yes that might be the case! I am trying to open the attached state file to see the example</div><div> but it seems my version of paraview (5.5.2 Windows) , crashes when loading.</div><div>I am downloading an earlier version that might work. <br></div><div><br></div><div>Thank you,</div><div>Salachoris Georgios Panagiotis<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 31, 2018 at 4:19 PM, Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ah, if you are talking about computing the displacement of bricks from<br>
the first time step to a later timestep, that is doable with something<br>
like:<br>
<br>
* Load data<br>
* Add a "Force Time" filter, setting this to the time of the first<br>
timestep. When you advance in time, this will "freeze" the data set at<br>
the first timestep while the original data set will advanced to the<br>
current time, letting you compare the current timestep with the first.<br>
* Add a "Cell Centers" filter to both the data set and the "Force<br>
Time" filter. (assumes cell centers are a reasonable place to measure<br>
displacement)<br>
* Select both "Cell Centers" filters in the pipeline by clicking the<br>
first and control-clicking the second.<br>
* Add a Python calculator filter. Enter the expression<br>
"inputs[1].Points - inputs[0].Points" and change the "Array Name" to<br>
"Displacements". This will create a point-data array associated with<br>
the cell centers, which gives you the displacements of the brick<br>
centers.<br>
* Add a Glyph filter to visualize the displacements, setting the<br>
Scalars to None, Vectors to "Displacements", and "Scale Mode" to<br>
"vector".<br>
<br>
Attached is an example using the can.ex2 data set that ships with<br>
ParaView in the Examples (File -> Open, look for the Examples<br>
directory on the left of the dialog).<br>
<br>
HTH,<br>
Cory<br>
<div class="HOEnZb"><div class="h5">On Tue, Jul 31, 2018 at 9:57 AM GeorgeP S <<a href="mailto:salachoris1@gmail.com">salachoris1@gmail.com</a>> wrote:<br>
><br>
> Thank you for the reply,<br>
> i immagine there is also no way to calculate or filter the amount of "bricks" outside their initial position<br>
> with a certain tolerance then?<br>
><br>
> Salachoris Georgios Panagiotis<br>
><br>
> On Tue, Jul 31, 2018 at 3:52 PM, Cory Quammen <<a href="mailto:cory.quammen@kitware.com">cory.quammen@kitware.com</a>> wrote:<br>
>><br>
>> Thanks for clarifying. I cannot think of a filter or pipeline of<br>
>> filters that I can think of in ParaView to do this.<br>
>><br>
>> Best,<br>
>> Cory<br>
>> On Tue, Jul 31, 2018 at 9:49 AM GeorgeP S <<a href="mailto:salachoris1@gmail.com">salachoris1@gmail.com</a>> wrote:<br>
>> ><br>
>> > Hello,<br>
>> ><br>
>> > at the image attached there is a model made of blocks (bricks).<br>
>> > I would like to calculate the displacements between these "bricks".<br>
>> > I hope i have cleared the situation a little.<br>
>> ><br>
>> > Thank you,<br>
>> > Salachoris Georgios Panagiotis<br>
>> ><br>
>> ><br>
>> > On Tue, Jul 31, 2018 at 3:38 PM, Cory Quammen <<a href="mailto:cory.quammen@kitware.com">cory.quammen@kitware.com</a>> wrote:<br>
>> >><br>
>> >> I'm not sure I understand this:<br>
>> >><br>
>> >> > i want to calculate the displacement for each block and his next one<br>
>> >><br>
>> >> Could you elaborate?<br>
>> >><br>
>> >> Thanks,<br>
>> >> Cory<br>
>> >><br>
>> >> p.s. For future questions, please use our forum at<br>
>> >> <a href="https://discourse.paraview.org/" rel="noreferrer" target="_blank">https://discourse.paraview.<wbr>org/</a><br>
>> >> On Tue, Jul 31, 2018 at 6:42 AM GeorgeP S <<a href="mailto:salachoris1@gmail.com">salachoris1@gmail.com</a>> wrote:<br>
>> >> ><br>
>> >> > Hello all,<br>
>> >> ><br>
>> >> > i would like to know how to calculate the displacement between many bodies in contact.For example, lets say i have a wall and each brick on the wall has a displacement, i want to calculate the displacement for each block and his next one. Should i think to write a python filter or is there already a filter that can do this?<br>
>> >> ><br>
>> >> ><br>
>> >> > Thank you in advance,<br>
>> >> > Salachoris Georgios Panagiotis.<br>
>> >> ><br>
>> >> ><br>
>> >> > ______________________________<wbr>_________________<br>
>> >> > Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
>> >> ><br>
>> >> > ParaView discussion is moving! Please visit <a href="https://discourse.paraview.org/" rel="noreferrer" target="_blank">https://discourse.paraview.<wbr>org/</a> for future posts.<br>
>> >> ><br>
>> >> > Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
>> >> ><br>
>> >> > Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
>> >> ><br>
>> >> > Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
>> >> ><br>
>> >> > Follow this link to subscribe/unsubscribe:<br>
>> >> > <a href="https://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
>> >><br>
>> >><br>
>> >><br>
>> >> --<br>
>> >> Cory Quammen<br>
>> >> Staff R&D Engineer<br>
>> >> Kitware, Inc.<br>
>> ><br>
>> ><br>
>><br>
>><br>
>> --<br>
>> Cory Quammen<br>
>> Staff R&D Engineer<br>
>> Kitware, Inc.<br>
><br>
><br>
<br>
<br>
-- <br>
Cory Quammen<br>
Staff R&D Engineer<br>
Kitware, Inc.<br>
</div></div></blockquote></div><br></div>