Andrea, Are your mesh cells linear (and hence linear interpolation would be used)? If so, then the minimum will always be at a mesh point. If they are higher order elements, then indeed the minimum could be somewhere inside a cell. Others on the list may be able to tell you if there is a way to find this minimum point in VTK.
Best regards, Cory On Thu, May 3, 2018 at 4:13 AM Caffagni, Andrea <[email protected]> wrote: > Thank you Mathieu for your suggestion, > > But if I understand correctly with this method I’m able to find only the > value on the mesh points. > > Thus, if I change the mesh with finer or coarser elements the value and > the location that I can find change. > > I would like to avoid this behavior, for this reason I would get the > minimum value using the interpolated value on the slice. > > do you think it's possible to do it? can I manage this with a programmable > filter (work from script without gui)? > > > > Best Regards, > > Andrea > > > > *From:* Mathieu Westphal [mailto:[email protected]] > *Sent:* Thursday, May 03, 2018 09:07 > *To:* Caffagni, Andrea > *Cc:* [email protected] > *Subject:* Re: [Paraview] find minimum on a slice using interpolated > values > > > > Hi Andrea, > > If your are using ParaView, you can obtain this information quite easilly > by showing your dataset in a Spreadsheet view and orderinng the data by > "Pressure". > > > > Best, > > > Mathieu Westphal > > > > On Wed, May 2, 2018 at 8:57 PM, Caffagni, Andrea < > [email protected]> wrote: > > Dear users, > > I need to find the absolute minimum value on a slice of a certain scalar > (like pressure). > > I would get this point using the interpolation in order to avoid the > ‘sensitivity’ to the mesh (in this way, theoretically, if I change the mesh > the minimum should always remain at the same point). > > For this point I would like to get the three-dimensional position and the > value of the scalar in question (pressure and/or velocity), maybe I can use > the numpy functions in a programmable filter? > > > > https://docs.scipy.org/doc/numpy-1.14.0/reference/generated/numpy.amin.html > > > > But I have not idea of how use the interpolation… > > > > Thanks for the suggestions, > > Andrea > > > _________________________________________________________________________________________________________________ > > > > Questo messaggio è da intendersi esclusivamente ad uso del destinatario e > può contenere informazioni che sono di natura privilegiata, confidenziale o > non divulgabile secondo le leggi vigenti. Se il lettore del presente > messaggio non è il destinatario designato, o il dipendente/agente > responsabile per la consegna del messaggio al destinatario designato, si > informa che ogni disseminazione, distribuzione o copiatura di questa > comunicazione è vietata anche ai sensi della normativa vigente in materia > di protezione dei dati personali. Se avete ricevuto questo messaggio per > errore, vi preghiamo di notificarcelo immediatamente a mezzo e-mail di > risposta e successivamente di procedere alla cancellazione di questa e-mail > e relativi allegati dal vostro sistema. > > > _________________________________________________________________________________________________________________ > > > > This message is intended only for the use of the addressee and may contain > information that is privileged, confidential and exempt from disclosure > under applicable law. If the reader of this message is not the intended > recipient, or the employee or agent responsible for delivering the message > to the intended recipient, you are hereby notified that any dissemination, > distribution or copying of this communication is prohibited under the > applicable data protection law. If you have received this e-mail by > mistake, please notify us immediately by return e-mail and delete this > e-mail and all attachments from your system. > > > > > _________________________________________________________________________________________________________________ > > > _______________________________________________ > 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 > > > > > _________________________________________________________________________________________________________________ > > > > Questo messaggio è da intendersi esclusivamente ad uso del destinatario e > può contenere informazioni che sono di natura privilegiata, confidenziale o > non divulgabile secondo le leggi vigenti. Se il lettore del presente > messaggio non è il destinatario designato, o il dipendente/agente > responsabile per la consegna del messaggio al destinatario designato, si > informa che ogni disseminazione, distribuzione o copiatura di questa > comunicazione è vietata anche ai sensi della normativa vigente in materia > di protezione dei dati personali. Se avete ricevuto questo messaggio per > errore, vi preghiamo di notificarcelo immediatamente a mezzo e-mail di > risposta e successivamente di procedere alla cancellazione di questa e-mail > e relativi allegati dal vostro sistema. > > > _________________________________________________________________________________________________________________ > > > > This message is intended only for the use of the addressee and may contain > information that is privileged, confidential and exempt from disclosure > under applicable law. If the reader of this message is not the intended > recipient, or the employee or agent responsible for delivering the message > to the intended recipient, you are hereby notified that any dissemination, > distribution or copying of this communication is prohibited under the > applicable data protection law. If you have received this e-mail by > mistake, please notify us immediately by return e-mail and delete this > e-mail and all attachments from your system. > > > > > _________________________________________________________________________________________________________________ > _______________________________________________ > 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 > -- Cory Quammen Staff R&D Engineer Kitware, Inc.
_______________________________________________ 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
