Thank you for your answer.
I had to read a few times your answer to understand it, but after searching on the guide and reading the chapter "controlling time step" i think i get it now.
Tell me if I understood correctly.
Simulation 1, 40x40x42.5 cm mesh
The default value for my simulation time step, calculated with the formula 5(dxdydz)^(1/3)/sqrt(gH) is 0.35 s, which is higher than 400/4000= 0,1 s.
Looking at the steps.csv file I see that the time step value remains higher than 0.1 s for most of the simulation, so there are probably overall less than 4000 available timestep (probably 3500, as suggested by the number of lines in my devc.csv file.
Simulation 2 20x20x20 cm mesh
The default value for my simulation time step, calculated with the formula 5(dxdydz)^(1/3)/sqrt(gH) is 0.17 s, which is still higher than 400/4000= 0,1 s.
BUT since the time steps value is slightly higher than 0,1 and only for few seconds of the simulation, there are overall more time steps than requested results (more than 4000), allowing the devc.file to display 4000 results.
I usually put a high NFRAMES amount to have fluid smv visualization, but this can be an issue with the comparison of DEVC results with different meshes. For example now I have this 2 simulation with a different amount of rows in the devc files. I will probably start using NFRAMES = T END.
Any thought about this?
Thanks a lot again,
Andrea