Variable Timestep

Good afternoon, colleagues.

I need to know the simulation time step at each numerical interaction in DualSPHysics v5.0.

Regards.

Comments

  • examples/others/SaveDt

  • Thanks so much, Alex.


    With best regards.

  • Dear colleague,

    Good morning.


    After the simple implementation of the following lines in the XML file, I obtained Dt with high exponents (10^5), however, the simulation ran normally.

    <savedt>

            <start value="0.01" comment="Initial time (def=0)" />

            <finish value="1" comment="End time (def=0, no limit)" />

            <interval value="0.005" comment="Time between output data (def=TimeOut)" />

            <fullinfo value="1" comment="Saves AceMax, ViscDtMax and VelMax (def=0)" />

            <alldt value="1" comment="Saves file with all dt values (def=0)" /

          </savedt>

    The output was:

    Do you have any idea what happened?

    Thanks in advance.

    Regards.

  • Try opening the file in notepad and you will see it properly rendered. I suspect that Excel is automatically interpreting "." / ",", which is generating these large values.

    Kind regards

  • Dear colleague,


    You had the reason.


    Thanks so much.

  • No worries, glad to hear it worked. I had the exact same issue a few years ago and @Alex gave me the same answer - I am happy to pay it forward! :-)

    Kind regards

Sign In or Register to comment.