Description
The MODFLOW 6 simulation name file (mfsim.nam) supports a CONTINUE option in its OPTIONS block. When set, MODFLOW 6 will continue the simulation even if the solver does not converge, instead of stopping with an error.
Currently, imod-python does not expose this option when writing mfsim.nam via Modflow6Simulation. As a workaround, users have to manually patch the written mfsim.nam file after calling simulation.write(...).
Requested behaviour
Allow setting CONTINUE on the simulation level, for example:
simulation = imod.mf6.Modflow6Simulation("example", continue_on_nonconvergence=True)
Additional context
Continue will be supported in iMOD-coupler via Deltares/imod_coupler#479, currently the testmodel need to be updated manually.
Description
The MODFLOW 6 simulation name file (
mfsim.nam) supports aCONTINUEoption in itsOPTIONSblock. When set, MODFLOW 6 will continue the simulation even if the solver does not converge, instead of stopping with an error.Currently, imod-python does not expose this option when writing
mfsim.namviaModflow6Simulation. As a workaround, users have to manually patch the writtenmfsim.namfile after callingsimulation.write(...).Requested behaviour
Allow setting
CONTINUEon the simulation level, for example:Additional context
Continue will be supported in iMOD-coupler via Deltares/imod_coupler#479, currently the testmodel need to be updated manually.