Reset time step number

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Mohammad
Posts: 114
Joined: Thu Oct 25, 2018 12:18 pm

Reset time step number

Post by Mohammad »

Hello,

I have a checkpoint file with the last time step number of 300,000.

Now I want to start a new case with the initial data of the checkpoint file, but I want to reset the time step number and absolute time to 0 for the new case.

How can I do this?

Regards,
Mohammad
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Reset time step number

Post by Yvan Fournier »

Hello,

There is no specific way to do this.

In v6.0, you may try restarting is if restarting from a different mesh, which might do the trick.

Otherwise, you may try forcing the values of the time step back to 0 in cs_user_initialization, but I am not sure this will work/avoid side effects.

Best regards,

Yvan
Post Reply