August 4, 2021 at 3:41 pm
Ansys Employee
One can script this (sample script below runs in the script console - have in mind we do not provide any additional help with this it is just a sample that can be modified to perform a certain task):
---
sol=ExtAPI.DataModel.Project.Model.Analyses[0].GetResultsData
sol.CurrentResultSet=1000000 # last step
temp=sol.GetResult("TEMP")
mesh=ExtAPI.DataModel.Project.Model.Analyses[0].MeshData
meshIds = mesh.NodeIds
mintempif=1E9
for nodeId in meshIds:
tempnode=temp.GetNodeValues(nodeId)
if tempnode[0]<=mintempif:
mintempif=tempnode[0]
index=nodeId
Z=mesh.NodeById(index).Z
Y=mesh.NodeById(index).Y
X=mesh.NodeById(index).X
sol.Dispose
slMn = ExtAPI.SelectionManager
slMn.ClearSelection
sel = slMn.CreateSelectionInfo(SelectionTypeEnum.MeshNodes)
sel.Ids=[index]
nstempmin=ExtAPI.DataModel.Project.Model.AddNamedSelection() # named selection for lowest temperature node
nstempmin.Location = sel
---
or another way is to export the temperatures to excel sort by temperature and look a the node location and number - to do his one needs to set node location in options:

Then to export go to the temperature result right mouse button click and select export to excel:

say using the INDEX function in excel (say if we have 8282 nodes, the temps, in column E, node nr in A, the function in excel would be =INDEX(A2:A8282,MATCH(MIN(E2:E8282),E2:E8282,0)).
All the best
Erik