Fluids

Fluids

Size of Time-Step during Adaptive Time-Marching

    • cwl6750084
      Subscriber
      Does anyone know if we can record and export the size of time-step for each time-step if we use adaptive time-marching? I am running a simulations with over 250000 and cannot write and open the output files one-by-one.nnThanks.nn
    • Surya Deb
      Ansys Employee
      Hello, nIf I understand correctly, you can use a DEFINE_EXECUTE_AT_END UDF to write out the current time step size.nInside the UDF, you can use the macro CURRENT_TIMESTEP (or PREVIOUS_TIMESTEP) and then write it to an external file. nYou will find more information in the link belownRegards,nSuryan
    • cwl6750084
      Subscriber
      Is using UDF the only way of doing so? I am not sure if there is a C++ compiler on the office computer (it is a window machine).n
    • Rob
      Ansys Employee
      If you're using 2020R2 click on the Use included compiler as we've (finally) added one to Fluent. The other option is to write a monitor of something and check what can be included in that, I know flow time can be, not sure about time step. Then use Excel to find the dt. n
Viewing 3 reply threads
  • You must be logged in to reply to this topic.