Skip to content

Support CONTINUE option in Modflow6Simulation #1843

@HendrikKok

Description

@HendrikKok

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Feature.

    Projects

    Status
    🤝 Accepted

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions