General

General

How to benchmark Adjoint calculations?

    • FAQFAQ
      Participant

      The in-built functionalities in ANSYS Fluent to measure the CPU usage (TUI command /parallel/timer/usage or from GUI Under menu Parallel then Time Usage under CPU Info) are not compatible with Adjoint Solver calculations. The actual workaround to quantify the CPU time spent in the Adjoint runs is to rely on the “benchmark” command as follows: (benchmark ‘(ti-menu-load-string “/adjoint/run/iterate n “)) where “n” is the number of Adjoint iterations one wants to run. The “benchmark” function will output the solver time, cortex time, and total elapsed time.