General

General

Is it possible to change the digit precision in an ANSYS CFD-Post table?

    • FAQFAQ
      Participant

      There is no specific button in the graphical user interface available. But the formatting and the number of digits after the decimal point can be changed in the Command Editor. With the Right Mouse Button on the Table in the Outline, Edit the command editor. For example: TABLE: Table 1 Export Table Only = True …… TABLE CELLS: A1 = “=areaAve(T)@Default Domain Default”, False, False, False, Left, True, 0, Font Name, 1|1, %.5f, True, ffffff, 000000, True END END The formatting of the table cell is given in this case by %.5f and will result in a value with fixed decimal notation with 5 digits after the decimal point. If the scientific notation is preferred, please use %.5e, to get the scientific notation with 5 digits after the decimal point. When saving the table, the values can be exported into .txt or .csv file with the formatting specified.