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.
If I understand correctly, you can use a DEFINE_EXECUTE_AT_END UDF to write out the current time step size.
Inside the UDF, you can use the macro CURRENT_TIMESTEP (or PREVIOUS_TIMESTEP) and then write it to an external file.
You will find more information in the link below
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).
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.
Ansys customers with active commercial software licenses can access the
customer portal and submit support questions. You will need your active account number to register.