CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [General] Get maximum and minimum values of a field variable and make probes with them (https://www.cfd-online.com/Forums/paraview/173602-get-maximum-minimum-values-field-variable-make-probes-them.html)

jingless June 23, 2016 04:26

Get maximum and minimum values of a field variable and make probes with them
 
Hello,

I'm trying to do a very basic thing which any commercial FEM software does very straightforward. I want in a contour plot, to point to the nodes where the maximum and minimum values take place and to show the corresponding field values in a label like it was a probe.
I'm reading the data from a med file (code_aster).

Can someone help me to accomplish that in python scripting or using the GUI at least?

Flowkersma June 25, 2016 07:09

Hi,

One way to do this is to open the spreadsheet view and select the min and max rows (use sorting to find the right rows). Then, use View->Selection View Inspector to label the selected rows.

Regards,
Mikko

jingless June 27, 2016 03:38

Thanks a lot Mikko Do you know the way of doing this with a python script?

Flowkersma July 5, 2016 09:49

Hi Jorge,

Sorry I do not know a way to do this in pure Python. I would also like to know.


All times are GMT -4. The time now is 08:51.