1Thunder Bay Watershed β Shapefile-Based Model
Step 1 β Import Watershed Boundary as Model Domain
Click then
'DrawDomain' β 'DM from a shapefile'. Select the Thunder Bay watershed shapefile (.shp, .dbf, and .prj files) and click
Load. Select the
Thunder Bay record and hit Next. Choose
'as Model Domain' and Add to MAGNET Model. The watershed polygon becomes your model boundary β no manual drawing needed.
Step 2 β Import Lakes as Head-Dependent Zones
Click then
'Zone' β 'Zone from a shapefile'. Select the Lakes_ThunderBay shapefile and Load. Select
all lake records. Assign them as shape-specified, two-way head-dependent flux boundaries. For lake stages, use the 'lake_elev' field from the shapefile β each lake gets its actual surveyed elevation automatically. Set constant values of 2 m depth and 5.0 dayβ»ΒΉ leakance for all lakes, then Add to MAGNET Model.
Step 3 β Import Streams as Head-Dependent Lines
Click then
'Line' β 'Line from a shapefile'. Select the streams_ThunderBay shapefile and Load. Select
all stream records. Assign as shape-specified, two-way flux. Use the 'T_ELEV' field for stream stages. Set constant values of 1 m depth and 5.0 dayβ»ΒΉ leakance, then Add to MAGNET Model.
Step 4 β Disable Surface Drainage
Click
to open the Domain Attributes menu, Aquifer Settings tab. Set the Surface Drain Leakancy to zero. This prevents the default surface drainage from interfering with the imported stream and lake features β you want the shapefiles to control all surface water interaction.
Step 5 β Increase Grid Resolution
Still in the Domain Attributes menu, go to the Simulation Settings tab. Set the grid size to NX=100 to better resolve the lake and stream features. Higher resolution ensures that small lakes and narrow streams are properly represented in the computational grid.
Step 6 β Simulate
Click to save all changes and submit the model for simulation. The solver computes flow through the entire Thunder Bay watershed with all imported lakes and streams active as boundary conditions.
Step 7 β Analyze Water Balance
Click
'Analysis' β 'Display Charts' to examine the water balance. The mass balance shows how much water enters through recharge, how much exchanges with lakes (gaining vs. losing lakes), how much discharges to streams, and the overall budget closure.
Key Concepts
Field-based parameterization: The most powerful feature of shapefile import. Instead of assigning a constant lake stage to all lakes, you map a shapefile field (like 'lake_elev') to the parameter. Each feature gets its own value from the GIS database. This scales from 5 lakes to 5,000 β the import time is the same.
Three shapefile types: Polygon shapefiles import as domains (watershed boundary) or zones (lakes, geological units). Polyline shapefiles import as lines (streams, rivers, faults). Point shapefiles can import as wells or observation points. Each type maps to the appropriate IGW-NET feature.
Projection handling: The .prj file in the shapefile set defines the coordinate system. IGW-NET reads this and reprojects the features to match the model's coordinate system. You don't need to manually reproject β import the shapefile as-is and the platform handles the alignment.
Grid resolution matters: After importing complex features, increase the grid resolution (NX=100 or higher) so the computational grid can properly resolve small lakes and narrow streams. A coarse grid may "miss" small features entirely or represent them inaccurately.
2What's Next
With shapefile import mastered, continue the learning path:
Tutorial 14: Post-Analysis Tool β load and inspect completed MODFLOW models, including those built with imported shapefiles
Tutorial 15: Stochastic Flow Model β add random heterogeneity to your shapefile-based model
Tutorial 27: DataNET-based Model β use DataNET to bring even richer datasets into your model