Fluids

Fluids

measure dpm run time

    • satri
      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. 

    • DrAmine
      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.

    • satri
      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)

    • DrAmine
      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
  • You must be logged in to reply to this topic.