Ansys Insight: How to extract results from multiple simulation files

    • Shin-Sung Kim
      Ansys Employee

      If you have a large number of simulations that contain certain results, you might want to use a script to open each simulation file and save the results into a file of one of the supported formats (See the File formats tab).

      The example script below shows how to extract broadband transmission results from multiple files and save them into a *.txt file that is very versatile and can be imported by many 3rd party tools.

      Note that the data is first saved into a matrix, that is easier to manipulate. After the data is collected from all simulation files, the matrix is saved into a *.txt file where each column represents Transmission results from one simulation file. The very first column then represents the frequency/x axis data and it assumes that the dimension of all datasets is identical.

Viewing 0 reply threads
  • You must be logged in to reply to this topic.