How to get location of a point in a temperature distribution contour, whose temperature is known?

3 vues (au cours des 30 derniers jours)
I have been trying to find a way to get the coordinate point on one of the edge of a geometry where the temperature variable will be equal to a given temperature value. I am using MATLAB PDE Toolbox to get the crater radius and depth in a single discharge model of electric discharge machining. I used r-z coordinate system and finally got the temperature distribution on a 2D rectangular domain. I want to get the respective r and z values of the points lying on the top and left edges, where the temperature will be equal to the melting point temperature of the material used, i.e. 1430 K.

Réponses (1)

Image Analyst
Image Analyst le 6 Nov 2021
Try calling impixelinfo() after you display the image. Then you can mouse around and see values in the status label.
If you know the EXACT value of the temperature you want, you can find all the places where it occurs using
[rows, columns] = find(tempImage = tempValue);
You might need to use ismembertol() instead of find().

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by