imod.mf6.Modflow6Simulation.run#
- Modflow6Simulation.run(mf6path: str | Path = 'mf6') None[source]#
- Run Modflow 6 simulation. This method runs a subprocess calling - mf6path. This argument is set to- mf6, which means the Modflow 6 executable is expected to be added to your PATH environment variable. See this writeup how to add Modflow 6 to your PATH on Windows- Note that the - writemethod needs to be called before this method is called.- Parameters:
- mf6path (Union[str, Path]) – Path to the Modflow 6 executable. Defaults to calling - mf6.
 - Examples - Make sure you write your model first - >>> simulation.write(path/to/model) >>> simulation.run()