Ansys Learning Forum Forums Discuss Simulation General Mechanical How to write an array to text file ? Reply To: How to write an array to text file ?

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.