Hi @hkjeldsberg
If I understand correctly, save_frequency is the time step frequency used during the simulation, while step is how often you want to save the outputs.
|
saved_time_steps_per_cycle = int(T / dt / save_frequency / step) |
Here, saved_time_steps_per_cycle is divided by both save_frequency and step, but shouldn’t it be only save_frequency?