General

General

I am trying to restart a transient CFX simulation from a previous results file. Before starting the simulation, I check the box “continue History from -> Initial Values” (or set the corresponding command line argument -continue-from-file), and as the initial value I select the last result file “oldResults.res”. The problem I have encountered is that the solver starts from the beginning (t_start=0 [s]) instead of really resuming the time (t_start = t_EndOfPreviousRun). However, it is correctly showing the history of the simulation. What could be the reason for this behavior?

    • FAQFAQ
      Participant

      Probably you selected the option “Value = 0 [s]” for the initial time. Please check the CCL in the .out-File of your restarted run for the Keyword “INITIAL TIME, see the following sample CCL snippet: FLOW: Flow Analysis 1 &replace ANALYSIS TYPE: Option = Transient EXTERNAL SOLVER COUPLING: Option = None END INITIAL TIME: Option = Value Time = 0 [s] END TIME DURATION: Option = Total Time Total Time = 10 [s] END TIME STEPS: Option = Timesteps Timesteps = 1 [s] END END END The default option for “INITIAL TIME” would be “Automatic with Value”, “Time = 0 [s]”, which sets the initial time to zero if the run is not a restarted one, and to the final time of the previous run if the run is restarted. The option “Value” sets the initial time to zero even if it is a restarted run. Therefore, for a proper restart where the time is resumed from the previous simulation (t_start = t_EndOfPreviousRun), you must change the option for “INITIAL TIME” to “Automatic with Value”.