General

General

How to change the default legend number format for CFD-Post?

    • FAQFAQ
      Participant

      The number format of the Default Legend can only be modified by editing a file in the installation directory. Please be careful in editing these files and always create a backup-copy before editing this file. In the installation directory (Windows) C:Program FilesANSYS Incv194CFXetc and C:Program FilesANSYS Incv194CFD-Postetc the file CFXPostRules.ccl can be found. In this file the default settings for CFD-Post are set. In this file you will find this section PARAMETER: Legend Format Parameter Type = String Local Type = colour Default = %10.3e Description = Parameter to modify string format of values on legend. END The string %10.3e defines the “Scientific” number format of CFD-Post. For a floating point decimal format this can be changed to Default = %10.3f An explanation and overview of the options can be seen i.e. on this Website: https://www.python-course.eu/python3_formatted_output.php