June 2, 2023 at 4:42 pm
Chandra Sekaran
Ansys Employee
If you have the array energy_array filled then you can also use (outside the loop) "*VSCFUN,maxval,MAX,energy_array(1) " . This will return the maximum value and store it in APDL parameter maxval.