Closed rafa-guedes closed 10 months ago
You can use the input parameter
OutputStartNumber = 1501
to change the starting index. It would be convenient to use HotStartTime
and PLOT_INTV
to generate a starting index; however, this assumes that a user is continuing a previous run with the same PLOT_INTV
. The Hot Start feature can be used for custom initial conditions/wave profiles that are not covered by the built-in wavemaker.
Thanks @mayhl your suggestion works great. It could be helpful a quick note on this parameter in the Hot Start section of the docs for others trying to do the same.
I mentioned today on the email list about a typo in the docs where
INI_UVZ
is defined asINT_UVZ
, and also about the file format description - the docs mention the files should be the same format as the output/depth files, but binary output doesn't seem to be accepted for the hotstart files.Another thing I noticed was that the
HotStartTime
input argument is not described in the docs.After managing to run a few hotstart tests I noticed the new output files are written starting with suffix
_00001
. This implies that if say a model crashes and we try to restart the simulation from one of the last output files written without specifying a new output directory, all initial output files will be overwritten. I was wondering if it would make sense and be feasible for funwave to start writing the output files usingHotStartTime
andPLOT_INTV
when a hotstart run is defined. In the following example:The model would hot start at time 3000s, and the first new output files to be written would be:
Thanks