### 2.9.7. Extracting Profile Data from Results Files

When profiles have been read into the CFX-Solver, a summary of the files will be written to the `out` file under the section Profile Data. All profile data is written to the results file and can be extracted using the command line utility cfx5dfile. As profile data is read in to the solver each time it is started/restarted, the results file contains the profile data that was most recent at the time.

cfx5dfile can be run from the command line and is located in the <CFXROOT>/bin/ directory.

To find out which profile file(s) is/are referenced by the current results file, enter:

    cfx5dfile file_001.res -list-profile-files

This outputs a list of all profile files stored in the results file, one per line.

For any file referenced in the results file, enter:

    cfx5dfile file_001.res -read-profile-file <profile_name>.csv

to print the profile data from the file `<profile_name>` to your terminal window.

Alternatively, enter:

    cfx5dfile file_001.res -extract-profile-file <profile_name>.csv

to write it to the current directory under the name `<profile_name>.csv`. If this file already exists in the current directory, it will not be overwritten.

For all files referenced in the results file, enter:

    cfx5dfile file_001.res -extract-all-profile-files

to print the profile data from all the files to your terminal window.

Release 18.2 - © ANSYS, Inc. All rights reserved.