diff --git a/notebooks/implementing/gwf_bcf2ss/gwf_bcf2ss_p1a.ipynb b/notebooks/implementing/gwf_bcf2ss/gwf_bcf2ss_p1a.ipynb index 6fc7203..32aecc6 100644 --- a/notebooks/implementing/gwf_bcf2ss/gwf_bcf2ss_p1a.ipynb +++ b/notebooks/implementing/gwf_bcf2ss/gwf_bcf2ss_p1a.ipynb @@ -625,14 +625,21 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 22, "metadata": {}, "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING: Package with type oc already exists. Replacing existing package.\n" + ] + }, { "data": { "text/plain": [ "package_name = oc\n", - "filename = gwf_bcf2ss\n", + "filename = gwf_bcf2ss.oc\n", "package_type = oc\n", "model_or_simulation_package = model\n", "model_name = gwf_bcf2ss\n", @@ -661,7 +668,7 @@ "None\n" ] }, - "execution_count": 15, + "execution_count": 22, "metadata": {}, "output_type": "execute_result" } @@ -675,7 +682,7 @@ " (\"head\", \"all\"),\n", " (\"budget\", \"all\")\n", " ],\n", - " filename=f\"{sim_name}\",\n", + " filename=f\"{sim_name}.oc\",\n", " pname=\"oc\"\n", ")" ] @@ -727,7 +734,7 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 23, "metadata": {}, "outputs": [ { diff --git a/notebooks/implementing/gwf_bcf2ss/gwf_bcf2ss_p2a.ipynb b/notebooks/implementing/gwf_bcf2ss/gwf_bcf2ss_p2a.ipynb new file mode 100644 index 0000000..8713bc9 --- /dev/null +++ b/notebooks/implementing/gwf_bcf2ss/gwf_bcf2ss_p2a.ipynb @@ -0,0 +1,805 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [], + "source": [ + "from os import getcwd\n", + "from pathlib import Path\n", + "\n", + "import flopy as fp" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "WindowsPath('c:/Users/buckl/Documents/Github/flopy_mf6_work/notebooks/implementing/gwf_bcf2ss/model_p2a')" + ] + }, + "execution_count": 2, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "workspace = Path(getcwd(), \"model_p2a\")\n", + "workspace" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "sim_name = gwf_bcf2ss\n", + "sim_path = c:\\Users\\buckl\\Documents\\Github\\flopy_mf6_work\\notebooks\\implementing\\gwf_bcf2ss\\model_p2a\n", + "exe_name = C:\\Users\\buckl\\Documents\\Software\\mf6.4.1\\bin\\mf6.exe\n", + "\n", + "###################\n", + "Package mfsim.nam\n", + "###################\n", + "\n", + "package_name = mfsim.nam\n", + "filename = mfsim.nam\n", + "package_type = nam\n", + "model_or_simulation_package = simulation\n", + "simulation_name = gwf_bcf2ss\n", + "\n" + ] + }, + "execution_count": 3, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "sim_name = \"gwf_bcf2ss\"\n", + "sim = fp.mf6.MFSimulation(\n", + " sim_name=sim_name,\n", + " version=\"mf6\",\n", + " exe_name=Path(\"C:\\\\Users\\\\buckl\\\\Documents\\\\Software\\\\mf6.4.1\\\\bin\\\\mf6.exe\"),\n", + " sim_ws=workspace\n", + ")\n", + "sim" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "package_name = tdis\n", + "filename = gwf_bcf2ss.tdis\n", + "package_type = tdis\n", + "model_or_simulation_package = simulation\n", + "simulation_name = gwf_bcf2ss\n", + "\n", + "Block options\n", + "--------------------\n", + "time_units\n", + "{internal}\n", + "('days')\n", + "\n", + "\n", + "Block dimensions\n", + "--------------------\n", + "nper\n", + "{internal}\n", + "(2)\n", + "\n", + "\n", + "Block perioddata\n", + "--------------------\n", + "perioddata\n", + "{internal}\n", + "(rec.array([(1., 1, 1.), (1., 1, 1.)],\n", + " dtype=[('perlen', '}\n" + ] + }, + "execution_count": 10, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "def make_riv_iter():\n", + " for i in range(10):\n", + " yield ((1, i, 14), 0.0, 10000.0, -5.0)\n", + "\n", + "fp.mf6.ModflowGwfriv(\n", + " model=model,\n", + " maxbound=10,\n", + " stress_period_data=list(make_riv_iter()),\n", + " filename=f\"{sim_name}.riv\",\n", + " pname=\"riv_0\"\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 11, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "rec.array([((1, 0, 14), 0., 10000., -5.), ((1, 1, 14), 0., 10000., -5.),\n", + " ((1, 2, 14), 0., 10000., -5.), ((1, 3, 14), 0., 10000., -5.),\n", + " ((1, 4, 14), 0., 10000., -5.), ((1, 5, 14), 0., 10000., -5.),\n", + " ((1, 6, 14), 0., 10000., -5.), ((1, 7, 14), 0., 10000., -5.),\n", + " ((1, 8, 14), 0., 10000., -5.), ((1, 9, 14), 0., 10000., -5.)],\n", + " dtype=[('cellid', 'O'), ('stage', '}\n" + ] + }, + "execution_count": 12, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "fp.mf6.ModflowGwfwel(\n", + " model=model,\n", + " maxbound=2,\n", + " stress_period_data={\n", + " 1: [\n", + " ((1, 2, 3), -35000.0),\n", + " ((1, 7, 3), -35000.0)\n", + " ]\n", + " },\n", + " filename=f\"{sim_name}.wel\",\n", + " pname=\"wel_0\"\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 13, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "rec.array([((1, 2, 3), -35000.), ((1, 7, 3), -35000.)],\n", + " dtype=[('cellid', 'O'), ('q', ']" + ] + }, + "execution_count": 16, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "sim.check()" + ] + }, + { + "cell_type": "code", + "execution_count": 17, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "writing simulation...\n", + " writing simulation name file...\n", + " writing simulation tdis package...\n", + " writing solution package ims...\n", + " writing model gwf_bcf2ss...\n", + " writing model name file...\n", + " writing package dis...\n", + " writing package npf...\n", + " writing package ic...\n", + " writing package riv_0...\n", + " writing package wel_0...\n", + " writing package rcha_0...\n", + " writing package oc...\n" + ] + } + ], + "source": [ + "sim.write_simulation()" + ] + }, + { + "cell_type": "code", + "execution_count": 18, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "FloPy is using the following executable to run the model: ..\\..\\..\\..\\..\\..\\Software\\mf6.4.1\\bin\\mf6.exe\n", + " MODFLOW 6\n", + " U.S. GEOLOGICAL SURVEY MODULAR HYDROLOGIC MODEL\n", + " VERSION 6.4.1 Release 12/09/2022\n", + "\n", + " MODFLOW 6 compiled Dec 09 2022 18:18:37 with Intel(R) Fortran Intel(R) 64\n", + " Compiler Classic for applications running on Intel(R) 64, Version 2021.7.0\n", + " Build 20220726_000000\n", + "\n", + "This software has been approved for release by the U.S. Geological \n", + "Survey (USGS). Although the software has been subjected to rigorous \n", + "review, the USGS reserves the right to update the software as needed \n", + "pursuant to further analysis and review. No warranty, expressed or \n", + "implied, is made by the USGS or the U.S. Government as to the \n", + "functionality of the software and related material nor shall the \n", + "fact of release constitute any such warranty. Furthermore, the \n", + "software is released on condition that neither the USGS nor the U.S. \n", + "Government shall be held liable for any damages resulting from its \n", + "authorized or unauthorized use. Also refer to the USGS Water \n", + "Resources Software User Rights Notice for complete use, copyright, \n", + "and distribution information.\n", + "\n", + " \n", + " Run start date and time (yyyy/mm/dd hh:mm:ss): 2024/01/13 16:12:58\n", + " \n", + " Writing simulation list file: mfsim.lst\n", + " Using Simulation name file: mfsim.nam\n", + " \n", + " Solving: Stress period: 1 Time step: 1\n", + " Solving: Stress period: 2 Time step: 1\n", + " \n", + " Run end date and time (yyyy/mm/dd hh:mm:ss): 2024/01/13 16:12:58\n", + " Elapsed run time: 0.042 Seconds\n", + " \n", + " Normal termination of simulation.\n" + ] + } + ], + "source": [ + "success, buff = sim.run_simulation()\n", + "assert success, \"MODFLOW did not terminate normally!\"" + ] + }, + { + "cell_type": "code", + "execution_count": 19, + "metadata": {}, + "outputs": [], + "source": [ + "sim.delete_output_files()" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.11.1" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.dis b/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.dis index 23c2e60..e960612 100644 --- a/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.dis +++ b/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.dis @@ -1,4 +1,4 @@ -# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:17:27. +# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:33:36. BEGIN options LENGTH_UNITS feet END options diff --git a/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.ic b/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.ic index 8121b0c..c2fea1e 100644 --- a/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.ic +++ b/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.ic @@ -1,4 +1,4 @@ -# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:17:27. +# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:33:36. BEGIN griddata strt CONSTANT 0.00000000 diff --git a/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.ims b/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.ims index a920ca2..4f0f12c 100644 --- a/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.ims +++ b/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.ims @@ -1,4 +1,4 @@ -# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:17:27. +# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:33:36. BEGIN options END options diff --git a/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.nam b/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.nam index 108cbc9..86cde66 100644 --- a/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.nam +++ b/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.nam @@ -1,15 +1,15 @@ -# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:17:27. +# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:33:36. BEGIN options SAVE_FLOWS END options BEGIN packages - DIS6 gwf_bcf2ss.dis dis - NPF6 gwf_bcf2ss.npf npf - IC6 gwf_bcf2ss.ic ic - RIV6 gwf_bcf2ss.riv riv_0 - WEL6 gwf_bcf2ss.wel wel_0 RCH6 gwf_bcf2ss.rcha rcha_0 - OC6 gwf_bcf2ss oc + WEL6 gwf_bcf2ss.wel wel_0 + RIV6 gwf_bcf2ss.riv riv_0 + IC6 gwf_bcf2ss.ic ic + NPF6 gwf_bcf2ss.npf npf + DIS6 gwf_bcf2ss.dis dis + OC6 gwf_bcf2ss.oc oc END packages diff --git a/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.npf b/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.npf index 874c434..0a6bd70 100644 --- a/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.npf +++ b/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.npf @@ -1,4 +1,4 @@ -# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:17:27. +# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:33:36. BEGIN options REWET wetfct 1.00000000 iwetit 1 ihdwet 0 SAVE_SPECIFIC_DISCHARGE diff --git a/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss b/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.oc similarity index 70% rename from notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss rename to notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.oc index b7bca86..969bda0 100644 --- a/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss +++ b/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.oc @@ -1,4 +1,4 @@ -# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:17:27. +# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:33:36. BEGIN options BUDGET FILEOUT gwf_bcf2ss.cbc HEAD FILEOUT gwf_bcf2ss.hds diff --git a/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.rcha b/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.rcha index d47963c..6b7131a 100644 --- a/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.rcha +++ b/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.rcha @@ -1,4 +1,4 @@ -# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:17:27. +# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:33:36. BEGIN options READASARRAYS END options diff --git a/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.riv b/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.riv index 7e139ac..c08016f 100644 --- a/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.riv +++ b/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.riv @@ -1,4 +1,4 @@ -# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:17:27. +# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:33:36. BEGIN options END options diff --git a/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.tdis b/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.tdis index 773d217..9fff2bd 100644 --- a/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.tdis +++ b/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.tdis @@ -1,4 +1,4 @@ -# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:17:27. +# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:33:36. BEGIN options TIME_UNITS days END options diff --git a/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.wel b/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.wel index 7fbf99f..d1405c7 100644 --- a/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.wel +++ b/notebooks/implementing/gwf_bcf2ss/model_p1a/gwf_bcf2ss.wel @@ -1,4 +1,4 @@ -# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:17:27. +# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:33:36. BEGIN options END options diff --git a/notebooks/implementing/gwf_bcf2ss/model_p1a/mfsim.nam b/notebooks/implementing/gwf_bcf2ss/model_p1a/mfsim.nam index 1288453..d78b418 100644 --- a/notebooks/implementing/gwf_bcf2ss/model_p1a/mfsim.nam +++ b/notebooks/implementing/gwf_bcf2ss/model_p1a/mfsim.nam @@ -1,4 +1,4 @@ -# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:17:27. +# File generated by Flopy version 3.5.0 on 01/13/2024 at 15:33:36. BEGIN options END options diff --git a/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.dis b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.dis new file mode 100644 index 0000000..fb3fdfa --- /dev/null +++ b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.dis @@ -0,0 +1,23 @@ +# File generated by Flopy version 3.5.0 on 01/13/2024 at 16:12:15. +BEGIN options + LENGTH_UNITS feet +END options + +BEGIN dimensions + NLAY 2 + NROW 10 + NCOL 15 +END dimensions + +BEGIN griddata + delr + CONSTANT 500.00000000 + delc + CONSTANT 500.00000000 + top + CONSTANT 150.00000000 + botm LAYERED + CONSTANT 50.00000000 + CONSTANT -50.00000000 +END griddata + diff --git a/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.dis.grb b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.dis.grb new file mode 100644 index 0000000..b659b72 Binary files /dev/null and b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.dis.grb differ diff --git a/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.ic b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.ic new file mode 100644 index 0000000..87c4323 --- /dev/null +++ b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.ic @@ -0,0 +1,6 @@ +# File generated by Flopy version 3.5.0 on 01/13/2024 at 16:12:15. +BEGIN griddata + strt + CONSTANT 0.00000000 +END griddata + diff --git a/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.ims b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.ims new file mode 100644 index 0000000..3739ebe --- /dev/null +++ b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.ims @@ -0,0 +1,17 @@ +# File generated by Flopy version 3.5.0 on 01/13/2024 at 16:12:15. +BEGIN options +END options + +BEGIN nonlinear + OUTER_DVCLOSE 1.00000000E-06 + OUTER_MAXIMUM 500 +END nonlinear + +BEGIN linear + INNER_MAXIMUM 100 + INNER_DVCLOSE 1.00000000E-06 + inner_rclose 0.00100000 strict + LINEAR_ACCELERATION bicgstab + RELAXATION_FACTOR 0.97000000 +END linear + diff --git a/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.lst b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.lst new file mode 100644 index 0000000..161afe0 --- /dev/null +++ b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.lst @@ -0,0 +1,377 @@ + MODFLOW 6 + U.S. GEOLOGICAL SURVEY MODULAR HYDROLOGIC MODEL + GROUNDWATER FLOW MODEL (GWF) + VERSION 6.4.1 Release 12/09/2022 + + MODFLOW 6 compiled Dec 09 2022 18:18:37 with Intel(R) Fortran Intel(R) 64 + Compiler Classic for applications running on Intel(R) 64, Version 2021.7.0 + Build 20220726_000000 + +This software has been approved for release by the U.S. Geological +Survey (USGS). Although the software has been subjected to rigorous +review, the USGS reserves the right to update the software as needed +pursuant to further analysis and review. No warranty, expressed or +implied, is made by the USGS or the U.S. Government as to the +functionality of the software and related material nor shall the +fact of release constitute any such warranty. Furthermore, the +software is released on condition that neither the USGS nor the U.S. +Government shall be held liable for any damages resulting from its +authorized or unauthorized use. Also refer to the USGS Water +Resources Software User Rights Notice for complete use, copyright, +and distribution information. + + +As a work of the United States Government, this USGS product is +in the public domain within the United States. You can copy, +modify, distribute, and perform the work, even for commercial +purposes, all without asking permission. Additionally, USGS +waives copyright and related rights in the work worldwide +through CC0 1.0 Universal Public Domain Dedication +(https://creativecommons.org/publicdomain/zero/1.0/). + +The following GNU Lesser General Public License (LGPL) libraries +are used in this USGS product: + + SPARSKIT version 2.0 + ilut, luson, and qsplit + (https://www-users.cse.umn.edu/~saad/software/SPARSKIT/) + + RCM - Reverse Cuthill McKee Ordering + (https://people.math.sc.edu/Burkardt/f_src/rcm/rcm.html) + + BLAS - Basic Linear Algebra Subprograms Level 1 + (https://people.math.sc.edu/Burkardt/f_src/blas1_d/blas1_d.html) + + SPARSEKIT - Sparse Matrix Utility Package + amux, dperm, dvperm, rperm, and cperm + (https://people.sc.fsu.edu/~jburkardt/f77_src/sparsekit/sparsekit.html) + +The following BSD-3 License libraries are used in this USGS product: + + Modern Fortran DAG Library + Copyright (c) 2018, Jacob Williams + All rights reserved. + (https://github.com/jacobwilliams/daglib) + +MODFLOW 6 compiler options: /Isrc\libmf6core.a.p /Isrc /I..\src +/Isrc\libmf6_external.a.p /MTd /nologo /warn:general /warn:truncated_source +/stand:f08 /Zi /traceback /O2 /fpe:0 /heap-arrays:0 /traceback /fpp +/Qdiag-disable:7416 /Qdiag-disable:7025 /Qdiag-disable:5268 +/Fdsrc\libmf6core.a.p\Utilities_compilerversion.F90.pdb +/module:src\libmf6core.a.p +/Fosrc/libmf6core.a.p/Utilities_compilerversion.F90.obj /c + +System command used to initiate simulation: +C:\Users\buckl\Documents\Software\mf6.4.1\bin\mf6.exe + +MODFLOW was compiled using uniform precision. + +Real Variables + KIND: 8 + TINY (smallest non-zero value): 2.225074-308 + HUGE (largest value): 1.797693+308 + PRECISION: 15 + SIZE IN BITS: 64 + +Integer Variables + KIND: 4 + HUGE (largest value): 2147483647 + SIZE IN BITS: 32 + +Long Integer Variables + KIND: 8 + HUGE (largest value): 9223372036854775807 + SIZE IN BITS: 64 + +Logical Variables + KIND: 4 + SIZE IN BITS: 32 + + + OPENED gwf_bcf2ss.dis + FILE TYPE:DIS6 UNIT 1005 STATUS:OLD + FORMAT:FORMATTED ACCESS:SEQUENTIAL + ACTION:READ + + + OPENED gwf_bcf2ss.npf + FILE TYPE:NPF6 UNIT 1006 STATUS:OLD + FORMAT:FORMATTED ACCESS:SEQUENTIAL + ACTION:READ + + + OPENED gwf_bcf2ss.ic + FILE TYPE:IC6 UNIT 1007 STATUS:OLD + FORMAT:FORMATTED ACCESS:SEQUENTIAL + ACTION:READ + + + OPENED gwf_bcf2ss.riv + FILE TYPE:RIV6 UNIT 1008 STATUS:OLD + FORMAT:FORMATTED ACCESS:SEQUENTIAL + ACTION:READ + + + OPENED gwf_bcf2ss.wel + FILE TYPE:WEL6 UNIT 1009 STATUS:OLD + FORMAT:FORMATTED ACCESS:SEQUENTIAL + ACTION:READ + + + OPENED gwf_bcf2ss.rcha + FILE TYPE:RCH6 UNIT 1010 STATUS:OLD + FORMAT:FORMATTED ACCESS:SEQUENTIAL + ACTION:READ + + + OPENED gwf_bcf2ss.oc + FILE TYPE:OC6 UNIT 1011 STATUS:OLD + FORMAT:FORMATTED ACCESS:SEQUENTIAL + ACTION:READ + + NAMEFILE OPTIONS: + FLOWS WILL BE SAVED TO BUDGET FILE SPECIFIED IN OUTPUT CONTROL + NEWTON-RAPHSON method enabled for the model. + + DIS -- STRUCTURED GRID DISCRETIZATION PACKAGE, VERSION 2 : 3/27/2014 - INPUT READ FROM UNIT 1005 + + Loading input for GWF_BCF2SS/DIS + # File generated by Flopy version 3.5.0 on 01/13/2024 at 16:12:15. + NLAY = 2 + NROW = 10 + NCOL = 15 + DELR = 500.0000000000000 + DELC = 500.0000000000000 + TOP = 150.0000000000000 + BOTM = variable 3D double precision array ranging from -50.00000000000000 to 50.00000000000000 + Loading input complete... + + + NPF -- NODE PROPERTY FLOW PACKAGE, VERSION 1, 3/30/2015 INPUT READ FROM UNIT 1006 + + Loading input for GWF_BCF2SS/NPF + # File generated by Flopy version 3.5.0 on 01/13/2024 at 16:12:15. + ISAVSPDIS = 1 + ICELLTYPE = variable 1D integer array ranging from 0 to 1 + K = variable 1D double precision array ranging from 5.000000000000000 to 10.00000000000000 + K33 = .1000000000000000 + Loading input complete... + + Setting Discretization Options + Model length unit [0=UND, 1=FEET, 2=METERS, 3=CENTIMETERS] set as 1 + End Setting Discretization Options + + Setting Discretization Dimensions + NLAY = 2 + NROW = 10 + NCOL = 15 + End Setting Discretization Dimensions + + Setting Discretization Griddata + DELR set from input file + DELC set from input file + TOP set from input file + BOTM set from input file + End Setting Discretization Griddata + + Setting NPF Options + Specific discharge will be calculated at cell centers and written to DATA-SPDIS in budget file when requested. + End Setting NPF Options + + Setting NPF Griddata + ICELLTYPE set from input file + K set from input file + K33 set from input file + K22 not provided. Setting K22 = K. + End Setting NPF Griddata + + + WEL -- WEL PACKAGE, VERSION 8, 2/22/2014 INPUT READ FROM UNIT 1009 + # File generated by Flopy version 3.5.0 on 01/13/2024 at 16:12:16. + + PROCESSING WEL OPTIONS + END OF WEL OPTIONS + + PROCESSING WEL DIMENSIONS + MAXBOUND = 2 + END OF WEL DIMENSIONS + + RIV -- RIV PACKAGE, VERSION 8, 2/22/2014 INPUT READ FROM UNIT 1008 + # File generated by Flopy version 3.5.0 on 01/13/2024 at 16:12:15. + + PROCESSING RIV OPTIONS + END OF RIV OPTIONS + + PROCESSING RIV DIMENSIONS + MAXBOUND = 10 + END OF RIV DIMENSIONS + + RCH -- RCH PACKAGE, VERSION 8, 2/22/2014 INPUT READ FROM UNIT 1010 + # File generated by Flopy version 3.5.0 on 01/13/2024 at 16:12:16. + + PROCESSING RCH OPTIONS + RECHARGE INPUT WILL BE READ AS ARRAY(S). + END OF RCHA OPTIONS + + IC -- INITIAL CONDITIONS PACKAGE, VERSION 8, 3/28/2015 INPUT READ FROM UNIT 1007 + # File generated by Flopy version 3.5.0 on 01/13/2024 at 16:12:15. + PROCESSING GRIDDATA + + INITIAL HEAD = 0.000000 + END PROCESSING GRIDDATA + BINARY GRID INFORMATION WILL BE WRITTEN TO: + UNIT NUMBER: 1013 + FILE NAME: c:\Users\buckl\Documents\Github\flopy_mf6_work\notebooks\implementing\gwf_bcf2ss\model_p2a\gwf_bcf2ss.dis.grb + + OPENED c:\Users\buckl\Documents\Github\flopy_mf6_work\notebooks\implementing\gwf_bcf2ss\model_p2a\gwf_bcf2ss.dis.grb + FILE TYPE:DATA(BINARY) UNIT 1013 STATUS:REPLACE + FORMAT:UNFORMATTED ACCESS:STREAM + ACTION:READWRITE + + THE LAST TIME STEP WILL BE PRINTED + THE LAST TIME STEP WILL BE PRINTED + # File generated by Flopy version 3.5.0 on 01/13/2024 at 16:12:16. + + PROCESSING OC OPTIONS + + BUDGET INFORMATION WILL BE WRITTEN TO: + UNIT NUMBER: 1014 + FILE NAME: gwf_bcf2ss.cbc + + OPENED gwf_bcf2ss.cbc + FILE TYPE:DATA(BINARY) UNIT 1014 STATUS:REPLACE + FORMAT:UNFORMATTED ACCESS:STREAM + ACTION:READWRITE + + HEAD INFORMATION WILL BE WRITTEN TO: + UNIT NUMBER: 1015 + FILE NAME: gwf_bcf2ss.hds + + OPENED gwf_bcf2ss.hds + FILE TYPE:DATA(BINARY) UNIT 1015 STATUS:REPLACE + FORMAT:UNFORMATTED ACCESS:STREAM + ACTION:READWRITE + + END OF OC OPTIONS + +start timestep kper="1" kstp="1" mode="normal" + + + BEGIN READING OUTPUT CONTROL FOR STRESS PERIOD 1 + ALL TIME STEPS WILL BE SAVED + ALL TIME STEPS WILL BE SAVED + + END READING OUTPUT CONTROL FOR STRESS PERIOD 1 + + REUSING WELS FROM LAST STRESS PERIOD + + RECHARGE = 0.4000000E-02 + UBDSV1 SAVING FLOW-JA-FACE ON UNIT 1014 AT TIME STEP 1, STRESS PERIOD 1 + UBDSV06 SAVING DATA-SPDIS IN MODEL GWF_BCF2SS PACKAGE NPF CONNECTED TO MODEL GWF_BCF2SS PACKAGE NPF ON UNIT 1014 AT TIME STEP 1, STRESS PERIOD 1 + UBDSV06 SAVING WEL IN MODEL GWF_BCF2SS PACKAGE GWF_BCF2SS CONNECTED TO MODEL GWF_BCF2SS PACKAGE WEL_0 ON UNIT 1014 AT TIME STEP 1, STRESS PERIOD 1 + UBDSV06 SAVING RIV IN MODEL GWF_BCF2SS PACKAGE GWF_BCF2SS CONNECTED TO MODEL GWF_BCF2SS PACKAGE RIV_0 ON UNIT 1014 AT TIME STEP 1, STRESS PERIOD 1 + UBDSV06 SAVING RCHA IN MODEL GWF_BCF2SS PACKAGE GWF_BCF2SS CONNECTED TO MODEL GWF_BCF2SS PACKAGE RCHA_0 ON UNIT 1014 AT TIME STEP 1, STRESS PERIOD 1 + + HEAD WILL BE SAVED ON UNIT 1015 AT END OF TIME STEP 1, STRESS PERIOD 1 + + + VOLUME BUDGET FOR ENTIRE MODEL AT END OF TIME STEP 1, STRESS PERIOD 1 + --------------------------------------------------------------------------------------------------- + + CUMULATIVE VOLUME L**3 RATES FOR THIS TIME STEP L**3/T PACKAGE NAME + ------------------ ------------------------ ---------------- + + IN: IN: + --- --- + WEL = 0.0000 WEL = 0.0000 WEL_0 + RIV = 0.0000 RIV = 0.0000 RIV_0 + RCHA = 150000.0000 RCHA = 150000.0000 RCHA_0 + + TOTAL IN = 150000.0000 TOTAL IN = 150000.0000 + + OUT: OUT: + ---- ---- + WEL = 0.0000 WEL = 0.0000 WEL_0 + RIV = 149999.9978 RIV = 149999.9978 RIV_0 + RCHA = 0.0000 RCHA = 0.0000 RCHA_0 + + TOTAL OUT = 149999.9978 TOTAL OUT = 149999.9978 + + IN - OUT = 2.1948E-03 IN - OUT = 2.1948E-03 + + PERCENT DISCREPANCY = 0.00 PERCENT DISCREPANCY = 0.00 + + + + + TIME SUMMARY AT END OF TIME STEP 1 IN STRESS PERIOD 1 + SECONDS MINUTES HOURS DAYS YEARS + ----------------------------------------------------------- + TIME STEP LENGTH 86400. 1440.0 24.000 1.0000 2.73785E-03 + STRESS PERIOD TIME 86400. 1440.0 24.000 1.0000 2.73785E-03 + TOTAL TIME 86400. 1440.0 24.000 1.0000 2.73785E-03 + + +end timestep + + +start timestep kper="2" kstp="1" mode="normal" + + + END OF FILE DETECTED IN OUTPUT CONTROL. + CURRENT OUTPUT CONTROL SETTINGS WILL BE + REPEATED UNTIL THE END OF THE SIMULATION. + + OUTPUT CONTROL FOR STRESS PERIOD 2 IS REPEATED USING SETTINGS FROM A PREVIOUS STRESS PERIOD. + + REUSING RIVS FROM LAST STRESS PERIOD + + REUSING RCHS FROM LAST STRESS PERIOD + UBDSV1 SAVING FLOW-JA-FACE ON UNIT 1014 AT TIME STEP 1, STRESS PERIOD 2 + UBDSV06 SAVING DATA-SPDIS IN MODEL GWF_BCF2SS PACKAGE NPF CONNECTED TO MODEL GWF_BCF2SS PACKAGE NPF ON UNIT 1014 AT TIME STEP 1, STRESS PERIOD 2 + UBDSV06 SAVING WEL IN MODEL GWF_BCF2SS PACKAGE GWF_BCF2SS CONNECTED TO MODEL GWF_BCF2SS PACKAGE WEL_0 ON UNIT 1014 AT TIME STEP 1, STRESS PERIOD 2 + UBDSV06 SAVING RIV IN MODEL GWF_BCF2SS PACKAGE GWF_BCF2SS CONNECTED TO MODEL GWF_BCF2SS PACKAGE RIV_0 ON UNIT 1014 AT TIME STEP 1, STRESS PERIOD 2 + UBDSV06 SAVING RCHA IN MODEL GWF_BCF2SS PACKAGE GWF_BCF2SS CONNECTED TO MODEL GWF_BCF2SS PACKAGE RCHA_0 ON UNIT 1014 AT TIME STEP 1, STRESS PERIOD 2 + + HEAD WILL BE SAVED ON UNIT 1015 AT END OF TIME STEP 1, STRESS PERIOD 2 + + + VOLUME BUDGET FOR ENTIRE MODEL AT END OF TIME STEP 1, STRESS PERIOD 2 + --------------------------------------------------------------------------------------------------- + + CUMULATIVE VOLUME L**3 RATES FOR THIS TIME STEP L**3/T PACKAGE NAME + ------------------ ------------------------ ---------------- + + IN: IN: + --- --- + WEL = 0.0000 WEL = 0.0000 WEL_0 + RIV = 0.0000 RIV = 0.0000 RIV_0 + RCHA = 300000.0000 RCHA = 150000.0000 RCHA_0 + + TOTAL IN = 300000.0000 TOTAL IN = 150000.0000 + + OUT: OUT: + ---- ---- + WEL = 70000.0000 WEL = 70000.0000 WEL_0 + RIV = 229999.9978 RIV = 80000.0000 RIV_0 + RCHA = 0.0000 RCHA = 0.0000 RCHA_0 + + TOTAL OUT = 299999.9978 TOTAL OUT = 150000.0000 + + IN - OUT = 2.1556E-03 IN - OUT = -3.9223E-05 + + PERCENT DISCREPANCY = 0.00 PERCENT DISCREPANCY = -0.00 + + + + + TIME SUMMARY AT END OF TIME STEP 1 IN STRESS PERIOD 2 + SECONDS MINUTES HOURS DAYS YEARS + ----------------------------------------------------------- + TIME STEP LENGTH 86400. 1440.0 24.000 1.0000 2.73785E-03 + STRESS PERIOD TIME 86400. 1440.0 24.000 1.0000 2.73785E-03 + TOTAL TIME 1.72800E+05 2880.0 48.000 2.0000 5.47570E-03 + + +end timestep + diff --git a/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.nam b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.nam new file mode 100644 index 0000000..5f134e3 --- /dev/null +++ b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.nam @@ -0,0 +1,16 @@ +# File generated by Flopy version 3.5.0 on 01/13/2024 at 16:12:15. +BEGIN options + SAVE_FLOWS + NEWTON +END options + +BEGIN packages + DIS6 gwf_bcf2ss.dis dis + NPF6 gwf_bcf2ss.npf npf + IC6 gwf_bcf2ss.ic ic + RIV6 gwf_bcf2ss.riv riv_0 + WEL6 gwf_bcf2ss.wel wel_0 + RCH6 gwf_bcf2ss.rcha rcha_0 + OC6 gwf_bcf2ss.oc oc +END packages + diff --git a/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.npf b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.npf new file mode 100644 index 0000000..b3eb4bf --- /dev/null +++ b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.npf @@ -0,0 +1,16 @@ +# File generated by Flopy version 3.5.0 on 01/13/2024 at 16:12:15. +BEGIN options + SAVE_SPECIFIC_DISCHARGE +END options + +BEGIN griddata + icelltype LAYERED + CONSTANT 1 + CONSTANT 0 + k LAYERED + CONSTANT 10.00000000 + CONSTANT 5.00000000 + k33 + CONSTANT 0.10000000 +END griddata + diff --git a/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.oc b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.oc new file mode 100644 index 0000000..a974895 --- /dev/null +++ b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.oc @@ -0,0 +1,11 @@ +# File generated by Flopy version 3.5.0 on 01/13/2024 at 16:12:16. +BEGIN options + BUDGET FILEOUT gwf_bcf2ss.cbc + HEAD FILEOUT gwf_bcf2ss.hds +END options + +BEGIN period 1 + SAVE head all + SAVE budget all +END period 1 + diff --git a/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.rcha b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.rcha new file mode 100644 index 0000000..cbb0911 --- /dev/null +++ b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.rcha @@ -0,0 +1,10 @@ +# File generated by Flopy version 3.5.0 on 01/13/2024 at 16:12:16. +BEGIN options + READASARRAYS +END options + +BEGIN period 1 + recharge + CONSTANT 0.00400000 +END period 1 + diff --git a/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.riv b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.riv new file mode 100644 index 0000000..ccf6283 --- /dev/null +++ b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.riv @@ -0,0 +1,21 @@ +# File generated by Flopy version 3.5.0 on 01/13/2024 at 16:12:15. +BEGIN options +END options + +BEGIN dimensions + MAXBOUND 10 +END dimensions + +BEGIN period 1 + 2 1 15 0.00000000E+00 1.00000000E+04 -5.00000000E+00 + 2 2 15 0.00000000E+00 1.00000000E+04 -5.00000000E+00 + 2 3 15 0.00000000E+00 1.00000000E+04 -5.00000000E+00 + 2 4 15 0.00000000E+00 1.00000000E+04 -5.00000000E+00 + 2 5 15 0.00000000E+00 1.00000000E+04 -5.00000000E+00 + 2 6 15 0.00000000E+00 1.00000000E+04 -5.00000000E+00 + 2 7 15 0.00000000E+00 1.00000000E+04 -5.00000000E+00 + 2 8 15 0.00000000E+00 1.00000000E+04 -5.00000000E+00 + 2 9 15 0.00000000E+00 1.00000000E+04 -5.00000000E+00 + 2 10 15 0.00000000E+00 1.00000000E+04 -5.00000000E+00 +END period 1 + diff --git a/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.tdis b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.tdis new file mode 100644 index 0000000..8db14ba --- /dev/null +++ b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.tdis @@ -0,0 +1,14 @@ +# File generated by Flopy version 3.5.0 on 01/13/2024 at 16:12:15. +BEGIN options + TIME_UNITS days +END options + +BEGIN dimensions + NPER 2 +END dimensions + +BEGIN perioddata + 1.00000000 1 1.00000000 + 1.00000000 1 1.00000000 +END perioddata + diff --git a/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.wel b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.wel new file mode 100644 index 0000000..697cefd --- /dev/null +++ b/notebooks/implementing/gwf_bcf2ss/model_p2a/gwf_bcf2ss.wel @@ -0,0 +1,13 @@ +# File generated by Flopy version 3.5.0 on 01/13/2024 at 16:12:16. +BEGIN options +END options + +BEGIN dimensions + MAXBOUND 2 +END dimensions + +BEGIN period 2 + 2 3 4 -3.50000000E+04 + 2 8 4 -3.50000000E+04 +END period 2 + diff --git a/notebooks/implementing/gwf_bcf2ss/model_p2a/mfsim.lst b/notebooks/implementing/gwf_bcf2ss/model_p2a/mfsim.lst new file mode 100644 index 0000000..15120f5 --- /dev/null +++ b/notebooks/implementing/gwf_bcf2ss/model_p2a/mfsim.lst @@ -0,0 +1,234 @@ + MODFLOW 6 + U.S. GEOLOGICAL SURVEY MODULAR HYDROLOGIC MODEL + VERSION 6.4.1 Release 12/09/2022 + + MODFLOW 6 compiled Dec 09 2022 18:18:37 with Intel(R) Fortran Intel(R) 64 + Compiler Classic for applications running on Intel(R) 64, Version 2021.7.0 + Build 20220726_000000 + +This software has been approved for release by the U.S. Geological +Survey (USGS). Although the software has been subjected to rigorous +review, the USGS reserves the right to update the software as needed +pursuant to further analysis and review. No warranty, expressed or +implied, is made by the USGS or the U.S. Government as to the +functionality of the software and related material nor shall the +fact of release constitute any such warranty. Furthermore, the +software is released on condition that neither the USGS nor the U.S. +Government shall be held liable for any damages resulting from its +authorized or unauthorized use. Also refer to the USGS Water +Resources Software User Rights Notice for complete use, copyright, +and distribution information. + + +As a work of the United States Government, this USGS product is +in the public domain within the United States. You can copy, +modify, distribute, and perform the work, even for commercial +purposes, all without asking permission. Additionally, USGS +waives copyright and related rights in the work worldwide +through CC0 1.0 Universal Public Domain Dedication +(https://creativecommons.org/publicdomain/zero/1.0/). + +The following GNU Lesser General Public License (LGPL) libraries +are used in this USGS product: + + SPARSKIT version 2.0 + ilut, luson, and qsplit + (https://www-users.cse.umn.edu/~saad/software/SPARSKIT/) + + RCM - Reverse Cuthill McKee Ordering + (https://people.math.sc.edu/Burkardt/f_src/rcm/rcm.html) + + BLAS - Basic Linear Algebra Subprograms Level 1 + (https://people.math.sc.edu/Burkardt/f_src/blas1_d/blas1_d.html) + + SPARSEKIT - Sparse Matrix Utility Package + amux, dperm, dvperm, rperm, and cperm + (https://people.sc.fsu.edu/~jburkardt/f77_src/sparsekit/sparsekit.html) + +The following BSD-3 License libraries are used in this USGS product: + + Modern Fortran DAG Library + Copyright (c) 2018, Jacob Williams + All rights reserved. + (https://github.com/jacobwilliams/daglib) + +MODFLOW 6 compiler options: /Isrc\libmf6core.a.p /Isrc /I..\src +/Isrc\libmf6_external.a.p /MTd /nologo /warn:general /warn:truncated_source +/stand:f08 /Zi /traceback /O2 /fpe:0 /heap-arrays:0 /traceback /fpp +/Qdiag-disable:7416 /Qdiag-disable:7025 /Qdiag-disable:5268 +/Fdsrc\libmf6core.a.p\Utilities_compilerversion.F90.pdb +/module:src\libmf6core.a.p +/Fosrc/libmf6core.a.p/Utilities_compilerversion.F90.obj /c + +System command used to initiate simulation: +C:\Users\buckl\Documents\Software\mf6.4.1\bin\mf6.exe + +MODFLOW was compiled using uniform precision. + +Real Variables + KIND: 8 + TINY (smallest non-zero value): 2.225074-308 + HUGE (largest value): 1.797693+308 + PRECISION: 15 + SIZE IN BITS: 64 + +Integer Variables + KIND: 4 + HUGE (largest value): 2147483647 + SIZE IN BITS: 32 + +Long Integer Variables + KIND: 8 + HUGE (largest value): 9223372036854775807 + SIZE IN BITS: 64 + +Logical Variables + KIND: 4 + SIZE IN BITS: 32 + + + OPENED mfsim.nam + FILE TYPE:NAM UNIT 1001 STATUS:OLD + FORMAT:FORMATTED ACCESS:SEQUENTIAL + ACTION:READ + + # File generated by Flopy version 3.5.0 on 01/13/2024 at 16:12:15. + + READING SIMULATION OPTIONS + END OF SIMULATION OPTIONS + + READING SIMULATION TIMING + + OPENED gwf_bcf2ss.tdis + FILE TYPE:TDIS UNIT 1002 STATUS:OLD + FORMAT:FORMATTED ACCESS:SEQUENTIAL + ACTION:READ + + + TDIS -- TEMPORAL DISCRETIZATION PACKAGE, + VERSION 1 : 11/13/2014 - INPUT READ FROM UNIT 1002 + # File generated by Flopy version 3.5.0 on 01/13/2024 at 16:12:15. + PROCESSING TDIS OPTIONS + SIMULATION TIME UNIT IS DAYS + END OF TDIS OPTIONS + PROCESSING TDIS DIMENSIONS + 2 STRESS PERIOD(S) IN SIMULATION + END OF TDIS DIMENSIONS + PROCESSING TDIS PERIODDATA + + + STRESS PERIOD LENGTH TIME STEPS MULTIPLIER FOR DELT + ---------------------------------------------------------------------------- + 1 1.000000 1 1.000 + 2 1.000000 1 1.000 + END OF TDIS PERIODDATA + END OF SIMULATION TIMING + + READING SIMULATION MODELS + GWF6 model GWF_BCF2SS will be created as model 1 + END OF SIMULATION MODELS + + READING SIMULATION EXCHANGES + END OF SIMULATION EXCHANGES + + READING SOLUTIONGROUP + + Creating solution: SLN_1 + + OPENED gwf_bcf2ss.ims + FILE TYPE:IMS UNIT 1012 STATUS:OLD + FORMAT:FORMATTED ACCESS:SEQUENTIAL + ACTION:READ + + END OF SIMULATION SOLUTIONGROUP + +PROCESSING MODEL CONNECTIONS + + IMS -- ITERATIVE MODEL SOLUTION PACKAGE, VERSION 6, 4/28/2017 + INPUT READ FROM UNIT 1012 + # File generated by Flopy version 3.5.0 on 01/13/2024 at 16:12:15. + + PROCESSING IMS OPTIONS + END OF IMS OPTIONS + + PROCESSING IMS NONLINEAR + END OF IMS NONLINEAR DATA + ***UNDER-RELAXATION WILL NOT BE USED*** + + ***IMS LINEAR SOLVER WILL BE USED*** + + IMSLINEAR -- UNSTRUCTURED LINEAR SOLUTION PACKAGE, VERSION 8, 04/28/2017 + + PROCESSING LINEAR DATA + END OF LINEAR DATA + + An asymmetric matrix will be solved + + OUTER ITERATION CONVERGENCE CRITERION (DVCLOSE) = 0.100000E-05 + MAXIMUM NUMBER OF OUTER ITERATIONS (MXITER) = 500 + SOLVER PRINTOUT INDEX (IPRIMS) = 0 + NONLINEAR ITERATION METHOD (NONLINMETH) = 0 + LINEAR SOLUTION METHOD (LINMETH) = 1 + + SOLUTION BY THE BICONJUGATE-GRADIENT STABILIZED METHOD + ------------------------------------------------------------------ + MAXIMUM OF 500 CALLS OF SOLUTION ROUTINE + MAXIMUM OF 100 INTERNAL ITERATIONS PER CALL TO SOLUTION ROUTINE + LINEAR ACCELERATION METHOD = BCGS + MATRIX PRECONDITIONING TYPE = MOD. INCOMPLETE LU + MATRIX SCALING APPROACH = NO SCALING + MATRIX REORDERING APPROACH = ORIGINAL ORDERING + NUMBER OF ORTHOGONALIZATIONS = 0 + HEAD CHANGE CRITERION FOR CLOSURE = 0.10000E-05 + RESIDUAL CHANGE CRITERION FOR CLOSURE = 0.10000E-02 + RESIDUAL CONVERGENCE OPTION = 1 + RESIDUAL CONVERGENCE NORM = INFINITY NORM S + RELAXATION FACTOR = 0.97000E+00 + + + + + Solving: Stress period: 1 Time step: 1 + +1 + STRESS PERIOD NO. 1, LENGTH = 1.000000 + ----------------------------------------------- + NUMBER OF TIME STEPS = 1 + MULTIPLIER FOR DELT = 1.000 + INITIAL TIME STEP SIZE = 1.000000 + + + + PSEUDO-TRANSIENT CONTINUATION WILL BE APPLIED TO MODEL 1 ("GWF_BCF2SS") DURING THIS TIME STEP + + Solving: Stress period: 2 Time step: 1 + +1 + STRESS PERIOD NO. 2, LENGTH = 1.000000 + ----------------------------------------------- + NUMBER OF TIME STEPS = 1 + MULTIPLIER FOR DELT = 1.000 + INITIAL TIME STEP SIZE = 1.000000 + + + + PSEUDO-TRANSIENT CONTINUATION WILL BE APPLIED TO MODEL 1 ("GWF_BCF2SS") DURING THIS TIME STEP + + MEMORY MANAGER TOTAL STORAGE BY DATA TYPE, IN KILOBYTES + ------------------------------- + ALLOCATED + DATA TYPE MEMORY + ------------------------------- + Character 2.4290000 + Logical 4.00000000E-02 + Integer 66.428000 + Real 160.47200 + ------------------------------- + Total 229.36900 + ------------------------------- + + + + Run end date and time (yyyy/mm/dd hh:mm:ss): 2024/01/13 16:12:58 + Elapsed run time: 0.042 Seconds + Normal termination of simulation. diff --git a/notebooks/implementing/gwf_bcf2ss/model_p2a/mfsim.nam b/notebooks/implementing/gwf_bcf2ss/model_p2a/mfsim.nam new file mode 100644 index 0000000..0e67434 --- /dev/null +++ b/notebooks/implementing/gwf_bcf2ss/model_p2a/mfsim.nam @@ -0,0 +1,19 @@ +# File generated by Flopy version 3.5.0 on 01/13/2024 at 16:12:15. +BEGIN options +END options + +BEGIN timing + TDIS6 gwf_bcf2ss.tdis +END timing + +BEGIN models + gwf6 gwf_bcf2ss.nam gwf_bcf2ss +END models + +BEGIN exchanges +END exchanges + +BEGIN solutiongroup 1 + ims6 gwf_bcf2ss.ims gwf_bcf2ss +END solutiongroup 1 + diff --git a/notebooks/learning/gwf_bcf2ss.ipynb b/notebooks/learning/gwf_bcf2ss.ipynb index 115cd45..3084522 100644 --- a/notebooks/learning/gwf_bcf2ss.ipynb +++ b/notebooks/learning/gwf_bcf2ss.ipynb @@ -27,7 +27,10 @@ "\t\t- 5(b)(iv). River (RIV) Package\n", "\t\t- 5(b)(v). Well (WEL) Package\n", "\t\t- 5(b)(vi). Recharge (RCH) Package\n", - "\t\t- 5(b)(vii). Output Control (OC)" + "\t\t- 5(b)(vii). Output Control (OC)\n", + "- 6. Breakdown the Newton-Raphson formulation simulation\n", + "\t- 6(a). Iterative Model Solution (IMS)\n", + "\t- 6(b). Node Property Flow (NPF) Package" ] }, { @@ -2030,6 +2033,169 @@ "```" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# 6. Breakdown the Newton-Raphson formulation simulation\n", + "\n", + "There are two packages that differ in the Newton-Raphson version: IMS and NPF. The \"NEWTON\" flag is also specified in the model `.nam` file." + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## 6(a). [Iterative Model Solution (IMS)](https://flopy.readthedocs.io/en/latest/source/flopy.mf6.modflow.mfims.html)" + ] + }, + { + "cell_type": "code", + "execution_count": 142, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "package_name = ex-gwf-bcf2ss\n", + "filename = ex-gwf-bcf2ss.ims\n", + "package_type = ims\n", + "model_or_simulation_package = simulation\n", + "simulation_name = ex-gwf-bcf2ss\n", + "\n", + "Block nonlinear\n", + "--------------------\n", + "outer_dvclose\n", + "{internal}\n", + "(1e-06)\n", + "\n", + "outer_maximum\n", + "{internal}\n", + "(500)\n", + "\n", + "\n", + "Block linear\n", + "--------------------\n", + "inner_maximum\n", + "{internal}\n", + "(100)\n", + "\n", + "inner_dvclose\n", + "{internal}\n", + "(1e-06)\n", + "\n", + "rcloserecord\n", + "{internal}\n", + "(rec.array([('inner_rclose', 0.001, 'strict')],\n", + " dtype=[('inner_rclose_label', 'O'), ('inner_rclose', '