We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

measure dpm run time

    • Shyam Prasad V Atri
      Subscriber

      Hi, Is it possible to measure the run time for the particle injection and see how long it took to complete injecting 100 particles in dpm simulation?

      something similar to tic-toc on matlab.

      if there is any tui command please let me know too. 

    • Amine Ben Hadj Ali
      Ansys Employee

      Do you want to get the wall clock time for injecting the particles? Are you injecting 100 particles at the same time? You can use a small journal which will create a variable, store the time there, inject 100 particles, create another dummy variable and store the time again and then you subtract both to get the time. Other direct way is to use the "benchmark" command.

    • Shyam Prasad V Atri
      Subscriber

      yes, I am looking for clock time..what is the tui command to print the clock time?

      I have 3 questions because i can't seem to find these on tui manual

      1) what is the syntax to store the time current time in a dummy variable?

      2) how do you print it on the transcript?

      3) how to use benchmark command? (I can't find this command in TUI documentation at all)

    • Amine Ben Hadj Ali
      Ansys Employee

      You require Scheme to do that or if you already utilize it work with PyFluent. 

      But is the Time Information under /parallel/timer usage not yet enough for you? 

      The other command  is: (benchmark '(ti-menu-load-string "command to be exectued in Fluent in TUI language"))

Viewing 3 reply threads
  • The topic ‘measure dpm run time’ is closed to new replies.