IMOD User Manual I MOD_User_Manual MOD
User Manual: Pdf iMOD_User_Manual
Open the PDF directly: View PDF .
Page Count: 832
Download | |
Open PDF In Browser | View PDF |
DR AF T iMOD User Manual DR AF T T DR AF iMOD User Manual 4.3 P.T.M. Vermeulen L.M.T. Burgering F.J. Roelofsen B. Minnema J. Verkaik Version: 4.3 SVN Revision: 56254 June 21, 2018 DR AF T iMOD, User Manual Published and printed by: Deltares Boussinesqweg 1 2629 HV Delft P.O. 177 2600 MH Delft The Netherlands For sales contact: telephone: +31 88 335 81 88 fax: +31 88 335 81 11 e-mail: sales@deltares.nl www: http://oss.deltares.nl telephone: fax: e-mail: www: +31 88 335 82 73 +31 88 335 85 82 info@deltares.nl https://www.deltares.nl For support contact: telephone: +31 88 335 81 00 fax: +31 88 335 81 11 e-mail: imod.support@deltares.nl www: http://oss.deltares.nl Copyright © 2018 Deltares All rights reserved. No part of this document may be reproduced in any form by print, photo print, photo copy, microfilm or any other means, without written permission from the publisher: Deltares. Contents Contents List of Figures xi List of Tables xvii 1 Introduction 1.1 Motivation . . . . . . . . . . . 1.2 The iMOD approach . . . . . 1.3 Main functionalities . . . . . . 1.4 Minimal System Requirements 1.5 Getting Help . . . . . . . . . 1.6 Deltares . . . . . . . . . . . 1.7 Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . T 2 Getting Started 2.1 Get the Deltares-software executables of iMOD 2.2 Installation of iMOD . . . . . . . . . . . . . . 2.3 Installation of MPI software . . . . . . . . . . 2.3.1 Limitations . . . . . . . . . . . . . . 2.3.2 Installation steps for the MPI software . 2.3.3 Checking your MPI-installation . . . . 2.3.4 Info on how to use the PKS-package . 2.4 A 3D-appetizer... . . . . . . . . . . . . . . . 2.5 Starting iMOD . . . . . . . . . . . . . . . . 2.6 Main Window . . . . . . . . . . . . . . . . . 2.6.1 Menu Bar . . . . . . . . . . . . . . . 2.6.2 Icon Bar . . . . . . . . . . . . . . . 2.6.3 Popup Menu . . . . . . . . . . . . . 2.6.4 Window Status Bar . . . . . . . . . . 2.6.5 Title Panel . . . . . . . . . . . . . . 2.7 Preferences . . . . . . . . . . . . . . . . . . 2.8 Colour Picking . . . . . . . . . . . . . . . . 2.9 Tips and Tricks . . . . . . . . . . . . . . . . 2.9.1 Keyboard shortcuts . . . . . . . . . . 2.9.2 Exporting Figures . . . . . . . . . . . 2.9.3 Saving iMOD Projects . . . . . . . . 2.9.4 Copying part of a Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DR AF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 1 3 3 4 4 4 . . . . . . . . . . . . . . . . . . . . . . 7 8 10 13 13 13 13 14 15 18 19 21 21 23 25 25 26 28 30 30 30 30 30 3 File Menu options 4 Edit Menu options 4.1 Create an IDF-file . . . . . 4.2 Create a GEN-file . . . . . 4.3 Create an IPF-file . . . . . 4.4 Create an ISG-file . . . . . 4.5 Drawing Polygons . . . . . 4.6 Create an iMOD Batch file 31 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 35 47 50 51 52 54 5 View Menu options 5.1 Overview of View Menu options . . 5.2 Goto XY . . . . . . . . . . . . . 5.3 Add Background Image . . . . . . 5.4 iMOD Manager . . . . . . . . . . 5.4.1 iMOD Manager Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 57 60 61 63 69 Deltares . . . . . . . . . . . . . . . . . . iii iMOD, User Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 71 76 79 79 81 82 83 88 93 98 6 Map Menu options 6.1 Add Map . . . . . . . . . . . . . . . . . . . . . . . . 6.2 Quick Open . . . . . . . . . . . . . . . . . . . . . . . 6.3 Map Info . . . . . . . . . . . . . . . . . . . . . . . . 6.4 Map Sort . . . . . . . . . . . . . . . . . . . . . . . . 6.5 Grouping IDF Files . . . . . . . . . . . . . . . . . . . 6.6 Legends . . . . . . . . . . . . . . . . . . . . . . . . 6.6.1 Adjust Legends . . . . . . . . . . . . . . . . . 6.6.2 Generation of Legends . . . . . . . . . . . . . 6.6.3 Synchronize Legends . . . . . . . . . . . . . . 6.6.4 Plot Legends . . . . . . . . . . . . . . . . . . 6.7 IDF Options . . . . . . . . . . . . . . . . . . . . . . . 6.7.1 IDF Value . . . . . . . . . . . . . . . . . . . . 6.7.2 IDF Export . . . . . . . . . . . . . . . . . . . 6.7.3 IDF Calculator . . . . . . . . . . . . . . . . . 6.7.4 IDF Edit . . . . . . . . . . . . . . . . . . . . 6.7.4.1 IDF Edit Select . . . . . . . . . . . . 6.7.4.2 IDF Edit Draw . . . . . . . . . . . . 6.7.4.3 IDF Edit Calculate . . . . . . . . . . 6.8 IPF Options . . . . . . . . . . . . . . . . . . . . . . . 6.8.1 IPF Configure . . . . . . . . . . . . . . . . . . 6.8.2 IPF Labels . . . . . . . . . . . . . . . . . . . 6.8.3 IPF Analyse . . . . . . . . . . . . . . . . . . 6.8.3.1 Drop down menu . . . . . . . . . . . 6.8.3.2 IPF Analyse Figure . . . . . . . . . . 6.8.4 IPF Extract . . . . . . . . . . . . . . . . . . . 6.8.5 IPF Find . . . . . . . . . . . . . . . . . . . . 6.9 IFF Options . . . . . . . . . . . . . . . . . . . . . . . 6.9.1 IFF Configure . . . . . . . . . . . . . . . . . . 6.10 ISG Options . . . . . . . . . . . . . . . . . . . . . . 6.10.1 ISG Configure . . . . . . . . . . . . . . . . . 6.10.2 ISG Show . . . . . . . . . . . . . . . . . . . 6.10.3 ISG Edit . . . . . . . . . . . . . . . . . . . . 6.10.3.1 ISG Edit window, Segments tab: . . . 6.10.3.2 ISG Edit window, Polygons tab: . . . . 6.10.3.3 ISG Edit window, Attributes tab: . . . 6.10.3.4 ISG Edit window, Calc. Points tab: . . 6.10.3.5 ISG Edit window, Structures tab: . . . 6.10.3.6 ISG Edit window, Cross-Sections tab: 6.10.3.7 ISG Edit window, Q-Depth-Width tab: . 6.10.3.8 Dropdown menu . . . . . . . . . . . 6.10.3.9 ISG Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 99 102 103 107 108 110 110 115 116 117 118 118 121 122 127 133 135 136 140 140 143 145 150 151 156 157 159 159 161 161 162 164 166 169 170 172 174 176 178 179 182 5.5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DR AF T 5.6 5.7 5.4.2 iMOD Manager Find Files . . . . . . iMOD Project Manager . . . . . . . . . . . 5.5.1 Define Characteristics . . . . . . . 5.5.2 Define Characteristics Automatically 5.5.2.1 Define Source for Topics . 5.5.2.2 Modify List of Topics . . . 5.5.3 Define Periods . . . . . . . . . . . 5.5.4 Define Simulation . . . . . . . . . . 5.5.5 Parameter Estimation . . . . . . . . Subsurface Explorer . . . . . . . . . . . . Lines and Symbols . . . . . . . . . . . . . iv Deltares Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193 195 196 197 200 200 201 7 Toolbox Menu Options 7.1 Cross-Section Tool . . . . . . . . . . . . 7.1.1 Properties . . . . . . . . . . . . 7.1.2 Profile Legend . . . . . . . . . . 7.1.3 Movie . . . . . . . . . . . . . . . 7.1.4 Cross-Section Inspector . . . . . 7.1.5 Export . . . . . . . . . . . . . . 7.1.6 Background Bitmaps . . . . . . . 7.2 Timeseries Tool . . . . . . . . . . . . . . 7.2.1 Draw Timeseries . . . . . . . . . 7.2.2 Legends . . . . . . . . . . . . . 7.2.3 TimeSeries Export . . . . . . . . 7.3 3D Tool . . . . . . . . . . . . . . . . . . 7.3.1 Starting the 3D Tool . . . . . . . 7.3.2 3D Tool: the Menu bar . . . . . . 7.3.3 3D Tool: the IDF-settings tab . . . 7.3.4 3D Tool: the IPF-settings tab . . . 7.3.5 3D Tool: the IFF-settings tab . . . 7.3.6 3D Tool: the GEN-settings tab . . 7.3.7 3D Tool: the Fence Diagrams-tab . 7.3.8 3D Tool: the Clipplanes-tab . . . . 7.3.9 3D Tool: the Miscellaneous-tab . . 7.3.10 3D Tool: the 3D Identify-tab . . . . 7.4 Solid Tool . . . . . . . . . . . . . . . . . 7.4.1 Create a Solid . . . . . . . . . . 7.4.2 Solid Editing using Cross-Sections 7.4.3 Solid Analysing using the 3D Tool . 7.4.4 Compute Interfaces . . . . . . . . 7.5 Movie Tool . . . . . . . . . . . . . . . . 7.5.1 Create a New Movie . . . . . . . 7.5.2 Play an Existing Movie . . . . . . 7.6 GeoConnect Tool . . . . . . . . . . . . . 7.7 Plugin Tool . . . . . . . . . . . . . . . . 7.7.1 Plugin file description . . . . . . . 7.7.1.1 Plugin MENU file . . . . 7.7.1.2 Plugin IN file . . . . . . 7.7.1.3 Plugin OUT file . . . . . 7.7.2 Using the Plugin . . . . . . . . . 7.8 Import Tools . . . . . . . . . . . . . . . 7.8.1 Import SOBEK Models . . . . . . 7.8.2 Import Modflow Models . . . . . . 7.9 Start Model Simulation . . . . . . . . . . 7.10 Quick Scan Tool . . . . . . . . . . . . . 7.10.1 Initial Settings . . . . . . . . . . 7.10.2 Start Quick Scan Tool . . . . . . . 7.11 Pumping Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205 206 211 226 226 227 228 228 230 232 237 237 239 240 247 250 257 265 267 272 279 281 287 289 293 296 299 300 303 303 308 310 318 319 319 320 321 321 324 324 325 327 336 336 336 345 DR AF T 6.10.3.10 ISG Colouring 6.10.3.11 ISG Search . . 6.10.3.12 ISG Profile . . 6.10.3.13 ISG Rasterize 6.11 GEN Options . . . . . . . . . . 6.11.1 GEN Info . . . . . . . . 6.11.2 GEN Configure . . . . . Deltares v iMOD, User Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345 346 352 356 359 362 363 367 368 369 370 374 382 383 391 392 397 405 407 408 8 iMOD Batch functions 8.1 General introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.1.1 What is an iMOD Batch Function? . . . . . . . . . . . . . . . . 8.1.2 How to run an iMOD Batch Function? . . . . . . . . . . . . . . . 8.1.3 Using DOS scripting (*.BAT file) to organize iMOD Batch Functions 8.1.4 Examples of advanced DOS scripting options . . . . . . . . . . . 8.2 IDF-FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.2.1 IDFCALC-Function . . . . . . . . . . . . . . . . . . . . . . . . 8.2.2 IDFSCALE-Function . . . . . . . . . . . . . . . . . . . . . . . 8.2.3 IDFMEAN-Function . . . . . . . . . . . . . . . . . . . . . . . . 8.2.4 IDFCONSISTENCY-Function . . . . . . . . . . . . . . . . . . . 8.2.5 IDFSTAT-Function . . . . . . . . . . . . . . . . . . . . . . . . 8.2.6 IDFMERGE-Function . . . . . . . . . . . . . . . . . . . . . . . 8.2.7 IDFTRACE-Function . . . . . . . . . . . . . . . . . . . . . . . 8.2.8 CREATEIDF-Function . . . . . . . . . . . . . . . . . . . . . . 8.2.9 CREATEASC-Function . . . . . . . . . . . . . . . . . . . . . . 8.2.10 XYZTOIDF-Function . . . . . . . . . . . . . . . . . . . . . . . 8.3 ISG-FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.3.1 GEN2ISG-Function . . . . . . . . . . . . . . . . . . . . . . . . 8.3.2 ISGGRID-Function . . . . . . . . . . . . . . . . . . . . . . . . 8.3.3 ISGADDCROSSSECTION-Function . . . . . . . . . . . . . . . 8.3.4 ISGSIMPLIFY-Function . . . . . . . . . . . . . . . . . . . . . . 8.3.5 ISGADJUST-Function . . . . . . . . . . . . . . . . . . . . . . . 8.3.6 ISGADDSTRUCTURES-Function . . . . . . . . . . . . . . . . . 8.3.7 ISGADDSTAGES-Function . . . . . . . . . . . . . . . . . . . . 8.3.8 SFRTOISG-Function . . . . . . . . . . . . . . . . . . . . . . . 8.3.9 IPFTOISG-Function . . . . . . . . . . . . . . . . . . . . . . . . 8.4 GEN-FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.4.1 GENSNAPTOGRID-Function . . . . . . . . . . . . . . . . . . . 8.4.2 GEN2GEN3D-Function . . . . . . . . . . . . . . . . . . . . . . 8.5 IPF-FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.5.1 IPFSTAT-Function . . . . . . . . . . . . . . . . . . . . . . . . . 8.5.2 IPFSPOTIFY-Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409 409 409 410 410 410 414 414 416 419 421 422 423 424 425 426 427 434 434 436 438 440 441 442 443 444 445 447 447 449 450 450 452 7.15 7.16 7.17 7.18 7.19 vi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DR AF 7.13 7.14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . T . . . . . . . . . . . . . . . . . . . . 7.12 7.11.1 Initial Settings . . . . . . . . . . . . 7.11.2 Start Pumping Tool . . . . . . . . . . 7.11.3 Well Systems . . . . . . . . . . . . . 7.11.4 Observation Wells . . . . . . . . . . 7.11.5 Results . . . . . . . . . . . . . . . . RO-tool . . . . . . . . . . . . . . . . . . . . 7.12.1 RO-tool window . . . . . . . . . . . . 7.12.2 Preprocessing . . . . . . . . . . . . 7.12.3 Operational setup . . . . . . . . . . . 7.12.4 Output . . . . . . . . . . . . . . . . Define Startpoints . . . . . . . . . . . . . . . Start Pathline Simulation . . . . . . . . . . . 7.14.1 Input Properties . . . . . . . . . . . Interactive Pathline Simulator . . . . . . . . . Waterbalance . . . . . . . . . . . . . . . . . 7.16.1 Compute Waterbalance . . . . . . . . 7.16.2 Analyse Waterbalance . . . . . . . . Compute Mean Groundwaterfluctuations (GxG) Compute Mean Values . . . . . . . . . . . . Compute Timeseries . . . . . . . . . . . . . Deltares Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 iMOD Files 9.1 PRF-files . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.2 IMF-files . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.3 PRJ-files . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.4 TIM-files . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.5 IDF-files . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.6 MDF-files . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.7 IPF-files . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.7.1 Associated Files with Timevariant Information . . . . . 9.7.2 Associated File with 1D Borehole Information . . . . . 9.7.3 Associated File with Cone Penetration Test Information 9.7.4 Associated File with 3D Borehole Information . . . . . 9.8 IFF-files . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.9 ISG-files . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.9.1 ISP fileformat . . . . . . . . . . . . . . . . . . . . . 9.9.2 ISD1 and ISD2 fileformat . . . . . . . . . . . . . . . 9.9.3 ISC1 and ISC2 fileformat . . . . . . . . . . . . . . . 9.9.4 IST1 and IST2 fileformat . . . . . . . . . . . . . . . Deltares . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . T . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DR AF 8.5.3 IPFSAMPLE-Function . . . . 8.6 MODEL-FUNCTIONS . . . . . . . . . 8.6.1 IMPORTMODFLOW-Function 8.6.2 IMPORTSOBEK-Function . . 8.6.3 MODELCOPY-Function . . . . 8.6.4 CREATESUBMODEL-Function 8.6.5 RUNFILE-Function . . . . . . 8.6.6 IMODPATH-Function . . . . . 8.7 GEO-FUNCTIONS . . . . . . . . . . 8.7.1 DINO2IPF-Function . . . . . . 8.7.2 GEOTOP-Function . . . . . . 8.7.3 GEF2IPF-Function . . . . . . 8.7.4 CUS-Function . . . . . . . . 8.7.5 SOLID-Function . . . . . . . 8.7.6 FLUMY-Function . . . . . . . 8.7.7 GEOCONNECT-function . . . 8.7.8 CREATEIZONE-Function . . . 8.8 PREPROCESSING-FUNCTIONS . . . 8.8.1 CREATEIBOUND-Function . . 8.8.2 AHNFILTER-Function . . . . . 8.8.3 CREATESOF-Function . . . . 8.8.4 DRNSURF-Function . . . . . 8.9 POSTPROCESSING-FUNCTIONS . . 8.9.1 GXG-Function . . . . . . . . 8.9.2 WBALANCE-Function . . . . 8.9.3 PWTCOUNT-Function . . . . 8.9.4 IDFTIMESERIE-Function . . . 8.9.5 IPFRESIDUAL-Function . . . 8.9.6 PLOTRESIDUAL-Function . . 8.10 WELL-FUNCTIONS . . . . . . . . . . 8.10.1 DEVWELLTOIPF-Function . . 8.10.2 ASSIGNWELL-Function . . . 8.10.3 MKWELLIPF-Function . . . . 8.11 BMPTILING-Function . . . . . . . . . 8.12 PLOT-Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 454 455 455 456 457 458 459 464 468 468 469 470 471 474 479 480 483 484 484 485 487 493 495 495 497 501 502 503 504 506 506 508 509 512 513 . . . . . . . . . . . . . . . . . 521 . 524 . 527 . 528 . 529 . 530 . 531 . 532 . 533 . 533 . 534 . 534 . 536 . 538 . 539 . 540 . 543 . 545 vii iMOD, User Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DR AF 9.11 9.12 9.13 9.14 9.15 9.16 9.17 9.18 9.19 9.20 9.21 9.22 9.23 . . . . . . . . . . . . . . . . . . . 10 Runfile 10.1 Runfile Description . . . . . . . . . . . . . . . . . 10.2 Data Set 1: Output Folder . . . . . . . . . . . . . . 10.3 Data Set 2: Configuration . . . . . . . . . . . . . . 10.4 Data Set 3: Timeseries (optional) . . . . . . . . . . 10.5 Data Set 4: Simulation mode . . . . . . . . . . . . 10.6 Data Set 5: Solver configuration . . . . . . . . . . 10.7 Data Set 5a: RCB load pointer grid (optional) . . . . 10.8 Data Set 6: Simulation window (optional) . . . . . . 10.9 Data Set 8: Active packages . . . . . . . . . . . . 10.10 Data Set 9: Boundary file . . . . . . . . . . . . . . 10.11 Data Set 10: Number of files . . . . . . . . . . . . 10.12 Data Set 11: Input file assignment . . . . . . . . . 10.13 Data Set 12: Time discretisation . . . . . . . . . . 10.14 Data Set 14: Parameter Estimation – Main settings . 10.15 Data Set 15: Parameter Estimation – Period Settings 10.16 Data Set 16: Parameter Estimation – Batch Settings 10.17 Data Set 17: Parameter Estimation - Parameters . . 10.18 Data Set 18: Parameter Estimation – Zones . . . . . 10.19 Data Set 19: Parameter Estimation – Zone Definition 10.20 Runfile history . . . . . . . . . . . . . . . . . . . 10.20.1 Upcoming additional runfile options . . . . . 10.20.2 Updating from iMOD 4.2 to iMOD 4.2.1 . . . 10.20.3 Updating from iMOD 4.1.1 to iMOD 4.2 . . . 10.20.4 Updating from iMOD 4.1 to iMOD 4.1.1 . . . 10.20.5 Updating from iMOD 4.0 to iMOD 4.1 . . . . 10.20.6 Updating from iMOD 3.6 to iMOD 4.0 . . . . 10.20.7 Updating from iMOD 3.4 to iMOD 3.6 . . . . 10.20.8 Updating from iMOD 3.3 to iMOD 3.4 . . . . 10.20.9 Updating from iMOD 3.2.1 to iMOD 3.3 . . . 10.20.10Updating from iMOD 3.2 to iMOD 3.2.1 . . . 10.20.11Runfiles prior to iMOD 3.x . . . . . . . . . 10.21 Starting a Model Simulation . . . . . . . . . . . . . 10.22 Example Output file . . . . . . . . . . . . . . . . . viii . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . T 9.10 9.9.5 ISQ1 and ISQ2 fileformat GEN-files . . . . . . . . . . . . 9.10.1 Standard GEN-files . . . 9.10.2 iMOD GEN-files . . . . DAT-files . . . . . . . . . . . . CSV-files . . . . . . . . . . . . ASC-files . . . . . . . . . . . . ARR-files . . . . . . . . . . . . LEG-files . . . . . . . . . . . . CLR-files . . . . . . . . . . . . DLF-files . . . . . . . . . . . . CRD-files . . . . . . . . . . . . ISD-files . . . . . . . . . . . . SOL-files . . . . . . . . . . . . SPF-files . . . . . . . . . . . . SES-files . . . . . . . . . . . . GEF-files . . . . . . . . . . . . 9.23.1 CPT GEF-file . . . . . . 9.23.2 Borehole GEF-file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 545 547 547 548 550 551 552 553 554 555 556 557 558 560 561 562 562 562 563 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 565 . 566 . 566 . 566 . 568 . 569 . 569 . 570 . 570 . 571 . 573 . 573 . 578 . 578 . 579 . 580 . 580 . 580 . 581 . 581 . 582 . 582 . 582 . 582 . 582 . 582 . 582 . 583 . 583 . 583 . 583 . 583 . 583 . 585 Deltares Contents 10.23 Example Output Folders . . . . . . . . . . . . . . . . . . . . . . . . . . . 591 T 11 iMOD tutorials 593 11.1 Tutorial 1: Map Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595 11.2 Tutorial 2: Map Operations . . . . . . . . . . . . . . . . . . . . . . . . . . 609 11.3 Tutorial 3: Map Analyse . . . . . . . . . . . . . . . . . . . . . . . . . . . . 616 11.4 Tutorial 4: Create your First Groundwater Flow Model . . . . . . . . . . . . . 625 11.5 Tutorial 5: Solid Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 649 11.6 Tutorial 6: Model Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . 668 11.7 Tutorial 7: Interactive Pathline Simulation . . . . . . . . . . . . . . . . . . . 686 11.8 Tutorial 8: Surface Flow Routing (SFR) and Flow Head Boundary (FHB) Package693 11.9 Tutorial 9: Lake Package . . . . . . . . . . . . . . . . . . . . . . . . . . . 712 11.10 Tutorial 10: Multi-Node Well- and HFB Package . . . . . . . . . . . . . . . . 725 11.11 Tutorial 11: Unsaturated Zone Package . . . . . . . . . . . . . . . . . . . . 738 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DR AF 12 Theoretical background 12.1 CAP MetaSWAP Unsaturated zone module 12.2 BND Boundary conditions . . . . . . . . . 12.2.1 Scaling . . . . . . . . . . . . . . 12.3 SHD Starting Heads . . . . . . . . . . . 12.3.1 Scaling . . . . . . . . . . . . . . 12.4 KDW Transmissivity . . . . . . . . . . . . 12.5 VCW Vertical resistances . . . . . . . . . 12.6 KHV Horizontal permeabilities . . . . . . 12.7 KVA Vertical anisotropy for aquifers . . . . 12.8 KVV Vertical permeabilities . . . . . . . . 12.9 STO Storage coefficients . . . . . . . . . 12.10 SSC Specific storage coefficients . . . . . 12.11 TOP Top of aquifers . . . . . . . . . . . . 12.12 BOT Bottom of aquifers . . . . . . . . . 12.13 PWT Perched water table package . . . . 12.14 ANI Horizontal anisotropy module . . . . . 12.14.1 Introduction . . . . . . . . . . . . 12.14.2 Parameterisation . . . . . . . . . 12.15 HFB Horizontal flow barrier module . . . . 12.16 IBS Interbed Storage package . . . . . . 12.17 SFT Streamflow thickness package . . . . 12.18 WEL Well package . . . . . . . . . . . . 12.19 DRN Drainage package . . . . . . . . . 12.20 RIV River package . . . . . . . . . . . . 12.21 EVT Evapotranspiration package . . . . . 12.22 GHB General-head-boundary package . . 12.23 RCH Recharge package . . . . . . . . . 12.24 OLF Overland flow package . . . . . . . 12.25 CHD Constant-head package . . . . . . . 12.26 FHB Flow and Head Boundary package . . 12.27 ISG iMOD Segment package . . . . . . . 12.28 SFR Surface water Flow Routing Package 12.29 LAK Lake Package . . . . . . . . . . . . 12.30 MNW MultiNode Well Package . . . . . . 12.31 UZF Unsaturated Zone Package . . . . . 12.32 PKS Parallel Krylov Solver Package . . . . 12.32.1 Introduction . . . . . . . . . . . . 12.32.2 Mathematical model . . . . . . . Deltares . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 753 753 754 755 755 755 756 756 756 756 756 757 757 757 757 757 761 761 762 764 766 766 766 767 767 767 767 768 768 768 768 769 772 773 774 775 776 776 776 ix iMOD, User Manual References Release Notes iMOD-GUI . . . . . . . . . . . . . . DR AF Release Notes iMODFLOW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 777 778 778 778 780 781 781 783 784 784 786 787 787 788 791 793 803 A About SIMGRO and MetaSWAP A.1 What are the models intended for? . . . . . . . . . . . . . . . . . . . . . A.1.1 What is the scope of the model application? . . . . . . . . . . . . A.1.2 What are the used spatial and temporal scales of the model? . . . . A.1.3 What are the necessary input data? . . . . . . . . . . . . . . . . A.1.4 What output data can the model produce . . . . . . . . . . . . . . A.1.5 How does the model communicate with the user, in what language? A.1.6 On what platform does the model operate? . . . . . . . . . . . . . A.1.7 What does the model cost? . . . . . . . . . . . . . . . . . . . . . A.1.8 How are the model and its documentation made available? . . . . . A.1.9 Who are the contact persons? . . . . . . . . . . . . . . . . . . . x . . . . . . . . . . . . . . T 12.32.3 Implementation and some practical considerations 12.33 PST Parameter estimation . . . . . . . . . . . . . . . . 12.33.1 Introduction . . . . . . . . . . . . . . . . . . . . 12.33.2 Methodology . . . . . . . . . . . . . . . . . . . 12.33.3 Eigenvalue Decomposition . . . . . . . . . . . . 12.33.4 Pilot Points and Regularisation . . . . . . . . . . 12.33.4.1 Kriging . . . . . . . . . . . . . . . . . 12.33.5 First-Order Second Moment Method (FOSM) . . . 12.33.6 Scaling . . . . . . . . . . . . . . . . . . . . . . 12.33.7 Sensitivity . . . . . . . . . . . . . . . . . . . . 12.33.8 Example . . . . . . . . . . . . . . . . . . . . . 12.33.9 Remarks . . . . . . . . . . . . . . . . . . . . . 12.34 Serial runtimes . . . . . . . . . . . . . . . . . . . . . . 12.35 Timestep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 807 807 808 808 808 808 808 809 809 809 809 Deltares List of Figures List of Figures Example of command in DOS box to run an iMOD Batch script. 11.1 11.2 11.3 11.4 11.5 11.6 Example of a 2D IDF-view. . . . . . . . . . . . . . . . . . . . . . . . . . . . 596 Example of a two-coloured legend. . . . . . . . . . . . . . . . . . . . . . . . 597 Example of the ’Synchronize legend by:’ window. . . . . . . . . . . . . . . . . 599 Example of plotted labels using the ’Labels’ button of the IPF Configure window. 601 Example of a 3D-display of boreholes. . . . . . . . . . . . . . . . . . . . . . 602 Example of using different thickness’s when displaying lithology of boreholes in 3D. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 603 Example of 3D image of a set of planes and boreholes; display depends on options chosen in the 3D IDF Settings-window. . . . . . . . . . . . . . . . . . 604 Example of a 3D IDF Settings window for displaying pairs of IDF’s as solids. . . 605 Example of 3D-image of displaying pairs of IDF’s as solids. . . . . . . . . . . . 605 Pop-up window with ’Select For’ option when right-clicking on canvas when IPF Analyse window is active. . . . . . . . . . . . . . . . . . . . . . . . . . . . 606 Example of plotted timeseries next to selected points using the option ’Simple’ from the Graph dropdown menu in the Setting tab of IPF Analyse. . . . . . . . 607 Example of showing a topographical map (full extent, red dots represent the observation.ipf). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 608 Example of displaying the selected grid cells using the ’Show Selection’ button in the ’IDF Edit Select’ window. . . . . . . . . . . . . . . . . . . . . . . . . . 612 Example of displaying selected cells using the Trace option. . . . . . . . . . . 613 Contour map of the original THICKNESS3.IDF-file (cell size 100x100 meter). . . 614 Contour map of the upscaled THICKNESS3_SCALED.IDF-file (cell size 1000x1000 meter). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 615 Example of interactively generating a vertical cross-section of a 3D subsurface including boreholes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 619 3D Tool view of the subsurface and borehole data used in the previous 2D cross-section exercise. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 620 3D Tool view of the subsurface and borehole data after drawing a fence diagram interactively. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 621 3D Tool view of the subsurface and borehole data after drawing a fence diagram interactively. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 622 Screen shot of the ’Draw Timeseries’- and ’Timeseries Tool’-windows while hovering with the mouse over a map of a series of IDF-files. . . . . . . . . . . . . 623 Example of a content of an iMOD_INIT.PRF file. . . . . . . . . . . . . . . . . 625 Example of showing a topographical map using the main menu ’View’, ’Show Background Image(s)’ option. . . . . . . . . . . . . . . . . . . . . . . . . . 626 Example of the polygon that you might have created. . . . . . . . . . . . . . . 628 Example of the ’Content of file:’ window. . . . . . . . . . . . . . . . . . . . . 628 Example of the ’Input’ window to add an attribute. . . . . . . . . . . . . . . . 629 Example of the ’Content of file:’ window. . . . . . . . . . . . . . . . . . . . . 629 Example of a final result sketching the surface level for the island. . . . . . . . 630 Example of a resulting topography of the island. . . . . . . . . . . . . . . . . 631 Example of a 3D image of your created island. . . . . . . . . . . . . . . . . . 631 Example of the selection of cells with values greater or equal to zero. . . . . . . 632 Example of assigned active and fixed head cells. . . . . . . . . . . . . . . . . 633 Example of a screen layout at the current step. . . . . . . . . . . . . . . . . . 634 Sketch of a estimated flow pattern that might occur in our island model. . . . . 634 Example of the ’Define Characteristics for:’ window, filled in for Recharge (RCH). 636 11.7 11.8 11.9 11.10 11.11 DR AF 11.12 . . . . . . . . 410 T 8.1 11.13 11.14 11.15 11.16 11.17 11.18 11.19 11.20 11.21 11.22 11.23 11.24 11.25 11.26 11.27 11.28 11.29 11.30 11.31 11.32 11.33 11.34 11.35 Deltares xi iMOD, User Manual 11.38 11.39 11.40 11.41 11.42 11.43 11.44 11.45 11.46 11.47 11.48 11.49 11.50 11.51 11.52 11.53 11.54 11.55 11.56 11.57 11.58 11.59 11.60 11.61 11.62 11.63 11.64 11.65 11.66 11.67 11.68 11.69 11.70 11.71 11.72 11.73 11.74 xii T 11.37 Example of selecting a parameter in the ’Project Definition’ window: in this example firsts ’(BOT) Bottom Elevation’ is selected to expand the tree view by clicking the ’+’-sign. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 636 In this example the exisiting (BOT) parameter set of layer 1 is selected. Click on the ’Properties’ button to open the ’Define Characteristics for:’ window to edit the Bottom Elevation parameters. . . . . . . . . . . . . . . . . . . . . . . . 637 Schematic representation of the model. . . . . . . . . . . . . . . . . . . . . 637 Example of Project Manager window after filling in a model configuration. . . . . 638 The Define Simulation Configuration window after entering the value ’3’ for the ’Number of layers’. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 639 Example of the ’Start Model Simulation’ window. . . . . . . . . . . . . . . . . 640 Example of the ’Result Folder’ tab in the ’Start Model Simulation’ window. . . . 640 Example of the volumetric water balance as printed by MODFLOW in the iMODFLOW.listfile. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 641 Isolines of the computed hydraulic heads of the island. . . . . . . . . . . . . . 642 The ’Start Points Definition’ window. . . . . . . . . . . . . . . . . . . . . . . 643 The ’Pathline Simulation’ window. . . . . . . . . . . . . . . . . . . . . . . . 644 The ’Input Properties’ window for the Boundary Conditions. . . . . . . . . . . . 645 The ’Input Properties’ window for the Top- and bottom Files. . . . . . . . . . . 645 Example of a two-dimensional image of pathlines. . . . . . . . . . . . . . . . 647 Example of a three-dimensional image of pathlines near the well. . . . . . . . . 647 Sketch of a flow pattern that might occur in our island model. . . . . . . . . . . 650 Example of a 3D-image of boreholes of the hypothetical island. . . . . . . . . . 651 The ’Create New Solid’ window. . . . . . . . . . . . . . . . . . . . . . . . . 652 Example of the initial Solid. . . . . . . . . . . . . . . . . . . . . . . . . . . . 653 The ’Fit Interfaces’ window. . . . . . . . . . . . . . . . . . . . . . . . . . . . 654 Result of the initial guess for the cross-section based on the values entered in the previous ’Fit Interfaces’ window. . . . . . . . . . . . . . . . . . . . . . . 654 Result of adjusting the nodes on each line such that the line crosses each borehole at the right position using the ’Fit’ button. . . . . . . . . . . . . . . . . . 655 Example of the outline of the cross-sections. . . . . . . . . . . . . . . . . . . 656 Example of a 3D image of the outline of the cross-sections. . . . . . . . . . . 656 3D image of the individual cross-section [CROSSB7B1B5B3]. . . . . . . . . . 657 Example of the ’Compute Interfaces’ window. . . . . . . . . . . . . . . . . . . 658 Example of the used Kriging Settings. . . . . . . . . . . . . . . . . . . . . . 658 Example of the cross-section CROSSB7B1B5B3 after interpolation. . . . . . . 659 Editing the interfaces of cross-section CROSSB7B1B3B5. . . . . . . . . . . . 659 Editing the interfaces of cross-section CROSSB6B1B2. . . . . . . . . . . . . . 660 The cross-section CROSSB6B1B2 after manual modification. . . . . . . . . . 660 3D image of the computed elevations of cross-section CROSSB6B1B2 and one of the intersecting cross-sections. . . . . . . . . . . . . . . . . . . . . . . . 661 Same cross-sections as previous figure, but now seen from below using transparency view settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 661 Example of the estimated standard deviation of the estimated interface. . . . . 662 Example of the computed heads using the adjusted subsurface geometry. . . . 664 The ’Start Point Definition’ window. . . . . . . . . . . . . . . . . . . . . . . . 665 The ’Input Properties’ window that appears when choosing ’Start Pathline Simulation...’ from the main menu, followed by selecting the ’Input’ tab, and clicking the ’Properties’ button at the right of ’Top- and Bottom files’ field of the ’Pathline Simulation’ window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 666 The final pathlines representing the capture zone of the well; capture zone is here defined as that part of the groundwater flow system that contributes water to the pumped well. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 667 Difference between starting heads of model layers 1 and 2. . . . . . . . . . . . 670 DR AF 11.36 Deltares List of Figures 11.77 11.78 11.79 11.80 11.81 11.82 11.83 11.84 11.85 11.86 DR AF 11.87 Stages of the rivers of the first system. . . . . . . . . . . . . . . . . . . . . . 670 Cross-section of heads of the 25x25 meter model (dark blue) and the corresponding 100x100 meter model (red). . . . . . . . . . . . . . . . . . . . . . 672 Example of interactively specifying a part of the total model domain (smallest rectangle with hatching-pattern) for a model simulation. Also the size of the surrounding buffer zone can be specified here. . . . . . . . . . . . . . . . . . 673 Example of a water balance TXT-file. . . . . . . . . . . . . . . . . . . . . . . 674 Example of a water balance displayed from a CSV-file. . . . . . . . . . . . . . 675 Example of a water balance displayed from a CSV-file. . . . . . . . . . . . . . 676 Example of a water balance aggregated on a monthly base from a CSV-file. . . 677 The ’IDF Edit’ window in front of the area of interest. . . . . . . . . . . . . . . 678 Contour levels of the computed effect of a raised water level. . . . . . . . . . . 680 Cross-section of the computed effect of raised water level. . . . . . . . . . . . 680 The ’Solver Settings’ tab of the ’Model Simulation’ window. In this example the user has assigned more than one CPU; as a result the PKS solver is activated. . 681 The values of the LOAD.IDF grid used to specify the weights to be used in the Recursive Coordinate Bisection partitioning method; in this example approximately 20% of the model cells were assigned weight values that are two times larger than the rest 80% of the model cells. . . . . . . . . . . . . . . . . . . 682 The non-merged head-IDF’s of the two sub-domains using the RCB partitioning method. The partitioning is visible when choosing ’View’, ’Show IDF features’, ’IDF Extent’. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 683 Drain pipe ending in a surface water channel. . . . . . . . . . . . . . . . . . 684 The ’IDF Settings’ window allows specifying starting positions of particles using an existing IDF (e.g. calculated groundwater heads) as a reference. . . . . . . 687 Randomly generated particles (in red). . . . . . . . . . . . . . . . . . . . . . 687 The ’Particle Settings’ window that appears after clicking the ’Configure Particles...’ button in the ’Pathlines’ tab of the 3D Tool. . . . . . . . . . . . . . . . . 688 Screen shot of a particle simulation in the ’Pathline’ tab of the 3D Tool. . . . . . 689 The ’Sink settings’ window appears after selecting the ’Sink’ option and clicking the ’Properties’ button in the ’Start Point Definition’ part of the ’Pathlines’ tab in the 3D Tool. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 690 Setting the direction of a group of particles to ’Backward’. . . . . . . . . . . . 691 Simultaneous pathlines simulation for two groups of particles, each having its own colour. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 691 Image after selecting all cells of the most left column of the model. . . . . . . . 694 Image of the 3 added ISG segments after turning on the labels Nodes, C.Section, Seg.Nodes, Clc.Pnts. and Direction. . . . . . . . . . . . . . . . . . . . . . . 698 The ’Waterlevels’-tab in the ’ISG Attributes’ window for the Calculation point ’FROM’ for segment 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 699 The ’ISG Attributes’ window after entering the Manning’s Resistance Coefficient in the ’Crosssection’-tab for segment 1. . . . . . . . . . . . . . . . . . . . . . 700 The ISG Profile window facilitates inspecting ISG-variables of selected segments.701 Showing the connection (light grey arrow) to Segment 2 from Segment 1 (cyan line) by selecting the ’Connection’-option in the ’Show’-part of the ’ISG Edit’window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 702 The Project Manager after loading the project file MODEL.PRJ. . . . . . . . . 703 Image after selecting all Segment 1 and 2 streams of SFR.ISG in the ISG Edit window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 705 Stream levels in the ISG Profile window. . . . . . . . . . . . . . . . . . . . . 705 Stream discharges along segments 1 to 3. . . . . . . . . . . . . . . . . . . . 706 Stream width and stream depth along segments 1 to 3. . . . . . . . . . . . . . 707 Stream levels visualised when using a colour legend. . . . . . . . . . . . . . . 708 Visualising the computed fluxes between surface water and groundwater. . . . 709 T 11.75 11.76 11.88 11.89 11.90 11.91 11.92 11.93 11.94 11.95 11.96 11.97 11.98 11.99 11.100 11.101 11.102 11.103 11.104 11.105 11.106 11.107 11.108 Deltares xiii iMOD, User Manual DR AF T 11.109 The ’Read CSV file’ window. . . . . . . . . . . . . . . . . . . . . . . . . . 11.110 The cross-section as read from the CSV file (black dots) and the 8-points simplified cross-section (blue dots) after selecting ’Simplified’ in the ’ISG Attributes’window, including the corresponding areas of the original and simplified crosssection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.111 34 cells selected after clicking the ’Get selection’ button. . . . . . . . . . . . 11.112 The Solver Settings window. . . . . . . . . . . . . . . . . . . . . . . . . . 11.113 The interpolated surface level. . . . . . . . . . . . . . . . . . . . . . . . . 11.114 Lake Identification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.115 Lake Bathymetry. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.116 Example of the ’Define Characteristisc for: (LAK) Lake Package’ window; the part ’Define Specific Characteristics’ contains a pull-down Parameter list which should be parameterized according to the values given in Table Table 11.7. . . 11.117 Example of the iMOD Define Simulation Configuration window. . . . . . . . . 11.118 Time Series of lake levels. . . . . . . . . . . . . . . . . . . . . . . . . . . 11.119 Computed spatial Lake fluxes. . . . . . . . . . . . . . . . . . . . . . . . . 11.120 Current layout of the SFR and LAK maps. . . . . . . . . . . . . . . . . . . 11.121 Current result of the groundwater levels for 31st of December 2037. . . . . . 11.122 Example of the Special Open window. . . . . . . . . . . . . . . . . . . . . 11.123 3-D image of our model. . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.124 Example of the Layer Types window: assigning layer type ’Convertible (HNEWBOT)’ to all layers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.125 Example of the iMOD Define Simulation Configuration window. . . . . . . . . 11.126 Time Series of computed hydraulic heads and abstraction rates at the location of the well using the WEL package: heads in layer 1 (blue line), layer 2 (turquoise line) and layer 3 (cyan line), abstraction rates [m3/day] in layer 1 (red line), layer 2 (green line) and layer 3 (yellow line). . . . . . . . . . . . . . . . . . . . . 11.127 Attribute values for the MNW-well. . . . . . . . . . . . . . . . . . . . . . . 11.128 Time Series of computed extraction rates using the MNW package in layer 1 (red), layer 2 (orange) and layer 3 (violet); total time series (above) and zoomed in from 2040 onwards (below). . . . . . . . . . . . . . . . . . . . . . . . . 11.129 Time Series of computed hydraulic heads at the location of the abstraction well: in layer 1 using the WEL package (red line), and heads in layers 1 to 3 using the MNW package (blue, turquoise and cyan lines respectively). . . . . . . . 11.130 Outline of our sheet pile. . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.131 Example of the iMOD Project Manager window. . . . . . . . . . . . . . . . 11.132 Display of the possible outcome of our HFB model. . . . . . . . . . . . . . . 11.133 Example of the Define Characteristics Automatically window. . . . . . . . . . 11.134 Example of the Automatic Package Allocation window. . . . . . . . . . . . . 11.135 Example of the Layer Types window: assigning layer type ’Convertible (HNEWBOT)’ to layer 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.136 Example of the iMOD Define Simulation Configuration window. . . . . . . . . 11.137 Example of the iMOD Time Discretization Manager for Simulation window. . . 11.138 Time Series of computed groundwater levels and precipitation. . . . . . . . . 11.139 Example of the Define Characteristics Automatically window. . . . . . . . . . 11.140 Example of the Define Characteristics Automatically window. . . . . . . . . . 11.141 Time Series of computed groundwater levels with the RCH and EVT and the UZF package. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.142 Empirical relation between water content (θ ) and hydraulic conductivity K(θ) for different values for the Brooks-Corey Exponent (). . . . . . . . . . . . . 11.143 Time Series of computed groundwater levels for the combination RCH-EVT and the two variants with the UZF package. . . . . . . . . . . . . . . . . . . . . xiv . 710 . . . . . . 710 714 715 715 716 717 . . . . . . . . 718 719 720 721 722 723 726 727 . 728 . 729 . 730 . 731 . 733 . . . . . . 734 735 736 737 739 739 . . . . . . 742 743 744 745 746 747 . 748 . 749 . 750 Deltares List of Figures 12.2 12.3 12.4 12.5 12.6 12.7 12.8 12.9 DR AF 12.10 Unsaturated zone with Pn = nett precipitation, Ps = irrigation, E = evapotranspiration, V = soil moisture, Veq = soil moistureat equilibrium and Qc = rising flux. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 754 Example of the boundary conditions for a single layer (source McDonald and Harbaugh, 1988) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 755 Hydraulic layer parameters used in iMODFLOW . . . . . . . . . . . . . . . . 756 Conceptual schematization of a perched water table. . . . . . . . . . . . . . . 757 Conceptual schematization of a perched water table in a groundwater model. . . 758 Example of groundwater flow [q] for (a) isotropic and (b) anisotropic flow conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 761 Anisotropy expressed by angle ϕ and anisotropic factor f . . . . . . . . . . . 762 Example of (a) anisotropy aligned to the model network and (b) anisotropy nonaligned to the model network. . . . . . . . . . . . . . . . . . . . . . . . . . 763 Example of (a) flow terms in isotropic flow conditions and (b) flow terms in anisotropic flow conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . 763 Example of a horizontal flow barrier parameterization in case of a uniform model network consisting of model cells of 25 x 25 m. Based on the location of an irregular shaped fault line (white line) the cell faces (thick black lines) are identified where the conductance between the cells is adjusted using the parameter values of the fault line. The computed hydraulic heads (thin black contour lines) illustrate the local effects of the barriers on groundwater flow. . . . . . . . . . . 765 The same example as above, but now for a uniform model network consisting of model cells of 100 x 100 m. . . . . . . . . . . . . . . . . . . . . . . . . . 765 Principle of the RIV package (adapted from Harbaugh, 2005) . . . . . . . . . . 767 Principle of the General Head Boundary package (Harbaugh, 2005) . . . . . . 768 Example of the conductance (m2 /d) of a segment (red line) in an ISG file gridded on a model network. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 770 Example of the brush method; (left) showing the fractions for the first location of the brush; (right) showing the updated and new fractions when the brush is moved one row down. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 771 Example of different conductances for a segment in an ISG file gridded on different model network with and without local sub grid refinements and for different type of cross-sections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 772 Scheme of the implementation of the LAK package in iMOD. . . . . . . . . . . 773 Two partitioning methods for the Netherlands Hydrological Model based on weights as specified by the boundary grid. Left: uniform partitioning; right: recursive coordinate bisection partitioning. . . . . . . . . . . . . . . . . . . . 777 Example of the different behaviours in a common Φm (p) surface for different trust hyper spheres, purple=1000, green=100, red=10 and blue=2. Solid lines are Levenberg and dashed lines are Marquardt. . . . . . . . . . . . . . . . . 780 Sensitivity ratio of different parameters during the parameter estimation process. 785 Parameter adjustments in relation to the reduction of the objective function value.785 Computed run times for a single time step, for several different amount of nodes. The results are based on the simulation of the IBRAHYM model for 5843 time steps, and cell sizes varying in between 25m2 and 1000m2 . . . . . . . . . . . 788 Estimated critical time step (y-axis) for a porosity of S = 0.15 and different values for transmissivity (x-axis) and cell sizes (coloured lines) . . . . . . . . . 789 T 12.1 12.11 12.12 12.13 12.14 12.15 12.16 12.17 12.18 12.19 12.20 12.21 12.22 12.23 A.1 Overview of the processes modelled in SIMGRO. MetaSWAP (Van Walsum and Groenendijk, 2008) is used for the SVAT (Soil Vegetation Atmosphere Transfer) processes that are modelled within vertical columns. These column models are integrated with the groundwater model (MODFLOW) and a surface water model; for the latter there are several options, including a simplified metamodel that can be linked to form a basin network. . . . . . . . . . . . . . . . . . . . 807 Deltares xv DR AF T iMOD, User Manual xvi Deltares List of Tables List of Tables 11.1 11.2 11.3 11.4 11.5 DR AF T 11.6 11.7 11.8 11.9 Elevation of the island elements . . . . . . . . . . . . . . . . . . . . . . . . 629 Model requirements for a confined, steady-state three layered model. . . . . . 635 Adjust the following 2 parameters . . . . . . . . . . . . . . . . . . . . . . . . 646 Model requirements for a confined, steady-state three layered model. . . . . . 662 Manning’s Resistance Coefficients n (source: http://www.engineeringtoolbox. com/mannings-roughness-d_799.html) . . . . . . . . . . . . . . . 699 Parameters per Stream Segment. . . . . . . . . . . . . . . . . . . . . . . . 700 Modeling Parameters for the Lake Package. . . . . . . . . . . . . . . . . . . 718 Summary of Lake Water balance. . . . . . . . . . . . . . . . . . . . . . . . 724 Summary of water balance for the different model configurations for the unsaturated zone (uz ) and saturated zone (sz ). . . . . . . . . . . . . . . . . . . . 750 Deltares xvii DR AF T iMOD, User Manual xviii Deltares 1 Introduction Welcome to iMOD. This chapter gives a brief introduction to: 1.1 section 1.1: section 1.2: section 1.3: section 1.4: section 1.5: section 1.6: our motivation to develop iMOD, the iMOD approach of building groundwater models, iMOD’s main functionalities, the minimal system requirements, info on where to get help. some general info on Deltares. Motivation T Stakeholders (e.g. water companies, water boards, industrial users) and decision makers (e.g. municipalities, provincial governments) are increasingly participating in jointly developing numerical groundwater flow models that cover land areas of common interest. The reason for this is twofold: DR AF 1 minimize the undesired high costs of repeatedly developing individual - partly overlapping - models, and 2 facilitate stakeholder engagement participation in the model building process. In an effort to facilitate this the concepts of MODFLOW were used by Deltares to develop iMOD (interactive MODeling) to; 1 provide the necessary functionalities to manage very large groundwater flow models, including interactive generation of sub-models with a user-defined (higher or lower) resolution embedded in- and consistent with the underlying set of model data, and 2 facilitate stakeholder participation during the process of model building. A major difference, compared to other conventional modeling packages, is the generic georeferenced data structure that for spatial data may contain files with unequal resolutions and can be used to generate sub-models at different scales and resolutions applying upand down-scaling concepts. This is done internally without creating sub-sets of the original model data. For modelers and stakeholders, this offers high performance, flexibility and transparency. 1.2 The iMOD approach High resolution groundwater flow modeling, necessary to evaluate effects on a local scale, has traditionally been restricted to small regions given the computational limitations of the CPU memory to handle large numerical MODFLOW-grids. Although CPU-memory size doubles every two years (‘Moore’s law’) the restriction still holds from a hardware point of view. This restriction has traditionally forced a model builder to always choose between (1) building a model for a large area with a coarse grid resolution or (2) building a model for a small area with a fine grid resolution. For some time it appeared that finite element models could fill the gap by refining the grid only where hydrological gradients were anticipated. However, unanticipated stress may also occur in parts of the model area where the grid is not yet refined resulting in a possible undesired underestimation of these effects. Theoretically the modeler could choose to design a finite element network with a high resolution everywhere, but then it becomes more economic to use finite differences. This is why Deltares has based its innovative modeling techniques on MODFLOW considering it is largely seen world-wide as the standard finite difference source code. Still, modelers ideally need an approach that allows: (1) flexibility to generate high resolution model grids everywhere when needed, (2) flexibility to use or start Deltares 1 of 812 iMOD, User Manual with a coarser model grid, (3) reasonable runtimes / high performance computing and (4) conceptual consistency over time for any part of the area within their administrative boundary. Deltares has invested in understanding all of these requirements and has developed the iMOD software package to advance the methods and approach used by modelers and regulators. DR AF The iMOD approach: one input data set: T The development of the iMOD approach took off in The Netherlands in 2005 when Deltares and a group of 17 stakeholders decided to jointly build a numerical groundwater model for their common area of interest (Berendrecht et al., 2007, Vermeulen, 2013). The groundwater model encompasses the entire north of the Netherlands at a resolution of 25 x 25 m2 and was constructed together via an internet accessible user-interface. This makes it possible for the modelers to easily access the model data, intermediate results and participate in the model construction. The iMOD approach allows gathering the available input data to be stored at its finest available resolution; these data don’t have to be clipped to any pre-defined area of interest or pre-processed to any model grid resolution. Resolutions of parameters can differ and the distribution of the resolution of one parameter can also be heterogeneous. In addition, the spatial extents of the input parameters don’t have to be the same. iMOD will perform up- and down scaling (Vermeulen, 2006) whenever the resolution of the simulation is lower or higher than that of the available data. This approach allows the modeler to interactively generate models of any sub-domain within the area covered by the data set. When priorities change in time (e.g. due to changing political agenda’s) the modeler can simply move to that new area of interest and apply any desired grid resolution. In addition the modeler can edit the existing data set and / or add new data types to the data set. Utilizing the internal up- and down-scaling techniques ensures that sub-domain models remain consistent with the bigger regional model or that the regional model can locally be updated with the details added in the sub-domain model. Suppose the modeler needs to simulate groundwater flow for the total area covered by the 2 of 812 Deltares Introduction 1.3 Main functionalities T data set, but the theoretical size of the model is far too big to fit in any CPU-memory. iMOD facilitates generating sub models for parts of the whole area of interest with a user-defined resolution depending on how large the available CPU-memory is and how long the modeler permits her/himself to wait for the model calculations to last. To generate a high resolution result for the whole model domain a number of partly overlapping but adjacent sub models are invoked and the result of the non-overlapping parts of the models are assembled to generate the whole picture. The modeler should of course be cautious that the overlap is large enough to avoid edge effects, but this overlap is easily adjustable in iMOD. A big advantage of this approach is that running a number of small models instead of running one large model (if it would fit in memory, which it often will not) takes much less computation time; computation time (T) depends on the number of model cells (n) exponentially: T = f(n1,5−2,0 ). The approach also allows the utilization of parallel computing, but this is not obligatory. Using this approach means that the modeling workflow is very flexible and not limited anymore by hardware when utilizing iMOD. DR AF The capability of iMOD to rapidly view and edit model inputs is essential to build effective models in reasonable timeframes. The rapid and integrated views of the geologic / hydrostratigraphic models as well as dynamic model output is critical for the public, stakeholders and regulators to understand and trust the model as a valid decision support tool. iMOD is fast even when working from very large data files because it uses a random accessible data format for 2D grids which facilitates instant visualization or editing subsets of such a large grid file. Also iMOD contains very economic zoom-extent-dependent visualization techniques that allow subsets of grids being visualized instantaneously both in 2D and 3D. Another feature is that iMOD generates MODFLOW input direct in memory, skipping the time-consuming production of standard MODFLOW input files (generating standard MODFLOW input files in ASCII format for large transient models may take hours to a full working day); this efficiency is especially useful during the model building phase when checking newly processed or imported data. iMOD includes the MetaSWAP-module developed by Wageningen Environmental Research (Alterra); for references to the separate MetaSWAP-documentation see section A.1.8. 1.4 Minimal System Requirements iMOD works on IBM-compatible personal computers equipped with at least: a Pentium or compatible processor; 512 MB internal memory (2,045MB recommended); 100 MB available on the hard disk (10GB is recommended in case large model simulations need to be carried out); A graphics adapter with 32 MB video memory and screen resolution of 800-600 (256MB video memory and a screen resolution of 1024x768 is recommended). Moreover, a graphical card that supports OpenGL (OpenGL is a trademark of Silicon Graphics Inc.), such as an ATI Radeon HD or NVIDIA graphical card is necessary to use the 3D rendering. Please note: it is permitted to install the Model System on a different Hardware Platform as long as it is a computer with similar minimum features as listed above. The transfer of the Model System to a dissimilar computer may endanger the working of the Model System and require adjustments in the Configuration. iMOD can run on 64-bits systems, but iMOD itself is 32-bits. iMOD supports 32- and 64-bit machines working under the following platforms: Windows XP / Server 2003 / Vista Business Deltares 3 of 812 iMOD, User Manual / Vista Ultimate / Server 2008 / 7 . 1.5 Getting Help Take a look at http://oss.deltares.nl/web/imod. Any questions? Contact the help-desk imod.support@deltares.nl. 1.6 Deltares Acknowledgements The development and enhancement of iMOD functionality is project-based. This section lists these project-based developments and specifies its funding and organisations Deltares has collaborated with during the implementation. DR AF 1.7 T Since January 1st 2008, GeoDelft together with parts of Rijkswaterstaat-DWW, -RIKZ and RIZA, WL | Delft Hydraulics and a part of TNO Built Environment and Geosciences are forming the Deltares Institute, a new and independent institute for applied research and specialist advice. For more information on Deltares, visit the Deltares website: www.deltares.nl. Functionality iMOD Maintenance & Support & iMOD-Helpdesk In 2013 a group of five iMOD-consortia started the project "iMOD Beheer en Onderhoud, Helpdesk en Website" initiating and (co-)financing a coordinated further development of iMOD and enhanced maintenance and support. The current iMOD-consortia are AMIGO, AZURE, IBRAHYM, MIPWA and MORIA; info on the members of each iMOD-consortium can be found here. MetaSWAP iMOD includes the unsaturated zone MetaSWAPmodule which covers the plant-atmosphere interactions and soil water. MetaSWAP is based on a quasi steadystate solution of the Richards equation. MetaSWAP is developed by Wageningen Environmental Research (Alterra) and was (among others) financed by The Netherlands Hydrological Instrument. For references to the MetaSWAP-documentation see section A.1.8. MODFLOW-MetaSWAP coupling The coupling of MODFLOW and MetaSWAP was created in a collaboration between Deltares and Wageningen Environmental Research (Alterra) and was (among others) financed by The Netherlands Hydrological Instrument. 4 of 812 Funding Implementation iMOD-CGO consortia . Deltares Introduction Funding Implementation MIPWA consortium MIPWA consortium DR AF T Functionality Quick Scan Tool The MIPWA consortium initiated and funded the QuickScan Tool which is an instrument to efficiently compute effects on groundwater levels and seepage fluxes to- and from drainage systems using a so-called Impulse-Response Database. This database stores pre-computed effects of several measures which can be combined in the QuickScan Tool using the principles of superposition. Perched Water Table package The MIPWA consortium initiated and funded the development of the Purged Water Table (PWT) Package. With this package purged water table conditions can be simulated occurring on shallow (clayey) aquitards with a significant vertical resistance. The initial concept was developed in collaboration with Wageningen Environmental Research (Alterra). 3D Tool Waternet funded the development of the first version of the 3D Tool allowing an interactive 3D visualization of the subsurface in combination with the (lithostratigraphy) of boreholes. GeoConnect Tool The GeoConnect Tool allows the modeller to define and utilize permanent links between 1) the (unassembled) geologic layers (incl. its properties) and 2) the aggregated model layers. With the GeoConnect Tool you can re-calculate the hydraulic conductivities of a model layer after adapting the individual weights of each contributing geological layer. The development of was funded by the IBRAHYM concortium (Waterschap Limburg, Provincie Limburg, Waterleiding Maatschappij Limburg). ISG The IBRAHYM consortium initiated the development of the concept of line elements (vector format) as a basis to discretize streams as an alternative for grid based parameterization. This yielded considerable data handling efficiency and much more flexibility when parameterization for different model grids sizes. It also facilitated more user-friendliness regarding inspecting and editing the stream data. Runfile Editor & Plug-In Tool The project manager was extended to support editing of a runfile and project files. Also the iMOD-GUI was extended with Plug-In functionality allowing to invoke external programs in the iMOD-GUI using iMOD files. These functionalities were funded by the iMOD-CGO group. Deltares IBRAHYM consortium IBRAHYM consortium iMOD-CGO consortia 5 of 812 iMOD, User Manual Functionality Parallel Krylov Solver Package Deltares, USGS and Wageningen Environmental Research (Alterra) together with Utrecht University and Technical University Delft have developed the new parallel solver package for iMOD called PKS (Parallel Krylov Solver). It is based on overlapping domain decomposition combining both the techniques of MPI and OpenMP. Implementation IBRAHYM consortium T 3D-assignment of fault-lines Extension and improvement of the 3D-parameterization of faults in the Horizontal Flow Barrier package. This extension was funded by the IBRAHYM-consortium led by the Province of Limburg. Extension of the water balance tool The extension of the water balance tool (released in iMOD 4.2) was created in a collaboration between Deltares and Tauw and financed by the Dutch iMODCGO group; it allows visualization (interactive stackbars time series plots and schematic vertical crosssectional overviews) of water balances for sub-regions and contains several time-aggregation possibilities (e.g. averages per year, month and season). Fence diagrams & Deviated wells The 3D Tool was extended with an option to interactively create so-called fence-diagrams by using clipping planes along the major Euclidian axes. The 3D Tool was also extended with the option to visualize deviated wells. These developments were funded by the Alberta Energy Regulator | Alberta Geological Survey and came available starting from the iMOD 4.2 release. Funding DR AF iMOD-CGO consortia 6 of 812 Deltares 2 Getting Started This chapter describes: section 2.1: How to obtain the Deltares-software executables of iMOD. section 2.2: How to install iMOD. section 2.3: How to get and install third-party MPI software. T iMOD 4.3 includes the new Parallel Krylov Solver (PKS) Package. This package facilitates running (large) iMOD models on Windows-based multi-core computers potentially resulting in a drastic reduction of runtimes. The PKS-package is a new alternative next to the current single-core PCG-solver. The modeller of course is not required to apply the new PKS-package, however, in iMOD 4.3 it is easy to switch between the single- and multi-core solver. In iMOD 4.3 the LAK-, MNW-, PST-, SFR- and UZF-packages are not supported by the PKS-package; when an iMOD-model contains one or more of these package the singlecore PCG-solver package has to be used. DR AF The PKS-package can be used on Windows-based 64-bits systems only. Please note that the PKS package can be used for iMOD models that contain the MetaSWAPconcept. This potentially gives another boost to the speed of model simulations containing an iterative state-of-the-art coupling between the saturated and unsaturated zone. The PKS package uses Message Passing Interface (MPI) software. Hence, prior to using the PKS-package MPI-software should be installed on your computer too; section 2.3 describes how to get and install the MPI-software. However, if you are not going to use the PKS-package you are not required installing the MPI software and you can skip section 2.3 all together. The other sections focus on how to operate iMOD and how new users can familiarize themselves with iMOD: section 2.4: section 2.5: section 2.6: section 2.7: section 2.8: section 2.9: a 3D-appetizer. how to start iMOD after installation. the Main Menu options. how to specify your preferences. how to specify your colours. some Tips and Tricks. Additionally, the Tutorials in chapter 11 provide a selection of iMOD case studies to introduce the program’s functions. New iMOD users are advised to use the Tutorials to familiarize themselves with iMOD. Deltares 7 of 812 iMOD, User Manual Get the Deltares-software executables of iMOD To get the latest release of the Deltares-software executables of iMOD, please submit the form ’Request form for the Deltares-software executables of iMOD’, see http://oss.deltares.nl/web/imod/get-started. By submitting this form you are requesting for the use of the Deltares-software executables of iMOD. iMOD is Deltares-software; the source code of iMOD is also available as free open source software at oss.deltares.nl. You may use the Deltares-software executables of iMOD without any remuneration to be paid to Deltares if you accept the iMOD Software License Agreement (iMOD License) which is offered to you as a PDF-file, see http://oss.deltares.nl/web/iMOD/iMOD_Software_License_Agreement. T Please go to the PDF-file of the iMOD License, read it and decide whether you want or do not want to accept the iMOD License. Without your acceptance of the iMOD License the use of the Deltares-executables of the iMOD-software is prohibited and illegal. The iMOD software is distributed in the hope that it will be useful, but WITHOUT ANY GUARANTEE OR (IMPLIED) WARRANTY. Any use of the Deltares-executables of the iMOD-software is for your own risk. See the iMOD License for more details. DR AF 2.1 For more info, please contact: Stichting Deltares, P.O. Box 177, 2600 MH Delft, The Netherlands. Email: imod.support@deltares.nl. After your submitted request (section 2.1) was processed successfully you received an email with details on how to download the Deltares-executables of iMOD; this email contains the required download-password. Please perform the following steps: 1 Browse to https://download.deltares.nl. 2 Click the iMOD-icon. 3 Download the file ‘iMOD 4.3 Installation Instructions.pdf‘: enter the download-password sent to you in the above mentioned email and click the ’Download’-button. 4 Download the file ‘iMOD 4.3.zip‘: enter the download-password sent to you in the above mentioned email and click the ’Download’-button. 5 Unzip the file ‘iMOD 4.3.zip‘. After unzipping the file ‘iMOD 4.3.zip you will have the following 3 files: 1 iMOD 4.3 Installation Instructions.pdf: the iMOD installation instructions. 2 iMOD_setup_V4_3.exe: an installation program that: determines whether you are installing iMOD on a 32-bit or on a 64-bit system (by processing the output of the DOS-command ’systeminfo’) determines your default PDF-viewer, if available. calls the self-extracting archive iMOD_zipped_V4_3.000, creates an initial IMOD_INIT.PRF preference file, installs the Tutorial Data Set. 3 iMOD_zipped_V4_3.000: a self-extracting archive containing the following files and directory: iMOD_V4_3_X32R.exe: the iMOD-GUI for 32-bit systems. iMOD_V4_3_X64R.exe: the iMOD-GUI for 64-bit systems. iMODFLOW_V4_3_X32R.exe: iMODFLOW excl. MetaSWAP, for 32-bit systems. iMODFLOW_V4_3_METASWAP_SVN1233_X64R.exe: iMODFLOW including MetaSWAP for 64-bit systems. The MetaSWAP-module is de- 8 of 812 Deltares Getting Started DR AF T veloped by Wageningen Environmental Research (Alterra); for references to the separate MetaSWAP-documentation see section A.1.8. netcdf.dll: a NetCDF-library. fmpich2.dll, mpich2mpi.dll and mpich2nemesis.dll: MPICH 1.4.1p1 libraries necessary for PKS. run_test_mpi_installation.bat, test_mpi_installation.exe: a test to check a MPI-installation. USGS Software User Rights Notice.txt: a copy of the USGS Software User Rights Notice. iMOD_User_Manual_V4_3.pdf: the iMOD User Manual, in PDF-format. iMOD_Software_License_Agreement_V4_3.pdf: the PDF-file of the iMOD License. the files and folders of the iMOD Tutorial Data Set. Deltares 9 of 812 iMOD, User Manual Installation of iMOD To install iMOD please perform the following steps: 1 Make sure you have read-, write and execute rights in the directory you want to install iMOD in. You also need read- and write rights to create sub-directories and to create, read and write files. Note: Starting from iMOD version 3.2 you only need execute-rights for {installfolder} after iMOD has been installed and the iMOD-GUI has been invoked once allowing iMOD to generate the file ’I_accepted_V4_3.txt’ in {installfolder}; the file ’I_accepted_V4_3.txt’ is generated when the user selects the option ’I Accept’ during first time use in the iMODGUI. T Until iMOD version 3.01 the iMODFLOW-executable was always copied to the actual modelrunfolder and the iMOD-GUI invoked the iMODFLOW-executable copied to that modelrun-folder; starting from version iMOD 3.2 the iMODFLOW-executable is still copied to the modelrun-folder for archiving purposes, however, the iMOD-GUI invokes the iMODFLOW-executable as defined by the keyword ’MODFLOW’ in the preference file. Note: Administrators who wish to assign execute-rights only to {installfolder}, please invoke the iMOD-GUI once and follow the ’I Accept’-procedure to allow iMOD to write the file ’I_accepted_V4_3.txt’ in {installfolder}; once the file ’I_accepted_V4_3.txt’ is present in {installfolder} iMOD only needs execute-rights for {installfolder}. DR AF 2.2 During installation no additional access rights are required for other directories; after installation when you start using iMOD you of course need access rights for your to be created iMOD project-files and -directories. Note: The installation of iMOD does NOT require write access to the Windows Registry, in other words, the installation of iMOD does not make any changes in the Windows Registry. 2 Create and go to a new (sub-)directory or go to an existing EMPTY directory where you want to install iMOD. Note: In this user manual {installfolder} refers to the full path of the directory you installed iMOD in (e.g. D:\iMOD). 3 Move the files ’iMOD_setup_V4_3.exe’ and ’iMOD_zipped_V4_3.000’ to {installfolder}, e.g. to D:\iMOD. 4 In {installfolder} double-click the file ’iMOD_setup_V4_3.exe’ from the Windows Explorer, or start a ’Windows Command Processor’-box in {installfolder}, type ’iMOD_setup_V4_3’ and press Enter. If the archive ’iMOD_zipped_V4_3.000’ is not present, the setup will stop. 5 The setup will first determine 1) whether you are installing iMOD on a 32-bit or 64-bit system (using the DOS-command ’systeminfo’) and 2) which default pdf-viewer is available, if any. After that, the Windows Command Processor box looks similar as below (and a pop-up window appears, see step 6): 10 of 812 Deltares T Getting Started DR AF In the preference file IMOD_INIT.PRF (see step 7 below) the keyword ’MODFLOW’ will be assigned the 64-bit or the 32-bit version of the iMODFLOW-executable respectively (64-bit versions of Windows became available starting from Windows XP). If during setup your Windows Operating System Type could not be determined the setup uses 64-bit as a default. If during setup no default PDF-viewer is detected the keyword ACROBATREADER can be specified in the file IMOD_INIT.PRF manually, see step 7 below. 6 In this step the self-extracting the archive ’iMOD_zipped_V4_3.000’ is invoked and the following window appears; do NOT CHANGE the name of the {installfolder} and click the ’OK’-button; the archive will unzip. After the archive ’iMOD_zipped_V4_3.000’ has finished self-extracting (it may take a while to extract more than 3300 files...) also a new sub-folder TUTORIALS has been created in {installfolder}, containing a sub-folder for each individual tutorial: .\TUT_Map_Display .\TUT_Data_Map_Oper .\TUT_Map_Analyse .\TUT_Initial_Modeling .\TUT_Solid_Building .\TUT_Model_Simulation .\TUT_IPS .\TUT_SFR .\TUT_LAK .\TUT_MNW .\TUT_UZF Deltares 11 of 812 iMOD, User Manual 7 An initial iMOD preference file IMOD_INIT.PRF has been generated, including the keywords ’USER’, ’HELPFILE’, ’ACROBATREADER’, ’MODFLOW’ and ’DBASE’. For more keywords please have a look in Section 9.1. For the examples used above the content of the IMOD_INIT.PRF-file looks like this: USER "d:\iMOD\IMOD_USER" HELPFILE "d:\iMOD\iMOD_User_Manual_V4_3.pdf" ACROBATREADER "c:\Program Files (x86)\Adobe\Reader 11.0\ Reader\AcroRd32.exe" MODFLOW "d:\iMOD\iMODFLOW_V4_3_MetaSWAP_SVN1233_X64R.exe" DBASE "d:\iMOD" T 8 You have now completed the installation of iMOD: and if in step 2 you invoked the setup by a double-click, the Windows Command Processor-box will now be closed. or and if in step 2 you invoked the setup by typing ’iMOD_setup_V4_3’ from a manually opened ’Windows Command Processor-box’, after pressing Enter the box will look similar (depending on your {installfolder}) to this: DR AF When you press Enter, the iMOD-GUI will start. Or when you type ’N’ and press Enter: The installation of the iMOD software is now completed. Note: To be able to use the Parallel Krylov Solver (PKS) package additional third party MPI software needs to be installed first, see the next section. 12 of 812 Deltares Getting Started 2.3 Installation of MPI software iMOD 4.3 includes the Parallel Krylov Solver (PKS) package. The Parallel Krylov Solver (PKS) package facilitates running (large) iMOD models on Windows-based multi-core computers potentially resulting in a drastic reduction of runtimes. This package uses Message Passing Interface (MPI) software. Hence, prior to using the PKS-package MPI-software should be installed on your computer too. 2.3.1 Limitations T The PKS package was implemented for the 64-bit version of iMODFLOW (see Step 5), so the PKS package can be used on Windows-based multi-core 64-bit computer systems, for example on Windows-based laptops and desktops containing Intel CORE i5 or i7 processors or on Windows-based multi-core 64-bit supercomputers. 2.3.2 DR AF In iMOD 4.3 the LAK-, MNW-, PST-, SFR- and UZF-packages are not supported by the PKSpackage; when an iMOD-model contains one or more of these package the single-core PCGsolver has to be used. So, the PKS-package can be used in combination with the remaining MODFLOW-packages implemented in iMOD; please note that the PKS package can also be used for iMOD models containing the MetaSWAP-concept; this potentially gives another boost to the speed of model simulations containing an iterative state-of-the-art coupling between the saturated and unsaturated zone. Installation steps for the MPI software The 64-bit iMODFLOW-executable uses the 64-bit MPICH (1.4.1p1) implementation for MPI, hence the following MPI software http://www.mpich.org/static/downloads/1. 4.1p1/mpich2-1.4.1p1-win-x86-64.msi should be installed prior to using the PKS package. Note: In order to install the MPI software correctly, you should do this as Administrator: Download the appropriate MPI software. Open the Command Prompt as administrator by: Start → (Search programs and files) cmd → right mouse click → Run as administrator In the MS-DOS-box named Administrator: Command Prompt: msiexec /i mpich2-1.4.1p1-win-x86-64.msi Follow the instructions of the MPI-installer. 2.3.3 Checking your MPI-installation We included a general test-program that allows you to check whether the installation of the MPI-software was successful. To perform this check please do the following: Go to your {installfolder}, e.g. to D:\iMOD. Open the batch-file ’Run_test_mpi_installation.bat’ in an ascii-editor. In line 2, adjust the reference to the folder and name of the installed MPI-executable, e.g. set mpi "C:\Program Files\MPICH2\bin\mpiexec.exe" Save the batch-file and close the ascii-editor. Open a ’Windows Command Processor’-box. Type ’Run_test_mpi_installation.bat’ and press Enter. Deltares 13 of 812 iMOD, User Manual A test is performed using 2 cores; when the test is successful the following message appears: echo of core 0 echo of core 1 T and the ’Window Command Processer’-box should look similar to this: Please contact your system administrator for help on installing MPI. Info on how to use the PKS-package It is very easy to adapt existing (pre-iMOD 4.0)-runfiles (*.RUN) for the use of the PKSpackage; for more info, see section ’Updating a runfile from iMOD 3.6 to iMOD 4.0’ in section 10.20.6 of the iMOD User Manual. DR AF 2.3.4 The PKS-package can be configured in the ’Solver Settings’-tab of the ’Start Model Simulation’window of the main menu option ’Tools’; for more info see the iMOD User Manual, section 7.9. Once the PKS-package has been configured, there are two ways to start a multi-core model simulation: 1 Inside the iMOD-GUI: see section 7.9 (’Model Simulation’) of the iMOD User Manual. 2 Outside the iMOD-GUI by typing the appropriate command at the DOS-prompt in a ’Windows Command Processor’-box; here’s an example of how to start a multi-core model simulation from outside the iMOD-GUI by entering the following command in a ’Windows Command Processer’-box: mpiexec.exe -localonly 2 iMODFLOW.exe iMODFLOW.run In this example MPI launches two processes of iMODFLOW.exe instances on two computational cores, meaning that the model runs using two subdomains. The -localonly option ensures that you should not necessarily have to be connected to your network for running with MPI. For more detailed info, see section 10.21 (’Start Model Simulation’) of the iMOD User Manual. Tutorial 6 (section 11.6) contains an excercise on how to run your model using the PKS package. You are now set to start iMOD; after completing this chapter new iMOD-users are encouraged to proceed with the tutorials (chapter 11 of the iMOD User Manual). As a 3D-appetizer consider trying to run and visualize one of the pre-defined tutorial models: follow the steps as described in the next section. 14 of 812 Deltares Getting Started A 3D-appetizer... As an appetizer let’s try to run and visualize one of the pre-defined tutorial models in 3-D right away by performing the following steps: T 1 If you chose ’N’ in the previous step, start iMOD as described in section 2.5. 2 Read and decide whether or not you accept the term and conditions of the iMOD License Agreement. 3 Assuming you accept, click ’Yes, I Accept’ and click ’OK’ 4 When the ’iMOD Start’ window appears, click the ’Start’ button. 5 In the main menu click ’Toolbox’, and click ’Start Model Simulation ...’, the following window appears, displaying the presence of the runfile ’ISLAND.RUN’: DR AF 2.4 6 Select the tab ’Result Folder’ and type a to be created output folder name, e.g. ’TEST’: 7 Click the button ’Start Model Simulation’ and click ’Yes’ in the confirmation pop-up window to start the MODFLOW run; a Windows Command Processor box appears echoing the MODFLOW in- and output process: Deltares 15 of 812 DR AF T iMOD, User Manual followed by an information window: 8 Click ’Ok’ in this information window, and ’Close’ in the ’Start Simulation Model’-window. 9 To visualize the calculated groundwater head in 2D, in the main menu click ’Map’ and ’Quick Open ...’; the following window appears: 16 of 812 Deltares Getting Started 10 11 12 13 14 15 16 DR AF T 17 In the ’Topic’-list, choose ’HEAD’. In the ’Layer’-window, click at least one layer, e.g. layer 1. Select ’Zoom to full extent’. Click the ’Open’-button to visualize the calculated heads of layer 1 of tutorial 4; click the ’Close’ button. Optionally, you can redraw the map using different colours by choosing ’Map’ in the main menu, followed by selecting ’Entire extent’ and clicking on ’percentiles’. To visualize these groundwater levels in 3D right away, select ’Toolbox’ in the main menu and choose ’3D Tool ...’; click ’Apply’ to use the default settings. In the ’3D Plot Settings’-window, in the ’Colouring’ sub-window choose the ’Use Colouring defined in Legend for:’-option to re-use the legend-colours of the 2D-map. Change the 3D-view by dragging over the 3D-map while you keep pressing the left-, middle- or right mouse button. The 3D-map could look something like this: 18 Optionally, in the 3D Tool change the Horizontal / Vertical ratio by selecting in the 3D Tool menu bar the option ’View’ and select ’Horizontal / Vertical Ratio’ followed by the choosing your preferred ratio. 19 Congratulations, you just visualized your first iMOD-model! You are now set to continue exploring iMOD; after completing this chapter new iMOD-users are encouraged to proceed with the tutorials (chapter 11). Deltares 17 of 812 iMOD, User Manual Starting iMOD To start iMOD, click Start on the Windows menu bar and fill in the location and name of the executable: {installfolder}\iMOD_V4_3_X64R.EXE, e.g. D:\iMOD\iMOD_V4_3_X64R.EXE or C:\program files\iMOD_V4_3_X64R.EXE, or double-click on the executable from the Windows Explorer. The Start iMOD window will appear. T Start iMOD window: DR AF 2.5 Create a New iMOD Project Open an existing iMOD Project Sort by: Select this option to refresh the iMOD session and release all memory and maps from previous sessions and start iMOD with an empty drawing list. Select this option to start iMOD with an iMOD configuration saved by a previous iMOD session. Those configurations are stored in *.IMF files and those listed are found in the folder {USER}\IMFILES. Use the wildcard to select a part of existing *.IMF files in the menu field. Use wildcards as ”*“ (any sign) and ”?¿‘ (any two characters) for specific selections, e.g. *A_??*. The search will be case insensitive and the extension IMF will be added to it automatically. Leaving out any wildcard will act as ”*.IMF“. Open an IMF-file Select and search an *.IMF-file from a different location than those presented in the menu. Information of an IMF-file Click this button to open the selected *.IMF-file in a regular text-editor (Notepad) for inspection or adjustments. Delete an IMF-file Click this button to delete the selected *.IMF file from disk. After that, no recovery is possible. Select one of the following to sort the list of IMF files: Name Select this to sort the IMF file by Name (case insensitive); Date Select this to sort the IMF file by Date/Time, youngest will be appearing on top of the list; Size Select this to sort the IMF file by Size (largest first). Preferences . . . Start 18 of 812 Click this button to open the Preferences Window. Click this button to start iMOD with the selected *.IMF file or with an empty drawing list. Deltares Getting Started Stop Help. . . Click this button to stop iMOD Click this button to start the iMOD Help Functionality. Note: iMOD can be started in different ways, alternatively: {installfolder}\iMOD_V4_3_X64R.exe will start a regular iMOD session {installfolder}\iMOD_V4_3_X64R.exe *.IMF will start an iMOD session and read the supplied *.IMF directly; {installfolder}\iMOD_V4_3_X64R.exe *.IDF T will start an iMOD session and read the supplied *.IDF-file directly. This works for *.MDF, *.ASC, *.GEN, *.IFF, *.IPF, and *.ISG-files; {installfolder}\iMOD_V4_3_X64R.exe *.INI will read the supplied *.INI file. These *.INI files contain specific functionalities of iMOD that can be executed without starting the graphical interface, see chapter 8 for a list and description of all these available functionalities. 2.6 DR AF In the examples above the iMOD executable iMOD_V4_3_X64R.exe was used; alternatively the 32-bit version of the iMOD executable can invoked, see section 2.2. Main Window When iMOD is started, the iMOD Main window is displayed: Important to notice that the graphical canvas can be modified, the location of the axes can be changed, as well as the position and size of the scale bar. Whenever the position of the mouse is near the current axes, the axes highlights in red and the cursor changes. At that moment, selecting the left-mouse button, it is possible to drag the axes. This is similar to the resizing and positioning of the scale bar. Deltares 19 of 812 DR AF T iMOD, User Manual The settings of the modified axes and scale bar are saved in the IMF file. Reopening an IMF file will show the modified axes and scale bar. The advantage of repositioning the axes is the ability to closely match the size of the current visible map, sush as a square IDF file. Furthermore, this window contains a menu bar, an icon bar and information displayed on the window status bar. 20 of 812 Deltares Getting Started 2.6.1 Menu Bar To access the iMOD menus, click the menu names on the menu bar, or alternatively use Alt+. Menu bar: Edit View Map Toolbox DR AF Help . . . Standard Windows options for saving and opening iMOD MetaFile (*.IMF), export the content of the graphical area. This contains a limited set of features to create iMOD Files, such as IDFs out of IPF’s, IFF’s and GEN-files. This contains functionalities to copy the content of the graphical area onto the Clipboard of Windows and a variety of manners to display data. This menu option offers the ability to open iMOD maps and configure their appearance. A variety of tools are available, e.g. Cross-Section Tool, WaterbalancingTool, ModelingTool, and more, but also an ImportTool for MODFLOW and SOBEK model configurations. Starts the Help-file (if available in the selected *.PRF file). T File Detailed descriptions of these menu options can be found in the Reference section. 2.6.2 Icon Bar Use the buttons on the iMOD Icon bar to quickly access frequently used functions. Icon Bar: New: Start a new iMOD Project (*.IMF-file) Open Open an existing iMOD Project (*.IMF-file) Save Save the current configurations (maps) in the last saved *.IMF file SaveAs Save the current configurations (maps) in a new *.IMF file Copy Click this icon to copy the entire content of the graphical area onto the Clipboard of Windows. iMOD-Manager Click this icon (checkbox) to start or hide (if shown) the iMOD-Manager window. OpenMap Click this icon to open an existing iMOD Map, such as *.IDF, *.IPF, *.ISG, *.IFF, *.GEN, *.NC, *.MAP ZoomIn Click this icon to zoom IN on the centre of the current graphical dimensions. ZoomOut Click this icon to zoom OUT on the centre of the current graphical dimensions. Deltares 21 of 812 iMOD, User Manual DR AF T Go Back to Previous Extent Click this icon and the map will return to the previous map extent and view. This view becomes the last view automatically whenever any other zoom button will be used. Go to Next Extent Click this icon and the map will go to the next extent viewed after the current view. This option becomes available whenever the Zoom to Previous Extent button has been selected priorly. ZoomRectangle Click this icon to zoom in for a rectangle to be drawn. Use your left-mouse button to determine the lower-left corner of the rectangle, click again for the upper-right corner (or vice-versa). ZoomFull Click this icon to zoom in on the entire extent of the selected maps on the tab Maps on the iMOD Manager or on the selected overlay Maps in the tab Overlay on the iMOD Manager. Move Click this icon to move the current display. Click the left-mouse button on that location where you want to move from, repeat this after the display has been refreshed (automatically). Use the right mouse button to stop the moving process. Cross-Section Tool Click this icon to start the Cross-Section Tool for all the maps selected on the tab Maps from the iMOD Manager Window. 3DTool Click this icon to start the 3DTool for all the maps selected on the tab Maps from the iMOD Manager Window and those selected on the tab Overlays from the iMOD Manager. TimeSerie Tool Click this icon to start the TimeSerie Tool for all the IDFs (timevariant) and IPFs (with associated files assigned to them) selected on the tab Maps from the iMOD Manager Window. Topographical Overlay Click this icon to display the default topographical overlay as defined by the KeyWord TOP25 in the selected *.PRF-file or display the overlays (*.BMP, *.png) as defined by the menu option Add Background Image. MapInfo Click this icon to start the MapInfo window to analyse the dimensions of IDFs, IPFs, IFFs, and GENs. For IDFs additional statistics and meta-information can be viewed too. DistanceTool Click this icon to start the distance tool where you can specify the location where to measure from, by clicking your left-mouse button. Intermediate points can be added by clicking your left-mouse button repeatedly. To stop the process, click your rightmouse button. Detailed descriptions of these menu options can be found in the Reference section. 22 of 812 Deltares Getting Started Popup Menu Right-click anywhere in the canvas of the graphical window to open the popup menu. This menu presents several options. The options might be unavailable because no correct file(s) are selected in the iMOD Manager. DR AF T Popup menu: IDF-options IDF Analyse, Click this option to get an overview of the analyse options (see section 6.7.1). ◦ Analyse . . . , Click this option to start Map Value. ◦ Plot No Locations, Check this item whenever no rastercells of the selected IDF-file need to be displayed. ◦ Plot All locations, Check this item whenever the rastercells of all selected IDF- ◦ ◦ ◦ ◦ ◦ 2.6.3 files need to be displayed. Bear in mind that the performance will slow down whenever many IDF-files are included, and if IDF-files with non-equidistant rasters are included. Whenever this option is checked, all values in Map Value will be coloured differently. Plot First Location Only, Check this item whenever the raster cells of the first IDFfile listed in the Map Value table, need to be displayed. This is the default. Points, Check this item whenever the values for the current location of the mouse need to be listed. This is the default. Rectangle, Check this item whenever the values need to be summed within a rectangle that you can draw. Use the left mouse button to locate the first position of the rectangle and the left/right mouse button to stop and close the Map Value window. Polygon, Check this item whenever the values need to be summed within a polygon that you can draw. Use the left mouse button to locate the first position of the polygon and continue to add more points (as desired) to complete the polygon. Use the right mouse button to stop and close the Map Value window. Circle (not available in current release), Check this item whenever the values need to be summed within a circle that you can draw. Use the left mouse button to locate the first position of the circle and expand the size of the circle while moving the mouse pointer away from the first position (center of the circle). Click again on your left mouse button to stop and close the Map Value window. IDF Calculate, Click this option to start the Map Calculator (see section 6.7.3). IDF Edit, Click this option to start Map Edit (see section 6.7.4). Deltares 23 of 812 iMOD, User Manual IDF Group, Click this option to group selected IDF-files (see section 6.5). IDF Ungroup, Click this option to ungroup selected MDF-file (see section 6.5). IDF Export, Click this option to export the selected IDF-files (see section 6.7.2) to: ◦ ESRII ASCII Format ◦ NetCDF Format IPF-options IPF Analyse, Click this option to startIPF Analyse (see section 6.8.3). IPF Extract, Click this option to start IPF Extract (see section 6.8.4). IPF Configure, Click this option to start IPF Configure (see section 6.8.1). IFF Configure, Click this option to start IFF Configure (see section 6.9.1). ISG-options T IFF-options ISG Configure, Click this option to start ISG Configure (see section 6.10.1). ISG Edit, Click this option to startISG Edit (see section 6.10.3). ISG Show, Click this option to define the shown attributes (see section 6.10.2): DR AF ◦ Nodes, Click this option to display nodes of ISG-segments; ◦ Segments Nodes, Click this option to display begin- and end-nodes of the ISGsegments; ◦ Cross-sections, Click this option to display the position of cross-sections on ISGsegments; ◦ Calculation nodes, Click this option to display the location of calculation nodes of ISG-segments; ◦ Structures, Click this option to display the location of structures of ISG-segments; ◦ QH-relationships, Click this option to display the location of QH-relations on ISGsegments. GEN-options GEN Configure, Click this option to start GEN Configure (see section 6.11.2). GEN Extract, Click this option to start GEN Extract (function not implemented). Legend Plot Legend on Map, Click this option to display the legend on the graphical window (see section 6.6.4) Legend Columns 1 2 3 4 5 Click this option to display the legend in a single column; Click this option to display the legend in two columns; Click this option to display the legend in three columns; Click this option to display the legend in four columns; Click this option to display the legend in five columns; Adjust Legend, Click this option to open a window to adjust the legend (see section 6.6.1) Synchronize Legend, Click this option to synchronize legends, see section 6.6.3. Current Zoom Level Click this option to create a legend based on the values for the current zoom level (see section 6.6.2): Percentiles, Click this option to create a legend with non-linear values, Linear, Click this option to create a legend with linear values, Unique Values, Click this option to create a legend with unique values, 24 of 812 Deltares Getting Started Entire Zoom Extent Click this option to create a legend based on the values of the current zoom level (see section 6.6.2): Percentiles, Click this option to create a legend with non-linear values, Linear, Click this option to create a legend with linear values, Unique Values, Click this option to create a legend with unique values, Tag Zoom Click this option to zoom to the selected Tags (Comments) Mask Zoom Click this option to zoom onto the last *.MSK file loaded. 2.6.4 Window Status Bar DR AF Window Status bar: T The status bar of the iMOD main window contains several elements to be considered. X: . . . . m Y: . . . .. m X:6/Y:6 mv_25.IDF 2.6.5 Current Mouse Coordinates The coordinates of cursor in the map are displayed in the lower left of the window. The units for the values on the X and Y axis are given in the coordinates of the system in which one is currently working. In the case of Dutch data, this is the National Triangulation System. In principle it is possible to read files in another system (if the system is projected, such as the National Triangulation System, for flat surfaces). RasterDisplayResolution This element on the status bar shows the accuracy of the displayed IDF-file. Since these IDF-files can be enormous in size, iMOD will decline the number of data read as the zoom level is increased. In such a manner, iMOD can display these enormous IDFs raster files quickly. For IDF-files that have nonequidistant cellsizes, iMOD needs to read all data. Consequently, these type of IDFs will be slower in presentation than the equidistant ones. The accuracy can be altered by selecting the menu option View and then the option Accuracy. Current IDF This element on the status bar shows the current IDF at the current mouse position. WindowExtent Click on your left-mouse button whenever it is positioned on this lowerright corner of the iMOD main window. By dragging your mouse (while the left-mouse button is pressed), the size of the iMOD main window can increase/decrease. Title Panel This panel situated at the top of the main window displays the iMOD version and the type of iMOD license. The top of the graphical window displays the name of the *.IMF used last to save the iMOD Project. Deltares 25 of 812 iMOD, User Manual Preferences Several settings can be initiated to configure the current iMOD session. These can be defined in a *.PRF file (see section 9.1 for more information). On the menu bar, click the option File and then choose Prefences to open the corresponding Preferences Window. T Preferences window, Files/Paths tab: DR AF 2.7 Available files Keywords *.PRF Display of all available *.PRF files in the folder in which iMOD was executed. Select one of them to load an iMOD configuration. Different *.PRF file can be stored to switch between different iMOD configurations quickly. Select one of the keywords to inspect the value assigned to it underneath the tab. In this example above the keyword {user} has the value c:\users\peter\work\imodproject\user. To change any keyword, you should open the *.PRF in any third-party software, e.g. Notepad. Open *.PRF-file Click this button to search for a *.PRF-file on disk. Use the selected *.PRF-file Click this button to read the selected *.PRF-file and use its settings. Close Help... 26 of 812 Click this button to close the Preferences Window. Click this button to start the iMOD Help Functionality. Deltares Getting Started DR AF T Preferences window, Colours tab: Predefined Colours Red Green Blue Legend Default Colourset The dropdown menu presents the current colour number. iMOD supports 50 predefined colours to be used as default in a variety of iMOD functionalities, e.g. plotting of Cross-Sections, TimeSeries. Value of the red-component of the current default colour (0-255) Value of the green-component of the current default colour (0-255) Value of the blue-component of the current default colour (0-255) Change and save the preferred default colour-settings for the 7 basic legend colours in the *.CLR-file. Changing the colours works as similar as described in section 6.6.1. Colour Selection Click this button to open a default Colour window from Windows Use the iMOD default legend colours, rainbow colouring: Use iMOD Colour Set . Flip Colours. Click this option to “flip” the colour sequence, e.g. red becomes blue and blue becomes red. Save As . . . Load . . . Deltares Save a *.CLR-file Click this option to save the current default (legend) colours in a given *.CLR file. Open *.CLR-file Click this button to search for a *.CLR-file on disk. This type of file defines the default (legend) colours used by iMOD. 27 of 812 iMOD, User Manual DR AF T Preferences window, Dimensions tab: Maximal no. Files in the iMOD Manager: Maximal no. of Polygons: Maximal no. of Coordinates on Polygons: 2.8 Maximum number of maps to be loaded in the iMOD Manager. This value can not be altered, a change can be applied in the source-code. Maximum number of polygons in a single *.SHP and/or *.GEN file. Maximum number of coordinates upon each polygon within a *.SHP and/or *.GEN file. Colour Picking On various dialogs in iMOD, you can specify a colour. In all these cases the default Colour window is used, as shown below. Colour window: 28 of 812 Deltares Getting Started OK DR AF T Cancel Select this button to accept the selected/created colour. The Colour window will close. Select this button to cancel any change in colour. The Colour window will close. Deltares 29 of 812 iMOD, User Manual 2.9 2.9.1 Tips and Tricks Keyboard shortcuts Use the keyboard shortcuts to directly open a window without selecting the option from the menu bar. 2.9.2 Move Map (Pan). Zoom Out. Zoom In. T Open iMOD Manager Window. New iMOD Project. Open iMOD Project. Save iMOD Project. Open iMOD Project Manager Window. Copy current presentation to Windows Clipboard. Open iMOD Help-file (if available in the selected *.PRF file). Add Map to the iMOD Manager. Set map information (point, polygon, rectangle). DR AF Navigation Centre mouse button Shift-right mouse button Shift-left mouse button iMOD Manager Ctrl-M Ctrl-N Ctrl-O Ctrl-S Ctrl-P Ctrl-C F1 F2 F3 Exporting Figures The content of the graphical window can be exported in PostScript (*.PS), Bitmap (*.BMP), ZSoft PC Paintbrush (*.PCX) , Portable Network Graphic Image (*.png) and WMF (Windows Meta Files) format. In the File menu, select the option Export and select the appropriate export type finally. These files can be later imported in a Word document, for example or added as annex in a report. The option Copy to Clipboard from the View menu can also be used to copy directly the display in a Word document. 2.9.3 Saving iMOD Projects The content of the iMOD Manager can be save into a *.IMF file. Select the option Save or Save As from the File menu. On default, iMOD will save the content of the iMOD Manager each minute whenever the option Autosave On (1 minute) from the File menu is checked. This file will be called AUTOSAVE-IMOD.IMF and will be located in the directory {USER}\imffiles, where {USER} will be the directory assigned to the keyword USER in the used *.PRF file. 2.9.4 Copying part of a Table It is possible to copy part of a table in another document, an Excel sheet for example. If the cursor is placed on a cell of the table, select a specific area by using the dragging the mouse while the left-mouse button is pressed. Then, using the shortcut Ctrl+C, this area can be copied and pasted into any other (commercial) Windows oriented software. 30 of 812 Deltares 3 File Menu options This chapter contains a detailed description of the menu options for iMOD for general use. The examples in the tutorial section provide a convenient starting point for familiarization with the program. Besides the familiar Windows options for opening and saving files, the File menu contains a number of options specific to iMOD: Autosave On (1 minute) T PostScript (*.PS); Bitmap (*.BMP); ZSoft PC Paintbrush (*.PCX); Portable Network Graphic Image (*.PNG); JPEG/JFIF image (*.JPG; *.JPEG). DR AF On default, iMOD saves the current content of the iMOD Manager each minute. It yields an AUTOSAVE-IMOD.IMF that will be overwritten each time. The file is located in the directory {USER}\IMFILES, where the variable {USER} directs to the value of the keyword USER in the selected *.PRF file. Print . . . Prints the current content of the graphical window to an installed external printer. iMOD uses the default Windows Print Manager. Export The content of the graphical window can be exported to In the File menu, select the option Export and select the appropriate export type finally. These files can be later imported in a Word document, for example or added as annex in a report. Deltares 31 of 812 iMOD, User Manual Import . . . iMOD offers the limited ability to import a few formats from third-party software packages. Import Deviated Wells Select this option to import deviated wells into an IPF format (see section section 9.7. DR AF T Example of a yielding deviated well in the 3D of iMOD: After selecting this item, a CSV file need to be selected from which the appropriate columns within the CSV need to be assigned, or alternatively a constant value can be entered. The following parameters are obliged: ◦ Name Select a column that represents the name of the well; ◦ X Coordinate Select a column from the drop down menu that represents x-coordinate of the well; ◦ Y Coordinate ◦ ◦ ◦ ◦ 32 of 812 Select a column from the drop down menu that represents y-coordinate of the well; Z Coordinate Select a column from the drop down menu that represents z-coordinate of the well; Depth Select a column from the drop down menu that represents the depth of the well. This is the depth measured as net distance (meter) through the borehole; Inclination Select a column from the drop down menu that represents inclination of the well. The inclination is defined as the angle from the surface (xy-plane) downwards by a positive angle whereby 90.0 degrees is perpendicular downwards; Azimuth Select a column from the drop down menu that represents the azimuth of the well. The azimuth is defined as the angle with the z-axes measured clockwise with a zero angle pointing to the north and 90.0 degrees to the east; Deltares File Menu options ◦ Add. Label 1,2,3,4 Select a column from the drop down menu that represents an additional label of the well. Up to four additional labels can be assigned. DR AF T Example of the Read CSV File window: There is also an iMOD Batch function DEVWELLTOIPF available, see section section 8.10.1. Deltares 33 of 812 iMOD, User Manual Import Keypillars Petrel ASCII format Use this option to import a Keypillars Petrel ASCII format file. This file is exported from Petrel. It assumes a version 4 file format describing the x,y and z-coordinates of so-called Keypillars of faults. After selecting an ASC file, iMOD convert this to a 3D GEN (see section section 9.10). It can then be inspected and visualized in 2D and 3D. DR AF T Example of a converted Keypillars Petrel ACII file into a 3D GEN and visualized in the 3D Tool of iMOD: Preferences . . . Click this option to open the Preferences Window. Quit . . . Click this option to quit iMOD. Before leaving iMOD you will be asked whether you are sure to leave iMOD, in that case you’ll be offered to opportunity to save your work first before leaving iMOD. Question window: 34 of 812 Deltares 4 Edit Menu options The Edit menu contains the following options for the creation of: creating new IDF files. creating new IPF files. creating new GEN files. creating new ISG-files. creating new Polylines. creating new iMOD Batch files. Create an IDF-file Scratch Click this item to create a new IDF. Points (*.ipf) T IDF-files can be created from scratch or by conversion from different formats. The available options are: Click this item to create an IDF from point data stored in an IPF-file. Polygons/Lines (*.gen; *.shp) DR AF 4.1 section 4.1: section 4.2: section 4.3: section 4.4: section 4.5: section 4.6: Click this item to create an IDF out of a (set of) polygon(s). Flowlines (*.iff) Click this item to create an IDF from line data stored in an IFF-file. To create a new IDF select the main option Edit, choose Create Feature, then IDFs from and then one of the options shown above. When creating a new IDF from scratch then the IDF is created with NoData values. When creating an IDF from the other formats then the IDF cells are assigned values derived from these files. Deltares 35 of 812 iMOD, User Manual DR AF T Option Scratch, Create IDF window: Zoom Level XLLC / XURC (m) : YLLC / YURC (m) : CellSize (m) : Nrows/Ncols: NoDataValue: Apply Close 36 of 812 Click this button to adjust the IDF extent to the current zoom level in the graphical display. Enter the X coordinate for the lower-left-corner (XLLC) and upper-rightcorner (XURC) of the IDF extent. Enter the Y coordinate for the lower-left-corner (YLLC) and upper-rightcorner (YURC) of the IDF extent. Enter the cellsize of the IDF in meters. NOTE: The values for XLLC, YLLC, XURC and YURC will be trimmed automatically to the CellSize value. Displays the number of rows and the number of columns for the current IDF extent. These values are computed automatically and can not be changed directly. Enter the NoDataValue for the IDF Click this button to start the creation of the IDF Close the Create IDF window. The new IDF is added to the iMOD Manager window. Deltares Edit Menu options DR AF T Create IDF window, IPFs tab: Open Map Click this button to open an IPF-file. IPF-name: X-coordinate: Y-coordinate: Attribute to be gridded: Zoom Level IPF Extent XLLC / XURC (m) : YLLC / YURC (m) : CellSize (m) : Displays the name of the IPF-file. Specify a column in the IPF-file that represents the X coordinate Specify a column in the IPF-file that represents the Y coordinate Specify a column in the IPF-file that represents the values to be gridded. Only numeric values can be gridded. Zoom Level Click this button to adjust the IDF extent to the current zoom level in the graphical display. IPF Extent Click this button to adjust the IDF extent to the entire extent of the selected IPF-file. Enter the X coordinate for the lower-left-corner (XLLC) and upper-rightcorner (XURC) of the IDF extent. Enter the Y coordinate for the lower-left-corner (YLLC) and upper-rightcorner (YURC) of the IDF extent. Enter the cellsize of the IDF in meters. NOTE: The values for XLLC, YLLC, XURC and YURC will be trimmed automatically to the CellSize value. Deltares 37 of 812 iMOD, User Manual Nrows/Ncols: NoDataValue: Duplicate Points Method: Displays the number of rows and the number of columns for the current IDF extent. These values are computed automatically and can not be changed directly. Enter the NoDataValue for the IDF. Select one of the options for points with identical coordinates: Sum: use the sum of the values to be gridded Mean: use the mean of the values to be gridded. Select one of the interpolation methods (see for batch creation of IDF’s section 8.2.10): (SPP) Simple Point Sampling: Click this option to determine grid values on those points that are inside the current grid cell only. As a result, it might be that many grid cells getNoDataValues. DR AF T (BI) Bivariate Interpolation: Click this option to determine grid values from a smooth interpolation function Z(x,y), which agrees with the given data (Hiroshi Akima, A Method of Bivariate Interpolation and Smooth Surface Fitting for Values Given at Irregularly Distributed Points, ACM Transactions on Mathematical Software, Volume 4, Number 2, June 1978). PCG (Preconditioned Conjugate Gradient): Click this option to apply the Preconditioned Conjugate Gradient method (this is the same as the solver used in MODFLOW) VG (Variogram): Click this option to create a semivariogram; this yields no interpolation of the data, it generates a table filled in with a variogram. The results will be written in the VARIOGRAM.TXT file. (SKI) Simple Kriging Interpolation: Click this option to apply a Kriging interpolation assuming a constant mean over the entire domain. (OKI) Ordinary Kriging Interpolation: Click this option to apply a Kriging interpolation assuming a constant mean in the neighborhood of each estimation point. Open settings window This function is active for the interpolation methods PCG, SKI and OKI. 38 of 812 Deltares Edit Menu options DR AF T Solver Settings window for PCG interpolation: Outer Iterations Inner Iterations Head Closure Criterion Waterbalance Closure Criterion No. Inner Solutions Relaxation Factor Adaptive Damping Boundary Conditions OK Specify the maximum number of outer iterations used by the PCG solver; Specify the maximum number of inner iterations used by the PCG solver. The more inner iterations used for a linear problem, the faster a PCG solution will be achieved; Specify the closure criterion (e.g. Heads) for the problem to be solved. This value related to the units of the problem to be solved, choose a value at least two order of magnitude less than the desired accuracy; Specify the closure criterion for the water balance for the problem to be solved, e.g. the lumped error of accuracy in the head. This value related to the units of the problem to be solved, choose a high value whenever the usage of the Head Closure Criterion is sufficient; Specify an acceptable value, e.g. 25, whenever the problem to be solved shows high non-linearities that avoid any convergence of the solver. Solving a Solid might introduce these non-linearities that can be tackled in this manner; This factor damps the subsequent solutions of the solver. Use a high value (1.0) for linear problems and a lower value for non-linear problems. Use the Use Adaptive Damping option for non-linear problems instead; Apply this for non-linear problems as it will adapt the Relaxation Factor during the iteration process to yield a more robust solution; Select the Tight option to fixate the known location during the solution, use Loose instead to use a different approach in which the known areas are simulated by a boundary condition that allows more change on the known areas; Select this button to agree with the entered values. The PCG solver is available in an iMOD Batch functionality as well, see for more information section 8.2.10. NOTE: Consult scientific literature regarding PCG solver settings as described above. Deltares 39 of 812 iMOD, User Manual DR AF T Kriging Settings window for Simple and Ordinary Kriging interpolation: Use minimal number of Points Increase Range to reach minimal number of Points Apply Quadrant SILL RANGE NUGGET 40 of 812 Specify the minimum number of points (per quadrant). Select this option to allow the search increase the Range whenever the number of points is less than the entered minimal number of points. Select this option to devide the number of points in quadrant to met the minimal number of points individually. Specify the SILL value. The value that the semivariogram model attains at the range (the value on the yaxis) is called the sill. The partial sill is the SILL minus the NUGGET. Specify the RANGE value. When you look at the model of a semivariogram, you’ll notice that at a certain distance, the model levels out. The distance where the model first flattens out is known as the range. Sample locations separated by distances closer than the range are spatially autocorrelated, whereas locations farther apart than the range are not. Specify the NUGGET value. The nugget effect can be attributed to measurement errors or spatial sources of variation at distances smaller than the sampling interval or both. Measurement error occurs because of the error inherent in measuring devices. Natural phenomena can vary spatially over a range of scales. Variation at microscales smaller than the sampling distances will appear as part of the nugget effect. Before collecting data, it is important to gain some understanding of the scales of spatial variation. Increased smoothness is applied whenever the NUGGET value is increased. Deltares Edit Menu options Semivariogram Specify the type of Semivariogram, select from: Linear Model: g(h) = c0 + c1 ∗ h a Spherical Model: g(h) = c0 + c1 ∗ 1.5 ha − 0.5( ha )3 Exponential Model: g(h) = c0 + c1 ∗ (1 − exp(−3 ha )) Gaussian Model: 2 g(h) = c0 + c1 ∗ (1 − exp(−3 ha2 )) Power Model: g(h) = c0 + c1 ∗ h0.5 T h represents the lag distance, c0 + c1 is the SILL value, c0 is the NUGGET value and a is the range. DR AF Kriging is also available in an iMOD Batch functionality, see for more information section 8.2.10. NOTE: Consult scientific literature regarding Kriging Settings as described above. Not active for IPFs. Click this button to start the creation of the IDF. Force Line Interpolation Apply Example of a Simple Point Sampling interpolation: Deltares 41 of 812 iMOD, User Manual DR AF T Example of a Bivariate interpolation: 42 of 812 Deltares Edit Menu options DR AF T Create IDF window, GENs tab: Click these buttons to draw, open, save, delete or rename a shape. More detailed information can be found in Table 4.1. IDF Extent Force Line Interpolation Apply Specify the extent and dimensions of the IDF and the interpolation method. See the description for the IPFs tab for an explanation. Create interpolated raster cells only along the lines as specified in the GEN Click this button to start the creation of the IDF Note: The value for a raster cell will be determined by the polygon number. The value of raster cells that are part of overlapping polygons will be equal to the mean value of the polygon numbers. NoDataValues are assigned to raster cells outside any polygon. Deltares 43 of 812 iMOD, User Manual DR AF Example of a line GEN translated into an IDF-file: T Example of a polygon GEN translated into an IDF-file: The above example shows the rasterizing of lines into an IDF-file. The result is an IDF-file with the number of the different lines and another IDF showing the length of the line in each rastercell crossed by it. 44 of 812 Deltares Edit Menu options DR AF T Create IDF window, IFFs tab: Open Map Click this button to open an IFF-file. Attribute while IDF Extent Force Line Interpolation Apply Select one of the options to grid: PARTICLE_NUMBER – number of the particle ILAY – modellayer number XCRD – x coordinate YCRD – y coordinate ZCRD – z coordinate TIME(YEARS) – elapsed time in years VELOCITY – velocity (m/day) Click this checkbox to use an extra logical expression. Choose one of the options (see under Attribute) and specify a logical operator (“=”;”<>”;”<”;”<=”,”>”;”>=”) and numeric value. Specify the extent and dimensions of the IDF and the interpolation method. See the description for the IPFs tab for an explanation. Not active for IFFs Click this button to start the creation of the IDF Note: The value for a raster cell will be determined by the particle that passes through. Whenever more particles pass through the same rastercell, a mean value for the chosen attribute will be computed. Deltares 45 of 812 iMOD, User Manual DR AF T Example of a result of a particle simulation (left) gridded into a single IDF-file (right) for those parts that are within modellayer 3 only: 46 of 812 Deltares Edit Menu options Create a GEN-file Select the main option Edit and then choose the option Create Feature and then the option GENs to display the Create GENs window. T Create GENs window: DR AF 4.2 Draw Polygon Click this button to start drawing a polygon on the canvas, see section 4.4 for more details on drawing polygons. First you need to select the type of shape you want to draw from the Select window: This window shows the available type of topology to supported by the GEN file format. Rectangle Click this option to define a rectangle. Deltares 47 of 812 iMOD, User Manual Polygon Click this option to define a polygon. Line Click this option to define a line. DR AF T Cut Click this button to start drawing a line that intersects current lines/ polygons or rectangles to split the intersected segments accordingly into separate lines. Open File Click this button to open a *.GEN or *.SHP file. iMOD will create a name for each shape (polygon, line, point) inside the *.GEN and/or *.SHP file. If no name is specified for a shape (next to the ID identification), iMOD will create a name as follows: {name_of_the_gen}_{shapenumber}_{shapetype}, e.g. AREA_1_POLYGON or AERA_9_POINT. Save File Click this button to save the polygons to a *.GEN-file (see section 9.9). iMOD will save the names for the individual features in the *.GEN too. Those will be read whenever those files are read in iMOD again whenever the button Open File is selected. Delete Polygon Click this button to delete the selected polygons from the list. This action can not be undone, however, you will be asked first whether you are sure to delete the polygons. Rename Shape Click this button to rename the shape (line, polygon, rectangle), the Input window will appear: You can enter a different name for the current selected polygon. Click the button OK to accept your entry, or click Cancel to leave the name unchanged. In both cases you will return to the Create GENs window again. ZoomSelect Click this button to adjust the zoomlevel to the selected shapes. 48 of 812 Deltares Edit Menu options DR AF T Information Click this button to open theContent of file window: This window shows the properties of the shapes which are used to create the GEN-file. Insert attribute Add an attribute to the shapes. Remove attribute Remove the selected attribute. Rename Change the name of the selected attribute, see the Rename Shape item previously described here. Check the box and select the attribute name from the pull down list in case interpolation is to be done for an attribute different from the SHAPEID. Make the changes in the shapes. Help ... Close ... Use following column for gridding /interpolation: Apply Select in Polygon Click this button to create a polygon for which all polygons, lines and/or poins will be selected that are within the polygon. Start drawing the polygon by clicking your left mouse button at the first point of the polygon, click left for each additional polygon point and stop drawing by clicking your right mouse button. After that iMOD will select all topologies within the polygon. Click this button to start the iMOD Help Functionality (if available in the selected *.PRF file). Close the Create GENs window, you will be asked to save your shapes first. Note: The functionalities mentioned above appear throughout iMOD in different windows. The behavior for each of those is similar as explained above. Deltares 49 of 812 iMOD, User Manual Create an IPF-file Select the main option Edit and then choose the option Create and then the option IPFs to display the Create IPFs window. T Create IPFs window: DR AF 4.3 The options in this window are similar to the options described in the previous section on Create GENs window. 50 of 812 Deltares Edit Menu options Create an ISG-file Select the main option Edit and then choose the option Create Feature and then the option ISGs and then the option RIV Applicable... or SFR Applicable.... Thereafter you need to enter a name for the ISG to be created. Once a valid file name has been entered, iMOD will create the necessary files that relate to an ISG file, see section 9.9. After that, the ISG Edit window will start in which it is possible to add and/or modify the outline of the content of the ISG file, see section 6.10.3. T Note: The content of the files depends on the chosen applicability of the ISG-file. The SFR type of ISG has more attributes in the ISG than the RIV type of ISG file. The latter is used for the conventional RIV/DRN package, as the SFR type of ISG file is specially development to support the SFR package. Moreover, this SFR type of ISG file cannot be used in conjunction with a runfile DR AF 4.4 Deltares 51 of 812 iMOD, User Manual Drawing Polygons T For several functionalities in iMOD you need to specify or draw polygons. For each of those, the methodology is similar and will be described here. After you click the Draw Polygon button you can add points of the polygon on the graphical window by clicking your left-mouse button sequentially. Click the left mouse button to place another point of the polygon. Click your right mouse button to stop DR AF 4.5 After the polygon has been drawn, the following options are available whenever you move the mouse in or near the polygon. This icon appears whenever you move the mouse inside a polygon. Then click the left mouse button to select the polygon. Once a polygon is selected the other options become available. Click the left mouse whenever this icon appears and drag the mouse over the graphical window to move the selected polygon. This icon appears whenever the mouse position is on one of the nodes of the polygon. Click the LEFT mouse button to move the selected node. Click the RIGHT mouse button to display the following menu options: Delete Current Node? 52 of 812 click this option to delete the current node. You can not undo this action. Deltares Edit Menu options DR AF T Change Line click this option to change the colour of the polygon with the Color . . . Colour window. Change Line click this option to change the thickness of the line into Thin (1), Thickness Normal (2) or Thick (3). This icon appears whenever the mouse position is on a segment of the polygon. Click the left mouse and you can ADD a new node. Deltares 53 of 812 iMOD, User Manual Create an iMOD Batch file The iMOD Batch functions include a variety of tools that can be used to execute iMOD data processes fast and repetitively. The Batch functions are described in detail in chapter 8. The Batch functions can be executed in command mode without starting iMOD. But these functions can be used also interactively from the iMOD main menu. Select the main option Edit and then choose the option iMOD Batch to display the iMOD Batch window. T iMOD Batch window: DR AF 4.6 Create a New iMOD Batch Script Create Execute an Existing iMOD Batch Script Help ... Execute Hide execution Block Execution till Complete No processes active Kill Help ... Close ... 54 of 812 Select a Batch function from the dropdown menu. Click this button to create and save a batch file in the .\USER\IMODBATCH directory. The file automatically gets an extension .bat. The file will open in a text editor after it is saved. See below for an explanation of the file contents. Select a Batch file from the dropdown menu. Open a text editor with the Batch file contents. Click this button to start the iMOD Help Functionality (if available in the selected *.PRF file). Click this button to start the execution of the Batch function selected in the dropdown menu. Check this option whenever it is needed to start an iMOD Batch file in a hidden command window. Check this option to block the execution of iMOD until the executed iMOD Batch file has terminated. This drop down menu lists the processes that are currently running. Refresh Select this button to refresh the drop down list of active processes. Select this button to terminate the selected process from the drop down menu left. Click this button to start the iMOD Help Functionality (if available in the selected *.PRF file). Close the iMOD Batch window. Deltares Edit Menu options T Example of an iMOD Batch file in a text editor window: DR AF The file contains all keywords used for the specific batch function. The keyword contents can be added to complete the batch function. The command line to execute the batch file is at the bottom of the file. Deltares 55 of 812 DR AF T iMOD, User Manual 56 of 812 Deltares 5 View Menu options This chapter describes the View Menu options, starting with on overview (section 5.1). The following View Menu options are described in more detail: Overview of View Menu options The View menu contains the following options: Copy to Clipboard DR AF Click this item to copy the content of the current graphical window to the Windows Clipboard. You can use the shortcut Ctrl-C instead. Show Transparent IDFs Check this item to draw IDF-files in a transparent mode. The used transparency is 50% and can not be altered. Show Opaque IDF’s Check this item to draw all selected IDFs in opaque mode onto each other. This is helpful to plot IDFs with different dimensions onto each other, e.g. a smaller IDF on top of a larger one. Apply NODATA Transparency Check this item to draw those parts of IDF-files transparently that contain “missing” data (cell value is equal to the NoDataValue of the particular IDF). Show IDF Features IDF Raster Lines Check this item to draw the line around each of the cells within an IDF. IDF Extent Check this item to draw a single line around the boundaries of the IDF. iMOD Manager . . . Check this item to show the iMOD Manager window (section 5.4), this window will hold all active/loaded maps. Project Manager Check this item to display the iMOD Project Manager window; this window is able to read in a runfile and display its content in a tree view. From here the content can be ported to the iMOD Manager to quickly display model information. Zoom Map 5.1 section 5.2: Goto XY. section 5.3: Add Background Image. section 5.4: iMOD Manager. section 5.4.1: iMOD Manager Properties. section 5.5: iMOD Project Manager. section 5.6: Subsurface Explorer. section 5.7: Lines and Symbols. T In Click this item to zoom IN on the centre of the current graphical dimensions. Out Click this item to zoom OUT on the centre of the current graphical dimensions. Rectangle Click this item to zoom in for a rectangle to be drawn. Use the left-mouse button to determine the lower-left corner of the rectangle, click again for the upper-right corner (or vice-versa). Full Map Deltares 57 of 812 iMOD, User Manual Click this item to zoom in on the entire extent of the selected maps on the tab Maps on the iMOD Manager or on the selected overlay Maps in the tab Overlay on the iMOD Manager. Mask Zoom: *.msk Click this item to zoom to the zoom level in the last used or saved mask file. Tag Zoom This option is not available in the most recent iMOD version Mask Save Mask . . . Click this item to save the current zoom level to a *.MSK-file Load Mask . . . Click this item to load a *.MSK-file and zoom to the zoom level in that file. Click this item to display the Goto XY window (see section 5.2) in which you can specify a location in coordinates or cell indices to zoom on to. Graph This is used internally by iMOD and can not be manipulated. Show Background Image Click this icon to display the default topographical overlay as defined by the KeyWord TOP25 in the selected *.PRF-file or display the overlays (*.BMP; *.png) as defined by the menu option Add Background Image. Add Background Image . . . Click this item to specify bitmaps (*.BMP; *.png) to be used as background whenever the Show Background Image is selected, see section 5.3. Transparent Background Image Click this item to display bitmaps that are used for background plotting in a transparent way. Show Location in Google Earth Click this item to show the current zoom window within Google Earth. iMOD assumes that UTM-coordinates are used. Accuracy This item computes the number of cells out of an IDF-file that are used to display a coloured image of the values within the IDF. The more cells are read, the more accurate the image will be displayed, however, the more time this will cost. iMOD computes the number of screen pixels necessary to display the image with the highest detail (i.e. the optimal detail). Thereafter, it depends on the choice of the user, how much of the optimal detail will remain: DR AF T Goto XY . . . Low Check this item to display IDF at a 10th of the optimal detail. Medium Check this item to display IDF at a 5th of the optimal detail. High Check this item to display IDF at a 3rd of the optimal detail (default). Excellent Check this item to display IDF at full detail. Layout Show Scalebar Click this item to show a scalebar in the lower-right corner of the graphical window. The size and parts of the scalebar are determined automatically and will update whenever the zoomlevel changes. The location and size of the scale bar can be changed interactively via the mouse. 58 of 812 Deltares View Menu options Show Axes Check this option to show axes around the graphical window. The coordinates are trimmed to most logic values. The textsize, font and ticsizes can not be changed, though the location of the axes can be changed interactively via the mouse. Show Rasterlines Check this option to show raster lines around the graphical window from the major tic marks. Show NorthArrow Check this option to show a north arrow (or other image) that has been assigned to the keyword NORTHARROW in the selected *.PRF-file. DR AF T Example of usage of the options Show Axes and Show ScaleBar and pasted into this manual by the option Copy to Clipboard: Deltares 59 of 812 iMOD, User Manual Goto XY This functionality will offer the possibility to zoom on a centre point of interest. On the menubar click View and then choose the option Goto XY to open the corresponding window. T Goto XY window: DR AF 5.2 X- and Y coordinate (m) iCOL (max. 5,800) iROW (max. 6,680) for: Zoom (m) OK Help Close 60 of 812 Check this option to enter coordinates (X and Y) to zoom on. Check this option to enter column and row indices to zoom for. In this case the limits for the column and row indices are 5,800 and 6,680, respectively. Those are based on the dimensions of the selected IDF. Select an IDF in the dropdown menu. You can select out of those listed in the iMOD Manager. Select a range for the zoom level out of the dropdown menu. The final zoom level will be at the maximum amount of cells fitting in the y-direction in the map-window, e.g. Zoom level = 100 m, cell size = 25 m; at this zoom level a box of 4x4 cells will be completely shown in the middle of the map-window. Adjust the zoom level, closes the Goto XY Window and redraws the canvas Click this button to start the iMOD Help Functionality (if available in the selected *.PRF file). Leave the current zoom level unchanged and close the Goto XY Window. Deltares View Menu options Add Background Image This functionality will offer the possibility to use your own background images instead of the one defined by the keyword TOP25 in the selected *.PRF-file. On the menubar click View and then choose the option Add Background Image to open the corresponding window. T Add Background Image window: DR AF 5.3 Add ... Delete Selected Files from List ... Columns Rows XLLC (km) YLLC (km) XURC (km) YURC (km) Size dX (m) Size dY (m) Apply Close Help . . . Click this button to add a *.BMP or *.png file to the menu list of Existing BMPs. You are able to load all kinds of images, e.g. aerial photograph, satellite images (obtained by Google Earth). The PNG format is preferable to BMPs since it is significant smaller in size. Click this button to delete the selected file from the menu list of Existing BMPs. Number of columns in the image Number of row in the image Enter the x-coordinate of the lower-left-corner (south-west) of the image. Enter the y-coordinate of the lower-left-corner (south-west) of the image. Displays the x-coordinate of the upper-right-corner (north-east) of the image that will be computed from the XLLC and the bitmap width. Displays the y-coordinate of the upper-right-corner (north-east) of the image that will be computed from the YLLC and the bitmap height. Bitmap width. Bitmap height which will be equal to Size dX, automatically. Click this button to show the background map. It also closes the Add Background Image window. The images (can be more than one) in the list of Existing BMPs will be shown when the menu option Show Background Image from the View menu is checked or when the corresponding icon from the tool bar is checked. Click this button to close the Add Background Image window. Click this button to start the iMOD Help Functionality (if available in the selected *.PRF file). Note: To reference the image topographically you can either enter the position of the image or add a so called worldfile in the same directory as the loaded image. iMOD will search for {ext}W files, e.g. BMPW or PNGW to read the information. The following information is listed in a worldfile. Dx RotX RotY Deltares Rastersize (m) x-direction (west-east). Value of rotation along the y-axis, RotX=0 for correct usage in iMOD. Value of rotation along the x-axis, RotY=0 for correct usage in iMOD. 61 of 812 iMOD, User Manual Dy Rastersize (m) in the y-direction, it should be a negative number, since it is measured from north to south. For correct usage in iMOD Dx=-Dy. X-coordinate (m) for the center of the upper-left-corner (north-west). Y-coordinate (m) for the center of the upper-left-corner (north-west). XULC YULC DR AF T Example of usage of a bitmap loaded via the option Add Background Image: 62 of 812 Deltares View Menu options iMOD Manager All active maps and overlays are managed by the iMOD Manager. On the menubar click View and then choose the option iMOD Manager to open the corresponding window. The window has four tabs: iMOD Manager window, Maps Tab: T 1 Maps: This tab lists all maps loaded in iMOD. A large variety of maps can be loaded in the iMOD Manager, up to 500 files; 2 Overlays: This tab lists all maps used as background only, these can be *.GEN and *.IPF files. Any *.SHP that will be read in this tab will be converted to a *.GEN file format; 3 Comments: This tab lists comments that are attached to the selected map on the Maps tab; 4 Legend: This tab displays the legend of the selected map which was drawn lastly from the selected list of maps on the Maps tab. DR AF 5.4 Open Map Click this button to open a map. iMOD can read a variety of maps with known file types: *.IDF, *.IPF, *.IFF, *.ISG, *.ASC, *.SHP (will be converted internally to a GEN of IPF file), *.GEN, *.GEF (will be converted internally to a IPF file), *.NC (will be converted internally to a IDF file) and *.MAP (will be converted internally to a IDF file). Alternatively the shortcut F2 can be used, or select the menu option Map and then choose Add Map. (re)Draw a Map Click this button to redraw all selected maps. Deltares 63 of 812 iMOD, User Manual MapInfo Click this button to open the MapInfo window. Map Value inspection Click this button to open the Map Value window. Legend Click this button to open the Legend window. Up Click this button to move the selected files one position up in the list. Down Click this button to move the selected files one position down in the list. Delete Click this button to remove the selected files from the iMOD Manager. T Calculate Click this button to open the IDF Calculator window. Properties Click this button to open theProperties window. Help Close DR AF Find Files Click this button to open theFind Files window, see section section 5.4.2. Click this button to start the iMOD Help Functionality. Hides the iMOD Manager. The iMOD Manager can be displayed again by choosing the menu option View and then choose the option iMOD Manager. Note: To select more than one of the files in the tab Maps of the iMOD Manager, use the mouse-keyboard combination Ctrl- or Shift- combination. For many functionalities in iMOD it is necessary to select the desired files in the iMOD Manager, first. Bear in mind that several options are not available if these files are not selected. 64 of 812 Deltares View Menu options DR AF T iMOD Manager window, Overlays Tab: Open Overlay Click this button to open an overlay map. iMOD can read a variety of overlays with known file types: *.GEN, *.SHP (will be converted internally to a GEN of IPF file), and *.IPF. (re)Draw an Overlay Click this button to redraw all selected maps. Legend Click this button to open the Lines and Symbols window, see section 5.7. Up Click this button to move the selected files one position up in the list. Down Click this button to move the selected files one position down in the list. Delete Click this button to remove the selected files from the iMOD Manager. Note: Whenever the tab Overlays is selected in combination with the menu option ZoomMap and then ZoomFull (or the ZoomFull icon from the icon bar), iMOD will use the selected overlays to adjust the zoom level such that those files will be displayed fully. Deltares 65 of 812 iMOD, User Manual DR AF T iMOD Manager window, Comments Tab: Create tag Click this button to create a tag. The tags are connected to the selected map (only one map may be selected). The tags may be defined as rectangle, polygon, circle or line. Select the shape type, click the OK button on the Select window and draw the shape on the graphical window (see section 4.4 for instructions). A text file editor will open in which the coordinates of the drawn shape are shown and in which a comment can be added which will be tagged to the map. The comment is to be added at the location of the text: 66 of 812 Deltares T View Menu options Save the comment and close the text editor window to proceed. DR AF Info Click this button to open a text editor window to view the comment. (re)Draw a Map Click this button to draw the tag and the comment id. Help Close Delete Click this button to remove the selected tag from the iMOD Manager. The button is active when the user button is activated User Click this button to allow the user to delete tags. Each user can delete his/her own tags only. Click this button to start the iMOD Help Functionality. Hides the iMOD Manager. The iMOD Manager can be displayed again by choosing the menu option View and then choose the option iMOD Manager. Note: The Comments tab on the iMOD Manager window is active when the TAGS variable is defined in the iMOD_INIT.PRF file, see section 9.1. Deltares 67 of 812 iMOD, User Manual DR AF T iMOD Manager window, Legend Tab: Legend Click this button to open the Legend window (section 6.6). Note: The legend will be shown for the file (map) that has been drawn last, i.e. the lowest selected file in the Map list on the Maps tab. There are different ways to plot the legend on the canvas. 68 of 812 Deltares View Menu options iMOD Manager Properties In the Maps tab of the iMOD Manager window, click the Properties button ( ) to open the Properties window. iMOD will use the selected file name properties to display the names of the files in all the tabs of the iMOD Manager. T Properties Window: DR AF 5.4.1 [name].[ext] [name].[ext] ([path)] [path][name].[ext] ..\[path][name].[ext] Apply Help . . . Deltares Click this option to display the names and their extent only, e.g. SURFACE.IDF. Click this option to display the names and their extent together with the entire path, e.g. SURFACE.IDF (C:\IMOD). Click this option to display full pathnames, e.g. C:\IMOD\SURFACE.IDF. Click this option to display the relative pathnames, such that all files in the iMOD Manager can be still distinguished, e.g. ..\SURFACE.IDF. Click this button to close the Properties window and apply the selected syntax. Click this button to start the iMOD Help Functionality. 69 of 812 iMOD, User Manual iMOD Manager Find Files In the Maps tab of the iMOD Manager window, click the Find Files button ( ) to open the Find Files window. iMOD will select files in the iMOD Manager to the selection criteria specified in this window. Search String Case Sensitive Alias Search Search Help . . . Close T Find Files Window: Specify the search string for which filenames need to be selected. Use the wildcards ”*“ (all characters and unknown amount) and ”¿‘ (all character but amount is equal to number of ”¿‘-symbols). Select this option to select filenames which are case-sensitive equal to the search string, in this case ”E“ 6= ”e“. Select this option to allow the search on the alias given to each filename in the iMOD Manager. If unselected, the search string is applied to the filename and the complete foldername. Click this button to select the filenames in the iMOD Manager for the given entries in this window. After that it closes this Find Files window. Click this button to start the iMOD Help Functionality. Click this button to close the iMOD Find Files window. DR AF 5.4.2 70 of 812 Deltares View Menu options iMOD Project Manager The files needed in a model simulation are defined in the iMOD Project Manager. On the menubar click View and then choose the option iMOD Project Manager to open the corresponding window. iMOD Project Manager window: Initially: T The iMOD Project Manager window shows a list of all possible model input topics. iMOD saves the characteristics in a project file, a so called *.PRJ file. From a project file a runfile (*.RUN) can be generated that will be used in the model simulation, see section 7.9 or a standard MF2005 configuration can be save (*.NAM), see section 5.5.4. Moreover, a runfile can be read and used to write a *.PRJ file. During the creation of a model configuration (*.RUN or *.NAM), it is possible to change the number of model layers and/or the time characteristics of the simulation, e.g. the begin and end time and/or sizes in stress-periods and/or the configuration of packages. After reading a project (*.PRJ) file: DR AF 5.5 Note: The Project Manager does not yet support the PKS package. Deltares 71 of 812 iMOD, User Manual Project Definition All acronyms bracketed are described in more detail in chapter 10. Once a project file *.PRJ (or a runfile *.RUN) has been read, the topics that contain model information (recognized by the small “plus” signs) can be expanded to access the underlying files/information. Refresh Click this button to refresh the Project Definition table. All definitions will be removed. Delete Click this button to delete the selected entry. If the main category is selected, the entire category will be deleted. If a single entry is selected, the corresponding package entry will be deleted. DR AF T Question to confirm the desired removal of a category. Question to confirm the desired removal of a single entry. Question to confirm the desired removal of all entries for a selected date. Open Project file (*.prj) Click this button to select a project file (*.PRJ). iMOD will read the project file and fills the treeview in the Project Definition table. Save Project file (*.prj) Click this button to save the project file (*.PRJ) on disk. Open Runfile (*.run) Click this button to select a runfile (*.RUN). iMOD will read the entire runfile and fills the treeview accordingly in the Project Definition table. 72 of 812 Deltares View Menu options Save Runfile (*.run / *.nam) Click this button to create a runfile (*.RUN) or MF2005 configuration (*.NAM) file. It starts the Define Simulation Configuration window, see section 5.5.4. Draw Click this button to port the files within the selected topic to the iMOD Manager and to display the files. The action of the Draw button depends on the selection in the tree view. It will port all files underneath the selected branch. Whenever a branch is expanded individual files can be selected that need to be ported to the iMOD Manager. Draw the selected file only: DR AF T Draw all files in the expanded branch: Packages that are defined by constant values instead of spatial datasets, such as IDF, IPF, ISG and/or GEN-files (e.g. lay=3;fct=1.0;imp=0.0;constant=15.0) will not be ported to the iMOD Manager. Deltares 73 of 812 iMOD, User Manual Special Open: TOP1 - BOT1 - TOP2 - ... T In this case, the files that are assigned to the 3 layers will be opened in the order top elevation, transmissivity and bottom elevation for each model layer, up to the 3rd model layer. More options are: Ports the IDF files for the top and bottom elevations to the iMOD Manager; TOP1 - KDW1 - BOT1 - TOP2 - KDW2 - BOT2 ... DR AF Ports the IDF files for the top, transmissivity and bottom elevations to the iMOD Manager; TOP1 - KDW1 - BOT1 - VCW1 - TOP2 - BOT2 - VCW2 - TOP3 ... Ports the IDF files for the top, transmissivity, bottom elevations and vertical resistance to the iMOD Manager; TOP1 - BOT1 - VCW1 - TOP2 - BOT2 - VCW2 - TOP3 ... Ports the IDF files for the top, bottom elevation and vertical resistance to the iMOD Manager; TOP1 - SHD1 - BOT1 - TOP2 - SHD2 - BOT2 ... Ports the IDF files for the top, starting head and bottom elevations to the iMOD Manager; TOP1 - KHV1 - BOT1 - TOP2 - KHV2 - BOT2 ... Ports the IDF files for the top, horizontal permeability and bottom elevations to the iMOD Manager; TOP1 - BOT1 - KVV1 - TOP2 - BOT2 - KVV2 - TOP3 ... Ports the IDF files for the top, bottom elevations and vertical permeability of the interbed to the iMOD Manager; Define Characteristics: Click this button to open the Define Characteristics window, see section 5.5.1. Define Characteristics Automatically: Click this button to open the Define Characteristics Automatically window, see section 5.5.2.2. 74 of 812 Deltares View Menu options Calculator Click this button to start the Predefined Calculations window in which it is possible to complete standard calculations on model parameters, such as computed vertical resistances between model layers based upon permeability values and top- and bottom of model interfaces. T Predefined Calculations: DR AF The following predefined calculations are implemented: Transmissivities Based upon the horizontal permeability (m/d) values per modellayer and the topand bottom of model layers, the transmissivity (m2 /d) is computed; Vertical Resistances Aquitards Based upon the vertical permeability (m/d) in between model layers, the vertical resistance (d) of the intermediate model layer (aquitard) is computed; Total Vertical Resistances Based upon the horizontal permeability (m/d), the top- and bottom, the vertical anisotropy (-) per model layer and the vertical permeability (m/d) in between model layers, the total vertical resistance (d) between model layers is computed. Help ... Close The computation can be carried out for the total modeling domain or for the current zoom window of the graphical canvas. Also, it can be done for a selected (sub)set of model layers. Click this button to start the iMOD Help Functionality. Click this button to close the iMOD Project Manager. Note: For transient (time variant) topics, individual stressperiods (specific dates and/or periods) can be assigned to packages as a whole. They become accessible in the iMOD Project Manager. Those (and time invariant topics) may contain more than one levels (subtopics) of necessary input, such as ANISOTROPY that consists of FACTORS and ANGLES and DRAINAGE that consists of CONDUCTANCE and DRAINAGELEVEL. Use the Define Characteristics Automatically button ( input and/or multi-layered input. Anisotropy with more subtopics: tion: Deltares ) option to efficiently configure the time variant model Drainage/Constant Head with time variant informa- 75 of 812 5.5.1 DR AF T iMOD, User Manual Define Characteristics The Define Characteristics ( ) option of the iMOD Project Manager window opens a window which enables to define the characteristics of the model input topics as described below. Note: Whenever the PST package is selected a dedicated window is displayed (see section 5.5.5). Define Characteristics window: 76 of 812 Deltares View Menu options Transient, start from Transient period: Define Periods... Check this button to define a steady state model input for the selected topic. Check this button to define input for use in a transient model. Enter the start date for the input in the input fields to the right. Besides defining the date there is also the option of defining the time [hh]:[mm]:[ss]. E.g. entering 10th of June 2014 08 00 00 means that the input files as specified under Define Specific Characteristics: are starting at the 10th of June 2014 at 08:00:00 am forward. The packages end, whenever another input is defined ahead of time. Select a predefined period to indicate the start period for the current topic. This period will be endless in time, unless another input is defined ahead in time. Click this button to open the window in which it is possible to add and/or alter period definitions, see section 5.5.3. Enter the model layer number to which the input is assigned in the model. Three options are possible: DR AF Assign parameter to model layer . . . Check this option to exclude, in case it is ACTIVE, or include, in case it is DEACTIVE (red bar), this model topic when saving a runfile (*.RUN). T Package is ACTIVE for coming simulations, deselect to Deactivate Parameter Steady-state Layer = 0 (for time variant input) A zero-value will assign the characteristics automatically to the model layers intersected by the depth of the model topic (e.g. the depth of the screen for wells or the depth of stage to bottom level for rivers); Layer < 0 (for time variant input) A negative value will assign the characteristics to the upper most active model layer as defined in the Boundary Condition. Whenever the RCH and/or EVT packages are selected, the appropriate flags in the corresponding MF2005 packages will be set to 3 to indicate this automatic layer assignment; Layer > 0 A positive value will assign the characteristics to the corresponding model layer. Parameter: Deltares Choose the parameter for which the specific characteristics will be defined. Depending on the model input topic the number of parameters is 1 (e.g. for WEL), 2 (e.g. for ANI), 3 (e.g. for EVT) or 4 (e.g. for RIV). See chapter 10 for detailed information about these different input per topic. 77 of 812 iMOD, User Manual Extra files: Click this option to add extra files to the topic. This option is only available whenever the MSW (Unsaturated Zone) package is selected. DR AF T Extra Files: Inherent from previous definition: Assign Parameter Multiplication Factor: Assign Parameter Addition Value: Add constant value Add file: Help ... Add System Adjust System In this case, the files are listed to be copied in a simulation with MetaSWAP. Select this option to inherent the input for the selected topic from the previous (in time) definition for this topic. Change the multiplication factor from the default value 1.0 in case the model input needs to be multiplied. Multiplication goes before the additional value. Change the addition factor from the default value 0.0 in case the model input needs to be increased (added) with a constant value. Multiplication goes before the additional value. Check this button and enter a constant value for the parameter for the whole model area. Check this option and enter a file name to be used for the parameter. It depends on the package whether an IDF, IPF, ISG or GEN file need to be entered. Open File Click this button to open the a Windows Explorer to locate the file name for the parameter, this can be an IDF, IPF, ISG or GEN file that depends on the topic considered. Open Click this button to select a folder, remember to add a wild-card to the folder name in order to select appropriate file names by iMOD. Click this button to start the iMOD Help Functionality. Check this button to save the entered input for the selected topic and return to the Project Manager window. This can mean that the parameter for an existing topic are adjusted, or a new system is added to a topic. The tree-view in this window will collapse all topics and expand the selected and modified topic. For large project configurations with many time-definitions it can take several minutes to (re)fill in the tree-view field. Note: Packages are assigned to a particular date and time at which they start. They will never end, but can be overruled by another packages that is defined ahead of them. In the following figure it is explained what this means whenever more packages become available and interact whenever periods are defined. 78 of 812 Deltares T View Menu options 5.5.2 DR AF In the figure shown above, a) describes the situation in which only a single package T1 is defined half-way a simulation between Start and End. In b), another package T2 is defined and overrules T1 at the start of T2 . In c), a third package T3 is defined before T1 and even before the start of the simulation. Consequently, the package T3 becomes active, directly at the start of the simulation. In d), a period P1 and P2 are defined at a certain moment within a single year, they will be repeated for each year, automatically. Finally, in e) a package T4 is defined besides the period definitions P1 and P2 . As a consequence, the package T4 will split period P1 halfway, up to the moment period P2 is defined again. Define Characteristics Automatically The Define Characteristics Automatically ( ) option on the iMOD Project Manager window opens a window which enables to define the characteristics of the model input topics in a more advanced way than the default Define Characteristics window (see section 5.5.1). The process consists out of two steps. In the first step you define the characteristic of the source for each topic, in the second step iMOD will list the found sources and it is possible to modify this list manually before adding them to the Project Manager window. 5.5.2.1 Define Source for Topics The first step is to define the type of sources for each topic. Deltares 79 of 812 iMOD, User Manual DR AF T Define Characteristics for: window Define Package This table show how each of the topics for the package (here the topics CON, RST, RBT and RIF for the RIV package) need to be specified. Three options are available Constant Value Specify a constant value for the topic to be used for all stressperiods or model layers, e.g. a value of 90.0 means that this topics is 90.0 for all stress-periods or model layers; File Name Specify a file name for the topic to be used for all stress-periods or model layers, e.g. a file name as D:\MODEL\DBASE\BOTTOM.IDF applies that this file is used for all stress-periods or model layers; Wild card Specify a file name with a wild card ( * ) to specify that all files that are part of this will be added. It depends whether a module or package is associated, for modules layers can be added this way, for packages multiple stress periods, e.g. D:\MODEL\DBASE\STAGE_*_.IDF will add all files that belong to this group. iMOD will look for unique TIMESTEPS iMOD will look for unique LAYERS Select files within given layer range Select files within given time frame only Allocate Files ... Help ... Cancel ... 80 of 812 Select this option to select unique timesteps and add the related files to your project. Select this option to only select unique layers and add the related files to your project. Select this option to be able to only select the files of the given layer range of your project. Select this option to define the start- and end date for the input. Besides defining the date there is also the option of defining the time [hh]:[mm]:[ss]. E.g. entering 10th of June 2014 08 00 00 means that the input files as selected at the 10th of June 2014 at 08:00:00 am up to the specified end date. Click this button to apply the given sources for topics and pop-up a list of constant values and/or file namer per model layer or stress period. Click this button to start the iMOD Help Functionality. Click this button to close the Define Characteristics Automatically window and return to the Project Manager window. Deltares View Menu options Modify List of Topics The second step is to inspect the list of found files based on the given sources for each topic. T Define Characteristics for window: DR AF 5.5.2.2 example time and layers Deltares 81 of 812 iMOD, User Manual Define Periods A period is defined by a starting date and time for which a package, assigned to that period, will be repeatedly included in the runfile. A period start at a particular moment in time, but it will never end repeating itself. The only way of ending a package defined by a period, is by defining another package after or equal to the starting date of the period. T Define Periods window: New Click this button to define a new period. In the following window it is possible to enter a name for the period. DR AF 5.5.3 Summer From Help ... Apply 82 of 812 Use the OK button to agree with the entered period name, click the Cancel button to cancel the creation of a new period. Click Help to open the iMOD help functionality. Rename Click this button to rename an existing period name. Usage of the window as described by New will be used. Delete Click this button to delete the selected period. Whenever the last period is delete, iMOD will ask to enter a period name as described by New and if this cancelled, the Define Period window will be closed. Select one of the predefined period from the dropdown list. If none available, create one first by means of the New button. Modify the starting date and time for the selected predefined period. In this example the period Summer is a period starting from 1990 and thereafter each year at the 1st of April at 08:00:00 am. Any modification will effect any systems for topics that are assigned to that period definition. Click this button to start the iMOD Help Functionality. Click this button to close this window, any modification to a period definition will be stored. Deltares View Menu options Define Simulation Define Simulation window: T Within the Define Simulation window it is possible to configure the runfile and/or standard Modflow2005 configuration files. Several options are available, such as defining the location and size of clip models, time-discretisations and active packages. DR AF 5.5.4 Deltares 83 of 812 iMOD, User Manual Click this button to select the packages that need to be active in de model. DR AF T Packages: Unconfinedness Number of Modellayers Submodel Transient Start Date End Date SteadyState 84 of 812 By default all packages are selected, those are listed on the uppermost right corner on the Define Simulation window as well. Use the CTRL-left-mouse button to selected and deselect packages. It is not recommended to deselect packages that are essential for a correct simulation of the model, such as the BND, SHD packages. Click the Apply button to accept your choice, click the Cancel to leave the Packages window without any changes in the selected package and click the Help button to start the Help-functionality. Select this checkbox whenever a model configuration need to be prepared to simulate unconfined conditions whereby the transmissivity is a function of the computed hydraulic head. This option becomes selectable whenever the packages TOP, BOT, KHV and KVV are available. Enter a number of modellayers for which the model configuration need be built. iMOD will fill in the maximum number of modellayers based on the modellayers that have been filled in for the most important packages, BND, SHD (TOP and BOT), KDW or KHV and VCW or KVV. Check this option to define the lower- and upper-right-corner, buffersize and cellsize of a submodel or clipmodel to be included in the runfile or used to generate the Modflow2005 configuration files. Check this option to generate a transient runfile (*.RUN) or Modflow2005 configuration files. iMOD will collect all packages that are within the specified Start Date and End Date. Besides defining the date there is also the option of defining the time [hh]:[mm]:[ss]. On default the start- and end time is set to 00:00:00. Enter a start date and time for the transient simulation, this date will be start of the first stress-period. iMOD will fill in this Start Date initially with the earliest defined date in the packages. Whenever the Start Date is decreased, before the initial value, the model will include packages that remain inactive until the first dat at which they are defined. Enter an end date and time for the transient simulation, this date will be the end of last stress-period. iMOD will fill in this End Date initially with the latest defined date in the packages. The End Date is the date at which the simulate will terminate, so it is the end of the last stress period. It is allowed to increase the End Date beyond the initial value to enforce the latest stress period to be include in the model. Check this option to generate a runfile (*.RUN) for a steady-simulation, the option becomes available only whenever at least one package is defined for a steady-state period. iMOD will collect all packages that are connected to a steady-state definition as specified in the Define Characteristics window. Deltares View Menu options Include Steady State period TimeSteps Select this option to include an initial steady-state period, prior to the start of the transient simulation. This option becomes available whenever at least one package is defined for a steady-state period, see section section 5.5.1. Select one of the option from the drop down menu: Hourly Select this option to generate hourly stress-periods; Daily Select this option to generate daily stress-periods; Weekly Select this option to generate weekly stress-periods; 14/28 DR AF T Select this option to generate stress-periods on the 14th and 28th day of each month; Monthly Select this option to generate monthly stress-periods; Yearly Select this option to generate yearly stress-periods; Decade Select this option to generate stress-periods per decade; Packages Select this option to generate stress-periods that are determined by the input data as specified by the available packages in the Define Characteristics window. It can yield a non-constant time sequence for stress periods, but will be most optimally to the amount of stress-periods; Custom Select this option to refine or inspect time configuration priorly defined. This option is selected automatically after the first time the option Customize is selected. Deltares 85 of 812 iMOD, User Manual DR AF T Customize... Click this button open the Time Discretization Manager for Simulation window to customize the time steps of the simulation to be included in the runfile and/or Modflow2005 configuration. Select 86 of 812 Enter the row number within the table to be modified, e.g. 9 ad 11, those will be displayed by a red box to indicate the selected rows; Time Steps Select this option to modify time steps in the table; Save Intervals Select this option to modify the save intervals in the table; Modify Time Steps / Modify Save Intervals Click the button to adjust the selected rows according to the selected settings in the fields right of this button and explained below; 1 Enter a number to enter time steps sizes for the selected value from the drop down menu, next to it to the right, e.g. 1 means in this case 1 day. Daily Select from the drop down menu the appropriate time step size to be used for the selected rows. E.g. Daily will include time steps on a daily base for the selected rows. Other choices are Hourly, Weekly, Monthly, Decade, 14 / 28, Yearly, Packages Off / On Select on of the options to turn the Save interval for the selected rows on or off; Save As Click this button to save the current time step configuration to a *.TIM file, see section 9.4; Open Click this button to load the current time step configuration from a *.TIM file, see Deltares section 9.4; View Menu options iMOD Runfile, name of the output: MODFLOW 2005 BCF / LPF Usage of confining beds OK DR AF Minimal Layer Thickness (m) The file format of the model configuration can be defined with this option. There are two possibilities: 1. iMOD Runfile and/or standard MODFLOW2005 files. Select this option if the iMOD Runfile format is preferred. Give the name of result folder to be created by the runfile, e.g. the result folder is finally located in the {USER}\MODELS \MODEL. After selecting the OK button, it is necessary to enter the name of the runfile to be created. Select this option if the MODFLOW 2005 format is preferred. After selecting the OK button, it is necessary to enter the name of the namfile to be created. Select on of the configuration options to denote the subsoil characteristics in the Modflow2005 files. The availability of the options depend on the active packages. Select the No Confining bed whenever the model configuration is 3-D, that is there are no confined beds, the bottom of each model layer is equal to the top of the underlying model layer. Select the Confining Bed whenever the bottom of each or at least a single model layer is not equal to the top of the underlying model layer. Enter a minimal thickness for model layers. For Modflow2005 it is important that the thickness of model layers is not zero. Whenever a minimal thickness of 0.01 is entered, the top- and bottom elevations will be adapted such that there is a minimal thickness of 0.01 meter. Moreover, the hydraulic properties will be adjusted for those areas to reflect the corresponding layer, that will be part of the model layers that increase in thickness. Click this button to select an existing or non-existing runfile (iMODFLOW) and/or namfile (Modflow2005), by default iMOD will save the runfile and/or namfile in the {USER}\RUNFILES folder. It is convenient to do that as well, however not obliged, but it will allows iMOD to start the runfile from the Model Simulation tool, see section 7.9. Click this button to start the iMOD Help Functionality. Click this button to close this window. T File Format: Help ... Cancel Deltares 87 of 812 iMOD, User Manual Parameter Estimation Parameter Estimation Settings window: T Within the Parameter Estimation Settings window it is possible to configure the settings for a parameter estimation. Several options are available, such as defining the main settings, the number and characteristics of parameters, the zones and measurements, see section section 12.33 for more detailed information on parameter estimation. Most of the parameters are described in more detail in section section 10.14 as well. DR AF 5.5.5 Maximum Number of Sequences Stop Criterion Reduction of Objective Function Stop Criterion Parameter Adjustment Ignore parameter with maximal Sensitivity Minimal Acceptable Residual 88 of 812 Enter the number of sequences (iteration) of the parameter estimation routine. Enter a zero will start a sensitivity analysis only. Enter a percentage for which the objective function needs to be reduced between adjacent iteration in order to terminate the parameter estimation process. The percentage is computed as the ratio between the previous and current objective function value. Enter a value for this stop criterion between 0.0 and 1.0 to terminate the parameter estimation whenever it becomes less than the specified value. The stop criterion is computed as Enter a percentage of the sensitivity of a parameter which will be excluded from the current parameter estimation cycle, whenever its sensitivity is less than the specified value. Enter a value to skip measurements in the formulation of the objectie function whenever the absolute residual is less than the specified value. Deltares View Menu options Enter a fraction for each Target Specify Regularisation Enter a weight value for two targets of the objective function; the first target is the sum of the square root residuals, the second the sum of the square root residual of the dynamic in a measurement (see section 12.33.2). Its is not necessary to scale them to a sum of 1.0, internally the entered fraction will be scaled to a total sum of 1.0, this includes any Batchfiles included (see NUmber of Batchfiles further below). Regularisation is a process in which parameters can be grouped mathematically of excluded/ignored in the parameter optimization. This can be done manually (using the parameter sensitivity) or automatically by means of some mathematically expressions. Select of the following options to use a regularisation: No Regularisation No use of regularisation, that is no Scaling and/or Eigenvalue Decomposition; Scaling DR AF T Use Scaling as a regularisation, use this option whenever the amplitude of different residuals differ significantly, such as measurements of groundwater level and discharge; Scaling and Eigenvalues Use Scaling and Eigenvalue Decomposition whenever it is very difficult to exclude parameters on their sensitivity or relevant contribution to the reduction of the objective function; Eigenvalues Use Eigenvalue Decomposition whenever the parameter sensitivity alone, is not enough the estimate the relevance of a parameter to the parameter optimization. Kriging Type Specify the type of Kriging (section 12.33.4.1) whenever the Pilot Point concept is used (section 12.33.4). Whether Pilot Points are used is steered by the fact that an IPF file will be entered by the zones (see Number of Zones) instead of IDF files. The following options are available: Simple Kriging (section 12.33.4.1) Simple Kriging assumes stationarity of the mean, all variables have the same mean over the entire domain; Ordinary Kriging (section 12.33.4.1) In Ordinary Kriging a unknown mean is assumed only over the search neighborhood, so the mean is recomputed for the values in the search neighborhood. Deltares 89 of 812 iMOD, User Manual Click this button to define periods (see section 10.15) for which measurement need to be included in the computation of the objective function, e.g. 1st of January 2010 to the 31st of December 2010 and the 1st of January 2012 to the 31st of December 2012. DR AF T Define Periods ... Define Batchfiles ... Click the Define Periods to increase or decrease the number of available rows (entry fields) in the table, e.g. 2. There is a maximum of 10 rows. Click the Apply button to accept your entry, click the Cancel to ignore any changes, click the Help button to start the Help-functionality. Click this button to define batchfiles (see section section 10.16) for which extra or additional measurement need to be included in the computation of the objective function. Click the Define Batchfiles to increase or decrease the number of available rows (entry fields) in the table, e.g. 1. There is a maximum of 10 rows. Click the Apply button to accept your entry, click the Cancel to ignore any changes, click the Help button to start the Help-functionality. 90 of 812 Deltares View Menu options Click this button to define parameter to be optimized. DR AF T Define Parameters ... Define Zones ... Click the Define Parameters to increase or decrease the number of available rows (entry fields) in the table, e.g. 2. There is a maximum of 1000 parameters, see section section 10.17 for the explanation of the variables. Click the Apply button to accept your entry, click the Cancel to ignore any changes, click the Help button to start the Help-functionality. Click this button to define zones (see section section 10.19) for which parameters need to be adjusted. Click the Define Zones to increase or decrease the number of available rows (entry fields) in the table, e.g. 5. There is a maximum of 1000 zones, constant values can be entered to denote a zone fore the entire model area, multiply zones can be combined in a single IDF file and/or IPF files can be entered for usage of Pilot Points (section 12.33.4). Click the Apply button to accept your entry, click the Cancel to ignore any changes, click the Help button to start the Help-functionality. Deltares 91 of 812 iMOD, User Manual Click this button to define measurements (see section section 10.4) which are needed to compute the objective function. It is also possible to exclusively use Batchfiles instead. Apply System Settings Cancel Help ... DR AF T Define Measurements ... 92 of 812 Click the Define Measurements to increase or decrease the number of available rows (entry fields) in the table, e.g. 2. There is a maximum of 50 zones, constant values can be entered to denote a zone fore the entire model area, multiply zones can be combined in a single IDF file and/or IPF files can be entered for usage of Pilot Points (section 12.33.4). Click the Apply button to accept your entry, click the Cancel to ignore any changes, click the Help button to start the Help-functionality. Click this button to leave the Parameter Estimation Settings window and store the adjustments. Click this button to close the Parameter Estimation Settings window Click this button to start the Help-functionality Deltares View Menu options Subsurface Explorer The Subsurface Explorer tool can be used to import prepared subsurface data of the Netherlands into iMOD. The data that can be loaded are stored in a database, of which the path has to be specified in the IMOD_INIT.PRF file using the keyword SUBSURFEXDBASE. Furthermore, the path to the 7-zip executable on the users computer also has to be specified in this file using the keyword 7ZIP, see section 9.1 for more information. T Subsurface Explorer window: DR AF 5.6 Current Position Create a new project Use an existing project Deltares Shows the current mouse position on the map in RD coordinates. Navigation buttons for the map Use these buttons to adjust the view of the map. The buttons can be used to zoom in, to zoom out, to move the map by dragging and to reset the map to the original view, respectively. Delete a project Select an existing project in the Select project listbox and click this button to delete the project. To create a new project enter a new name in the Select project listbox. To continue using an existing project select it by clicking the name once in the Select project listbox. 93 of 812 iMOD, User Manual Select data Clear project first T Merge with project data Draw a polygon Click this button to be able to draw one or more polygons on the map. To draw a polygon, click the left mouse button to place points and click the right mouse button to stop drawing. When the polygon is finished the tool will select the cells corresponding to the polygon. Import a polygon from file Click this button to open a *.GEN file containing one or more polygons. The polygons will be drawn on the map and the corresponding cells will be selected. This list shows the available data. Select one or more data types from this list you would like to load. Select this option to first clear the data in an existing project before loading the selected data. Select this option to merge the selected data with the data already present in an existing project folder. Load the data Click this button to load the current selection. The tool will check whether all required information is present. DR AF Note: The window can be resized by dragging the edges in order to adjust the size of the map. When using polygons to select cells, the data will not be clipped to the polygon, it is only used to select the cells. A *.SHP file can easily be converted to a *.GEN file in order to be able to use it in the Subsurface Explorer. Simply open the file in iMOD as an overlay (iMOD Manager ) and the *.SHP file will automatically be converted to a *.GEN file, which will be placed in the same directory. The database that contains the data that is imported using the Subsurface Explorer tool should be structured as the above figure shows: The data type folders, SETTINGS.TXT and PROVINCES.7Z are stored in the folder to which the IMOD_INIT.PRF file should refer (see section 9.1). The SETTINGS.TXT file contains the minimal X, minimal Y, maximum X, maximum Y and the grid size of the map that is visible on the tool. In this case the map of the Netherlands 94 of 812 Deltares View Menu options is divided into cells using a grid with a cell size of 10 km2 , resulting in a total of 891 cells. An example of this SETTINGS.TXT is: 10000.0 305000.0 280000.0 635000.0 10000.0 The map of the Netherlands is drawn using a GEN file stored in PROVINCES.7Z. The T DR AF data type folders contain a zip file for each cell, containing only the data of that data type for that cell. Furthermore, when applicable, the data type folder can contain a legend in LEGEND.7Z archive, containing an iMOD format legend which will then be used when plotting the data (see section 9.15). For data types that consist of many raster files, e.g. REGIS, an MDF file stored in the database in MDF.7Z, is used to be able to handle these files more conveniently (see section 6.5). Finally each data type folder also contains a SETTINGS.TXT file, in which the extension (e.g. IPF), whether a legend is present (1 for yes, 0 for no) and (only when the data type has the IPF extension) a header which should be used for the IPFs of that data type are given. By using the SETTINGS.TXT files the tool can also be used for other datasets in other geographical regions and new data types can be added easily without editing the source code. The names of the files in the archives containing the data of cells are only the cell number followed by the extension of the file. For example the DINO borehole data of cell 55 are stored in 55.IPF (and corresponding text files). Only raster files have an extended name which also contains one string with information about the layer the file describes, this information can for example be which geological formation the layer describes or at which depth the layer is situated. For example the geotop layer at a depth of 50 centimeters below the surface in cell 55 is named -50_55.IDF. The string on the left of the underscore can contain any character supported by the operating system, except for an underscore, because this character is used to be able to separate the additional information about the layer from the cell number. The grid cells are numbered in the following way: Deltares 95 of 812 DR AF T iMOD, User Manual The data that are loaded are downloaded from the database to the userś computer and are stored in a folder with the name of the project specified using the tool in the IMOD_USER\SUBSURFACE_EXPLORER\directory. The data that are loaded into iMOD using the Subsurface Explorer are plotted and shown in the iMOD manager, after which all iMOD functionalities can be used to analyse and edit the data. Examples of dataset settings-files Example AHN IDF 0 This means that the AHN-dataset contains files of the filetype *.IDF and no predefined legendfile (*.DLF) is provided. Satellite image PNG 0 In this example satellite images are stored as *.png files and will be available via the iMOD TOPO-tool. Example DINO boreholes - header file IPF 1 5 "X-COORDINATE, M" "Y-COORDINATE, M" "IDENTIFICATIE" "MAAIVELD, M+NAP" "EINDDIEPTE, M+NAP" 3,TXT 96 of 812 Deltares View Menu options DR AF T iMOD will merge all IPF-files to one large IPF-file and putting these header lines on top of the final IDF-file. In this example the header lines stand for: 1. filetype, 2. legend provided (1=yes, 0=no), 3. amount of IPF-files to be merged, 4.-8. column names, 9. IPF attribute file types with the needed information given in column 3. Deltares 97 of 812 iMOD, User Manual Lines and Symbols In the Overlays tab of the iMOD Manager window, click the Legend button to open the Lines and Symbols window, left for lines (GENs, IFFs, ISGs), right for points (IPFs). T Lines and Symbols window: DR AF 5.7 Symbol No.: Select one of the symbol numbers out of the dropdown menu. For lines (GENs and SHPs) these types vary from solids, to dashed and stippled pattern (1-7). For point data (IPFs) these types vary from between circles, triangles, rectangles and other shape forms (1-40). Available markerset: Symbol Color Thickness Markersize Fill Polygons Close Apply Help 98 of 812 This field will display the symbol chosen from the dropdown menu Symbol No.:. Click this button to open the default Colour Selection window. Enter the value of the thickness of the line (GENs and SHPs). Enter the value of the size for the symbol (IPFs). Select this checkbox to fill in the polygons (GENs and SHPs). Click this button to close the Lines and Symbols window without applying any changes. Click this button to apply the configuration and close the Lines and Symbols window. Click this button to start the iMOD Help Functionality. Deltares 6 Map Menu options This chapter describes the Map Menu options: Add Map Click the option Add Map from the Map menu to open an IDF-, MDF-, IPF-, IFF-, ISG-, GENor ASC-file. Alternatively click on the Add Map button on the iMOD Manager, click on the icon Open Map on the toolbar, or use the shortcut F2 on the keyboard to open the Load iMOD Map window. DR AF 6.1 section 6.1: Add Map. section 6.2: Quick Open. section 6.3: Map Info. section 6.4: Map Sort. section 6.5: Grouping IDF Files. section 6.6: Legends. section 6.7: IDF Options. section 6.8: IPF Options. section 6.9: IFF Options. section 6.10: ISG Options. section 6.11: GEN Options. T Load iMOD Map window: Note: To select multiple files, use the combination Shift-left mouse to select adjacent files or use the Ctrl-left mouse button to select files in any order. Note: Whenever an ASC-file is opened (see section 9.13 for the syntax of an ASC-file), iMOD will convert these file into IDF format and write them in the same folder. Whenever such a file Deltares 99 of 812 iMOD, User Manual exists, you will be asked to overwrite it. Note: Whenever NC-file (NetCDF) is opened, iMOD will convert these file into IDF format and write them in the same folder. Since, a NetCDF file is general file format iMOD can not convert this type of a file without the interference of the user. Here for, iMOD will display the following window in which the user can specify the correct attributes for the x- and y-coordinate and the actual data block to be converted. This function is only available in the X32-bits version of iMOD. DR AF T NetCDF Content window: 100 of 812 Deltares Map Menu options Configure NetCDF Import Import Variable X-Coord.: Y-Coord.: Import As: This treeview lists the content of the selected NetCDF file. iMOD needs an attribute for the x- and y-coordinates and an actual data block. In the example presented above, these are the attributes x, y and Band1. The x- and ycoordinates (actual the mids of the gridcells) need to be stored in an one dimensional array (ndim=1) and the data block in a two dimensional array (ndim=2). iMOD will compute the cell size that is needed for the formulation of an IDF file, which can be equidistant en non-equidistant. Select an available variable that is stored by a two dimensional array in the NetCDF, e.g. Band1. Select an available variable that is stored by an one dimensional array in the NetCDF for the representation of the x-coordinate, e.g. x. Select an available variable that is stored by an one dimensional array in the NetCDF for the representation of the y-coordinate, e.g. y. Select one of the following options to store the converted NetCDF file: T IDF Select this option to generate an IDF file; IPF Select this option to generate an IPF file, each point in the IPF file represents the location as described by the selected x- and y-variable; Close OK Help Select an available variable to represent the NodataValue of the data block. iMOD will fill in the corresponding value in the input field to the right. Click this button to close the NetCDF Content window without converting the NetCDF file into an IDF. Click this button to convert the NetCDF into an IDF file and close the NetCDF Content window. Click this button to start the iMOD Help functionality. DR AF NoData Value Deltares 101 of 812 iMOD, User Manual Quick Open This functionality offers the ability to search specific iMOD folders for particular IDF-files more quickly than by means of the default windows Explorer. Select the menu option Map and then choose Quick Open to open the Quick Open window. T Quick Open window: Folder Variant Topic Time Layer Display DR AF 6.2 Zoom to Full Extent Open Help . . . Close 102 of 812 Select one of the existing foldernames from the dropdown menu. The foldernames MODELS, SCENARIOS and SCENTOOL refer to the corresponding folders below {USER}. Displays the existing subfolders below Folder. In the situation that the option SCENTOOL is chosen from the Folder dropdown menu, it will display the scenario variants of the active scenario opened by the Pumping Tool. Displays the existing subfolder below Variant. These will be the particular result folders. Displays all unique IDF-files in the Folder \Variant\Topic folder. iMOD will search in this folder for IDF-files that agree with Topic_*_L*.IDF. Displays all existing layers in the Folder \Variant\Topic folder. iMOD will search in this folder for IDF-files that agree with Topic_Time_L*.IDF. Select this option to display the IDF-file(s). Unselect this option to add the IDF-file(s) to the drawing list in the iMOD Manager only. Select this option to adjust the zoom level to the maximum extent of the last selected IDF-file. Click this button to add the selected IDF-file(s) to the iMOD Manager. Click this button to start the Help functionality. Click this button to close the Quick Open window. Deltares Map Menu options Map Info The functionality Map Info will display information about the selected map. Select the menu option Map and then choose Info Map to open the corresponding window. T Map Info window: DR AF 6.3 Current visible extent File: Fullname: Deltares This group displays the current extent of the graphical window. It shows the minimum and maximum x- and y coordinates and the delta-x and delta-y values (all in meters). This dropdown menu shows all the files that are opened in the iMOD Manager. Click this menu to select the file for which the information should be displayed. This string field shows the full pathname of the selected map. 103 of 812 iMOD, User Manual Map Information The functionality depends on the selected type of map (IDF, MDF and GEN) and is as follows: IDF Select this option to open the IDF Edit Table window, see section section 6.7.4.3; MDF Select this option to open the MDF Files Sorter window, see section section 6.5; GEN Select this option to open the Content of Associated Datafile window, see section section 6.11.1. This string field shows the alias of the selected map. This name will be used in the iMOD Manager as well and offers the possibility to clarify identical file names. Any modification will be saved only whenever the Rename button will be clicked. Rename Click this button to rename the entered Alias. Additional Information This field shows any additional information that is attached to the selected IDF. For other file types, this field will be showing the string: “No additional information found”. Edit Click this button to edit the additional information in a regular text editor, e.g. Notepad. Whenever any modifications are saved from Notepad, iMOD will write the renewed additional information in the IDF file, automatically. This string will show the number of rows and columns in an IDF or IPF-file. This field shows for the whole map the minimum and maximum values for the xand y coordinates and their total delta-x and total delta-y values (all in meters). Click this button to allow editing of the lower left corner of the IDF file. Click this button (rename to Save Adjustments) again to save the modification in the IDF file, iMOD will adjust the upper right corner accordingly. For equidistant IDF-files, it shows the width and height of the rows and columns, respectively. For non-equidistant IDF-files, it shows the minimum and maximum dimensions in both directions (all in meters). These will show the internal TOP and BOT values for IDF-files for so called voxelIDF file. These are used to present the IDF as a horizontal layer in the Profile Tool and/or 33D Tool using the TOP and BOT values for the upper- and lower interface. If the values are greyed out, these values are not present in the current selected IDF file. Click this button to edit the TOP and BOT values. Once those values differ (TOP>BOT), the IDF-file will be treated as a voxel in the 3D Tool and the Profile Tool. DR AF Map Size X: Y: Adjust Lower Left Corner DX: DY: TOP: BOT: Adjust T Alias: Adjusting TOP and BOT values: Value: Shown Value: 104 of 812 Store Click this button to save the adjustments for TOP and BOT. Displays the minimum and maximum data values of the IDF or IPF-file and the difference between them The minimum, maximum and difference between them of the current values plotted on the graphical canvas. This values represents the current statistics of data presented. Deltares Map Menu options Statistics Click this button to get the statistics of the selected IDF-file. DR AF T Statistics window: Compute Statistics for: Select one of the files from the dropdown menu to compute statistics for. Compute Click this button to (re)compute the statistics of the IDF-file. Graph Click this button to get a graph of the percentiles of the IDF-file. Increase of Percentiles Help ... Close Adjust Click this button the adjust the NoDataValue, type of Precision or internal Transformation. Apply Cancel NoData Value: Precision: Deltares Enter a value for the increment of the computed percentiles. Click this button to start the Help functionality. Click this button to close the Statistics window. Click this button to store the adjustments into the IDF. Click this button to cancel any adjustments. This field shows the NoDataValue of the IDF-file. Select a type of precision for IDF files. By default IDF files are saved in single precision (4 bytes per real/integer number). To maintain a level of accuracy in the representation of number, it could be desirable to change the single- to double precision (8 bytes per real/integer number). Bear in mind that the entire IDF file becomes double in size if switched to double precision. 105 of 812 iMOD, User Manual Transformation Select a type of transformation for the values in the IDF. The data will be transformed internally. The available options are: m → cm: transforms meters into centimeters; cm → m: transforms centimeters into meter; m → mm: transforms meters into millimeters; mm → m: transforms millimeters into meters; m3/day → mm/day: transforms cubic meter per day into millimeters per day; mm/day → m3/day: transforms millimeters per day into cubic meters per day Click this button to display the metadata (.MET) file that might be associated to the selected map. For the example, iMOD will try to open the file HEAD_20050501_L1.MET. If the file does not exist, iMOD will create the file. This function is strongly discouraged for IDF files, use the Edit button to add additional info to an IDF file instead. Click this button to start the iMOD Help Functionality. Hides the iMOD Manager. The iMOD Manager can be displayed again by choosing the menu option View and then choose the option iMOD Manager. T Create/Show Metadata . . . DR AF Help . . . Close 106 of 812 Deltares Map Menu options Map Sort The functionality Sort Selected Maps will offer the possibility to sort/re-arrange selected (IDF) files in the iMOD Manager accordingly to a selected type of order. Select the menu option Map and then choose Sort Selected Maps to expand the following options: Sort Using Keywords T Select this option to sort the selected IDF file in a order that is defined by their individual internal values. E.g., use this option to re-arrange IDF files that describe top- and bottom elevations of interfaces; DR AF 6.4 Search 1: Search 2: Search 3: Search 4: Sort Help . . . Close Enter a keyword that need to be used to sort the selected IDF files in the iMOD . Manager. The entered example of three keywords will sort all files that match the following: TOP_L1.IDF, KHV_L1.IDF, BOT_L1.IDF, TOP_L2.IDF, KHV_L2.IDF, BOT_L2.IDF. The number of layers is determined automatically from the selected IDF files in the iMOD Manager, these files need to have a number after the character sequence of ”_L”. Click this button to sort the selected IDF files in the iMOD Manager according to the entered search strings. Click this button to start the iMOD Help Functionality. Closes the Sort Files window. Sort Alphabetic Ascending Order (A-Z) Select this option to sort any the selected files upon their filename in an alphabetic ascending order, that is from A up to Z; Sort Alphabetic Descending Order (Z-A) Select this option to sort any the selected files upon their filename in an alphabetic descending order, that is from Z up to A; Deltares 107 of 812 iMOD, User Manual Grouping IDF Files Different files in the iMOD Manager may be identified, analysed and/or displayed at the same time. For example, you want to analyse the differences between two model simulations and/or combine these with geohydrological cross-sections. To control the number of files in the iMOD Manager, it can be helpful to minimize (grouping) the number of files in the iMOD Manager in to a so-called MDF (Multi-Data-File). Use the following steps to create an MDF file: 1 Select the IDF-files that you want to Group in the menu list of the iMOD Manager ; 2 Select the menu option IDF Options from the Map menu and choose the option IDF Group and enter an MDF file name in the File Selector window that pops-up. MDF Files (sorter) window: T After you entered a file name, iMOD will create an MDF-file. An MDF-file lists all the selected IDF-files in one single file. iMOD will remove all files from the iMOD Manager and reads in the created MDF file instead. The content of that file can be displayed via the option Info on the Map Info window. The following window will be displayed. DR AF 6.5 Open IDF Click this button to open an IDF-file, it will be added to the MDF-file whenever you click the Ok button. Delete Click this button to remove the selected files from the MDF-file. Up Click this button to move the selected files one position up in the list. Down Click this button to move the selected files one position down in the list. 108 of 812 Deltares Map Menu options Information Click this button to display the description of the MDF-file. Legend Click this button to adjust the legend of the selected IDF-file Display Fullnames OK Help . . . Cancel Click this option to display the entire pathnames for the IDF-files. Click this button to save the adjustments to the MDF-file. After that it will close the MDF Files (sorter) window. Click this button to start the iMOD Help Functionality. Click this button to close the MDF Files (sorter) window without any changes. T To ungroup a MDF-file, select the menu option Map and choose the option IDF Options and then the option IDF Ungroup MDF. DR AF Note: The IDF-file that is selected in the MDF-file will be used to plot on the graphical canvas. If multiple files are selected, only the first will be plotted though. The properties of the IDFs are known as all attributes (legend, cross-section types, colours, aliases) of the IDFs are copied into the MDF-file too. Note: The order in which the IDF-files are listed is the same order as which they appear in the Map Value, Cross-Section Tool and 3DTool. Moreover, MDF-files will be displayed in graphs separate from the files that are not in the MDF-file(s), see section 6.8.3.2. Deltares 109 of 812 iMOD, User Manual 6.6 Legends This section describes the usage of legends. Adjust Legends A legend is assigned to a map (*.IDF, *.IPF, *.IFF, *.GEN, *.MAP). Make sure you select one of them in the iMOD Manager to activate the Legend button on the Maps tab of the iMOD Manager. Alternatively you can click the right mouse button anywhere on the canvas and select the option Legend from the pop-up menu and then choose the option Adjust Legend. In both cases, the Legend window will appear, two examples of the Stretched tab on the Legend window, left using all color gradients (7 gradients), right using the first and last only (one gradient). T Legend window, Stretched Tab using all color gradients: DR AF 6.6.1 Legend window, Stretched Tab using two color gradients: 110 of 812 Deltares Map Menu options Flip Colours Click this option to “flip” the colour sequence, e.g. red becomes blue and blue becomes red. Histogram Click this button to display a frequency distribution of the current legend classes. Move your mouse in the graph to show the value (X-crd) and the frequency in % (Y-crd). DR AF T Graph Window (with a Frequency Distribution for 250 stretched legend classes): Zoom In Click this button to zoom in at the position of the mouse cursor, repeatedly. Right click the mouse to stop. Zoom Out Click this button to zoom out at the position of the mouse cursor, repeatedly. Right click the mouse to stop. Zoom Window Click this button to zoom into a drawn rectangle. Left click the mouse to define the first corner of the rectangle. Left click again for the second corner. Right click to cancel the zoom operation. Zoom Full Click this button to adjust the zoom level to the full extent of the graph. Xcrd= Ycrd= Help... Close Header Move Click this button to move the graph. Keep the left mouse button pressed and drag the mouse cursor to move the graph. Copy to Clipboard Click this button to copy the graph onto the clipboard of Windows. Paste the image into e.g. Word by the Ctrl-V key combination Display of the coordinates of the current mouse position. Select this button to start the Help functionality. Select this button to close the Graph window. Enter a descriptive text for the corresponding legend. The text will be plotted on top of the legend whenever the legend is plotted on the graphical canvas. Leave the input field empty to ignore any legend header. Open Legend File Click this option to open an existing *.LEG-file for the syntax. Save Legend File Click this option to save the current legend in a *.LEG-file. Deltares 111 of 812 iMOD, User Manual Predefined Legends Click this option to select a predefined legend. Select one of the available legends and click the OK button to read the selected legend into the Legend window. DR AF T Predefined Legends: GridCells Click this option to display the IDF-file with filled gridcells. ContourLines Click this option to display the IDF as contourlines. Flow direction Click this option to display arrows indicating the direction of flow. Give Min-Max values Default Colours Apply Cancel Help Data Numbers Click this option to display the actual data on the mids of the selected IDF file. The size of the text is given by the entered Line thickness. Line thickness Click this option to set the line thickness of the contours and the direction of flow arrows. If you specify a line thickness of < 0, no labels will be plotted and the line thickness becomes the absolute given thickness, e.g. a line thickness of -2 means a line thickness of 2, without any label plotted. ColorMark Select the checkbox (2-6) to turn on/off the corresponding colour in the legend colour ramp. Clicking on the coloured field (red in this case) will show the default Colour window wherein you can specify another colour. Class Enter a class that corresponds to the colour, in this case the value 8.2890 corresponds to the red colour in checkbox 2. Select this checkbox to enter a minimum and maximum value. As a result only the top and bottom input fields will be available to enter values. Click this option to reset the current colours for the default colours. Click this button to apply the legend setting to the current selected map file (IDF, IPF, IFF or GEN). Click this button to close the Legend window without applying any changes to the current legend settings. Click this button to start the iMOD Help Functionality. Note: A stretched legend contains always 255 colours and classes. Whenever a legend contains 50 classes or less, the Classes tab will appear instead. 112 of 812 Deltares Map Menu options DR AF T Legend window, Classes tab: Upper Lower Color Label Freq. (%) The first column shows the Upper limit for each class, enter different values if desired. The second column shows the Lower limit for each class. It will be filled in automatically based on the filled in values for the Upper limit. The Lower limit should be filled in for the last record only. The third column displays the colour for the class. You can click on the colour to display the Colour window. The colour will be used to colour the values less than the Upper class and greater or equal to the Lower class. The fourth column shows the label that can be displayed in the Legend tab on the iMOD Manager window and/or plotted on the canvas. The label can be entered with a maximum of 50 characters. The fifth column shows the frequency of occurrence of values within each class. It is only applicable to IDF-files. Insert a Row Click this button to insert a row in the table. It will be inserted one row above the row you select. Delete a Row Click this button to delete the selected row. Flip Colours Click this option to “flip” the colour sequence. Deltares 113 of 812 iMOD, User Manual Histogram Click this button to compute the frequencies of IDF values within each class of the current legend, a histogram is plotted, see above for an explanation). The computed values are temporary written in the fifth column. Once the Legend window has been closed, the values are removed. Update Labels Header DR AF T Graph window: Click this button to update the labels in the Label column. These values will be used whenever the legend is plotted on the graphical canvas. Enter a descriptive text for the corresponding legend. The text will be plotted on top of the legend whenever the legend is plotted on the graphical canvas. Leave the input field empty to ignore any legend header. Note: The maximum number of classes in a Classed Legend is 50. However, less is often desired. You are requested to specify beforehand the number of classes you want. When switching from the Stretched tab to the Classes tab, the following window will appear. Class Definitions window: Number of classes (1-50) Take class as-is 114 of 812 Enter the number of classes for which the stretched legend will be transformed. Select this option to sample from the classes as specified in Streched legend. If deselected, iMOD will try to round the class-interval to nice numbers that might - however - yield less classes. Deltares Map Menu options Fixed Interval Minimal Value: Maximal Value: Ok Close Help Generation of Legends DR AF T All active maps are accompanied by a legend. IDF-files are drawn standard by a legend, as well as IPFs, IFFs, ISGs and GENs. How to specify a legend is explained in sections 3.4.5, 4.2.1, 4.3.1, 4.4.1 and 4.5.2, respectively. However you can let iMOD assign classes and colours also. In that case you should select the respective *-options under Map, or alternatively you can press the right mouse button anywhere on the canvas to see the following options: Current Zoom Level Percentiles Click this option to build a non-linear legend based on the distribution of values in the selected IDF’s for the current zoom level of these files (max. 2000 points). Linear Click this option to build a linear legend based on the minimum and maximum values in the selected IDF’s for the current zoom level of these files. Unique Values Click this option to build a legend with unique values that appear in the selected IDF’s for the current zoom level of these files (should be less or equal to 50). Entire Zoom Extent 6.6.2 Select this option to generate a legend with a fixed interval, e.g. 1.0 in between the specified Minimal Value and Maximal Value. iMOD starts at the minimal value and add another class with the specified interval to a maximum number of 50 classes or less if the maximal values is reached prior to that. Enter a minimal value for the legend, e.g. -2.5. Enter a minimal value for the legend, e.g. 40.0. Click this button to continue to the Classes tab of the Legend window. Click this button to close this Class Definition window and return to the Stretched tab of the Legend window.. Click this button to start the iMOD Help Functionality. Percentiles Click this option to build a non-linear legend based on the distribution of values in the selected IDF’s for the entire zoom extent of these files (max. 2000 points). Linear Click this option to build a linear legend based on the minimum and maximum values in the selected IDF’s for the entire zoom extent of these files. Unique Values Click this option to build a legend with unique values that appear in the selected IDF’s for the entire zoom extent of these files (should be less or equal to 50). Note: Whenever the number of unique classes exceeds the maximum of 50, iMOD will distribute the original number of classes to fit the maximum of 50. It will take the frequency of the original classes into account, such that the frequencies of the renewed classes are evenly distributed. Deltares 115 of 812 iMOD, User Manual Information window: Synchronize Legends T Whenever more than one map is selected in the iMOD Manager then the option Synchronize Legends becomes available to display the Synchronize Legends window. You can open this window by selecting the menu option Map and the option Legend or alternatively the same menu options from the popup menu whenever you click your right mouse button anywhere on the canvas. DR AF 6.6.3 Synchronize Legend by window: List menu Apply Close 116 of 812 The menu list displays all the selected IDF-files from the iMOD Manager. The legend from the one that is selected (in this case the PWTHEAD_19890114_L1.IDF) will be used to be copied to the others. Click this button to synchronize the listed IDF-files to the selected IDF and close the Synchronize Legend window. Click this button to close this Synchronize Legend window without changing any legend. Deltares Map Menu options Plot Legends Right-click your mouse button anywhere on the canvas to select the menu option Legend and then choose the option Plot Legend on Map to plot the legend of the last drawn Map on the canvas. T How to move the legend: DR AF 6.6.4 The first picture shows that you can move the legend whenever the mouse symbol changes in a cross. The 2nd , 3rd and 4th show that you can increase and decrease the size of the legend whenever the arrows appear (near the legend boundaries). Whenever you right click the mouse button, you can specify the number of columns (1-5) that are used to display the legend, by selecting those in the popup menu Legend Columns. Whenever the legend contains less or equal 50 classes, the legend will be plotted such, that you can distinguish all the classes. The left two pictures show a legend for two and four columns (both 255 classes) and the right picture shows a legend with 10 classes. To remove the legend from the map, deselect the Plot Legend on Map option again. Note: The size of the text will increase and decrease whenever the size of the legend area is changed. So, to increase the textsize, you should increase the area for the legend. The following sections contains detailed descriptions of the Map options for different files that iMOD supports. Deltares 117 of 812 iMOD, User Manual 6.7 IDF Options iMOD supports several basic functionalities that manipulate IDF-files: IDF Value, IDF Export, IDF Calculator, use this tool to apply simple algebra, rescale the IDF and/or merge several IDF-file into a single one. IDF Edit, use this tool to select areas for which computations are carried out. These can be simple algebraic computations and/or smoothing and/or interpolation. IDF Value T WHY? IDF-files are raster files with (non)-equidistant rastersizes. Interactive inspection of the raster with the IDF Value option is a quick and easy way to check the raster values. WHAT? IDF Value allows you to view particular rastercell values for a single IDF-file, or multiple IDFfiles. iMOD will read the IDF values underneath the current mouse position. HOW? DR AF 6.7.1 ) button to open the In the Map tab of the iMOD Manager window, click the Map Value ( Map Value window. Otherwise, use the shortcut F3 or right-click anywhere on the canvas to open the popup menu. Select the option IDF Options and then choose IDF Analyse. Or alternatively, select the menu option Map, choose the option IDF Options and then IDF Analyse. Map Value Window: Current Location IDF 118 of 812 This field shows the current location of the mouse on the canvas. Press the LEFT mouse button to freeze the current location. Restart inspection over the canvas by pressing the LEFT mouse button again. This column in the table shows the IDF selected in the iMOD Manager and part of the inspection with MapValue. Deltares Map Menu options Transf. Cell Indices Value Format: Decimal places: Help . . . Close This column shows the value of the IDF (column 1) for the current location. Values that are greater than zero will be coloured red, less than zero become blue. This column shows the transformation that could take place, see for more information about this the syntax of the IDF-file and how to apply a transformation. This column shows the column and row number of the selected IDF-files, e.g. Cell Indices=C32;R12 to represent column 32 and row 12 respectively. There is no need that the inspected IDF-files have identical dimension and/or raster discretization. Whenever the mouse is positioned outside the limits of the IDF, Cell Indices=Outside. In case the inspector works with a rectangle/polygon, the Cell Indices will show the minimum and maximum values for the column and row numbers that are within the rectangle/polygon, e.g. Cell Indices=C40-32;R32-54. Choose the preferred value format from the dropdown menu. You can choose from: Real (e.g. 2.345), Integer (e.g. 002) and Scientific notation (0.2345E+01). Change this value to set the total amount of decimal values (values behind the point), the possible range is 0-15. Click this button to start the iMOD Help Functionality. Click this button to close the MapValue window. Alternatively the MapValue window can be closed by clicking the RIGHT mouse button anywhere on the canvas. T Values DR AF Note: All selected files in the iMOD Manager will be listed in the Map Value window, however, IPFs, IFFs, GENs and ISGs will be left out automatically. There is no need to deselect them before clicking the Map Value button. Whenever a MDF-file is selected, all IDF-files within the MDF-file will be displayed and also the MDF-filename. Map Value window filled with items from a MDF-file: Note: The menu options Move, Zoom In, Zoom Out, Zoom Full and Zoom Rectangle are available during the Map Value exercise. Note: Click the left mouse button to stop hovering over the graphical display. It will freeze the values in the Map Value window. Start hovering again by clicking the left mouse button again, terminate the entire functionality by clicking the right mouse button. On default, the Map Value window will operate as a point inspector, in other words, the value will be read for the current position of the mouse. Click the menu option Map, the option IDF Deltares 119 of 812 iMOD, User Manual Options and then the option IDF Analyse to display the following options to alter this: Plot No Location Check this item whenever no rastercells of the selected IDF-file need to be displayed. Plot All Locations Check this item whenever the rastercells of all selected IDF-files need to be displayed. Bear in mind that the performance will slow down whenever many IDF-files are included, and if IDF-files with non-equidistant rasters are included. Whenever this option is checked, all values in Map Value will be coloured differently. DR AF T Map Value window in Plot All Locations mode: Plot First Location Only Check this item whenever the rastercells of the first IDF-file listed in the Map Value table, need to be displayed. This is the default. Points Check this item whenever the values for the current location of the mouse need to be listed. This is the default. Rectangle Check this item whenever the values need to be summed within a rectangle that you can draw. Use the left mouse button to locate the first position of the rectangle and the left/right mouse button to stop and close the Map Value window. Polygon Check this item whenever the values need to be summed within a polygon that you can draw. Use the left mouse button to locate the first position of the polygon and continue to add more points (as desired) to complete the polygon. Use the right mouse button to stop and close the Map Value window. Circle Check this item whenever the values need to be summed within a circle that you can draw. Use the left mouse button to locate the first position of the circle and expand the size of the circle while moving the mouse pointer away from the first position (centre of the circle). Click again on your left mouse button to stop and close the Map Value window. 120 of 812 Deltares Map Menu options IDF Export WHY? IDF-files have a specific format. The export to a format readable in other software applications makes it possible to use the IDF-files outside iMOD. WHAT? The IDF-files can be exported in several formats. HOW? Choose the option Map from the main menu, choose IDF Options and then IDF Export to display the following menu options: ESRI ASC Format T Check this option to export the IDF into an ESRI ASCII format. Bear in mind that this ESRI ASCII format does not support non-equidistant cell sizes. Therefore, the export will result always in an equidistant ASCII file, see section section 9.13 for the exact syntax of an ESRI-ASCII file. Any ASCII file can be read in again in iMOD to convert is back to an IDF file, see section section 6.1. NetCDF Format Check this option to export the IDF into the NetCDF3 format. Any NetCDF file can be read in again in iMOD to convert is back to an IDF file, see section section 6.1. This function is only available in the X32-bits version of iMOD. DR AF 6.7.2 For both export formats the following options are available: Export Total Extent Click this option to export the current IDF for its total extent. Export Current Extent Click this option to export the current IDF for the current extent of the graphical window. Export Given Extent Click this option to export the current IDF for an extent to be entered. Deltares 121 of 812 iMOD, User Manual IDF Calculator WHY? Arithmetic operations enable the creation of new IDF-files. WHAT? The IDF Calculator works with IDF-files as input and enables to: calculate a new IDF-file using an arithmetic expression on one or two IDF-files (the Algebra tab) change the rastersize of an IDF-file by upscaling or downscaling (the Scale/Size tab) merge a selected number of IDF-files into one IDF-files (the Special tab). Map Operation window, Algebra tab: T HOW? The IDF Calculator can be displayed at any time from the iMOD Manager, click the Calculator button and/or use the Map option from the main menu (or the popup menu that displays whenever you click your right mouse button on the graphical window), choose IDF Options and then the option IDF Calculate. The following Map Operations window will be displayed. DR AF 6.7.3 Map A Map B Map C 122 of 812 Displays the first IDF. On default it will display the first selected IDF from the iMOD Manager, click the button Open IDF to open a different one. Displays the second IDF. On default it will display the second selected IDF from the iMOD Manager, click the button Open IDF to open a different one. Enter the name of the resulting IDF. On default it will use the name DIFF.IDF that will be saved in the TMP-folder of the USER-folder. Deltares Map Menu options Open IDF Click this button to select an IDF-file from a folder Formulae Enter the formulae to be used. The syntax of the formulae is that the IDFnames entered as Map A, Map B and Map C are represented by the characters A, B and C, respectively. The example C=A-B means that the values of Map A will be subtracted by the values in Map B. The following operators are available in the formulae: “+” : adds values “-“ : subtract values “/” : divides values “*” : multiplies values “?” : takes the first NoDataValue found in Map A then Map B “<”: takes the smallest from both values between Map A and Map B “>”: takes the largest from both values between Map A and Map B ABS() : takes the absolute value of the expression between brackets; LOG() : takes the logarithmic value of the expression between brackets; EXP() : takes the exponent of the expression between brackets; GTP() : computes the groundwaterclass (‘grondwatertrap’). Enter a mean highest groundwaterlevel for Map A and the mean lowest groundwater level for Map B. DR AF T The following functions are available in the formulae: Expression The Formulae entered is translated into an Expression which will be used, eventually. The expression can be used to check whether the formulae has been filled in correctly. Note: It is possible to include constant values in the Formulae, e.g. [C=1.5*A] which means that all values in Map A will be multiplied with a factor of 1.5. Be aware that the number should come before Map A as in the formulae [C=A*1.5] the constant value is ignored. This can be extended to another factor to be used for Map B, e.g. [C=1.5*A-0.5/B]. It should be noticed that these constant value are rounded to a single precision real (8 digit number), so the entered value 0.1234567890 becomes 0.12345678 in the Expression. Example of the Formulae: Ignore NoData_ Value Use NoData_ Value as value Apply function for ... Transform into . . . Use *.gen *.gen Deltares Check this option to ignore the NoDataValues in the IDF-files. On default cells equal to the NoDataValue of the IDF will be excluded in the computation. Check this option to use the NoDataValues in the computation. Specify the value to replace the NoDataValue of the IDFs. On default the value 0.0 is used. After the calculation, this option gives values smaller than given/entered absolute value a nodata value, e.g. C=A-B if C<0.1 C=nodata. Check this option to force that the resulting IDF (Map C) will have equidistant cellsizes. Whenever any of the selected IDF-files (Map A and/or Map B) is an IDF-file with non-equidistant cellsizes, the smallest cellsize in one of these will be used to determine the cellsize of Map C. Check this option to force that the results of Map C will be computed inside the polygons that are defined in the entered *.GEN-file (*.gen). Enter the *.GEN-file with polygons 123 of 812 iMOD, User Manual Open File Click this button to select a *.GEN file Select the extent for which the computation apllies: Click one of the following options: Window, to force that the results of Map C will be computed for the current ZoomLevel only; Map A, to force that the results of Map C will be computed for the extent of Map A. x1,y1,x2,y2, to enter the coordinates of a specific window Help ... Close Click this button to start the computation, it closes the Map Operations window afterwards. Click this button to start the iMOD Help Functionality. Click this button to close the Map Operations window. DR AF Map Operation window, Scale/Size tab: T Compute... Map A Displays the IDF to be scaled. On default it will display the selected IDF in the iMOD Manager, click the Open IDF button to open a different one. Open IDF Click this button to select an IDF-file from a folder. Map C Enter the name of the resulting IDF. On default it will use the IDF-file from Map A and add the postfix SCALED to it, so the IDF-name will change from *.IDF into *_SCALED.IDF. Enter the new cell size of the IDF. The resulting IDF will be an equidistant IDF with this cellsize. Scale 124 of 812 Deltares Map Menu options Formulae Select a Formulae to be used in the Upscale Formulae Upscaling (increased cell size): Boundary : minus values above positive values above zero values; Arithmetic Mean :sum cell values, excluding the NoDataValues, and divide them by the number of cells; Geometric Mean : take log()-function for cell values, excluding the No- DR AF T DataValues and zero values, sum cell log-values, divide them by the number of cells and take the exp()-function; Sum : sum cell values, excluding the NoDataValues; Sum Conductance : sum cell values, multiplied with the ratio of . . . ., excluding the NoDataValues; Inverse : take the inverse (1/x) of cellvalues, excluding the NoDataValues and zero values, and divide them by the number of cells; Most.Freq.Occur. : take the cell value that occurs most frequently within a coarse cell, excluding the NoDataValues; Sum Inverse: take the sum of the inverse (x−1 ) of the cell values, excluding NoDataValues and zero values; Percentile : take the cell value that occurs for a given percentile (0-1) within a coarse cell, excluding the NoDataValues; Block value : the value of the centre cell. Downscale Formulae Downscaling (decreased cell size): Arithm. Average: produces a good guess for all finer gridcells as a linear interpolation based on the coarse gridcells. BlockValue: assign the value of the coarse gridcell to all finer gridcells. Select the extent for which the computation apllies: Click one of the following options: Window, to force that the results of Map C will be computed for the current ZoomLevel only; Map A, to force that the results of Map C will be computed for the extent of Map A. x1,y1,x2,y2, to enter the coordinates of a specific window Compute... Help . . . Close Deltares Click this button to start the computation, it closes the Map Operations window afterwards. Click this button to start the iMOD Help Functionality. Click this button to close the Map Operations window. 125 of 812 iMOD, User Manual DR AF T Map Operation window, Special tab: Function Select one of the following functions: MERGE use this option to merge the selected IDF-files into a single one; SUM use this option to sum all values for the selected IDF-files into a single one. MEAN use this option to compute the mean for all values for the selected IDF-files; MIN use this option to compute the minimum value for all values for the selected IDFfiles; MAX use this option to compute the maximum value for all values for the selected IDF-files. IDF-files: Mask Mask File: Result: 126 of 812 Select more than one IDF-file to be merged. iMOD will calculate values for the overlapping areas based on the inverse distance to the extent border of the IDF-files. The weigh-factor for an IDF-file, increases whenever the point considered, lies further away from the extent border of the IDF-file. Exact in the middle between two IDF-files, the weigh-factors for both will become 0.5. Select this option to include a mask that determines the area to be merged, e.g. a boundary of catchment area. This option is only available whenever Function=MERGE. Enter the IDF-file of the mask. All data in the IDF, not equal to the NoDataValue will be used to identify the size of the mask. Open IDF-file Click this button to open an IDF-file as MaskFile. Enter the name of the IDF-file to be created. Deltares Map Menu options Compute... Help ... Close Click this button to start the computation, it closes the Map Operations window afterwards. Click this button to start the iMOD Help Functionality. Click this button to close the Map Operations window. Note: It is allowed only to merge equidistant IDF-files (IEQ=0, see section 9.5). IDF Edit T WHY? IDF-files are raster files with (non)-equidistant rastersizes. Normal GIS systems can not manipulate raster files in an easy way, moreover, it is difficult to edit individual rastercells. WHAT? The values of individual rastercells can be easily altered by selecting the rastercells and assigning a new value using the Calculate option. Also cellsizes of existing IDFs can be altered easily by grid refinement using upscaling and downscaling techniques. DR AF 6.7.4 IDF Edit allows you to select particular rastercells inside an IDF-file based on a maximum of two logical expressions that optionally operate inside a polygon. Logical expressions can be carried out sequentially. Once a selection has been made, different values can be assigned to them directly, or an interpolation and/or smoothing algorithm can be applied. A selection is carried out for mid points of rastercells for a particular IDF (Selection IDF). Those midpoints will be used also to perturb corresponding rastercells for IDF-files with different rastersizes and/or position. For these cases, it should be known that not all of the rastercells are affected by the alteration due to intermediate cells that are in-between midpoints of the Selection IDF. Methodology of selecting and calculating with IDF Edit: HOW? To start IDF Edit select Map from the main menu, choose IDF Options and then IDF Edit. Alternatively, you can select the menu item from the popup menu that appears when you right-click your mouse in the graphical window. In both cases, you should select at least one Deltares 127 of 812 iMOD, User Manual IDF from the iMOD Manager, the IDF Edit window will appear. Shapes DR AF T IDF Edit window, Selection tab, (left) initial window, (right) after selection: Use selected IDF to store selected cells Select . . . 128 of 812 This groupbox contains several functionalities that are needed to draw and open polygons. The functionalities are explained in detail. Select one of the IDF-files listed in the dropdown menu. The content of the list is based on the list of IDF-files in the iMOD Manager. The dimensions of the file that you select will be used to display the selection. This file will be the Selection IDF. If you select a Selection IDF with CellSizes of 25x25 meter, the selection will be displayed on that dimension. It is only possible to change the Selection IDF if the current selection is cleared and/or is empty. Click this button to start the IDF Edit Select window. Deltares Map Menu options Trace . . . Click this button to start the IDF Edit Pipet window. T IDF Edit Pipet window: DR AF The trace selection will select cells in the IDF on the basis of their value and their connection to the identified cell. Values should be: choose the selection condition from the pull down list. Search criterium: check one of the buttons: 5 point: iMOD will search directly connecting cells on a five-point pattern 9 point: iMOD will search connecting cells on a nine-point pattern Select Location on Map . . . : Draw . . . Deltares click this button to start the selection. The cursor will change in a pipette. Left click your mouse to select the cell from where you want to find the connecting cells which fulfill the selection condition. The IDF Edit Pipet window will close and the number of selected cells is indicated in the IDF Edit window. Click this button again if you like to start a new selection with new criteria and cell value (shown in the message bar at the bottom of your window IDF-value:{value}). Define Selection: New Select this option to start a new selection. Important Note: After a selection is made a new (clean) selection can only be started by clicking on the Select Location on Map . . . button. The selected cells will only than be deselected and a new selection can be made. Add to Select this option to add the results of the evaluation to the current selection set. Delete From Select this option to delete the results of the evaluation from the current selection set. Subset Select this option to take the result of the evaluation from the selection that is already in the selection set. Click this button to start the IDF Edit Draw window (see section 6.7.4.2). 129 of 812 iMOD, User Manual Clear Click this button to clear the entire selection for the Selection IDF. This button is only available whenever cells are selected. You will be asked whether you are sure to continue. Question window: Click this button to start the IDF Edit Calculation window (see section 6.7.4.3). Show Selection Click this checkbox to display the selection. T Calculate . . . Zoom Selection Click this button to adjust the zoomlevel to the selected cells. Click this button to start the iMOD Help Functionality. Click this button to close the IDF Edit window. DR AF Help . . . Close IDF Edit window, GridRefinement tab: Reshape selected IDF file 130 of 812 Select the IDF file from the dropdown menu. Deltares Map Menu options Click this button to assign a new grid size. The Enter Value window will open. DR AF Downscale algorithm Help . . . Close T Resize . . . Upscale algorithm Enter the new gridsize. This gridsize will be used within the selected polygon. It will be used for the entire extent of the IDF in case no polygon is selected. The new values of the gridcells are calculated by applying the upor downscaling methodology selected in the dropdown menus. Click this button to resize and save the IDF-file. Select the upscaling methodology from the dropdown menu; more detail about the available methodologies is given in section 6.7.3 Select the downscaling methodology from the dropdown menu; more detail about the available methodologies is given in section 6.7.3 Click this button to start the iMOD Help Functionality. Click this button to close the IDF Edit window. Example of grid refinement: Before refinement: grid with 100 m cell size Deltares 131 of 812 iMOD, User Manual DR AF T After refinement: grid with 100 m cell size and refined 25 m cell size; note that the cells on the right side are shifted. 132 of 812 Deltares Map Menu options IDF Edit Select Click the option Select on the IDF Edit window, to display the IDF Edit Select window. T IDF Edit Select window: DR AF 6.7.4.1 IDF-file: Skip NoDataValue value (. . . .) Deltares Select one of the IDF-files listed in the dropdown menu. Select this checkbox to “skip” the NoDataValues in the selection. On default this will be turned on, so cells with NoDataValues will not be selected, discarding their values. For the selected IDF-file, the current NoDataValue will be displayed between brackets. 133 of 812 iMOD, User Manual Select one of the logic variables out of the dropdown menu: “=” : Equal to Value “<>” : Not equal to Value “<” : Less than Value “<=” : Less than or equal to Value “>” : greater than Value “>=” : Greater than or equal to Value “BND“ : Selects the cells at the boundary of an area with cells equal to Value “SPIKE(4)“: selects spikes with difference byValue relative to surrounding cells in four directions “SPIKE(3)“: Selects spikes with difference byValue relative to surrounding cells in at least three directions “SPIKE(2)“: Selects spikes with difference byValue relative to surrounding cells in at least two directions “ALL“: Selects all cells “NaN“: Select values equal to a so-called NaN-value in the IDF, these numbers contains value that are beyond the range of a single precision real “Inf“: Select values equal to an infinite value. E.g. infinity is caused by dividing by zero “NodataValue“: Select values equal to the NodataValue of an IDF-file T Logic DR AF Value Include extra statement New Add to Delete from Subset Note: The selection of SPIKE(i) may be used to smooth outliers in the IDF-file using the smooth option in the IDF Edit Calculation window. Enter the value to be evaluated, e.g. 11.230 or -5.400 Select this checkbox to add an extra IDF to be evaluated for the selection. You can choose the keywords: AND, click this option to make the selection set fulfill both the settings in Evaluate IDF A and Evaluate IDF B; OR, click this to make the selection set fulfill at least one of the settings in Evaluate IDF A or Evaluate IDF B. Select this option to start a new selection. Select this option to add the results of the evaluation to the current selection set. Select this option to delete the results of the evaluation from the current selection set. Select this option to take the result of the evaluation from the selection that is already in the selection set. Select this checkbox to apply the evaluation inside the current polygon(s) only. This option is active whenever a shape is selected in the IDF Edit window. This shows the current number of selected cells (271) in the Selection IDF that consists of 422500 cells. Click this button to clear the entire selection for the Selection IDF. This button is only available whenever cells are selected. You will be asked whether you are sure to continue. Select this button to get the selection. Each selection will be saved in the file: {USER}\tmp\{username}tmpselected{i}.dat. Undo Click this button to restore the previous selection. Select for Polygon 271 cells selected out of 422500 Clear . . . Get Selection Question window: 134 of 812 Deltares Map Menu options Zoom to Selection Click this button to adjust the zoomlevel to the selected cells. Show Selection Click this checkbox to display the selection (see below). Help ... Close Click this button to start the iMOD Help Functionality. Click this button to close the IDF Edit window. 6.7.4.2 DR AF T Example showing (left) and deshowing (right) the selected cells: IDF Edit Draw Click the option Draw on the IDF Edit window, to display the IDF Edit Draw window. Cells from the selected IDF can be selected or deselected interactively in the graphical window. IDF Edit Draw window: Add Cells Click this button to add cells to the selection. Use the left mouse button and drag the cells you want to select on the graphical window. Release the left mouse button to stop drawing and click the left mouse again to add more cells to the selection. Draw a selection in the Selection IDF: Deltares 135 of 812 iMOD, User Manual Remove Cells Click this button to remove current cells from the selection. Use the left mouse button to deselect cells from the current selection. Release the left mouse button to stop deselecting cells and click the right mouse button again to deselect more. Clear . . . 6.7.4.3 Click this button to clear the entire selection for the Selection IDF. You will be asked whether you are sure to continue. This shows the current number of selected cells (101428) in the SelectionIDF that consists of 422500 cells. Click this button to start the iMOD Help Functionality. Click this button to close the IDF Edit Draw window. DR AF 101428 cells selected out of 422500 Help . . . Close T Deselect cells for the Selection IDF: IDF Edit Calculate Click the option Calculate on the IDF Edit window, to display the IDF Edit Calculate window. This option is not active whenever nothing is selected. IDF Edit Calculation window: 136 of 812 Deltares Map Menu options The calculation method is defined in the upper part of the window: Define Value BY:. The IDF on which the calculation is applied is selected in the lower part of the window: Assign Value TO:. Copy Values From: Smooth Select this option to apply NoDataValues Select this option to enter a new value. Choose one of the following options from the dropdown menu: “=” : equal “+” : add a value “-“ : subtract “*” : multiply “/” : divide Select this option to copy the values from the selected IDF-file in the dropdown menu. The IDF-files are those that are available in the menu on theiMOD Manager. Select this option to smooth the values within the selection only. DR AF Smooth options: T NoDataValue New Value Interpolate Buffersize Enter the number of rows/columns that need to be taken into around account in the smoothing. The value 1 means that around a cell (row/column): that needs to be smoothed, one row/column will be used. Apply Enter the number of smooth operations. The more times smoothing smoothing is done the more smoother the result will be. for following times: Select one of the following options to interpolate: BIVARIATE apply a bivariate method; PCG apply a preconditioned conjugate gradient method; KRIGING apply a normal Kriging procedure. Table from: Deltares Properties Click this button to display a properties window for the selected interpolation option. Whenever the PCG is selected the PCG Settings window will be displayed (section Table 4.1), in case a Kriging method is selected, the Kriging Settings window is displayed (Table 4.1. Click this option to open a table that shows the cell values in the selected cells for the IDF-file selected in the dropdown menu (right). Click this button to display an overview of the cell values in a table. The IDF Edit Table window opens. 137 of 812 iMOD, User Manual T Example of IDF Edit Table: The values shown in the table can be edited. Select this checkbox to colour the table cells by their corresponding values. Deselect this checkbox to display the table uniformly white. Each time a table value is changed, the colouring will be adjusted accordingly. Column Click this button to uniformly change the table column width by Width the entered column width Apply . . . Click this button to confirm to copy the values. Be aware that you need to click the Calculate button to actually copy those values into the IDF-file selected in Assign Value TO. Close . . . Select this button to discard any entered values and to close the IDF Edit Table window Select the IDF-file that need to be adjusted from the dropdown list. DR AF Colour columns ... Available IDF-file: Create a New IDF-file Calculate Select this option to enter a different IDF file (not yet loaded in the iMOD Manager . and/or to be created Save As Click on the button and enter a name for the new IDF. The name of the new IDF is displayed. Select this button to execute the calculation and to adjust the values in the selected IDF-file. UndoClick this button to undo the last calculation. Each calculation will be saved in the file: {USER}\TMP\{USERNAME}TMPCOMPUTED{i}.DAT. Show Selection Click this checkbox to display the selection of the graphical window. Help . . . 138 of 812 Click this button to start the iMOD Help Functionality. Deltares Map Menu options Close . . . Click this button to close the IDF Edit Calculation window. If you have adjusted one/more files, you will be asked whether you are sure to leave the IDF Edit Calculation window. Changes can not be restored once you have agreed upon closing the IDF Edit Calculation window. T Question window to leave the IDF Edit Calculation window: DR AF Note: Whenever you click the Calculation button, the IDF-file will be adjusted and the new results will be saved directly in the IDF-file. You can use the Map Value option, to inspect the adjusted results, without leaving the IDF Edit Calculation window. Deltares 139 of 812 iMOD, User Manual 6.8 IPF Options iMOD supports several basic functionalities that manipulate IPF-files: IPF Configure, IPF Analyse, use this tool to analyse the content of the IPF-files (including the associated files, if available). IPF Extract, use this tool to extract points out of an IPF-file to be saved independently. IPF Configure WHY? IPF-files in iMOD represent point data that can be displayed in different ways. T WHAT? IPF Configure is used to define the settings for display and assigns a symbol, colour or label to the point data. HOW? Select the menu option IPF Configure from the IPF-options menu in the Map menu to display the IPF Configure window. Or, use right-click anywhere on the canvas to open the popup menu. Select the option IPF-options and then choose IPF Configure. DR AF 6.8.1 IPF Configure window: X-Coordinate: Y-Coordinate: 140 of 812 Select the column in the IPF that represents the X coordinate. Select the column in the IPF that represents the Y coordinate. Deltares Map Menu options Z-Coordinate: Sec.Z-Crd.: Select the column in the IPF that represents the Z coordinate. This data column will be used in the Cross-Section Tool and/or 3D Tool. Select the column in the IPF that represents the secondary Z coordinate. This data column will be used in the Cross-Section Tool and/or 3D Tool in combination with the Z-Coordinate. In these cases, iMOD will draw a line between the Z-Coordinate and Sec.Z-Crd.. You can use this for the top and the bottom of the screen-depth of a well. DR AF T Example: Scale Column: Select the column in the IPF to scale the symbol size. This option scales points that have larger values than others, those will be displayed as an increased marker symbol. iMOD will scale the values linearly from large up to small and displays them accordingly, such that small values will be plotted upon large values. As NO legend is specified, the internal values of the appropriate column will be used, otherwise the minimal and maximal values of the specified legend will be used to scale the symbols. Example: Method Visible Depth Single Pick Colour . . . Deltares Select a method. Select and specify an interval in meters, over which points are visible. Select this option to display all points with the same colour. Select this button to display the default Colour window in which a colour can be specified. The current colour is displayed to the right of this button. 141 of 812 iMOD, User Manual Apply to Select this option to colour the points according to the selected attribute that is chosen in the dropdown menu at the right. Example: Help. . . Close T Select this option to display the Lines and Symbols window, section 5.7. Select this button to display the Select Label to be Printed window. Insert an indication which vertical axis to use for maximal 10 attributes that are available in associated files. The value 1, means that the attribute is plotted against the first y-axis, 2 means that the attribute is plotted against the second y- axis (on the right of the final graph). Click this button to start the iMOD Help Functionality (if available in the selected *.PRF file). Select this button to apply the settings and close the IPF Configure window. DR AF Colouring and Styles. . . Labels. . . Y-axes for associated files Note: On default, the classes for a legend will be computed linearly between the minimum and maximum values for the selected attribute. Use the options described to adjust this legend in order to plot proper colours. 142 of 812 Deltares Map Menu options IPF Labels WHY? The attributes of point data are displayed as labels. WHAT? At the location of each point one or more labels can be displayed. HOW? Choose the option Define Labels to be Plotted from the IPF Configure window to display the following window. T Define Labels to be Plotted window: DR AF 6.8.2 Select one or more labels TextSize Use different colouring for each field Trim beyond last “\”character Use Labelname OK Help. . . Cancel Deltares Select one of more labels from the menu to display near the point of the IPF file. Select one of the available textsizes from the dropdown menu. Select this option to use different colour for each attribute value. Uncheck this option to use a white fill for each label. Select this option to trim the attribute value beyond the last “\”character, so the attribute value boreholes\east\NH45 will be displayed as NH45. Select this option to display the label name and the label value. Click this button to close the Define Labels to be Plotted window. Click this button to start the iMOD Help Functionality. Click this button to cancel the chosen definition and to close the Define Labels to be Plotted window. 143 of 812 iMOD, User Manual T Example of the usage of different colouring for attribute fields: The following options are available from the 3D Tool only: Enter the number of the column in the associated files that need to be used for the size of the cylinders plotted for the boreholes. Enter the number of the column in the associated files that need to be used for the vertical location of a disc around a borehole Check this item to improve the display of a borehole. Enter a value to increase the size of the borehole Enter a number of subdivisions to be used to display a borehole. A large number of subdivisions will improve the appearance. DR AF Cylinder Class Column Disc Class Columns Fancy Size Symbol Number of subdivisions Examples of a fancy (first three on the left) display with different number of subdivisions and a non-fancy appearance (utmost right): Shade Display points as: 144 of 812 Check this item to apply a shade on the boreholes. Choose one of the options: Points, lines, silhouette, fill Deltares Map Menu options IPF Analyse WHY? The attribute and time series data of selected point data are displayed interactively. WHAT? The IPF Analyse function is used primarily to display the timeserie data of selected point locations in a graph on the map or separately. IPF Analyse window, Attributes tab: T HOW? To display the IPF Analyse window, click the Map option from the main menu, then the option IPF-options and then the option IPF Analyse (this is similar from the popup menu that displays whenever you click your right mouse button on the graphical window). The selected IPF-file(s) from the iMOD Manager will be used in the IPF Analyse window. DR AF 6.8.3 Geologicalboreholes.ipf, Gef.ipf, Domestic.ipf Table Selected 6 records out of 95 These buttons show the IPF-files that are currently available in IPF Analyse. It is possible to select maximal 5 IPF-files before entering the IPF Analyse window. iMOD will switch to the correct tab if points are selected from other IPF-file(s). The table shows all attributes for the IPF-file, in this case 5 attributes are available (X, Y, Symbol, Location, FinalDepth). To add a point to the selection, left-click the mouse button at the location of the desired point in the graphical window. The cursor of the mouse will show a “plus”- or “minus”-sign to indicate whether you add or delete the current location to/from the selection. All selected points will appear on the graphical window as a small red cross. The first column in the table shows the record number, i.e. the row number in the data field of the IPF-file. This shows the current number of selected point in the table. IPF Figure Click this button to display the content of the associated files for the selected point in the IPF Analyse Plot window. Deltares 145 of 812 iMOD, User Manual Properties Click this button to display theIPF Configure window. Delete Click this button to remove the selected row from the selection displayed in the table. Click this button to start the iMOD Help Functionality. Click this button to close the IPF Analyse window. Help. . . Close DR AF T Example of selected points in IPF Analyse: Note: Only 50 records can be displayed in each table. However, more records can be selected, but they will not appear in the table. 146 of 812 Deltares Map Menu options DR AF T IPF Analyse window, Colours tab: The Colours tab is only used when IPF-file(s) are selected that contain associated files that describe borehole information. The settings from the Colours tab will be used to colour the individual zones in the boreholes. The chosen and/or defined legend(s) will be saved in the IMF-file for later use. The next time you enter the IPF Analyse window the same legends will appear. IPF: Legend: Label Color Description This dropdown menu shows the IPF-files that are currently available in the IPF Analyse. For each IPF-file a different legend can be defined by making use of the Legend: dropdown menu. This dropdown menu allows you to select and/or define a different legend per available IPF-file. Enter the label that matches the second field (column) in the associated file that contain borehole information. Displays the colour of the field. You can specify a different colour by selecting the Color column for the appropriate row. The default Colour window will appear. Enter a descriptive string that will be used in the display of the legend. Open Click this button to open a *.DLF file that describes the colouring info. SaveAs Click this button to save the current colouring information to a *.DLF-file. Note: On default the file {USER}\SETTINGS\DRILL.DLF will be used. Deltares 147 of 812 iMOD, User Manual DR AF T IPF Analyse window, Settings tab: The Settings tab is only used when IPF-file(s) are selected that contain associated files that describe timeseries information. The settings from the Settings tab will be used to plot the individual timeseries that are associated with the selected points. Fix Horizontal Axis From: Interval: To: Fix Vertical Axes Min.: Max.: Interval (m): Graph: Select this checkbox to specify the dimensions of the X-axis. Whenever unselected, iMOD will determine the dimensions of the X-axis automatically. Enter the start date for the X-axis. Enter the interval of the X-axis in days. Enter the end date for the X-axis. Select this checkbox to specify the dimensions of the Y-axis. Whenever unselected, iMOD will determine the dimensions of the Y-axis automatically. Enter the minimum value for the Y-axis. Enter the maximum value for the Y-axis. Enter the interval of the Y-axis in meters. Select one of the following options: None: No timeserie will be plotted at the selected points; Simple: A simple timeserie-graph will be plotted at the selected points, without any axes; Extended: A timeserie-graph will be plotted at the selected points with x- and y-axes. 148 of 812 Deltares Map Menu options DR AF T Example of the plotstyle Simple (top) and Extended (bottom) Style: Select one of the following options: Continuous: The individual data points in the timeseries will be connected directly from one point to the other. This assumes that the intermediate unknown data points will be on a straight line between the two known data points. e.g. use this option to display timeseries of groundwaterhead; Blocked: The individual data points in the timeseries will be connected as horizontal line. This assumes that the intermediate unknown data points will have the same value as the previous known data point. e.g. use this option to display timeseries of extraction rates. Mark Points Apply Select this checkbox to place markers (cross) at the location of data points. Select this button to apply the settings to the data points selected in the table on the Attributes tab. Example of Continuous (left) and Blocked (right) lines: Deltares 149 of 812 iMOD, User Manual Drop down menu Click the right mouse button on the graphical display to show the following option. Quick View . . . T Drop down menu IPF Analyse: Select this option to display the IPF Analyse Figure window. The content of the IPF Analyse Figure window will change whenever you select a different data point with the mouse. Whenever you click the left-mouse button, the current location remains unchanged and you can use the IPF Analyse Figure window. If you click the left-mouse button again on the graphical display, the current location changes again according your mouse position. Use the right mouse button to stop Quick View. Select this option to display the Select For window to select data points that meet a specific criteria. Select this option to draw a polygon on the graphical display, to select all data points that are inside that polygon. Select this option to select all data points present in the current zoom extent. DR AF 6.8.3.1 Select For . . . Select within Polygon Select for current Zoom Extent Select the entire Domain Deselect All . . . 150 of 812 Select this option to select all data points from the current IPF. Select this option to delete all selected data points from the table in the Attributes tab on the IPF Analyse window. You will be asked to confirm this operation beforehand. Deltares Map Menu options IPF Analyse Figure Click the option IPF Figure from the IPF Analyse window to start the IPF Analyse Figure window. By moving with your cursor over the boreholes you are able to navigate through the characteristics of the boreholes. Depending on the position of the cursor on the borehole, the specific layer will be highligthed in the Table of Associated Files Content (see figures below). T Example 1: Borehole (IPF option=2) representation IPF Analyse Figure window: Table of Associated File Content DR AF 6.8.3.2 Deltares 151 of 812 iMOD, User Manual DR AF T Example 2: Well locs (IPF option=3) representation IPF Analyse Figure window: Table of Associated File Content File – Print File – Quit Settings – Continuous Lines Settings – Block Lines Help . . . Print the selected figure to the default Windows external Printer. Click this option to close the IPF Analyse Figure window. Click this option to display timeseries as continuous lines. The individual data points in the timeseries will be connected directly from one point to the other. This assumes that the intermediate unknown data points will be on a straight line between the two known data points. e.g. use this option to display timeseries of groundwaterhead. Click this option to display timeseries as block lines. The individual data points in the timeseries will be connected as horizontal line. This assumes that the intermediate unknown data points will have the same value as the previous known data point. e.g. use this option to display timeseries of extraction rates. Click this button to start the iMOD Help Functionality. Print Click this icon to print the current Graph(s) to a printer. Export Click this icon to export the current Graph(s) to an ASCII-file (*.csv). Copy to Clipboard Click this icon to copy the current Graph(s) to the windows Clipboard. Use the shortcut Ctrl-C , alternatively Redraw Click this button to redraw to the graphical content. Zoom Full Click this button to zoom to the entire extent of the Graph(s). Zoom Rectangle Click this button to zoom in for a rectangle. Use the left-mouse button to determine the lower-left corner of the rectangle, click again for the upper-right corner (or vice-versa). All graphs will be adjusted accordingly. 152 of 812 Deltares Map Menu options Zoom In Click this button to zoom IN on the centre of the current Graph(s). Zoom Out Click this button to zoom OUT on the centre of the current Graph(s). Select one/more to plot DR AF Example of two timeseries displayed: T All data for above selected file Move Click this button to move the current Graph(s). Click the left-mouse button on that location where you want to move from, repeat this after the display has been refreshed (automatically). Use the right mouse button to stop the moving process. The maximal number of records that can be displayed in the table is 500. Whenever, more data is found in the associated file, iMOD will display this warning (e.g. displayed only 500 out of total 812 record) and will not present data that exceeds the number of 500 records. However, they will be presented in the graph. Select one or more of the listed files to plot. For each file that is selected, a new graph will be displayed. Plot all figures in one frame Deltares This option is available whenever more than one file is active in the IPF Analyse Figure window. It allows you to combine the selected files in a single graph. 153 of 812 iMOD, User Manual X-axis Y-axis Visible DR AF T Example combining different files together in a single frame: Red colour box Thin Thick Scale column on plot area, given a factor: Scale each data column seperately on plot area 154 of 812 Select this option to specify the minimum and maximum values for the x-axis. These values remain active for graphs that are plotted on the graphical canvas as well as specified on the Settings tab on the IPF Analyse window. Select this option to specify the minimum and maximum values for the yaxis.These values remain active for graphs that are plotted on the graphical canvas as well as specified on the Settings tab on the IPF Analyse window. Select a attribute from the dropdown menu to adjust the plotting setting associated with it. Click in this field to open a Window Colour Window in which a colour can be depicted to be used for the selected field from the dropdown menu. Select this option at the Table of Associated Files Content window to apply a thin line thickness. Select this option at the Table of Associated Files Content window to apply a thick line thickness. Select this option to define the multiplication factor per data column selected in the dropdown menu. Update Click on this button to update the IPF Analyse Figure plot window with the defined factor(s). Reset Click on this button to reset all the defined factors (for all columns) to 1.0 and refresh the IPF Analyse Figure plot window to the initial values. Scale All Click on this button to apply the defined factor to all columns at once and refresh the IPF Analyse Figure plot window with the defined factor(s). Select this option to plot each data column on a different x-axis next to the previous data column. This can make it easier to analyze each data column seperately. This option only works in case of cone penetration or well log data. Deltares Map Menu options It depends on the type of the selected associated files what kind of figure will be displayed. DR AF T Example of (left) timeseries, (middle) boreholes and (right) borelogs in an IPF Analyse Figure window: Note: Whenever you move the mouse in the graphical area, the coordinates of the current graph will be displayed underneath. If more than one file is selected, the current selected graph will be displayed too. Example of display of the current position in the graph that shows the timeseries of B15E0259001: Deltares 155 of 812 iMOD, User Manual IPF Extract WHY? An IPF-file containing a subset of point data is extracted from an IPF-file. WHAT? A new IPF-file is created by selecting point locations from an existing IPF-file. HOW? Select a single IPF file in the iMOD Manager for which points need to be extracted and saved in a new file. Select the option Map from the main menu, choose the option IPF-options and then the option IPF Extract to display the IPF Extract window. T IPF Extract window: DR AF 6.8.4 Click these buttons to draw, open, save, delete or rename a shape. More detailed information can be found in section 4.2 IPF: Get Selection ... Clear Selection ... 14 points selected Apply . . . Help . . . Close 156 of 812 Displays the IPF filename selected in the iMOD Manager. Click this button to start the IPF Find window (section 6.8.5). Whenever you have specified a polygon, bear in mind that only those points will remain that are inside the selected polygons. All selected points will be marked by a red cross. Click this button to remove the current selection. You will be asked to confirm this action. Shows the number of selected points. Click this button to select a new IPF file to save the selected IPF points. If this action is successfully, the IPF Extract window will close and the new created IPF will be added to the iMOD Manager. Click this button to start the Help functionality. Click this button to close the IPF Extract window. Deltares Map Menu options DR AF T Example of selected IPF Points: Note: Associated files will be copied too. If the original IPF relates to a relative folder, e.g. “asfiles\”, the new IPF will copy those associated files to a relative folder “asfiles\” below the folder of the new IPF file. 6.8.5 IPF Find WHY? To create a new IPF-file by extracting points from an existing IPF-file. WHAT? The selection of point data is made inside an interactively defined rectangle or polygon using a logical expression for numerical data or using a character expression for alphanumeric data. HOW? Select the option IPF Find from the Extract IPF window to start the IPF Find window. Deltares 157 of 812 iMOD, User Manual IPF: Attrib.: DR AF T IPF Find window, (left) using a logical expression and (right) using a character expression: Evaluate within current zoom window only Use following logical expression Use following character expressions Case sensitive Search Help . . . Close 158 of 812 Displays the active IPF file. Select one of the attributes within the IPF file to be used for the selection of points. Select this checkbox to force a search of points within the current zoom level only. Select this option to specify a logical operator and enter a numeric value to be evaluated. Select one of the following expression (only for numeric values!): <: Less than <=: Less or equal to =: Equal to >: Greater than >=: Greater or equal to \=: Not equal to Select this option to specify a search string, e.g. TNO7*. Use the character “*” to identify that any character is valid and the “?” to denote that any character is valid but for that number of positions equal to the number of “?”-marks. Select this item to apply a case sensitive search on characters. Click this button to start the search process. Click this button to start the Help functionality Click this button to close the IPF Find window. Deltares Map Menu options IFF Configure WHY? IFF-files (iMOD Flowpath Files) in iMOD represent line data generated by the Pathline Simulation function (see section 7.14). This function uses IMODPATH to compute flowlines based on the budget terms that result from an iMODFLOW computation. WHAT? IFF Configure is used to define the settings for display and assigns a symbol, colour or label to the flowlines. The options are similar to the IPF Configure function (see section 6.8.1). HOW? Select the menu option IFF Configure from the IFF-options menu in the Map menu to display the IFF Configure window. Or, use right-click anywhere on the canvas to open the popup menu. Select the option IFF-options and then choose IFF Configure. IFF Configure window: T 6.9.1 IFF Options DR AF 6.9 The IFF-configure window is comparable to the IPF-configure window (see section 6.8.1) except that some functions are not active. X-Crd.: Y-Crd.: Z-Crd.: Sec. Z-Crd.: Highlight Sight Depth Deltares Not active Not active Not active Not active Not active Select and specify an interval in meters, over which points need to be displayed. 159 of 812 iMOD, User Manual Single Colour Select this option to display all points with the same colour. Colour . . . Select this button to display the default Colour window in which a colour can be specified. The current colour is displayed to the right of this button. Select this option to colour the lines according to the selected attribute that is chosen in the dropdown menu at the right. Select this option to display the Lines and Symbols window, section 5.7. Apply Legend to Define Colouring and Styles. . . Define Labels to be Plotted Y-axes for associated files Help. . . Not active Click this button to start the iMOD Help Functionality (if available in the selected *.PRF file). Select this button to apply the settings and close the IPF Configure window. DR AF T Close Not active 160 of 812 Deltares Map Menu options 6.10 ISG Options ISG-files contain all necessary information to simulate a river segment, such as: location, time dependent waterlevels, cross-sections, structures. iMOD supports functionalities that manipulate these ISG-files: ISG Configure, ISG Edit, use this tool to analyse and/or adjust the content of the ISG-file. ISG Show, specify what attribute need to be plotted. ISG Configure WHY? ISG-files are used in iMOD to simulate the location of the surface water system. T WHAT? ISG-files in iMOD represent line and point data that can be displayed in different ways. HOW? Select the menu option ISG Configure from the ISG-options menu in the Map menu to display the ISG Configure window. Or, use right-click anywhere on the canvas to open the popup menu. Select the option ISG-options and then choose ISG Configure. DR AF 6.10.1 ISG Configure window: Settings Apply colouring to: Single colour Deltares Not yet implemented The lines can be presented in a single colour or in different colours according a defined legend Select this option to display all lines with the same colour. The colour can be changed by clicking the Colour . . . button. 161 of 812 iMOD, User Manual Apply legend to Define Colouring and Styles. . . Define Labels to be plotted Help. . . Close Select this button to display the Select Label to be Printed window. Not yet implemented. Click this button to start the iMOD Help Functionality (if available in the selected *.PRF file). Select this button to apply the settings and close the IPF Configure window. ISG Show WHY? To show the location of point data of ISG-files. T WHAT? ISG-files contain six types of point data which are connected to the river segments: nodes, segment nodes, cross-sections, calculation nodes, structures and QH-relationships. HOW? Select at least one ISG-file in the iMOD Manager and use the option Map from the main menu (or right click your mouse on the graphical canvas), choose the option ISG-options, and then ISG Show to list the following categories (see also next page) DR AF 6.10.2 Not yet implemented Select this option to display the Define Colouring and Styles window Nodes Check this item to display the FromNode (FN) and ToNode (TN) of the river segment (symbol = rectangle) and their labels; Segment Nodes Check this item to display the nodes (symbol = solid circle) that define the river segment; Calculation Nodes Check this item to display the calculation nodes (symbol = square with a crossline) that contain information on waterlevels, bottom levels, infiltration resistance and infiltration factors, all time dependent. Cross-Sections Check this item to display the cross-sections (symbol = polygon shape of cross-section) that are available on the river segment containing information on the shape of the river bed; Structures Check this item to display the locations (symbol = triangle) that contain information on waterlevels before and after weirs/structures, both time dependent; QHW-relationships Check this item to display the nodes (symbol = square with two colours) with a dischargehead relationship; Flow Direction Check this item to display the flow direction (symbol = arrow in the direction of the flow). The flow direction is the order in which the coordinates for the segment are entered. This can be changed by the Rotate-button on the Coordinates -tab on the ISG Attributeswindow. Note: Colouring of all above mentioned attributes can be defined in the ISG Edit window. 162 of 812 Deltares Map Menu options DR AF T Examples of the symbols used for all categories available in ISG-files: Deltares 163 of 812 iMOD, User Manual ISG Edit WHY? To add, delete or adjust interactively the line and point (attribute) data stored in an ISG-file. WHAT? The ISG Edit window has seven tabs: Segments: to select one or more segments from the list; actions on the segments can be executed, such as viewing in a profile or conversion to a raster; Polygons: to define or load a polygon to use in the selection; Attributes: to remove or adjust one or more of the attributes; Calc. Points: to define the value to be adjusted of the attribute Calculation points; calculation points are the points on a segment where a water level is calculated; Structures: to define the value to be adjusted of the attribute Structures; Structures are T the weirs on a segment where a (fixed) water level is maintained; Cross-sections: to define the value to be adjusted of the attribute Cross-sections; Crosssections are the points on a segment where a cross-section is defined; QWD relationships: to define the value to be adjusted of the attribute Q-Width-Depth relationships; Q-Width-Depth relationships are the points on a segment where the relation between the discharge and the width and depth of the water level is defined. DR AF 6.10.3 The bottom part of the ISG Edit window shows the display settings of the segment attributes. HOW? Select at least one ISG-file in the iMOD Manager and use the option Map from the main menu (or right click your mouse on the graphical canvas), choose the option ISG-options, and then ISG Edit to display the ISG Edit window. Note: In case, more ISG-files are selected in the iMOD Manager, prior to starting the ISG Edit option, iMOD will offer the possibility to merge all selected ISG-files into a single ISG-file. Question window: The example below shows how two different ISG-files would be merged into a single one. 164 of 812 Deltares Map Menu options T Example of ISG’s of a primary and secondary surface water system DR AF Example of an ISG capturing the combined primary and secondary surface water systems Deltares 165 of 812 iMOD, User Manual ISG Edit window, Segments tab: T Use this window to select segment for modification, create new segments, delete existing segments and or start a variety of analyse functionalities, such as visuals of length-profiles, colouring of attributes on segments, rasterize parameters and so on. DR AF 6.10.3.1 Segment List This list shows all the available river segments in the current opened ISG-file, e.g. 17.ISG. Select at least one river segment from the list to activate the Delete, Profile and ZoomSelect options. Moreover, a segment can be selected on the graphical canvas whenever the mouse is left-clicked near a Segment Node. A segment that is selected will be presented as a green line and can be edited moving your mouse on the line. Several options are available using the right-mouse button. Example of a selected segment, (left) moving an existing node, (right) adding a new node: 166 of 812 Deltares Map Menu options Rename Click this button the rename the selected segment point. The Give New Name: window will appear. DR AF T Give New Name window: ZoomSelect Click this button to adjust the zoom level to fit the selected segments. Attributes Click this button to start the ISG Attributes window, see section 6.10.3.9. DrawSegment Click this button to start drawing a new segment. On default, the name of the segment will be Segment{number}, it has two calculation nodes (one at the beginning and one at the end, that are both compulsory) and a single cross-section in the middle (one cross-section is compulsory for each segment). Drawing a new segment: Connect Upstream Click this button to select the upstream segment interactively, a Pipet cursors appears ( ) and any segment that is near your mouse position will be highlighted. Use your left mouse button to select the segment that need to be used from the upstream segment. Remove an entered upstream by clicking next to any of the segments. Terminate the selection process by the clicking the right or middle mouse button. Deltares 167 of 812 iMOD, User Manual Connect Downstream Click this button to select the downstream segment interactively, a Pipet cursors T ) and any segment that is near your mouse position will be highlighted. appears ( Use your left mouse button to select the segment that need to be used from the downstream segment. Remove an entered upstream by clicking next to any of the segments. Terminate the selection process by the clicking the right or middle mouse button. AutoConnect Downstream Click this button select the downstream segments, automatically. iMOD avoids any recursive connections, so whenever the first point of a nearby segment is within the selected distance (Snap Distance) but it connects (in)direct to the selected segment, it is not used as a downstream segment. Eventually iMOD picks the nearest of all suitable segment within the Snap Distance. Drip Click this button to select all connected, downstream segments from the selected isg segments, automatically. iMOD select all connected segments from the initial selected segment. ISG Search Click this button to start the ISG Search window, see section 6.10.3.11. DR AF ISG-Rasterize Click this button to start the ISG Rasterize window, see section 6.10.3.13. Profile Click this button to start the ISG Profile window, see section 6.10.3.12. Legend Click this button to start the ISG Legend window, see section 6.10.3.10. Save SaveAs ... Show Labels Show Selected Update Help ... Close ... 168 of 812 Delete Click this button to remove the selected river segment(s) from the current list of segments. You need to confirm this action. Unless the Save option is applied, the segment is removed from memory only. Select in Polygon Click this button to draw a polygon and select all segment inside the polygon. If at least one point of the segment falls within the polygon, the segment is selected. Click this button to save the loaded ISG to disc, using the original ISG-filename. Click this button to save the loaded ISG by another filename. Click the checkboxes for the attributes to be plotted. Click on the input field (Nodes, Seg.Nodes, C.Sections, Clc.Pnts, Struct, QH or Direction) to start the default Colour window in which the colour can be changed. Check this checkbox to display the attributes as defined by Show for the selected segment(s) only. Click this button to redraw the ISG. Click this button to start the Help functionality. Click this button to close the ISG Edit window. Whether you‘ve changed the ISG or not, you’ll be asked to confirm this. Deltares Map Menu options ISG Edit window, Polygons tab: T Use this window to enter polygon(s) for which selection and modifications need to be carried out for a variety of attributes of the ISG file. DR AF 6.10.3.2 Click one of these buttons to draw, open, save, delete, rename a shape and/or zoom into the selected shape(s). More detailed information can be found in section 4.2. Deltares 169 of 812 iMOD, User Manual ISG Edit window, Attributes tab: T Use this window, to specify what attributes of the ISG file need to be modified and whether this need to be done for selected segments or within the entered polygons. Action DR AF 6.10.3.3 Select the following options: Remove: Click this option to remove all selected attributes that match the given search string; Adjust: Click this option to adjust all selected attributes to match the given search string. 170 of 812 Deltares Map Menu options Apply to Select the following options: Calculation nodes: Select this option to apply modification on attributes for calculation nodes, such water levels, inflow, stream widths; Structures: Click this option to apply modification on attributes for structures, such as up- and downstream water levels; Cross-Sections: Click this option to apply modification on attributes for cross-sections, such as widths, depth, Manning’s coefficients; Q-Depth-Width: Click this option to apply modification on attributes for discharge-depthwidth relation ships, such as discharge, width and depth values. Select this button to apply the removal or adjustment to the loaded ISG-file. Whenever at least one polygon is selected on the Polygons tab, the operation will affect attributes inside those selected polygons. If no polygons are selected, the operation will affect the selected segment on the Segments tab only. Bear in mind that all these adjustments are stored in the loaded ISG. A log file (LOG_SES.TXT) will be created and stored in the {user}\tmp folder. This file shows all adjustments to the ISG-file. DR AF Usage of wildcard is case-sensitive Apply inside selected polygon T Wildcard (?*) The appropriate tabs (more than one if needed) become available depending on the choice of your selection. Enter a search string; e.g. Test* selects all labels that start with Test and end with anything; ??Test selects all labels that start with two characters followed by Test only. Select this checkbox to evaluate the search string as case sensitive. An example of the LOG_SES.TXT file: Open SES-file Click this button to open a Segment Edit Settings *.SES file for a more detailed description of this type of file see section 9.22. Save SES-file Click this button to save the current settings on the Attributes tab to a Segment Edit Settings *.SES file. Whenever such a files has been saved, it can be used via the iMOD Batch function ISGADJUST (see section 8.3.5). Deltares 171 of 812 iMOD, User Manual ISG Edit window, Calc. Points tab: T Use this window to specify what parameters need to be modified and how that need to be carried out. A maximum of four multiply (duplicate) parameters can be applied. DR AF 6.10.3.4 Extract from File (*.CSV) Assign Select this option to read adjustments for all variables from a CSV File (see section 9.12). The list of parameters depends on the type of ISG (see section 9.9.2) Select this option to specify adjustments for all variables separately. Select the checkbox to activate a specific parameter. There is a maximum of four (duplicate) attributes to be modified at the same time. The list of parameters depends on the type of ISG (see section 9.9.2). Specify the kind of adjustment that manipulates the selected variable. Choose an operator from the dropdown menu: 172 of 812 Select “=” to use the entered value; Select “+” to add the entered value; Select “-” to subtract the entered value; Select “/” to divide by the entered value; Select “*” to multiply by the entered value; Select “IDF” to sample a value out of the entered IDF-file at the location of the calculation point. Deltares Map Menu options Open IDF Click this button to open an IDF-file. This becomes available whenever the option “IDF” is selected from the dropdown menu for the type of operator. Note: Adjustments to the number of calculation points can be made by the iMOD Batch function ISGSIMPLIFY (see section 8.3.4). DR AF T Note: Adjustment to calculation points can be carried out by the iMOD Batch Function ISGADDSTAGES (see section 8.3.7). This function is suitable of modifying water levels in the ISG via IPF files. Deltares 173 of 812 iMOD, User Manual ISG Edit window, Structures tab: T Use this tab to specify any adjustment for the up- and downstream water levels at structure, these are simple weirs. DR AF 6.10.3.5 Extract from File (*.CSV) Assign Select this option to read adjustments for all variables from a CSV File (see section 9.12). The list of parameters is described in section 9.9.4. Select this option to specify adjustments for all variables separately. Select the checkbox to activate a specific parameter (“Up Waterlevel” and “Down Waterlevel”). There is a maximum of two (duplicate) attributes to be modified at the same time. Specify the kind of adjustment that manipulates the selected variable. Choose an operator from the dropdown menu: 174 of 812 Select “=” to use the entered value; Select “+” to add the entered value; Select “-” to subtract the entered value; Select “/” to divide by the entered value; Select “*” to multiply by the entered value; Select “IDF” to sample a value out of the entered IDF-file at the location of the calculation point. Deltares Map Menu options DR AF T Open IDF Click this button to open an IDF-file. This becomes available whenever the option “IDF” is selected from the dropdown menu for the type of operator. Deltares 175 of 812 iMOD, User Manual ISG Edit window, Cross-Sections tab: T Use this tab to specify the modification on parameters for cross-section, such as Width, Depth and/or Manning’s coefficient (MRC). DR AF 6.10.3.6 Extract from File (*.CSV) Assign Select this option to read adjustments for all variables from a CSV File (see section 9.12). The list of parameters is described in section 9.9.3. Select this option to specify adjustments for all variables separately. Select the checkbox to activate a specific parameter (“X (Width)” and “Z (Depth)” and “Manning’s Coefficient”). There is a maximum of three (duplicate) attributes to be modified at the same time. Specify the kind of adjustment that manipulates the selected variable. Choose an operator from the dropdown menu: 176 of 812 Select “=” to use the entered value; Select “+” to add the entered value; Select “-” to subtract the entered value; Select “/” to divide by the entered value; Select “*” to multiply by the entered value; Select “IDF” to sample a value out of the entered IDF-file at the location of the calculation point. Deltares Map Menu options Open IDF Click this button to open an IDF-file. This becomes available whenever the option “IDF” is selected from the dropdown menu for the type of operator. DR AF T Note: Cross-sections can be added also by the iMOD Batch function ISGADDCROSSSECTION (see section 8.3.3). Deltares 177 of 812 iMOD, User Manual ISG Edit window, Q-Depth-Width tab: T Use this tab to specify the modification on parameters for the discharge (Q), -width (W) and -depth (D) relation ships. These can be used for ISG files that are compliant to the SFR packages, see section 9.9. DR AF 6.10.3.7 Extract from File (*.CSV) Assign Select this option to read adjustments for all variables from a CSV File (see section 9.12). The list of parameters is described in section 9.9.5. Select this option to specify adjustments for all variables separately. Select the checkbox to activate a specific parameter (“Discharge”, “Width ”, “Depth” and “Factor”. There is a maximum of four (duplicate) attributes to be modified at the same time. Specify the kind of adjustment that manipulates the selected variable. Choose an operator from the dropdown menu: 178 of 812 Select “=” to use the entered value; Select “+” to add the entered value; Select “-” to subtract the entered value; Select “/” to divide by the entered value; Select “*” to multiply by the entered value; Select “IDF” to sample a value out of the entered IDF-file at the location of the calculation point. Deltares Map Menu options Open IDF Click this button to open an IDF-file. This becomes available whenever the option “IDF” is selected from the dropdown menu for the type of operator. Dropdown menu Once you have selected a segment by either picking it in the menulist in the Segments tab on the ISG Edit window, or alternatively by clicking your left mouse button at any segment node on the graphical canvas, the following options will be available whenever you press the right mouse button anywhere on the graphical canvas. T Dropdown menu: DR AF 6.10.3.8 Open Attributes . . . Add Cross-Section Add Calculation Point Add Structure Add Q-Depth-Width Relationship Click this button to start the ISG Attributes window. Click this button to add a Cross-section, Calculation point, Structure and/or Q-Depth-Width relationship to the selected segment. Click your left mouse button to add the attribute along the selected segment; depending on the type a icon will move along the segment. Click your right mouse button to cancel the operation. Example of adding different attributes to a segment, (i) crosssection, (ii) calculation nodes, (iii) structure and (iv) Q-Depth-Width relationship: Bear in mind that you cannot add additional calculation point, cross-sections whenever the ISG is compliant to SFR. Deltares 179 of 812 iMOD, User Manual Delete Cross-Section Delete Calculation Point Delete Structure Delete Q-Depth-Width Relationship Click this button to delete a Cross-section, Calculation point, Structure and/or Q-Depth-Width relationship from the selected segment. Select the feature by moving your mouse in the neighbourhood of the feature and press the left mouse button. iMOD will select the feature that is nearest to the current location of the mouse. You need to confirm any delete action via a Question window: Bear in mind that the begin- and end calculation node may never be deleted and a single cross-section is at least obligatory for each segment. Click this button to move a Cross-section, Calculation point, Structure and/or Q-Depth-Width relationship from the selected segment. Select the feature by moving your mouse in the neighbourhood of the feature and press the left mouse button. iMOD will select the feature that is nearest to the current location of the mouse. You need to confirm any move action. DR AF Move Cross-Section Move Calculation Point Move Structure Move Q-Depth-Width Relationship T Question window: Question window: Start Segment Editing Delete Segment . . . Click this item to start editing the layout of the segment. Whenever in this mode, you can alter the location of each individual node of the segment. The method is similar as used for altering nodes for polygons, see section 4.5. Until you select the option Save ISG Editing all modifications to the selected segment are not stored. You need to actively click the Save button on the ISG Edit window to save the modified segment on disc. Click this item to delete the selected segment. You will be asked to confirm this delete operation. Question window: Reset Segment Editing 180 of 812 Click this item to restore the layout of the segment to that one prior to the moment that the option Start ISG Editing was selected. Deltares Map Menu options Store Segment Editing DR AF T Quit Segment Editing Click this item to store the current layout of the segment. Bear in mind that as long as the ISG has not been saved on disk using the option Save and/or SaveAs on the ISG Edit window, all changes are stored in memory only. Click this item to quit the segment editing. Bear in mind that as long as the ISG has not been saved on disk using the option Save and/or SaveAs on the ISG Edit window, all changes are stored in memory only. Deltares 181 of 812 iMOD, User Manual 6.10.3.9 ISG Attributes All attributes that appear on segments, can be analysed and adjusted in the ISG Attributes window. Click the ISG Attributes button on the Segments tab on the ISG Edit window to open the ISG Attributes window. T ISG Attributes window, Waterlevels tab: DR AF 6.10.3.9.1 Calculation Point: 182 of 812 Select one of the listed calculation points from the dropdown menu. Any change in this dropdown menu will change the content of the underlying table and update the figure if possible. Deltares Map Menu options Rename Click this button the rename the selected calculation point via the Give New Name: window: DR AF T Give New Name window: Distance from origin Definition of current Calculation Point Deltares Save and Close Click this button to store the changed name for the selected segment, the Give New Name: window will be closed. Help Click this button to start the Help functionality. Cancel Click this button to leave the name of the selected segment unchanged and close the Give New Name: window This field displays the distance of the selected calculation point from the origin of the segment (FromNode) in meters. This table shows the current values for the current selected calculation point. Use the slide bars to manoeuvre through the table and enter new values for any gridcell if desired. A new record can be entered by filling in all columns. They will be sorted by date automatically after you select the Redraw option. It depends on the type of ISG what attributes need to be available, see section 9.9.2 for the exact content and meaning of variables. Open CSV-file Click this button to open a CSV-file, see section 9.12 for more detailed information about CSV-files. SaveAs CSV-file Click this button to save to a CSV-file, see section 9.12 for more detailed information about CSV-files. 183 of 812 iMOD, User Manual Copy Click this button to open the Copy Data from window. T Copy data from window: DR AF Apply Click this button to copy the data from the selected calculation point onto the current calculation point and close the Copy data from window. Close Click this button to close the Copy data from window. Redraw Click this button to redraw the graphical display. Calculator Click this button to start the attribute calculator. Attribute Calculator window: 184 of 812 Deltares Map Menu options Modify Parameter Select one of the available parameters from the dropdown list. The content of the dropdown menu depends from which tab the Attribute Calculator is started. Select the appropriate modifier from the second dropdown list, choose from: + Select this to add a value to all existing values; Select this to subtract a value to all existing values; * Select this to multiply a value to all existing values; / Select this to divide a value to all existing values; = Select this to set a constant value to all existing values. DR AF T Enter a value in the right most entry field. Apply within selected time-frame Click this option to ensure that the modification will be applied within the entered time-frame that can be specified in the underlying entry fields. From Specify the date from which any modification will take place. To Specify the date to which any modification will take place. OK Click this button to modify the parameter as configured and close the Attribute Calculator window. Help Click this button to start the Help functionality. Cancel Click this button to close the Copy data from window. This field shows the name of the current selected segment. Select one of the attributes (WLevel, Bottom, Resistance, Inf.Factor) from the dropdown menu to be shown in the graph. This field shows the current value in the graph at the position of the mouse cursor. Click this button to store any modifications and close the ISG Attribute window. Click this button to start the Help functionality. Click this button to close the ISG Attribute window. You will not be asked to confirm to take any adjustments made. Segment Name: Current value: Current {}-value: Save Help ... Cancel Deltares 185 of 812 iMOD, User Manual ISG Attributes window, Crosssections tab: The ISG Attributes window, Crosssections tab can have two differences appearances. It depends on the usage of 1-D and 2-D cross-sections. A 1-D cross-section describes the bathymetry of a stream as a representation of a cross-section perpendicular to the direction ot the stream. A 2-D cross-section describes the bathymetry of a stream as a 2-D representation, a grid. T 1D-representation DR AF 6.10.3.9.2 2D-representation Crosssection: 186 of 812 Select one of the listed cross-sections from the dropdown menu. Deltares Map Menu options T Distance from origin Definition of current Crosssection Rename Click this button the rename the selected cross-section. The Give New Name: window will appear (see previous page). This field displays the distance of the selected cross-section from the origin of the segment (FromNode) in meters. This table shows the current values for the current selected cross-section point. Use the slidebars to manoeuvre through the table and enter new values for any gridcell if desired. A new record can be entered by filling in all columns. They will be sorted by date automatically after you select the Redraw option. Column names within the table: - DIST: Distance of the cross-section measured from the centre of the riverbed (minus to the left en positive to the right). - Z: Relative level of the riverbed (meter), whereby zero will be assigned to the lowest riverbed level - MRC: Manning’s roughness coefficient (-). Open CSV-file Click this button to open a CSV -file, see section 9.12. SaveAs CSV-file Click this button to save to a CSV -file, see section 9.12. DR AF Copy Click this button to open the CopyAttribute window. Redraw Click this button to redraw the graphical display. Calculator Click this button to start the attribute calculator. 1D 1D representation Click this button to view the 1D cross-section coupled to the cross-section point. The following 3 options are only available in combination with the 1D cross-section representation: Symmetric Trapezia Deltares Click this checkbox to determine a symmetric cross-section and compute the area that belongs to it. Click this checkbox to determine a double multiply trapezia that represents the area computed by the symmetric cross-section most optimally. Example of a symmetric cross-section, green is the original cross-section, red the symmetric one: 187 of 812 iMOD, User Manual Click this checkbox to determine an eight-point cross-section. This option is used for an SFR compliant ISG file during the creation of the SFR package, see section 12.28. 2D 2D representation Click this button to view the 2D cross-section coupled to the cross-section point. T Simplified The following options are only available in combination with the 2D cross-section representation: DR AF Add/adjust Cross-section point Click this button to add or adjust a specific cross-section point. The following window will be opened: Two-Dimensional Cross-section window: Cross-Section: Bathymetry Pointer: Bathymetry (z-values): Apply a reference height. . . Referenceheight (z-values) 188 of 812 This value shows the number of the cross-section point. Enter the name of an IDF-file describes the spatial distribution of twodimensional cross-sections. Select the name of an IDF-file that describes the bathymetry for the riverbed. Select this option in case both negative and positive values in the bathymetry pointer IDF-file needs to be taken into account at a certain reference level in assigning cross-sections. Select the name of an IDF-file that describes the reference height for which positive and negative pointer values given at Bathymetry Pointer need to be applied. A single value is obtained per 2-D cross-section. Deltares Map Menu options Apply a Resistance map Resistance Values (c-values) Select this option to insert a spatial variable resistance value for the bathymetry of the 2-D cross-section. Select the name of an IDF-file that describes the resistance value for the 2-D cross-section. This is an integer multiplication factor with a maximal value of 256. Edit Cross-Section grid Click this button to view and edit the cross-section grid related to the selected cross-section point. This option will open the following window: DR AF T IDF Edit Table window: Colour columns. . . Column width Select this option when coloring the grid cells by the given legend is preferred. Click on this button to refresh the column width with the value given in de box to the right of this button. Note: Cross-sections can be applicable for different sections on a segment. It depends whether it is a one-dimensional cross-section or a two-dimensional one. Deltares 189 of 812 iMOD, User Manual ISG Attributes window, Structures tab: T Use this tab to enter information on structures. DR AF 6.10.3.9.3 Structure: Distance from origin Definition Structures Select one of the listed structures on the current segment from the dropdown menu. Rename Click this button the rename the selected structure point. The Give New Name: window will appear. This field displays the distance of the selected structure point from the origin of the segment (FromNode) in meters. This table shows the current values for the current selected structure point. Use the slidebars to manoeuvre through the table and enter new values for any grid cell if desired. A new record can be entered by filling in all columns! They will be sorted by date automatically after you select the Redraw option. Open CSV-file Click this button to open a CSV-file, see section 9.12 for more detailed information about CSV-files. SaveAs CSV-file Click this button to save to a CSV-file, see section 9.12 for more detailed information about CSV-files. Copy Click this button to open the Copy Data from window. Redraw Click this button to redraw the graphical display. Calculator Click this button to start the attribute calculator. Value boxes the top-right 190 of 812 on These fields shows the current value in the graph at the position of the mouse cursor. Deltares Map Menu options ISG Attributes window, Q-Depth-Width tab: T Use this tab to enter information on Q-Depth-Width relationships. This information is used for SFR compliant ISG files. DR AF 6.10.3.9.4 Q-Depth-Width: Distance from origin Definition QDepth-Width Relationships Select one of the listed Q-Depth-Width relation points from the dropdown menu. Rename Click this button the rename the selected Q-Depth-Width relation point. The Give New Name: window will appear. This field displays the distance of the selected Q-Depth-Width relation point from the origin of the segment (FromNode) in meters. This table shows the current values for the current selected Q-Depth-Width Relationships point. Use the slidebars to manoeuvre through the table and enter new values for any grid cell if desired. A new record can be entered by filling in all columns! Open CSV-file Click this button to open a CSV-file, see section 9.12 for more detailed information about CSV-files. SaveAs CSV-file Click this button to save to a CSV-file, see section 9.12 for more detailed information about CSV-files. Copy Click this button to open the Copy Data from window. Redraw Click this button to redraw the graphical display. Calculator Click this button to start the attribute calculator. Value boxes the top-right Deltares on These fields shows the current value in the graph at the position of the mouse cursor. 191 of 812 iMOD, User Manual ISG Attributes window, Coordinates tab: T Use this tab to display the coordinates of the selected segment, read in a different set of coordinates and/or switch the order in which the coordinates are entered. DR AF 6.10.3.9.5 Coordinates of current Segment Value boxes the top-right 192 of 812 on This table shows the current coordinates of the reaches in the current selected segment. Use the slidebars to manoeuvre through the table and enter new values. A new record can be entered by filling in all columns! Open GEN-file Click this button to open a GEN-file, see section 9.10 for more detailed information about GEN-files. SaveAs GEN-file Click this button to save to a GEN-file, see section 9.10 for more detailed information about GEN-files. Rotate Click this button to rotate the coordinates. The order of the coordinate determines the flow direction whenever this type of ISG is used for the SFR package, see section 12.28. These fields shows the current value in the graph at the position of the mouse cursor. Deltares Map Menu options ISG Colouring Use this functionality to visualize the parameters on the ISG file as lines, so colouring the individual lines according a specified legend. Click the Legend option ( window to display the ISG Colouring window. ) on the ISG Edit T ISG Colouring window: DR AF 6.10.3.10 Note: At the start of the ISG Colouring window the legend for all parameters are initialised based on their minimal and maximal values. Current Selection Current Window Period Select this option to colour segment from the current selection only. Select this option to colour all segments disregard whether they are selected. Use this trackbar to select a different period that is available in the dropdown menu with Existing Dates/Times. This option is disabled whenever a single date/time step is available. Legend Click this button to start the Adjust Legend window in which the legend for the current Topic can be modified. Those modified legends will be stored as long as the ISG Colouring window remains active. Whenever the window is restarted, all legend will be initialised again. Number of Columns Enter the number of columns to represent the legend. Existing Dates/Times Select one of the existing dates/times from the dropdown menu. This option is disabled whenever a single date/time step is available. Complete Backward Click this button to go the first existing date and move the trackbar to the utmost left. Backwards Click this button to step a single date step against time, repeatedly. The trackbar moves accordingly. Stop Click this button to stop the actions Backwards or Forwards. Forwards Click this button to step a single date step in time, repeatedly. The trackbar moves accordingly. Deltares 193 of 812 iMOD, User Manual Thickness Type Click this button to start the Help functionality. Click this button to close the ISG Colouring window. DR AF Help ... Close SolidLine; Dotted; Dashed; DotDash; DotDotDash; LongShort; ShortDash; LongShortShort. T Topic Complete Forward Click this button to go the utmost existing date and move the trackbar to the utmost right. Select one of the existing topic from the dropdown menu to display. The amount of topics depend on the type of ISG (see section 9.9.2). Select one of the existing line thicknesses to display the lines. Select one of the existing line types. The following line types are available: Note: All other functionalities of ISG Edit remain active whenever the ISG Colouring window is active. 194 of 812 Deltares Map Menu options ISG Search Each segment and their attributes (Cross-sections, Calculation nodes, Structures and QDepth-Width Relationships) have labels. WithISG Search it is possible to search segments for specific labels in their segment and attributes. Click the ISG Search option from the ISG Edit window to start the ISG Search window. T ISG Search window: DR AF 6.10.3.11 Number: Name: Case Sensitive Search within: Get Them Results Segments: Take Them Help . . . Close Deltares Select this option to enter a segment number to search for explicitly. Select this option to enter a search string. Use the asterix (‘*’) as wildcard and the questionmark (‘?’) to define the number of positions. e.g. Ex_* means, select all that match the Ex_ at the start and a search string of ??Ex_* means that all are selected that start with two characters prior to Ex_. Click this checkbox to make the search string case sensitive. Select those variables for which the search string will be applied to in order to find those segments that yield a match. Click this button to apply the search string for the selected variables. The menulist displays all segments that meet the entered search string. Click this button to take the selection to the mainISG Edit window. Click this button to start the Help functionality. Click this button to close the ISG Search window. 195 of 812 iMOD, User Manual ISG Profile Click the menu option Profile from the ISG Edit window to display the ISG Profile window. A length-cross section is presented for the selected ISG segment. T ISG Profile window: DR AF 6.10.3.12 Profile along Selected Segments: Existing Dates: Select one or more segments from the menu list to visualize their length profile. Use your mouse wheel to switch quickly between segments. Graphical display In the graphical display the profile along the selected segment is presented. In cyan, any parameters at Polygon B: is presented, in brown the parameter from Polygon A:. Displays the current position of the mouse in units of the display. Click one of the checkbox next to those keywords to display the position of these in the graph. Mouse Position Plot: Calc. Pnts Cross-Sections Structures Q-Depth-Width Order for Connections Help . . . Close 196 of 812 Select an available date from the dropdown menu to visualize any of the selected items at Polygon A: and Polygon B: for the selected date. Zoom functions: see section 2.6.2 for an explanation Click this keyword to sort the individual segment based on their connections. Segments can be randomly sorted in the segment list and can distort the graphical presentation whenever the graph of the individual segments is not in the correct order. This option sorts them before plotting. Click this button to start the Help functionality. Click this button to close the ISG Profile window. Deltares Map Menu options ISG Rasterize For reasons of visual inspection (are all waterlevels correct?) as well as usage in a runfile (see runfile description), iMOD can perform a rasterization of the ISG-file in total or for individual river segments within the ISG-file. It yields several IDF-files (STAGE.IDF, BOTTOM.IDF, INFFCT.IDF and COND.IDF) that can be used and analysed using the standard iMOD functionalities. Note: IMPORTANT to note is that a minimal resistance is applied of 0.001 days to avoid extraordinary conductance (COND) values. Click the ISG Rasterize button in the ISG Edit window to start the ISG Rasterize window. T ISG Rasterize window, (top) for a Steady State configuration for the Current Selection and (bottom) for a Transient configuration for the Entire ISG: DR AF 6.10.3.13 Dimension Give CellSize (meter) Period Minimal waterdepth . . . Give postfix . . . Deltares Select one of the following options: Current window: Click this option to rasterize all river segments within the current graphical zoom level. Entire ISG: Click this option to rasterize all river segments in the entire ISG. Current Selection: Click this option to rasterize the selected river segment(s) only. Enter the cellsize of the resulting IDF after the rasterization. Select one of the following options: Steady: Click this option to rasterize all timevariant input variables (e.g. waterlevels, bottom levels, infiltration factors, riverbed resistances, weirlevels) as mean values over all input. Transient: Click this option to rasterize all timevariant input variables as mean values over the selected period that can be entered in the input fields at the right. Enter a minimal waterdepth to be used when computing conductances, which in principal depend on waterdepth. By entering a minimal waterdepth > 0.0, the conductance will not become zero. Enter the postfix to be added to the default names after the rasterization, e.g. iMOD_ yields the IDF-filename iMOD_STAGE.IDF 197 of 812 iMOD, User Manual Compute influenced waterlevels by structures OK . . . Help . . . Cancel Check this item to compute the waterlevel as it is influenced by a weir structure. Upstream from each weir the waterlevel is horizontal until it reaches the level of the river plus waterdepth. From there the waterlevel follows the gradient of the river segment. Click this button to open the ISG Rasterize Info window. Click this button to start the Help functionality. Click this button to close the ISG Rasterize window. DR AF T ISG Rasterize Info window: X-min/X-max Y-min/Y-max Columns/Rows Estimated FileSize Following IDF Files will be created OK Help ... 198 of 812 Enter the minimum and maximum X coordinates. On default these are filled in depending on the chosen Dimension on the ISG Rasterize window. Enter the minimum and maximum Y coordinates. On default these are filled in depending on the chosen Dimension on the ISG Rasterize window. Computed number of columns and rows that the yielding IDF-files receive. Calculator Click this button to recompute the number of columns and rows. Display of the filesize in Gbytes. This shows a list of all IDF-files that will be created by the rasterization, together with a brief description. The list depends on the choices made on the ISG Rasterize window. Click this button to start the rasterization. After successful rasterization, both theISG Rasterize and ISG Rasterize Info window will be closed. All resulting IDF-files will be added to the iMOD Manager. Click this button to start the Help functionality. Deltares Map Menu options Click this button to close the ISG Rasterize Info window and to return to the ISG Rasterize window. DR AF T Cancel Deltares 199 of 812 iMOD, User Manual 6.11 GEN Options iMOD supports several basic functionalities to display GEN-files. These GEN-files should be loaded in the Map tab on the iMOD Manager (see section 5.4) instead of the Overlays tab. Whenever a GEN-file is selected the following options can be used: GEN Info, use this tool to analyse the content of the associated DAT file, if available. GEN Configure, GEN Extract, not supported yet! GEN Info WHY? To display the information from a datafile associated to the GEN-file. T WHAT? The attribute data is stored in a DAT-file which has the same name as the GEN-file. The attribute data is linked by the ID of the features (see section 9.11). HOW? button from the Map Info window (see section 6.3) to display Click the Map Additional Info the Content of associated datafile window. DR AF 6.11.1 Content of associated datafile window: Table OK Help ... Cancel 200 of 812 Displays the content of the {name}.dat associated to {name}.gen. The first column is compulsory to enter values to relate to the ID of the lines or polygons. Click this button to close the Content of Associated Datafile window. Click this button to start the Help functionality. Click this button to close the Content of Associated Datafile window. Deltares Map Menu options GEN Configure WHY? To display the GEN-file. WHAT? GEN Configure is used to define the settings for display and assigns a symbol, colour or label. The options are similar to the IPF Configure function (see section 6.8.1). HOW? GEN-files in iMOD represent polygon or line data that can be displayed in different ways. Select the menu option GEN Configure from the GEN Options menu in the Map menu to display the GEN Configure window. T GEN Configure window: DR AF 6.11.2 Single Colour Colour . . . Apply Legend to Define Colouring and Styles. . . Define Labels to be plotted Help. . . Deltares Select this option to display all polygon(s) or lines with the same colour. Depending whether you’ve selected the Fill Polygons option on the Define Colouring and Styles window, see section 5.7, the polygon will be filled in or the polygon will be outlined. Select this button to display the default Colour window in which a colour can be specified. The current colour is displayed to the right of this button, green is used in the example above. Select this option to colour the polygons according to the selected attribute that is chosen in the dropdown menu at the right. A legend can be assigned identical to other iMOD files, e.g. IDF, IPF. Select this option to display the Lines and Symbols window Select this button to display the Define Labels to be Plotted window. Click this button to start the iMOD Help Functionality. 201 of 812 iMOD, User Manual Close Select this button to apply the settings and close the GEN Configure window. DR AF T Example of uniform colouring of a GEN-file, using the Fill Polygons option (left) or outline option (right): Example of legend colouring of a GEN-file, using the filled in option (left) or outline option (right): 202 of 812 Deltares Map Menu options DR AF T Example of labeling polygons of a GEN-file: Deltares 203 of 812 DR AF T iMOD, User Manual 204 of 812 Deltares 7 Toolbox Menu Options This chapter contains a detailed description of a variety of Tools that are available in IMOD: T section 7.1: Cross-Section Tool. section 7.2: Timeseries Tool. section 7.3: 3D Tool. section 7.4: Solid Tool. section 7.5: Movie Tool. section 7.6: GeoConnect Tool. section 7.7: Plugin Tool. section 7.8: Import Tools. section 7.9: Model Simulation. section 7.10: Quick Scan Tool. section 7.11: Pumping Tool. section 7.12: RO-tool. section 7.13: Define Startpoints. section 7.14: Start Pathline Simulation. section 7.15: Interactive Pathline Simulator. section 7.16: Waterbalance Tool. section 7.17: Compute Mean Groundwaterfluctuations (GxG). section 7.18: Compute Mean Values. section 7.19: Compute Timeseries. ??: Compute Time-variant Statistics. DR AF Deltares 205 of 812 iMOD, User Manual Cross-Section Tool WHY? The Cross-Section Tool can be used to display cross-sections over a variety of data types, such as IDF’s, IPF’s with associated files (e.g. boreholes, timeseries) and IFF’s (flowlines). WHAT? The Cross-Section Tool allows you to draw any line (Cross-Sectional Line) that will intersect the rastercells of any of the selected IDF-files. The IDF cell value in-between two raster cell intersections will be assigned to the cross-section points (the midpoints). Consequently, the distances between different points of a cross-section can vary, especially in case the CrossSectional Line is chosen to be diagonally. Methodology used by the Cross-Section Tool: T IPF points and/or IFF lines, can be projected perpendicular on the Cross-Sectional Line within a chosen viewing depth. Bear in mind that breakpoints will cause points and/or lines to be projected twice (in the inside) or not at all (in the outside). For points, the nearest line will be used to be projected upon. Moreover, points that are too close to each other will become narrower, this can be overruled. DR AF 7.1 HOW? To start the Cross-Section Tool select Toolbox from the main menu, choose Cross-Section Tool. Alternatively you can select the Cross-Section Tool icon from the main toolbar. In both cases, all the selected files in the iMOD Manager will be activated in the Cross-Section Tool. The order in which these files are arranged, might affect the way they are displayed. 206 of 812 Deltares Toolbox Menu Options DR AF T The Cross-Section Tool consists of two windows: Draw Cross-Section window and the iMOD Cross-Section CHILD window. Deltares 207 of 812 iMOD, User Manual DR AF T Draw Cross-Section window: Zoom In Click this button to zoom IN on the centre of the current graphical dimensions. Zoom Out Click this button to zoom OUT on the centre of the current graphical dimensions. Go Back to Previous Extent Click this icon and the map will return to the previous map extent and view. This view becomes the last view automatically whenever any other zoom button will be used. Go to Next Extent Click this icon and the map will go to the next extent viewed after the current view. This option becomes available whenever the Zoom to Previous Extent button has been selected priorly. Zoom Rectangle Click this button to zoom in for a rectangle to be drawn. Use you the left-mouse button to determine the lower-left corner of the rectangle, click again for the upperright corner (or vice-versa). Zoom Full Click this button to zoom in on the entire extent of the selected maps on the tab Maps on the iMOD Manager or on the selected overlay Maps in the tab Overlay on the iMOD Manager. Move Click this button to move the current display. Click the left-mouse button on that location where you want to move from, repeat this after the display has been refreshed (automatically). Use the right mouse button to stop the moving process. 208 of 812 Deltares Toolbox Menu Options Draw Line of the Cross-Section Click this button to draw the line of the cross-section on the Graphical Area on the Draw Cross-Section window. Click the left-mouse button to define the first point of the line and click this left-mouse button to insert intermediate points, if desired. Click the right-mouse button to stop the line drawing. If you’ve defined one point only, the last location will be added to the line, in other cases this last point will not be used! The used coordinates can be displayed on the cross-sectional view and/or within the Cross-Section Properties window. The line of the cross-section may consist of 250 points, maximally. Cross-Section Properties Click this button to open the Properties window (see section 7.1.1). Cross-Section Legend Click this button to open the Adjust Legend window (see section 6.6.1). T Flip Cross-Section Click this button to “flip” the current Cross-Section Cross-Section Movie Click this button to open the Movies window. DR AF Snap Coordinates Click this button to “snap” the coordinates of the Cross-Section to the coordinates in the selected IPF-file. This functionality is therefore only available whenever an IPF is selected. IPF-info Click this button to open the IPF-Info window. Graphical Display This presents the display from the Main iMOD window. Anything that has been drawn before entering the Cross-Section Tool will display here. In this area you can specify the location of the Cross-Section. The location will appear as a black line. When you move the mouse in this Graphical Area your current coordinates will be displayed in the lower-left corner of the Cross-Section window. Moreover, the following symbols might occur whenever you move the mouse near the Cross-Section line: Click your left mouse button and hold it, to move the entire CrossSection line. Stop this by releasing the mouse button. Click your left mouse button and hold it, to move an individual node of the Cross-Section line. Stop this by releasing the mouse button. iMOD will update your cross-section immediately. Click your right-mouse button anywhere on the Graphical Display to popup the following dropdown menu. Popup menu: Help ... Close The functionalities are described in section 2.6.3. The popup menu becomes available only when IDF-files are selected in the iMOD Manager. Click this button to start the iMOD Help Functionality. Click this button to close the Cross-Section Tool; the Draw Cross-Section and iMOD Cross-Section windows will also close. Note: All adjustments in the zoomlevel on the Graphical Area will be used whenever you leave the Cross-Section Tool again. Deltares 209 of 812 iMOD, User Manual Note: iMOD will intersect the cross-section line with the raster cellvalues of the IDF-files. Since different IDF-files may be used (constant- and variable rastersizes), each cross-section can have different results at the intersections. After the intersection, iMOD determines the IDF values for the midpoints that are in the centre between two intersection points. Due to this, diagonal lines may display cross-sections with jagged lines. DR AF T Example of cross-sections that are jagged: iMOD Cross-Section window: 210 of 812 Deltares Toolbox Menu Options Print Click this icon to print the current Cross-Section on a printer. Export or Save As Demo . . . Click this icon to export the current Cross-Section to an ASCII-file (*.csv) or to save the current Cross-Section as an iMOD-demo in a new IMF-file. Copy to Clipboard Click this icon to copy the current Cross-Section to the windows Clipboard. Use the shortcut Ctrl-C , alternatively Zoom Full Click this button to zoom in on the entire extent of the Cross-Section. T Zoom Rectangle Click this button to zoom in for a rectangle. Use the left-mouse button to determine the lower-left corner of the rectangle, click again for the upper-right corner (or viceversa). Zoom In Click this button to zoom IN on the centre of the current Cross-Section. Zoom Out Click this button to zoom OUT on the centre of the current Cross-Section. DR AF Move Click this button to move the current Cross-Section. Click the left-mouse button on that location where you want to move from, repeat this after the display has been refreshed (automatically). Use the right mouse button to stop the moving process. Cross-Section Inspector Click this icon to use the Cross-Section Inspector. Add a bitmap as background Click this icon to select a BMP-file to be shown as background map. Whenever the Profile Tool is started via the Solid Tool (see section section 7.4, the position and background bitmap will be saved in the SPF file, see section section 9.21. Legend Click this icon to display the legend, see section section 7.1.2. Note: Whenever you move the cursor over the Draw Cross-Section window, the coordinates are displayed in the lower-left corner of the iMOD Cross-Section window. Moreover, your position in the cross-section will be displayed in the Draw Cross-Section window as a small circle on the line for the cross-section. Example of cursor location in the Cross-Section: Note: Each point that determines the line for the cross-section is displayed as a red, vertical dashed line in the graph. 7.1.1 Properties Click the option Cross-Section Properties on the Draw Cross-Section window to open the Cross-Section Properties window. The properties are grouped for each filetype in the CrossSection (IDF’s, IPF’s and/or IFF’s) and their corresponding tabs become available when the filetype is present in the Cross-Section. Deltares 211 of 812 iMOD, User Manual DR AF T Cross-Section Properties window, IDF’s tab: The display mode of the IDFs is defined in the table. Several quick display configurations are available for layer models. Act Screen Label Col. . . (Colour) 212 of 812 Select the checkbox in this column to include the IDF in the cross-section. Number of Graphical Windows (screens 1-50) for display; e.g. you can specify a separate Graphical Window (screen) for each IDF. All screens are synchronized, which means that all zoom and/or pan actions will be carried out for all screens simultaneously. Insert a text for a label. Displays the colour used to display the Cross-Section for each IDF. Select the column to open the Colour window to change the colour. Deltares Toolbox Menu Options T Cross-Section Properties window, IDFs tab for multiple Graphical Windows: DR AF This is also possible for the loaded IPFs by adjusting the number in the Screen column, e.g. 1 means plot on first (=main) screen, 2 means plot on a second screen. Example of using multi-screens to display the cross-section: Deltares 213 of 812 iMOD, User Manual Line Select the checkbox in this column to present the cross-section as solid lines. Point DR AF T Example of cross-section using the Line option: Select the checkbox in this column to present the cross-section as individual points. Example of a cross-section using the Point option: 214 of 812 Deltares Toolbox Menu Options Fill Select the checkbox in this column to present the cross-section as a filled area. The cross-section is bounded by the surfacelevel at the top, and the minimum z-value of the cross-section at the bottom. It is important to know that IDFs with lower z-values will be “painted” over by IDFs with higher z-values, whenever the IDFs with higher z-values appear below the IDFs with lower z-values in the iMOD Manager. Clr DR AF T Example of a cross-section using the Fill option: Select the checkbox in this column to present the cross-section as filled surfaces coloured by the values of the IDF-file. It uses the previous- and next IDF to determine the top- and bottom boundaries of the filled area. Whenever you choose this option, the Act option is selected for the previous and next IDF, automatically. E.g., use this option to display different information such as heads, transmissivities between boundaries of aquifers/aquitards. Example of using the Clr-option: Deltares 215 of 812 iMOD, User Manual 1/T DR AF T Example of a cross-section using the Clr option: Select the checkbox in this column in combination with the option Clr, to divide the value of the IDF by the thickness. Map Displays the IDF-filename. You can not adjust this field. Configuration Select an option from the drop down list to display the layers in a predefined display mode. Interfaces Select this option to display each IDF separately as a line interface. 216 of 812 Deltares Toolbox Menu Options T Quasi 3D model Select this option to display the aquifers in yellow and the aquitards in a contrasting colour. DR AF Coloured Quasi 3D Model Select this option to display the aquifers coloured by the values of the IDF-file as defined in the legend. Coloured 3D Model Select this option to display the aquitards coloured by the values of the IDF-file as defined in the legend. Deltares 217 of 812 iMOD, User Manual Check the box to display the cross-section with lines that connect the individual data points with horizontal lines. Block Fills Check the box to display the cross-section with lines that connect the individual data points directly. Linethickness Choose the linethickness to display the layer interfaces Plot lines Check the box to plot the lines in black on top of the drawn profile, e.g. to be able to in black. . . distinguish multiple aquifers when no in between aquitards are available. Max. no Maximum number of sampling points used to construct the cross-section. of Samp. Pnts. OK Click this button to accept any changes; the Cross-Section Properties window is closed. Help. . . Click this button to start the iMOD Help Functionality. Close Click this button to close the Cross-Section Properties window, without any changes to the properties of the cross-section. T Block lines DR AF Note: The checkbox in the first row of the table is used to adjust all rows simultaneously. So, whenever you select the option Fill on the first row, all rows will inherit this setting. It also applies to the Colour option. Note: Alternative to the Clr option, IDF-files can have top- and bottom information stored internally (see IDF syntax). If those IDF-files (voxels) are plotted in the Cross-Section Tool the actual IDF value (e.g. permeability) will be coloured (using the associated legend as with the Clr option) between the stored top and bottom elevation inside the IDF. Example of a coloured plot of IDF with internal top and bottom elevations: 218 of 812 Deltares Toolbox Menu Options Select the checkbox in this column to include the IFF in the cross-section. Select this checkbox to colour the lines according to the selected Attribute item. Select an item from the dropdown menu to be used to colour the lines. Displays the IFF filename. You can not adjust this field. DR AF Act Colour Attribute Map T Cross-Section Properties window, IFF’s tab: The example below shows a cross-section presenting an IFF-file (flowpath) in combination with IDF-files that represent the top and bottom of aquitards. Example of a Cross-Section showing flowlines from an IFF file: Deltares 219 of 812 iMOD, User Manual DR AF T Cross-Section Properties window, IPF’s tab: Act Z-Attribute Ass-Files Map Configure: Select label to Plot at Selected Location Select the checkbox in this column to include the IPF in the cross-section. This is the attribute in the IPF-file that will be used to position any label. In case timeseries are presented, this attribute value is used too. For others (boreholes, borelogs) this value is irrelevant. Select this checkbox to use the associated file of the IPF. These can be timeseries, boreholes and/or borelogs. Displays the IPF-filename. You can not adjust this field. Select this button to set the configuration for the IPF-file (see 129). This dropdown menu allows you to set the location of the labels of the boreholes. Below an example is given of IPF-files displayed in combination with the Fill option. Example of a cross-section with boreholes associated to an IPF-file: 220 of 812 Deltares Toolbox Menu Options DR AF T Cross-Section Properties window, Coordinates tab: Open Click this button to use the coordinates from an existing GEN-file. Save As Click this button to save the current coordinates into a GEN-file format. Plot Coordinates Cross-Section Show Coordinates with Labels Only Clean... Select this option to display the coordinate of the line of the cross-section within the graph of the cross-section. Select this option to only display the coordinates with a label within the graph of the cross-section. Starts a new window Enter Value: In this window a value can be filled in for the minimal distance that needs to be between coordinate points. The points in a profile will be depleted; points that are closer to each other than the given distance will be removed. Deltares 221 of 812 iMOD, User Manual DR AF T Cross-Section Properties window, Misc. tab: Fix X-axis Minimal/maximal X: Interval: Fix Y-axis Minimal/maximal Y: Interval: Apply Scale Ratio: Fade 222 of 812 Select this checkbox to specify the dimensions of the X-axis. Enter the minimal and maximal values for the X-axis. Enter the interval of the X-axis. Select this checkbox to specify the dimensions of the Y-axis. Enter the minimal and maximal values for the Y-axis. Enter the interval of the Y-axis. Chose the preferred x,z-scale ratio from the drop down-menu or enter a ratiovalue in the given field. The ratio is shown on the graph. See figure below for an example of the cross-section window with adjusted ratio. Select this option to fade-out the colouring for IPF (points) and/or IFF (lines) whenever they appear at more distant from the line of the cross-section. Deltares Toolbox Menu Options Fade, view depth Enter the distance perpendicular on the line for the cross-section for which points (IPF) and/or lines (IFF) are projected perpendicular on the line of the cross-section. This “area” is displayed as a red rectangle around the drawn line for the cross-section. DR AF T Example of the Viewing Depth: Refresh IPF during panning: Refresh IFF during panning: Legend Survey Cross-section BR, TR, BL, TL Large, Medium, Small Minimal IPF Column Thickness (01): Plot values selected column left of borehole: Plot values selected column right of borehole: Deltares Select this option if you have a small borehole IPF dataset. This option forces iMOD to refresh the cross-section view when you move your window extent (=panning). Deselect it whenever the data set is large since this will delay the drawing significantly. Select this option if you have a small pathline IFF file. This option forces iMOD to refresh the pathline view when you move your window extent (=panning). Deselect it whenever the data set is large since this will delay the drawing significantly. Select this option to display a legend on the graph Select this option to display a 2D map of the location of the cross-section. Select on of the following to specify the location of the survey, BR is BottomRight, TR is TopRight, BL is BottomLeft and TL is TopLeft. Select on of the following to specify the size of the location of the survey. Select this option to set a minimal Column thickness of the boreholes. This prevent iMOD from hiding a certain borehole when it is at the same location as another borehole in the display window. Select this option to plot the values of the defined column (e.g 26) in the IPF associated file at the left side of the borehole in the Cross-section plotting window. Select this option to plot the values of the defined column (e.g 28) in the IPF associated file at the right side of the borehole in the Cross-section plotting window. 223 of 812 iMOD, User Manual DR AF T Example of the plotting window with the values of the defined columns (from the associated text file) plotted next to the borehole: Example of the cross-section window with adjusted ratio: Cross-Section Properties window, Colouring tab: The table on this tab is used to display the boreholes that might be associated with the selected IPF-files. On default the file: {user}\settings\DRILL.DLF will be read. 224 of 812 Deltares This dropdown menu shows the IPF-files that are currently available in the IPF Analyse. For each IPF-file a different legend can be defined by making use of the Legend: dropdown menu. This dropdown menu allows you to select and/or define a different legend per available IPF-file. Open Click this button to open a *.DLF-file DR AF IPF file: T Toolbox Menu Options Legend: Save As Click this button to save the current legend into a DLF file format Label Clr Description Width Deltares Associated label to the specific Legend attribute. Associated colour to the specific Legend attribute. Associated description to the specific Legend attribute. Adjustable width of the borehole unit related to the specific legend attribute. If differences in width are defined between the layers this is visible in the cross-section of the boreholes (see figure below). 225 of 812 iMOD, User Manual 7.1.2 Profile Legend Click the option Cross-Section Legend Profile Legend window. on the Draw Cross-Section window to open the DR AF T Cross-Section Legend window: The Cross-Section Legend window displays the filenames of the IDF’s, however, these can be adjusted in the Cross-Section Properties window. Moreover, a legend for each of the items in the Cross-Section are displayed on the iMOD Cross-Section window too. 7.1.3 Movie Click the option Cross-Section Movie Cross-Section Movie window. on the Draw Cross-Section window to open the Cross-Section Movie window: Complete Backward Click this button to move the Cross-Section line to the utmost left (X direction) or utmost top (Y-direction) coordinate of the current extent of the graphical window. Fast Backward Click this button to move the Cross-Section line against the X- or Y-direction, repeatedly with the chosen Step. Single Backward Click this button to move the Cross-Section a single step against the X- or Y-direction. Stop Click this button to stop the actions Fast Backwards or Fast Forwards. 226 of 812 Deltares Toolbox Menu Options Single Forward Click this button to move the Cross-Section a single step along the X- or Y-direction. X-direction Y-direction Step (m) Insert the interval for which the line of the cross-section moves repeatedly. T Cross-Section Inspector on the iMOD Cross-Section window to identify the values Click the Cross-Section Inspector for each IDF at the selected position in the cross-section. You can move the mouse-cursor over the cross-section and the IDF values for each selected IDF will be displayed in the Map Value window. DR AF 7.1.4 Fast Forward Click this button to move the Cross-Section line along the X- or Y-direction, repeatedly with the chosen Step Complete Forward Click this button to move the Cross-Section line to the utmost right (X direction) or utmost bottom (Y-direction) of the current extent of the graphical window. Choose one of the directions in which the line of the cross-section moves. Example of the Cross-Section Inspector option: The position of the mouse will be displayed on top of the Map Value window (e.g. Current Loc. X=89823 m Y=458408 m Z=-7.97 ). iMOD will colour the name of the IDF in the Map Value window nearest to the mouse cursor. If there is any inconsistency in the IDF values (that is, whenever the IDF are not arranged such that they represent values that increase from the first IDF to the last IDF), iMOD will not colour any field, but will present the message Inconsistency in top/bottom at current location on the bottom of the Map Value window. The Cross-Section Inspector can be closed by clicking the left-mouse button or select the Close button on the Map Value window. Deltares 227 of 812 iMOD, User Manual 7.1.5 Export There are two ways to export a cross-section: (1) as an image (BMP): use the Copy to Clipboard option from the iMOD Cross-Section window and paste it into a third party software from the iMOD Cross-Section winapplication, (2) as data (*.csv): use the Export option dow. For the latter, an example is given of the file format. A new data-block starts for each IDF, since, the points of intersection might differ. 7.1.6 DR AF T Example of an export of a cross-section: Background Bitmaps A graphical *.JPG, *.BMP- or *.png-file can be added to the iMOD Cross-Section window to be displayed as background. This could be a profile prepared outside iMOD with other graphical tools. on the iMOD Cross-Section window to open Click the Add a bitmap as background button the file manager to select a bitmap. The bitmap will be added to the cross-section. Next the position and size will have to be set in the cross-section using the mouse. Move your cursor on to the bitmap and you will see it change in: . Click your left mouse button and move the bitmap. Move your mouse to the edge of the bitmap, you will see it change and move the edge. Repeat this until your bitmap fits the iMOD cross-section. The position of those bitmaps will be save in a SPF file (section 9.21) that is used by the Solid Tool (section 7.4). 228 of 812 Deltares Toolbox Menu Options DR AF T Examples of an iMOD Cross-Section with borehole information showing sub-surface layers added as background: Deltares 229 of 812 iMOD, User Manual Timeseries Tool WHY? The Timeseries Tool can be used to view timeseries directly for data stored in different IDFfiles. These can be combined with timeseries that are associated to IPF-files. T WHAT? The Timeseries Tool allows you to point at a particular location inside the full extent of an IDF-file with time-dependent data. iMOD will construct a timeseries for that particular location by collecting all data from the other related time-dependent IDF-files. Related time-dependent IDF-files have identical names but have a different date string. A date string is an eight digit continuous number, e.g. 20091231 meaning the 31th of December 2009. It is not necessary to load all related time-dependent IDF-files in the iMOD Manager. At least one is sufficient to view the entire timeseries. Example of IDF-files (A,B and/or C) available in the iMOD Manager prior to the start of the Timeseries Tool: DR AF 7.2 HOW? To start the Timeseries Tool select Toolbox from the main menu, choose Timeseries Tool. Alternatively, you can click the Timeseries button ( ) at the main toolbar. In both cases, you should select at least one IDF-file in the iMOD Manager that has a date notation in its name. This is a continuous number with eight-digits (yyyymmdd), e.g. 20110115. In this case, it represents the 15th of January, 2011. If iMOD can not find such a date notation somewhere in the filename (in at least one of the selected IDF-files), the following window will appear and the Timeseries Tool will not start. Warning window: 230 of 812 Deltares DR AF T Toolbox Menu Options If a proper IDF-file(s) has been selected in theiMOD Manager, the following window will appear. Available Dates window: Use ALL available dates (297-files) Select PART of all available dates Deltares Select this option whenever you want to display timeseries for the entire time window that iMOD found. Select this option to specify a different time window. This may gain processing time as less files need to be opened. 231 of 812 iMOD, User Manual From: To: Frequency of input used for timeseries OK Help . . . Cancel Enter the start date of the time window. On default it displays the earliest date of the data. Enter the end data of the time window. On default it displays the latest date of the data. Select this option to decrease the number of dates used, e.g. by entering the value 2 iMOD will skip each second available date of the time series. Click this button to start the Timeseries Tool for the selected time window. The Available Dates window will close. Click this button to start the iMOD Help Functionality. Click this button to close the Available Dates window; the Timeseries Tool will not start. T Note: You should select at least one IDF with date information in its filename, other IDF-files that are selected without a date information, will be displayed as time-constant. In this way you can easily make a combination with time-variant information (e.g. heads) and time-invariant information (e.g. surfacelevel). 7.2.1 DR AF Note: When you select an IPF with associated timeseries, these timeseries will be displayed simultaneously with those obtained from the IDF-file(s). In case you specify one IDF and one IPF, the option to compute differences between them becomes available. Draw Timeseries The Draw Timeseries window consists of three tabs. The IPF Options tab is only available when IPF-files are loaded. Draw Timeseries window, Graph tab: 232 of 812 Deltares Toolbox Menu Options Timeserie Hovering Click this button to start the hovering of timeseries. Move your mouse over the main graphical window to compute the timeseries. The current location will be highlighted on the map and the corresponding timeserie(s) will be displayed immediately. iMOD will try to read and process the entire timeseries (could be more than one) within one second. If this fails, the progress bar shows the amount of data that could be processed within this time limit. Progress bar in Graph tab: T To complete the timeseries, you need to press the left mouse button in the main graphical window. If the progress bar is absent, the timeseries are displayed completely. To stop the Timeserie Hovering you need to press the right mouse button. Save As Click this button to save the current graph to a comma-separated-values file (*.CSV). More detailed information. Copy Click this button to copy the graph to windows Clipboard. DR AF Legend Click this button to open theIndividual Colouring window. Statistics Click this button to open the Time-statistics window (. . . ). Zoom In Click this button to zoom in at the location of the mouse. Stop by clicking the right mouse button. Zoom Out Click this button to zoom out at the location of the mouse. Stop by clicking the right mouse button. Zoom Box Click this button to draw a zoom window in the graph to adjust the zoom level to. Click your left mouse button for the first point and click your left mouse button for the second point. Zoom Full Click this button to adjust the zoom level to the initial value. Move Click this button to move the graph. Use your left mouse button to start moving and click your right mouse button to stop moving. The displayed differences, (Compute Residuals from the Preferences tab), are not affected by any vertical moving. Add Point Click this button to store the current location internally. Added 2 points Help . . . Close Open IPF-file Click this button to open an IPF-file for which all locations are stored internally, as if you were clicking the Add Point button for each location. Save IPF Click this button to compute and save the timeseries for all locations that are stored internally (Add Point and/or Open IPF File). This yields an IPF-file that you can name, with associated timeseries. Displays the number of points that are added by clicking the Add Point button. Click this button to start the iMOD Help Functionality. Click this button to close the Timeseries Tool window. Note: Whenever you move the mouse over the Timeseries graphical window, the current coordinates are displayed below the graph. It shows the current date (x-axis) and the corre- Deltares 233 of 812 iMOD, User Manual sponding value on the y-axis. It shows Current Value: x-axis 14/2/1997; y-axis: -1.154. Note: Whenever you include an IPF-file with associated timeseries, iMOD will display the timeserie(s) of the point of the IPF that nearest to the current location of the mouse. You can fixate a particular point on the IPF-options tab. DR AF T Note: When using theTimeseries Tool you will be able to use the functions ZoomIn, ZoomOut, ZoomBox, ZoomFull, Move and DistanceTool of the main graphical window. 234 of 812 Deltares Toolbox Menu Options DR AF T Draw timeseries window, Preferences tab: Fix Horizontal Axis (date) From: To: Interval (days) Text: Fix Vertical Axes (variable) Fix Secondary Vertical Axes Minimal Maximal Interval Text: Plot as duration curve Click this option to specify the horizontal axis manually. Enter the start date of the horizontal axis, you can specify start time as hh:mm:ss. Enter the end date of the horizontal axis, you can specify end time as hh:mm:ss. Enter the interval of the horizontal axis in days. Enter the text to be displayed at the horizontal axis Click this option to specify the vertical axes manually. Click this option to specify the second vertical axes manually (appears on the right of the graph). This option becomes available whenever the option Compute Residuals is selected. Enter the minimum value for the vertical axes. Enter the maximum value for the vertical axes. Enter the interval for the vertical axes. Enter the text to be displayed at the vertical axis Click this option to plot all figures as duration curve (Cumulative Distribution Function). The entry for the option Fix Horizontal Axis changes whenever this checkbox is selected. Fix Horizontal Axis for Duration curves: Deltares 235 of 812 iMOD, User Manual Example of duration curves: T Click this option to compute and display differences between the first and second file. That could be the difference between two IDFs or the difference between an IDF and the associated timeserie of a point in an IPF. DR AF Compute Residuals Draw timeseries window, IPF Options tab: Fixate Current Location Adjust Labeling Current Attribute Values 236 of 812 Check this option to fix the current location of the point in the IPF that is used to display the timeserie. Select this button to display labels for the points in the IPF on the main graphical window. Select the attributes from the list that will be displayed in the legend section on the graph. Deltares Toolbox Menu Options 7.2.2 Legends Click the option Legend on the Graph tab to open the Individual Colouring window. DR AF T Individual Colouring window: Label Colour Width Type LineStyle Axes Apply Help . . . Close 7.2.3 The label of the loaded file (IDFs and/or IPFs) The current colour of the line in the graph. Click this field to open the Colour window. Click this field to open a dropdown menu with the width of the lines (1-5) Click this field to open a dropdown menu with the different linetypes. Click this field to open a dropdown menu to choose between Continuous or Blocklines Click this field to open a dropdown menu to choose the axis Click this button to accept the adjustments and close the Individual Colouring window. Click this button to start the iMOD Help Functionality. Click this button to close the Individual Colouring window without any adjustments. TimeSeries Export There are two ways to export the timeseries data from the Timeseries Tool to ASCII-files, as comma-separated-file-values (*.CSV) to be read by Excel, or/and as an IPF-file with associated timeseries for direct use in iMOD. When the option Compute Residuals on the Preferences tab is selected, an extra column will be added with the computed differences. Moreover, whenever the option Plot as duration curve on the Preferences tab is selected, the export will describe the duration curves instead. Time-invariant IDF–file(s) will be exported with their time constant values. Comma-Separated-Values File To export the current timeserie(s), click the Save As option from the Graph tab to select a file. The export file will be a comma-separated-values file (*.CSV) and can be read directly into Excel. The first column of the export file prints the data (yyyymmdd), the second, third and so on (as many columns as files active in the Timeserie Tool) print the timeserie(s). Deltares 237 of 812 iMOD, User Manual T Example of a comma-separated-values file by the Timeserie Tool: IPF-file DR AF Note: The number of records in the export file depends on the dates that contain data for each column. In case column2 has no data (NoDataValue=-999.99) than the computed difference is nodata too. Since, column three has data, the 14th of April, 1989 is exported whatsoever. To export the current timeserie(s), click the Save IPF option from the Graph tab to select a file. The export file will be an *.IPF file with an associated timeserie TXT-file. The latter can be read into Excel directly. Example of an IPF-file (left) and the associated text file (right) exported by the Timeserie Tool: 238 of 812 Deltares Toolbox Menu Options 3D Tool WHY? The 3D Tool can be used to visualize raster data (IDF), point data (IPF, with/without boreholes), polygon data (GEN), flowline data (IFF) in a 3D viewing environment. WHAT? iMOD is equipped with an OpenGL library (Open Graphics Library) that is a standard specification for writing applications that produce 2D and 3D computer graphics. OpenGL was developed by Silicon Graphics Inc. (SGI) in 1992 and is widely used in CAD, virtual reality, scientific visualization, information visualization, flight simulation, and video games. Example of the 3D tool: T HOW? To use the OpenGL functionalities in iMOD, simply select the map(s)(IDF, IPF, IFF, GEN, MDF) from the iMOD Manager and select the option Toolbox from the main menu and then choose the option 3D Tool to start the 3D Tool. DR AF 7.3 Deltares 239 of 812 iMOD, User Manual Starting the 3D Tool The 3D Tool starts by selecting the 3D Tool option from the main menu option Toolbox. Alter- T natively, the -button can be selected from the main window. In the situation IDF files are selected in the iMOD Manager window, the 3D IDF Settings window pops up. In this window each IDF can be configured how it is presented in 3D. DR AF 7.3.1 Set all Types to Select the type for all IDF files, any individual modification can be done in the table. Select one of the following: Planes Select this option to compute the 3D image as quadrilateral between the cell mid of four adjacent cells. Example of a planes representation. 240 of 812 Deltares Toolbox Menu Options Cubes Select this option to present the IDF using the individual grid cells values as constant for each individual cell. DR AF T Example of a cubic representation. Voxels This option is selected automatically whenever the IDF-file represents a voxel (see section 9.5 for the syntax of an IDF file and how to switch to a voxel representation for an IDF file). Example of a voxel representation. Deltares 241 of 812 iMOD, User Manual Vectors This option is selected automatically whenever the IDF represents a vector field. See section 9.5 for more information about vectors. Use the iMODBatch function CREATEIVF to create vector IDF’s. DR AF T Example of a vector representation. Off Select this option to turn the IDF off temporarily. Table: IDF (top) Table: Type Table: Combine With (bottom): Table: Legend By: 242 of 812 Displays the current name of the IDF-file, combined with another IDF this would be the top. It is not possible to change the entry. A type can be selected per individual IDF. For the available types see the ’Set All Types to’-description above. Select the IDF-file from the drop-down menu that needs to be combined with the IDF-file specified in the first column (IDF (top)) of this table. In this way the first IDF will be used to identify the top of the solid, the ’Combine With (bottom)’ IDF will be the bottom. It gives a solid representation of these two IDF’s. Select the IDF-file from the drop-down menu for which the associated legend needs to be used to colour the 3D representation of the IDF (top) in combination with the entered IDF at Combine With (bottom). Several possibilities arise, you may want to colour an IDF using an associated legend of another IDF and/or whenever two IDF-files are combined as a solid, it could be coloured by an associated legend of an IDF that represent the permeability of the solid. Use the different options at Configuration to modify the setting in the table automatically. Deltares Toolbox Menu Options Configuration Select an option from the drop down list Configuration to display a layer model using a predefined display mode. Interfaces Use this option to represent each IDF separately as an interface. DR AF T Example of an Interface visualisation. Quasi 3D model (aquitard) Select this configuration to arrange the Table such that the first IDF will be the top surface level and presented as a white fishnet. Further downwards, IDF number 2 will be combined with number 3, number 4 with number 5 and so on. The last IDF will be presented as a normal plane. This option is especially handy whenever a Quasi-3D model needs to be presented showing aquitards as solid bodies. Example of a Quasi 3D visualisation of aquitards. Deltares 243 of 812 iMOD, User Manual Quasi 3D model (aquifer) Select this configuration to arrange the Table such that the first IDF will be the top aquifer and combined with the second surface; further downwards, IDF number 3 will be combined with number 4, number 5 with number 6 and so on. This option is especially handy when a Quasi-3D model needs to be presented showing aquifers as solid bodies. DR AF T Example of a Quasi 3D visualisation of aquifers. 3D Model Use this configuration to combine each IDF with the following IDF, so IDF number 1 will be combined with IDF number 2 and that will be combined with IDF number 3. Example of a 3D Model visualisation. 244 of 812 Deltares Toolbox Menu Options Coloured Quasi 3D Model (aquitard) Use this configuration to present and colour aquitards by sets of 3 IDF’s per aquitard using the associated legend of each second IDF of that set of 3 IDF’s to colour the aquitard. The first IDF will be draped as a white fishnet. Then it will combine the second with the fourth IDF to form a solid and colour it by the associated legend of the third IDF. Then it will combine the fifth with the seventh to form a solid and colour it using the legend of the sixth, and so on. DR AF T Example of a coloured Quasi 3D (aquitard) visualisation. Coloured Quasi 3D Model (aquifer) Use this configuration to present and colour aquifers by sets of 3 IDF’s per aquifer using the associated legend of each second IDF of that set of 3 IDF’s to colour the aquifer. It will combine the first with the third IDF to form a solid and colour it by the associated legend of the second IDF. Then it will combine the fourth with the sixth and colour it by using the associated legend of the fifth, and so on. Example of a coloured Quasi 3D (aquifer) visualisation. Deltares 245 of 812 iMOD, User Manual Coloured 3D Model Use this configuration to present a complete 3D model with the first IDF combined with the third to create a solid and colour it according to the associated legend of the second IDF. Then it will create a solid with the third and fifth IDF and colour it using the associated legend of the fourth IDF and so on. DR AF T Example of a coloured 3D Model visualisation. Accuracy Select the accuracy of the representation of the loaded IDF-files. To increase the performance select a lower resolution, to increase the accuracy of the representation select a higher resolution. Bear in mind that a high resolution will need more resources from the graphical card. If this fails, then iMOD will crash. Choose from: Minimal (100 x 100): IDF-file will be represented by a maximum 100 x 100 cells; Low (max 250 x 250): IDF-file will be represented by maximum 250 x 250 cells; Normal (max 500 x 500): IDF-file will be represented by maximum 500 x 500 cells; High (max 750 x 750): IDF-file will be represented by maximum 750 x 750 cells; Very High (max 1000 x 1000): IDF-file will be represented by max 1000 x 1000 cells; Maximal (max ncol x nrow): IDF-file will be represented by maximal the size of the IDF, e.g ncol x nrow cells. Sampling Apply Help . . . Cancel Select the method of upscaling whenever the chosen Accuracy is lower than the dimensions of the original IDF-file. Select from the dropdown list, for more detail about these type of upscaling, go to section 6.7.3. Click this button to to close the 3D Plot Settings window and apply the chosen display configurations and start the 3D Tool window. Click this button to start the Help functionality. Click this button to close the 3D Plot Settings window, the 3D Tool window will not start. Note: Bear in mind that iMOD will blank out all elements of an IDF that have a white colour. In this way it is easy to blank out a specific area, such as high permeable areas by giving them 246 of 812 Deltares Toolbox Menu Options a white colour. Note: It is possible to select the configuration of the table and paste it into e.g. Excel. From there may it might be easier to detail your configuration and copy and paste it from Excel to the iMOD your configuration-table of the 3D Tool Settings window. 3D Tool: the Menu bar The 3D Tool graphics window has the following pull down menus: Edit Print . . . Select this item to print the current view via the Windows Print Manager onto the external printer. Save As . . . Select this item to save a bitmap (*.BMP; *.PNG; *.JPG) of the 3D image. Save As Demo . . . Save 3D Tool settings as an iMOD-demo in a new IMF-file. Quit 3D Tool . . . Select this item to close the 3D Tool. Copy to Clipboard Click this item to copy the current image to the Windows Clipboard. Walk Mode The image can be moved with the left mouse button as if walking through the 3D display. Mouse Left Button; Mouse Wheel; Mouse Right Button; Keyboard Cursor Keys Select these to modify the behaviour of mouse buttons, mouse wheel and keyboard cursor keys. For all choices the following operations can be assigned: T File DR AF 7.3.2 Control Rotate: Assign this item to rotate the image; Pan: Assign this item to pan/move the image; Zoom: Assign this item to zoom in/out the image; Scale X: Assign this item to scale the horizontal x axes; Scale Z: Assign this item to scale the vertical z axes; Scale Y: Assign this item to scale the horizontal y axes; Scale XY: Assign this item to scale both horizontal axes simultaneously. View Deltares All Solids Select this item to transform all IDF-files to solids. All Wireframes Select this item to transform all IDF-files to wireframes. All Solids+Wireframes Select this item to transform all IDF-files to solids and wireframes. All Shades Select this item to switch a shade on/off for all IDF-files (only for option All Solids). Show IDF Legends Select this item to display all legends for selected IDF files. All Single Colour Select this item to apply a single colour to the IDF-files. 247 of 812 iMOD, User Manual DR AF T All Legend Colour Select this item to apply colours with the associated legend. Show Axes Select this item to display axes. Show Orientation Select this item to display an orientation box. Show 3D Coordinates Select this item to display the position of the mouse in 3D coordinates at the status bar (always showing this) of the 3D Tool window as well as a graphical display of the location via a straight red line. The position of the mouse can only be determined when the mouse is positioned on a visible IDF/IPF/IFF file. Here the use of a transparency-option does hamper to yield a correct mouse position. Anaglyph Switch to an anaglyph representation of the 3D image. Use this option to gain a 3D experience using a cyan-red coloured glasses. Orthographic Projection Switch to an orthographic projection without perspective. Reset View Angle Select this item to reset the viewing angle to the initial view. Scenic Path . . . Select this item to specify the dimensions of a circle around the current viewpoint. The following window pops up: Scenic Path window. Current Angle (degrees) Enter the angle ... Skip Angle (degrees) Enter the angle to be skipped in sequential rotations, e.g. a value of 5 will skip 5 degrees during a sequential rotation. Apply Select this button to apply the modified entries. Help . . . Select this button to start the Help functionality. Whenever the spacebar is invoked, iMOD will render the image following the scenic path automatically and repeatedly. Horizontal / Vertical Ratio Select one of the following 5 predefined ratios Scale 1:{x} from the horizontal and vertical dimensions. iMOD computes these automatically whereby the maximal scale generates a 3D box, that has the same height as the maximum between the size in x- or y-direction. In linear steps this is decreased, e.g. Scale 1:25; Scale 1:20 Scale 1:15 Scale 1:10 Scale 1:5. 248 of 812 Deltares Toolbox Menu Options Specify . . . Select this option to enter a user-specified ratio via the following window that pops up. Enter Value window T Enter the vertical ratio between horizontal (plane) and vertical Enter a value to express the ratio between the horizontal plane and the vertical, e.g. 2.0 means that the vertical is exaggerated twice compared to the horizontal. DR AF OK Select this button to apply the entered vertical scale ratio. After this the Enter Value window will be closed and the entered vertical scale ratio is added to the list of available ratio in the pop up menu at the option Horizontal / Vertical Ratio. Help . . . Select this button to start the Help functionality. Cancel Select this button to close the Enter Value window without modifying the current vertical scale ratio. Click one of these buttons to minimize, maximize and/or close the 3D Tool. The 3D Tool window has separate tabs to configure the display for different types of data, e.g. there is a tab to configure IDF files and a tab to configure IPF files. There is a tab for general settings as well. In the following sections, those tabs will be explained in detail. Deltares 249 of 812 iMOD, User Manual 3D Tool: the IDF-settings tab T Here, the configuration can be applied for the display of IDF files. This is done on the IDFs tab on the 3D Plot window. DR AF 7.3.3 Loaded IDF’s, select one or more to update settings 250 of 812 Select one or more IDF-files from the list to activate them in the 3D visualization. The 3D display will update each time an IDF is (de)selected. Click the option Recompute vertical axes instantaneously in the tab Miscellaneous to recompute the vertical axes instantaneously each time a different (set of) IDF-files is selected. Properties Click this button to change the appearance of IDF-files. The 3D IDF Settings window will appear. This is the same window which appears when starting the 3D tool, see section section 7.3.1. Deltares Toolbox Menu Options Filled; Wireframes; Filled+Wireframes The following options configure the appearance of the IDF files. Choose one of these to display the selected IDF-files. DR AF T Examples when selecting ’Filled’ (top figure), ’Wireframes’ (middle figure) and ’Filled+Wireframes’ (lower figure) in the IDF-Display sub-window: Deltares 251 of 812 iMOD, User Manual Shade Select this checkbox to apply shades directly to the selected IDF-files. If no shade is applied, the surfaces appear flat. This can be specified per IDF file separately or as a group. DR AF T Examples when turning Display-option ’Shade’ on (upper figure) and off (lower figure): 252 of 812 Deltares Toolbox Menu Options Clipping Select this checkbox to clip a selected set of IDF file. By default all IDF files are clipped, but it is possible to set the clipping per IDF or for a group of IDF files. The actual clipping is done via the Clipping tab in the 3D Tool window. DR AF T Example of clipping for all IDF files (upper figure) and clipping a selected set of IDF files (lower figure): Deltares 253 of 812 iMOD, User Manual Transparency Select this checkbox to apply transparency to the selected IDF files. Each selected IDF is assigned the same amount of transparency. It is also possible to specify transparency per IDF file. DR AF T Example of transparency for all IDF files (upper figure) and excluding a single IDF file from being displayed transparent (lower figure): 254 of 812 Deltares Toolbox Menu Options Explode IDF Use the ’Explode IDF’-slider to increase (explode) or decrease (implode) additional vertical distance between the selected individual IDF’s. Each IDF file can be configured to explode with its own offset, simple set the slide for the selected IDF files separately. DR AF T Example of exploding all IDF files equally (top figure) or explode some IDF files more than others (bottom figure). Deltares 255 of 812 iMOD, User Manual Use the current colour Use colouring defined in Associated Legend Select this option to display the selected IDF-file(s) by a single colour as displayed to the right of this option. Legend Click this button to start the default Colour window to select a colour for the first of the selected IDF-file(s). Select this option to colour all selected IDF-files by their associated legend definitions, i.e. the colour legend they have. DR AF T Example of single colouring (upper figure) and legend colouring (lower figure) Place Legend 256 of 812 Check the box to show the legend. This can be set for each IDF file individually. Deltares Toolbox Menu Options 3D Tool: the IPF-settings tab T The IPF’s tab of the 3D Plot window allows configuring the display of IPF files. DR AF 7.3.4 Loaded IPF’s, select one of more to update settings Select one or more IPF files from the list to activate them in the 3D visualization. The 3D display will update each time an IPF is (de)selected. It depends on the configuration of the IPF(s), how the points (and associated files) will be displayed. Example of an IPF file showing deviated wells. Deltares 257 of 812 iMOD, User Manual Properties Click this button to define labels to be plotted. The presentation of boreholes can configured in this window, see section section 6.8.2 for more details. When less than 1000 points are read iMOD will display boreholes by fancy tubes, when more are loaded the boreholes are represented as single (vertical) lines instead. DR AF T Example of a simple boreholes representation: Select Click this button to change the selection of boreholes using their length or distance to a cross-section, it will open the 3D IPF Settings window: 3D IPF Settings window: Hide boreholes with LESS penetration depth (meters) than: Enter the maximal depth for which boreholes will be hidden, e.g. a value of 50 will hide all boreholes with less than 50 meter depth. Hide boreholes with MORE penetration depth (meters) than: Enter the minimal depth for which boreholes will be hidden, e.g. a value of 100 will hide all boreholes with more than 100 meter depth. Hide boreholes with larger distance to CROSS-SECTIONS than: Enter the distance perpendicular to any selected cross-sections/fence diagram (see ’Fade, view depth’ in the ’Misc.’ tab of the ’Cross-Section Properties’ window in section section 7.1.1) for boreholes to be hidden, e.g. a value of 25 will hide boreholes on both sides of a selected cross-section/fence diagram with more than 25 meter distance. Apply Select this button to apply the entered display configuration. Help . . . Select this button to start the Help functionality. 258 of 812 Deltares Toolbox Menu Options Plot labels, use following colour Close Select this button to close the 3D IPF Settings window without modifying existing entries. Check this option to display labels as defined by the options entered via Properties. After the option is selected it is possible to enter a different label colour (default is white) via the button . This will start the default Colour window in which a colour can be picked for the selected IPF file(s). DR AF T Example of labelling a borehole Deltares 259 of 812 iMOD, User Manual Filled, Wireframe, Filled+Wireframe Select of the options to display the boreholes of the selected IPF files. (middle figure) and DR AF T Example of Filled (top figure), Wireframes Filled+Wireframe (lower figure) configurations: 260 of 812 Deltares Toolbox Menu Options Effected by clipping Select this option to activate clipping for each of the IPF file(s) separately, by default all IPF files are effected by clipping. If all IPF files are selected, any modification of this checkbox effect all, but it is possible to (de)select this option per IPF. This option is handy whenever a surface model needs to be clipped away and the boreholes should not. DR AF T Example of clipping a surface model (top figure) and deactivate clipping (lower figure) for boreholes Deltares 261 of 812 iMOD, User Manual Deact. Associated Files Click this checkbox to ignore the associated files that are attached to the selected IPF file. This checkbox will be greyed out whenever no associated files are available and/or automatically deselected for associated files that represent time series as they can not be displayed in a 3D environment. For IPF files with boreholes this checkbox will deselected by default. When this option is selected, iMOD will use the columns from the IPF file that are assigned to the Z-coordinate and if applicable the Sec. Z-Crd., see section section 6.8.1. In this way iMOD will create spheres (only Z-coordinate is assigned) or vertical tubes when both attributes are assigned. It is also possible to colour the tubes/spheres according to the attribute Apply Colouring To that is assigned for colouring. DR AF T Example of a tube (top figure) and sphere (bottom figure) representation of an IPF file with deactivated/no associated txt files. 262 of 812 Deltares Toolbox Menu Options Legend Number: T Legend for boreholes Select one of the ten predefined legends from the drop down menu. Each time another item is selected, the current legend from the table below will be saved in that predefined legend number. In this way a multiply set of legends can be managed efficiently. Table of the legend used for colouring the boreholes associated to the selected IPF file(s). Label The first column will be used to represent the label that need to be matched (case insensitive) with a particular column in the associated files (Cylinder Class Column, see section section 6.8.2). This is the number of the column in the associated files that need to be used for the size of the cylinders plotted for the boreholes. Clr The second column will be used to represent the colour that will be used for those items that match the entered label in the column Label. DR AF Description The third column is for descriptive purposes only. This will be the actual text that will be plotted in the legend on the 3D window. Deltares 263 of 812 iMOD, User Manual Width: The fourth column can be used to specify a particular width to the individual parts of the borehole. DR AF T Example of Borehole with constant width (top figure) and variable width (bottom figure) Place legend 264 of 812 Open DLF-file Select this button to open a DLF file (see section section 9.17) that will be used to colour the boreholes associated to the IPF file. Save As DLF-file Select this button to save the current legend to a DLF file (see section section 9.17). Redraw Select this button to redraw the IPF file with the adjusted legend specified in the table. Any adjustment in legend colour and/or width will be applied. Select the check box to show the legend on the graphical canvas. This will affect the selected IPF files only. Deltares Toolbox Menu Options 3D Tool: the IFF-settings tab T The IFF’s tab of the 3D Plot window allows configuring the display of IFF files. DR AF 7.3.5 Loaded IFF’s, select one or more to update settings Effected by Clipping Select one or more IFF files from the list to activate them in the 3D visualization. The 3D display will update each time an IFF is (de)selected. Select this option to effect the IFF file for clipping, this is the default. It can be illustrative to ignore clipping for an IFF in combination with a subsurface model that will be clipped. Example of a subsurface clip and non clipping an IFF file. Deltares 265 of 812 iMOD, User Manual Use the current colour Use Colouring defined in Associated Legend Click this option to display the selected IFF file by a single colour as displayed to the right of the option. Legend Click this button to start the default Colour window to select a colour for the first of the selected IFF file(s). Select this option to present the all selected IFF files by their associated legend definition. DR AF T Example of an IFF file coloured by age. Thickness Enter the thickness of the lines used to display the flowlines. The higher the number, the thicker the line appears on the graphical display. Example of an IFF file coloured by age with a line thickness of 3. Place legend 266 of 812 Check the box to show the legend. Deltares Toolbox Menu Options 3D Tool: the GEN-settings tab T Use the GEN Settings tab to configure the display of GEN files. DR AF 7.3.6 Loaded GENs, select one of more to update settings Select one or more GEN-files from the list to activate them in the 3D visualization. The 3D display will update each time a GEN is (de)selected. GEN-files can be loaded in the Maps tab or the Overlays tab in the iMOD Manager ; the behaviour is different and illustrated below. Overlay tab This is the most common way to load GEN files into iMOD. Each selected file from the Map tab on the iMOD Manager will be presented as a separate entry for which all setting described below can be set. There are two options for a GEN file (see section section 9.10 for more detailed information): Deltares 267 of 812 iMOD, User Manual 2D GENs These are the most common files and used for topographical information, such as e.g. road and borders. DR AF T Example of a display of 2D GEN showing, rivers (blue), urban area (red) and roads (green). 3D GENs These can be used to display 3D spatial information, such as faults in 3D. Example of a display of 3D GEN showing a fault outline. 268 of 812 Deltares Toolbox Menu Options Map tab Whenever a GEN file is selected in the Map tab on the iMOD Manager window, the GEN files acts as a cookie-cutter. In this way it is possible to cut-out e.g. solids using irregular shaped polygons and display these in 3D. DR AF T Example of an irregular shaped GEN file acting as a cookie-cutter in the 3D. Thickness Enter the thickness of the lines used to display the GEN-files. Example showing the effect of a thick green line for a GEN file. Legend Click this button to start the default Colour window to select a colour for the selected GEN-file(s). Deltares 269 of 812 iMOD, User Manual Transparency Move the ’Transparency-slider’ to change the transparency within the range ’Opaque’ (not transparent) and ’Invisible’ (full transparent). This is especially nice for 3D GEN file, see section section 9.10. DR AF T Example of a transparent 3D GEN (top figure) and an opaque display (lower figure). 270 of 812 Deltares Toolbox Menu Options Example of showing a 3D GEN without shade. DR AF T Apply Shade Effected by Clipping Deltares 271 of 812 iMOD, User Manual 3D Tool: the Fence Diagrams-tab T The functionality of this tab Fence Diagram is twofold. It will be used to display cross-sections as fence diagrams from the SOLID Tool (see section section 7.4.3 and secondly whenever the regular 3D Tool is started, this tab allows to interactively draw the location of a fence-diagram, iMOD will convert this to a fence diagram and display it on the graphical display. DR AF 7.3.7 Loaded Sections 272 of 812 Cross- Select one or more cross-section files from the list to activate them in the 3D visualization. The 3D display will update each time a cross-section is (de)selected. Deltares Toolbox Menu Options Draw Select this button to start drawing a cross-section in the 3D graphical canvas. The line is started by clicking the left-mouse button and terminated with the right mouse button. After that, iMOD generates a fence-diagram and adds it as a separate entry in the menu list; the naming convention is {CrossSection_yyyymmdd_hh_mm_ss}. Subsequent left-mouse clicking will insert additional nodes to the same cross-sections. Be aware that it is necessary to select at least one IDF file, as it is only possible to draw a cross-section over an IDF that is visible; do not use transparency! DR AF T Example of a cross-sections drawn on lower most IDF file (top figure) and the yielding fence diagram (bottom figure). Note: It is important to note that the appearance of the fence-diagram depends on the configuration of the individual interfaces. So whenever you pick the Quasi 3D Model (aquitard) configuration, the fence-diagram appears as filling the aquitard only. Moreover, if you select the Coloured Quasi 3D Model (aquitard) configuration, the fence-diagram is filled in with the property that is selected. Deltares 273 of 812 iMOD, User Manual DR AF T Example of a cross-sections drawn for aquitards only (top figure) or filled in by the selected property (bottom figure). 274 of 812 Deltares Toolbox Menu Options Automatic Fence Diagrams Click this button to open the Generate Automatic Fence Diagrams window. With this window it is possible to generate a regular pattern of fence diagrams. T Generate Automatic Fence Diagrams window. DR AF Number of Fence Diagrams along X-direction Enter the number of fence diagrams along the X-direction; when specifying 0 no fence diagrams will be generated in the X-direction. Number of Fence Diagrams along Y-direction Enter the number of fence diagrams along the Y-direction, when specifying 0 no fence diagrams will be generated in the Y-direction. Angle of the Fence Diagrams Enter the angle for which all fence diagram need to be rotated, specify 0.0 to avoid any rotation. Apply Click this button to generate the fence diagrams and close the Generate Automatic Fence Diagrams window. Help . . . Click this button to start the HELP functionality. Cancel Click this button to close the Generate Automatic Fence Diagrams window without adding any fence diagrams. Deltares 275 of 812 iMOD, User Manual DR AF T Example of configuring 2 x 2 fence diagram rotated 10 degrees (top figure) and the yielding fence diagrams (bottom figure). Open SPF File Click this button to open an *.SPF file (see section 9.21). This file described the entire cross-sections per interface and can be used in the SOLID Tool (see section 7.4). Save As SPF File Click this button to save the selected cross-sections to an *.SPF-file (see section 9.21). This type of file can be used in the SOLID Tool (see section 7.4). The SPF file is saved with the name of the cross-sections in the iMOD TMP folder at the user folder associated to the PRF-keyword USER (see section section 9.1), e.g. IMOD_USER \TMP \*.SPF. Delete Click this button to delete the selected cross-section(s) from the list. This action can not be undone, however, you will be asked first whether you are sure to delete the cross-section(s). 276 of 812 Deltares Toolbox Menu Options Snapping ance Toler- Display Attached Bitmaps Enter a value for the snapping tolerance, the smaller the more accurate the computed fence-diagram becomes. This value denotes that acceptable error between the estimated fence-diagram and the true IDF value at that location. The higher the snapping tolerance, the more this is allowed to differ but, generates a fence-diagram with less points. Check this box to display the attached bitmap on the cross-section. Those bitmaps need to be added to the cross-section by the Profile Tool (section 7.1) that has been started by the Solid Tool (section 7.4) and need to be available in the SPF file (section 9.21). DR AF T Example showing an image of a geological profile attached on the crosssection. Deltares 277 of 812 iMOD, User Manual Show CrossSection as Interfaces Select this checkbox to show the cross-sections a interfaces only, so the individual polygons will not be filled in. DR AF T Example of multiple cross-sections for which some of them are drawn as an interface. Effected by Clipping Select this checkbox to effect clipping of the cross-sections. You might select different choices per cross-section, which allows to clip some cross-sections, and leave others unclipped. Example of multiple cross-sections which are not clipped in combination with a subsurface model that is clipped. 278 of 812 Deltares Toolbox Menu Options 3D Tool: the Clipplanes-tab T The ’Clipplanes-tab’ of the 3D Tool allows configuring the clipping planes. With clipping planes it is possible to clip part of a 3D image and observe what is behind the clipping plane. In the IDF -tab (see section section 7.3.3), the IPF -tab (see section section 7.3.4), and the IFF -tab (see section section 7.3.5) it is possible to activate the clipping planes. It is possible to e.g. clip IDF files but leave IPF files intact. DR AF 7.3.8 Available clipplanes Select one or more clip planes to activate: ClippingPlane Up Defines a clip plane from the top of the image and moves downwards; ClippingPlane Down Defines a clip plane from the bottom of the image and moves upwards; ClippingPlane West Defines a clip plane from the west of the image and moves to the east; ClippingPlane East Defines a clip plane from the east of the image and moves to the west; ClippingPlane South Defines a clip plane from the south of the image and moves to the north; ClippingPlane North Defines a clip plane from the north of the image and moves to the south. Line Thickness Deltares By selecting a particular clip plane, the corresponding slider becomes active. Enter a value to specify the thickness of the outline of the selected clip plane. Enter a value of zero to hide the outline. Pick Colour Use this button to start the default Colour Picking window to assign a particular colour to the outline of the selected clip plane(s). 279 of 812 iMOD, User Manual Position Enable Capping For each selected clip plane its corresponding slider becomes active. For example when the clip planes ClippingPlane West and ClippingPlane South are selected both the corresponding sliders are available and can be dragged to move the corresponding clipping plane. Capping is a technique of putting a solid colour on the interface of a 3D image that has been clipped away. DR AF T Example of cross-sections drawn with capping (top figure) and without capping (bottom figure). Reset All Clipping Planes 280 of 812 Click this button to reset all clipping planes to their default values. iMOD will ask the user to confirm before resetting all clipping planes. Deltares Toolbox Menu Options 3D Tool: the Miscellaneous-tab T The Miscellaneous tab provides several layout functions. DR AF 7.3.9 Boundary Box Click this checkbox to turn the boundary box on or off. The colour of the Axes Boundary Box can be changed by clicking the button (see section section 2.6.4 for use of this Colour Picking window.). Select this checkbox to turn on axes around the 3D image. The colour of the Orientation Box axes can be modified by selecting the button. Click this option to plot a simple orientation box with directions to North, East and West. The colour of this orientation box can be modified via the ton. Background Colour Absent Deltares but- The background colour can be modified by selecting the button. Sometimes, it gives an improved image if the background colour is not white. Select this option to remove the image as currently displayed in the 2D graphical canvas. 281 of 812 iMOD, User Manual Plot on Select this option to drape the currently displayed image of the 2D graphical canvas on the selected IDF file from the drop-down menu. DR AF T Example of draping the active image of the 2D graphical canvas on a selected IDF file. 282 of 812 Deltares Toolbox Menu Options Horizontally Select this option to display the active image of the 2D graphical canvas as a horizontal plane; use the slider (Top up to Bottom) to position the plane vertically between the top and bottom of the 3D image. DR AF T Example of a horizontal plot of the active image of the 2D graphical canvas. Deltares 283 of 812 iMOD, User Manual Transparency Drag the slider between fully transparent (Invisible on the left) and fully opaque (Opaque to the right). DR AF T Example of using transparency: fully opaque (top figure) and almost invisible (bottom figure). Ambient Diffuse Specular 284 of 812 Use the slider to increase the ambient light component (directional light component, generated shades). Use the slider to increase the diffuse light component (background light). Use the slider to increase the diffuse light component (shininess). Deltares Toolbox Menu Options View Angle (Fovy) Use the slider to change the view angle from a fish-eye (180 degrees) to 1 degrees (very narrow). A normal view-angle is 10% as a wider view angle gives a more flattened view, e.g. 60%. DR AF T Example of a Fisheye view and a normal view. Light direction Deltares Use the slider to change the light direction and shading. 285 of 812 iMOD, User Manual Apply Z: Click this button to reset the 3D image with the entered values for minimum and maximum values on the Z-scale. DR AF T Example of a different entry for the maximal- and minimal Z-values. Maximal Z-value Minimal Z-value Synchronize Horizontal Axes with iMOD 286 of 812 Select this option to enter a different value for the maximum Z-value in the 3D image. The option Minimal Z-value becomes available as well. Enter a different value for the minimum Z-value in the 3D image. This option is checked to allow the 3D Tool to be synchronized with the extent of the 2D view of iMOD. Whenever this extent is changed (zoomed or panned) the 3D view will be adjusted accordingly. Uncheck this option to allow to change the extent in the 2-D window, without updating the 3-D view. Deltares Toolbox Menu Options 3D Tool: the 3D Identify-tab T Use the 3D Tool Identity functionality to identify individual boreholes for inspection purposes. Select the Identify tab from the 3D Tool window, this tab becomes available in case IPF’s are selected for display. DR AF 7.3.10 The options of the Identity tab are described below: Select Click this button to (re)start selecting a borehole on the graphical canvas by hoovering the mouse pointer over a borehole. Clicking the left or right mouse button once on a borehole will stop the hoovering. Once a borehole has been selected its appearance will change to a wireframe representation and the table will be filled with the values of the IPF file of the selected borehole. Example of a selected borehole with a wireframe appearance: Deltares 287 of 812 iMOD, User Manual Point Information tab This table shows the content of IPF file for the selected borehole and all values for the IDF files at the location of the particular point. DR AF T Point Information table Borehole Information tab This table shows the content of the associated file for the selected borehole; information on the actual borehole. Borehole Information table 288 of 812 Deltares Toolbox Menu Options Solid Tool WHY? The Solid Tool is an instrument that can be used to create a 3D representation of the subsurface in which modellayers with different composition can be distinguished. WHAT? A solid is a collection of IDF-files that describes the different geohydrological modellayers of the subsurface. Each modellayer is represented by a top and bottom elevation and these are stored as IDF-files (TOP_L{i}.IDF and BOT_L{i}.IDF) in the folder {USER}\SOLIDS. The IDFfiles are created or updated with the Solid Tool by interpolation of interface depths derived from cross-sections that describe the elevation of all modellayer interfaces. Solid Tool window, Solids tab: List T HOW? Select the option Toolbox from the main menu and then choose the option Solid Tool to start the Solid Tool window. DR AF 7.4 The Solid Tool window shows the solids saved in the folder {USER}\{SOLIDS}. Select a solid from the list by clicking on the name. New Click this button to create a new solid (see section 7.4.1). Info Click this button to open the SOL file for the selected solid. Borehole logs can be included in the cross-section by a definition added to the solid file (*.SOL), see section section 9.20 for more detailed information about a SOL file. Cross-Section Tool Click this button to start the Cross-Section Tool (see section 7.1) in combination with the selected Solid to create and/or edit Solid Cross-Section Files (SPF) for more detailed information about SPF files. Deltares 289 of 812 iMOD, User Manual T Select this option to display the name of each SPF in the 2-D plot. Enter the letter size at which the SPF names are plotted. Click this button to start the Help functionality. Click this button to close the Solid Tool window. DR AF Feed Selected SOL-file to the iMOD Manager Plot SPF name 2.00 Help ... Close 3D Tool Click this button to start the 3D Tool (see section 7.3) in combination with the selected Solid. Compute Click this button to compute the elevation of all modellayers in the selected solid based on the cross-sections described in the SPF files (see section section 9.21) and mentioned in the SOL file. See section section 7.4.4 for more information. Delete Click this button to delete the selected solid, iMOD will remove the folder {USER}\{SOLIDS} and its content. Click this item to let iMOD read automatically the solid properties and to add the solid IDF-files to the iMOD Manager when clicking the name of the solid in the list. Solid Tool window, Polygons tab: The interpolation of the interfaces of the solid may be executed within the limits of one or more defined polygons solely. In this manner it is possible to adjust any geological model locally. Each polygon will act similar for to modellayers. If different areas need to be applied for different model layers, the use of the Masks window (see AquitardsMasks tab on the Solid Tool is more appropriate. The polygons are defined in the Solid Tool window, Polygons tab and the functions of those buttons are described in detail in section section 4.2. 290 of 812 Deltares Toolbox Menu Options DR AF T Example of a polygon (SHAPE1) that defines the area for which interfaces of the solid will be adjusted by the two drawn cross-sections. The defined polygon is saved to the solid when tabbing towards to the Solids tab of the Solid Tool window. The defined polygon is not saved to the solid when clicking the Close button on the Solid Tool window. Solid Tool window, AquitardsMasks tab: The extent of the aquitards located between the bottom and top interfaces of subsequent layers can be defined using masks. In this manner the extent can be formed by values in the mask files. Those mask files are IDF files that can be created using the New button (see Deltares 291 of 812 iMOD, User Manual below) and/or created differently as long as the dimensions of the Mask-IDF is identical to the IDF files listed in the SOL-file. Eventually, any Mask IDF file will be saved in the selected SOL file whenever the tab Solids on the Solid Tool window is selected. The values in the Mask IDF behave as follows: −2 iMOD applies a value of −2 internally to fixate locations that are effected by crosssections. Use this value to specify areas that do not need to be computed. iMOD will use the original values instead. Use this value to specify areas that are excluded. Use this value to specify areas that need to be compute. Use this value to specify areas that need to be equal to the values of the upper layer. It will act as if its value is −1 but uses the results from the upper layer as fixated value. The value 2 is recommended to extent aquitards, specify a value of +2 outside the extent of an existing aquitard or equivalent in order to define the boundaries of these aquitard. −1 T 0 1 2 DR AF New Click this button to create new masks for all aquitards. iMOD will compute a Mask Value of 1 for the bottom elevation of modellayer i where there is a positive difference with the underlying top of modellayer i + 1. Outside those area, the Mask Value is 1 and for the top of the underlying modellayer 2. An information window appears specifying the created masks. Open Map Click this button to open an IDF-file to be used as mask file. Properties Click this button to open the properties of the mask. Delete Click this button to remove the mask file from the list. Solid Tool window, Faults tab: 292 of 812 Deltares DR AF T Toolbox Menu Options The interpolation can be obstructed by the shape of faults, or breaklines. Those need to be entered as GEN-files (see section section 9.10). Interface GEN-file 7.4.1 Enter the number of the interface for which the faults or breaklines need to be applied. Enter the name of the GEN file which contains the breaklines. More than one breakline may be present in each GEN file. Create a Solid A solid is a collection of IDF-files that describe the top and bottom elevations of geohydrological interfaces in the subsurface. The solid is created by selecting the relevant IDF-files in the iMOD Manager and by clicking the New button on the Solid Tool window to start the Create New Solid window. Deltares 293 of 812 iMOD, User Manual DR AF T Create New Solid window: Select *.IDF files to be used in the SOLID 294 of 812 Select this option to specify IDF files from the list that need to be used as individual interfaces in the SOLID. iMOD will copy or clip the selected IDF files and save them in the specified folder in which all SOLIDS are saved (i.e. {USER}\{SOLIDS}\*.IDF. Deltares Toolbox Menu Options Enter single TOP and BOTTOM of SOLID Select this option to specify a constant value and/or IDF file for the definition of a TOP- and BOTTOM level of the SOLID. iMOD will copy or create these files (in case of constant values) to the SOLID folder and rename them to INT_L{i}.IDF and INT_L{n}.IDF, identical to the order of the selected files. The actual number of interfaces can be entered in the following appearing menu T Define the number of interfaceswindow: DR AF Number of interfaces Select the number of interfaces a separate IDF file is generated. Give the name for the Solid CellSize: Clip SOLID for the current window (all in meters) OK iMOD will divide the distance between the entered TOP and BOTTOM values into equally distances. All these files are located in the SOLIDS subdirectory. Enter the name of the solid, e.g. ISLAND. iMOD will create a folder called {user}\solids\ISLAND and saves the SOL file: ISLAND.SOL for more detailed information about SOL files. Enter the cell size of the IDF files for the interfaces. Bear in mind that those cell sizes can be modified easily in the Compute Interfaces window. This item is compulsory whenever no IDF files are entered whenever the option Enter single TOP and BOTTOM of SOLID is selected, otherwise the IDF dimensions are use of the specified IDF files. Check the checkbox in case you want to enter an extent different from the area of the selected IDFs. Enter the coordinates for the lower left and upper right corner of the solid. Make sure that these coordinates are within the extent of the selected IDFs. Click this button to create: A solid folder in {USER}\{SOLIDS}\{SOLIDNAME}; A solid file (*.SOL) inside the SOLIDS folder; A collection of INT_L{i}.IDF and INT_L{n}.IDF-files inside the SOLIDS folder where n represents the number of interfaces. Information window after a successful completion of the creation process. Help . . . Close Deltares Click this button to start the Help functionality. Click this button to close the Create New Solid window and return to the Solid Tool window. 295 of 812 iMOD, User Manual Solid Editing using Cross-Sections Click the Cross-Section Tool button on the Solid Tool window to start the Draw CrossSection window and the Cross-Sections window. The Draw Cross-Section window has the same functions as described for the Cross-Section Tool in section 7.1. The cross-section will be displayed in the iMOD Cross-Section CHILD window. The interfaces of the model layers in the solid can be edited manually using the Cross-Sections window. T Cross-Sections window: DR AF 7.4.2 List of Available Cross-sections The cross-sections defined for the selected solid are shown here. New Click this button to create a new cross-section. Make sure that you draw a new cross-section first using the Draw button on the Draw Cross-Section window. If not, a copy will be made of the selected cross-section in the list. The Fit Interfaces window will be started to define the name of the cross-section and enter initial settings to fit the interfaces. Delete Click this button to delete the selected cross-section. The cross-section will be deleted from the list in the Cross-Section window. The cross-section will be deleted from the solid once you close the Cross-Section window and confirms the Question to save the (adjusted/added) cross-sections. However the crosssection SPF-file is not removed and remains available for later use. 296 of 812 Deltares Toolbox Menu Options Fit Interfaces Click this button to open the Fit Interfaces window. This window offers the possibility to start an initial guess for the interfaces in the cross-section by fitting the interfaces along the cross-section on the values read from the corresponding IDFs as mentioned and assigned to in the selected SOL-file. DR AF T Example of the Fit Interfaces window: Name of the CrossSection: Define Fit Reset Specify the name of the selected cross-section; the name can not be modified once cross-sections have been defined. Check the box to define an interface line that can be modified. Check the box to allow fitting of the interface of the IDF. Check the box to initialize an interface line; the result will be a horizontal interface. IDF Select the IDF for each interface from the dropdown list. Tolerance Enter the accuracy in meters for which an interface is fitted. Exclude Enter the value of the IDF not used in the fitting; this is usually (by default) the NoDataValue of the IDF files. Apply Click this button to start to fit each interface line to the corresponding IDF-files. Help ... Click this button to start the Help functionality. Close Click this button to close the Fit Cross-Section window and return to the Solid Tool window. Create interfaces from borehole logs Click this button to create interfaces based on the interfaces defined in the borehole logs which are part of the solid definition. Lock Click this button to lock the behaviour of each interfaces in between upperand lower interfaces. Whenever they might cross due to a movement, they will be locked in order to avoid that they cross. Whenever two nodes are exactly on each other (which is allowed), this can prevent a movement of the node. Uncheck this button in that case to allow full editing of the interfaces. View Editable Area Click this button to view the editable area based on the extent of the entered polygons as specified on the Solid Tool window, Polygons tab. Though, interfaces can be changed outside the editable areas (grey areas), they will not be used in the interpolation of new interfaces. Deltares 297 of 812 iMOD, User Manual T Example of a cross-section showing the editable area and non-editable areas (grey) DR AF Snap Select this option to snap the selected node on the interface i to the nearest interface i − 1 and i + 1. Whenever the snap does not work, it is probably caused by the fact that the interface to be snapped at, is not directly above- of beneath the interface considered. View Click this button to show the name of the cross-section and the name of the interfaces that crosses the current cross-section as shown on the Cross-Section CHILD window. Example of a cross-section showing the interfaces of a crossing cross-section. Help . . . Close 298 of 812 Click this button to start the Help functionality. Click this button to close the Solid Tool window (and therefore the CrossSection Tool window) and to return to the Solid Tool window. The crosssection(s) will be saved into separate SPF-files to the solid folder when confirming the Question to save the (adjusted/added) cross-sections. Deltares Toolbox Menu Options The iMOD Cross-Section CHILD window provides the opportunity to edit the interfaces manually. When you move the cursor in the neighborhood of a (red, blue or green) line it changes in a red arrow and you can click the left mouse button and drag the line to another position. When the cursor becomes a black arrow you can modify the existing node of the line. This editing mode is similar to modifying polygons, see section 4.4. Be aware that there is no possibility to undo move actions. DR AF T Example of iMOD Cross-Section CHILD window: The iMOD Cross-Section CHILD window shows the interfaces of the model layers in three colors: red, blue and green. The red colour is used for the top interface of a modellayer, the blue colour is used for the bottom interface of a modellayer. The green colour is used when bottom and top interfaces of subsequent model layers overlap. 7.4.3 Solid Analysing using the 3D Tool Click the 3D Tool button on the Solid Tool window to start the3D Tool graphical window. The 3D IDF Settings window will appear first whenever IDFs are selected in the iMOD Manager window. This window has the same functions as described for the 3D Tool in section 7.3. After that, all cross-sections are listed in the tab Fence Diagrams on the 3D-Tool window, see section section 7.3.7 for further explanation. Example of a 3D image of the possible outline of cross-sections of a solid. Deltares 299 of 812 7.4.4 DR AF T iMOD, User Manual Compute Interfaces iMOD facilitates two methodologies to convert the cross-section into a 3D representation of the subsoil, named a SOLID. Basically, iMOD uses (a) a linear interpolation of the entire interface in each cross-section yielding an accurate representation of the interfaces or (b) performs a Kriging interpolation using only the knick points in the interfaces, yielding a more smooth interpolation. Select the option Compute Compute Interfaces window. from the Solid Tool window top start the Compute Interfaces window 300 of 812 Deltares Toolbox Menu Options Check : Resolution: IDF : DR AF Compute SOLID for Extent (x1,y1,x2,y2): Kriging Proporties ... Check this option to select the interfaces to be recomputed, if not selected, those will remain unchanged, unless the option Check is activated. Check this option to perform a consistency check upon the interfaces, this applied whether it will be computed or not. iMOD uses the rule that interface i must be <= interface i − 1, if not interface i becomes equal to the value of interface i − 1. Enter a resolution of the IDF to be interpolated for the individual interfaces. It has the advantage to start at a coarse scale (e.g. 100m) to have a quick results of the interpolation and whenever the SOLID improves, the final interpolation can be carried out on a finer scale. Bear in mind, that the resolution should be at least as fine as the detail of the cross-sections. At the end, the specified cell size in the runfile will smoothen the interpolated interfaces furthermore if desired. List of the used and written IDF file names for the interfaces. The SOLID tool always uses those IDF files at the root of the SOLID folder, results can be written in different version folder, see Output settings. Enter the extent or which the SOLID need to be computed. In this manner the existing SOLID files can be enlarged or reduced. Click this button to show the settings of the Kriging interpolation, see Table 4.1 for more detailed information. Whenever 0 is given in the integer field to the left, the Kriging settings apply for all interfaces. Alternatively, whenever a value of e.g. 4 is entered, the specific Kriging settings apply for interface 4 solely. Bear in mind, that the most important parameter for Kriging is the range over which the semivariogram extends. Changing that parameter does probably have the largest impact on the results of the interpolation. Click this button to compute the semivariogram for the selected layers at Calc in the table. For each of the interfaces the semivariogram will be displayed in a graph. By clicking the Cancel button the next interface will be computed. Before the semivariogram will be computed, it is necessary to confirm this action since, it might can take some while to compute. T Calc: Get Semivariogram ... Example of a computed Semivariogram Export Interpolation Points to Overwrite Start Elevations: Deltares Select the option *.IPF or *.GEO to export the knickpoints on each interface to an IPF or GEO file. A separate IPF or GEO file will be created and stored in {USER}\SOLIDS\{SOLIDNAME}\{VERSION}\EXPORT. Overwrite the original interfaces in the folder {USER}\SOLIDS\{SOLIDNAME}. However, it is not recommendable to do this. 301 of 812 iMOD, User Manual Save as a different Realisation, version: DR AF T Compute: Export: Help: Close: Save the result of the interpolation as a new version with the specified version number e.g. {USER}\SOLIDS\{SOLIDNAME}\{VERSION}. This is the default option. Start the interpolation for each interface. Start the export of the knickpoints for each interface. Click this button to start the Help functionality Click this button to close the Compute Interfaces window and return to the Solid Tool window. 302 of 812 Deltares Toolbox Menu Options 7.5 Movie Tool WHY? The Movie Tool is an instrument that can be used to create an playable movie out of a sequence of images created from 2D plot, e.g. contour maps of draw downs in time can be collected into a single *.AVI file to be displayed in a movie player. These movies can illustrate in a dynamical way how groundwater responds to measures. WHAT? Any combination of images, such as contour lines, grid and overlay can be used to create a movie file. These movie files are *.AVI and can be played with an existing and installed movie player. Create a New Movie DR AF 7.5.1 T HOW? Select the option Toolbox from the main menu and then choose the option Movie Tool, from there a option exists to create a movie via the option Create a New Movie . . . and to display and start the movie via the option Play an Existing Movie . . . . The Create a New Movie Tool allows you to create an AVI from a selected set of plots with time independent and time dependent IDF files. iMOD will construct these files by collecting all data from the other related time-dependent IDF-files. Related time-dependent IDF-files have identical names but have a different date string. A date string is an eight digit continuous number, e.g. 20091231 meaning the 31th of December 2009. It is not necessary to load all related time-dependent IDF-files in the iMOD Manager. At least one is sufficient to construct the entire time series. If a multiply set of IDF files is selected, each of them is used to load all time-dependent files. In the end all unique time steps will be used to generate images and IDF files will be re-used whenever they do not coincide with the current time step. Example of IDF-files (A,B and/or C) available in the iMOD Manager prior to the start of the Create a New Movie Tool: To start the Create a New Movie window, select the option Toolbox from the main menu, choose Movie Tool and then choose Create a New Movie . . . . Alternatively, you can click the Deltares 303 of 812 iMOD, User Manual Create a New Movie button ( ) at the main toolbar. In both cases, you should select at least one IDF-file in the iMOD Manager that has a date notation in its name. This is a continuous number with eight-digits (yyyymmdd), e.g. 19940114 or fourteen-digits (yyyymmddhhmmss), e.g. 20121228123010. In the first case, it represents the 14th of January, 1994, for the second case is represents the 28th of December 2012 at 12 hours, 30 minutes and 10 seconds. If iMOD can not find such a date notation somewhere in the filename (in at least one of the selected IDF-files), the following window will appear and the Create a New Movie Tool will not start. DR AF T Warning window: If a proper IDF-file(s) has been selected in theiMOD Manager, the following window will appear. Available Dates window: 304 of 812 Deltares DR AF T Toolbox Menu Options Use ALL available dates (432-files) Select PART of all available dates From: To: Frequency of input used for time series Select/Enter Output folder: Framerate Duration Deltares Select this option whenever you want to create an movie file for the entire time window that iMOD found. Select this option to specify a different time window. This may gain processing time as less files need to be opened. Enter the start date of the time window. On default it displays the earliest date of the data. Enter the end data of the time window. On default it displays the latest date of the data. Select this option to decrease the number of dates used, e.g. by entering the value 2 iMOD will skip each second available date of the time series. Select an existing output folder in which the individual images will be saved that are used to create a movie file (AVI) out of it. iMOD lists all the available folders in the user folder {IMOD_USER \MOVIE}. If an existing folder is selected, iMOD will ask for confirmation to delete its entire content before proceeding. It is also possible to enter a non-existing folder by typing in the name of the new folder. Enter the framerate of the movie in frames per seconds. Suppose iMOD generates a movie for 48 images (frames) and the framerate of the movie is 24 frame per seconds, the Duration of the movie will be 2 seconds. Enter the duration of the movie in seconds. Suppose iMOD generates a movie for 48 images (frames) and the duration of the movie need to be 4 seconds, the framerate will be 12 frames per seconds. The higher the framerate the faster the consecutive images will appear. 305 of 812 iMOD, User Manual File Format Choose one of the following file formats: Bitmap (*.BMP); Portable Network Graphics (*.PNG); ZSoft PC Paintbrush (*.PCX); JPEG image (*.JPG). Be aware that the BMP file format is not compressed and gives a more detailed quality, it consumes more disc-space per image, approximately 7.0Mb. Instead, PCX or even better JPG file formats can be used that consume significantly less disc-space per image, approximately 0.1Mb. For each image, a separate file is create in the selected Output Folder, e.g. IMAGE001.JPG. Each file has a time stamp as well. DR AF T Example of one of the consecutive images 306 of 812 Deltares Toolbox Menu Options OK Click this button to start the Create a New Movie Tool for the selected time window. The Available Dates window will close. iMOD will generate a question first to confirm the generation of the consecutive images. T Question for confirmation of the generation of consecutive images Enduring the process of generating these consecutive images, the progress is displayed in the following window. DR AF Progress window in the process of generating consecutive images Help . . . Cancel The process cannot be stopped, but will if there might be an error while saving an image to disc, e.g. whenever the disc-space runs out. After the process, iMOD asks to start the Play an Existing Movie Tool to display the images, see section 7.5.2. Click this button to start the iMOD Help Functionality. Click this button to close the Available Dates window; the Timeseries Tool will not start. Note: You should select at least one IDF with date information in its filename, other IDFfiles that are selected without a date information, will be displayed as time-constant. In this way you can easily make a combination with time-variant information (e.g. drawdown) and time-invariant information (e.g. landuse). Deltares 307 of 812 iMOD, User Manual Play an Existing Movie Start the Play Existing Movie Files window by selecting the option Toolbox from the main menu, choose Movie Tool and then choose Play Existing Movie Files . . . . T Play Existing Movie Files window: DR AF 7.5.2 Existing Folders: 308 of 812 Select one of the existing folders in the {IMOD_USER \MOVIE} folder. Deltares Toolbox Menu Options Select one of the existing file formats for display purposes. Choose one of the following file formats: Existing Files: Play Movie . . . Bitmap (*.BMP); Portable Network Graphics (*.PNG); ZSoft PC Paintbrush (*.PCX); JPEG image (*.JPG); AVI Audio Video Interleave (*.AVI). Select one of the existing files to display them in the graphical frame on the right. This is operational as long as one of the following file formates are selected: BMP, PNG, PCX, JPG are selected. Click this button to start a movie player, such as FFMPLAY or VLCPLAYER. This option is available whenever one of this players are referred to in the PRF-file, see section 9.1 and whenever the AVI file format is selected. DR AF Example of the VLCPLAYER T File Format: Help. . . Close Deltares Click this button to start the HELP functionality Click this button to close the Play Existing Movie Files window 309 of 812 iMOD, User Manual GeoConnect Tool WHY? The GeoConnect Tool is an instrument that can be used to aggregate geological formations to model layers and vice versa. WHAT? With the GeoConnect Tool it is possible to aggregate geological formations to a dataset with different model layers containing combined formation information. It is now possible to go from model results with multiple geological formations per layer to a geological formations dataset. Besides, with this tool it is possible to use geological formations to come up with a new model parameterization. This functionality is also available as a batch-function (see section 8.7.7). T HOW? Before starting the GeoConnect Tool, the user needs to create a textfile with the general settings to be used in the tool. This file needs to be placed in the "IMOD_USER\SETTINGS\" subfolder with the name "GeoConnect.txt". The textfile with general settings needs to contain the following keywords: ACTLAYERS= (optional) REGISFOLDER= TOPFOLDER= BOTFOLDER= NLAY= Enter a string of values to include or exclude a specific model layer from the computation; 0=inactive, 1=active, on default all layers are used in de computation (similar to e.g.: ACTLAYERS=1111111111). E.g. in case of the amount of model layers is 10 and it is preferred to only take the first 6 layers into account: ACTLAYERS=1111110000. Give the directory and name of the folder where all REGIS-files are stored. Note: subdirectories are not allowed and the filenames need to be of the following format: abbreviation formation name-t/b/ks/kv-ck/sk.idf (’t’ and ’b’ need to be combined with ’ck’, and ’ks’ and ’kv’ with ’sk’), e.g. d:\Model\REGIS\bez1-b-ck.idf. Give the directory and name of the folder of the model TOP-files, e.g. d:\Model\TOP\TOP. Give the directory and name of the folder of the model BOT-files, e.g. d:\Model\BOT\BOT. Enter the amount of model layers, e.g. NLAY=10. DR AF 7.6 These settings are automatically placed on the Settings tab on the GeoConnect window whenever the tool is started. The aggregation process is described in the example below. Example 1 ACTLAYERS=1111110000000000000 REGISFOLDER=d:\Model_Ibrahym\REGIS\ TOPFOLDER=d:\Model_Ibrahym\TOP\VERSION_1\ BOTFOLDER=d:\Model_Ibrahym\BOT\VERSION_1\ NLAY=19 Geostratigraphy textfile The geostratigraphy.txt file contains the order of the formations (from surface layer to base) and needs to be located in the Settings-folder in the iMOD user environment (in case of using the GUI), contains all formation abbrevations as used in the geological dataset and corresponding factors. This file can be loaded into the Postprocessing-tab on the GeoConnect window in the iMOD-GUI. Example of the first 11 and last 4 lines of a geostratigraphy.txt: HLC 310 of 812 Deltares BXSCK1 BXZ1 BXLMK1 BXK1 BXZ2 BXK2 BXZ3 BEROK1 BEZ1 BEK1 ... MTQ GUQ VAC AKC T Toolbox Menu Options DR AF Calculation/Aggregation of formations: This example shows the mathematical theory behind the aggregation of formation characteristics within one model layer. The formulas in the table are used to calculate the new transmissivity, groundwater head vertical resistance and flux. The choice of the formula depends on the variable that needs to be aggregated. In case, it is preferred to calculate the transmissivity (see figure) of the first and second model layer based on the formations given in the formation dataset, the first formula in the table is used to achieve this. In example: T 1 = (df1 × k1h × f1 ) T 2 = (df2 × k2h × f2 ) + (df3 × k3h × f3 ) + (df4 × k4h × f4 ) Deltares 311 of 812 DR AF T iMOD, User Manual Start the Tool To start the GeoConnect Tool select Toolbox from the main menu, choose GeoConnect Tool. This tool allows the user to continue working in the same iMOD session and using the GeoConnect tool at the same time. Included are a preprocessing, a postprocessing and an identify functionality. The tool opens with the Settings tab up front. The general settings on the toolwindow are: Apply. . . Help. . . Close 312 of 812 Click this button to start the preprocessing or postprocessing computation. Save as. . . Click this button to save the settings in a GeoConnect.txt file in case of Settings tab, or alternatively in an iMODBATCH *.ini file in case the Preprocessing tab or Postprocessing tab is selected. Open Click this button to get the settings from a GeoConnect.txt file in case of Settings tab, or alternatively from an iMODBATCH *.ini file in case the Preprocessing tab or Postprocessing tab is selected. Click this button to start the Help functionality. Click this button to close the window. Deltares Toolbox Menu Options DR AF T Example of the GeoConnect window; Settings tab Form.folder: Top-folder: Bot-folder: Deltares Give the name of the folder where all geological formation files are stored. Note: subdirectories are not allowed and the filenames need to be of the following format: abbreviation formation name-t/b/ks/kvck/sk.idf (’t’ and ’b’ need to be combined with ’ck’, and ’ks’ and ’kv’ with ’sk’), e.g. d:\MODEL_Ibrahym\Formations\bez1-b-ck.idf. Open Click on this button to search for the name of the folder containing geological formation data. Give the name of the folder of the model TOP-files; e.g. d:\MODEL_Ibrahym\TOP. The tool searches for "d:\MODEL_Ibrahym\TOP\TOP_L1.IDF" in the given folder. This is repeated for each layer. Open Click on this button to search for the name of the folder containing the Top elevation of the model. Give the name of the folder of the model BOT-files, e.g. d:\MODEL_Ibrahym\BOT. The tool searches for "d:\MODEL_Ibrahym\BOT\BOT_L1.IDF" in the given folder. This is repeated for each layer. 313 of 812 iMOD, User Manual Number of layers Active layers Open Click on this button to search for the name of the folder containing the Bottom elevation of the model. Represents the amount of model layers as defined in settings file that you can read into the GUI on the Postprocessing-tab, e.g. NLAY=10. Check a checkbox for a particular layer to include a specific model layer in the Identify routine (see Identify-tab). DR AF Example of the GeoConnect window; Identify tab T Identify The Identify option can be found on the first tab of the GeoConnect window. With this option it is possible to analyze, "on-the-fly", the model composition per individual location by making use of the Identify button. The functionality shows the content of the geological formations in the model at mouse position. Aquitard layers (e.g. clayey formations) are identified as connected to the Aquifer layers (sandy formations), the clayey layers are so called "interbed" layers. When a model layer contains a clayey layer the fraction shown in the Identify table is always 100%. See for example Layer 2 in the figure below (Identify -tab). This layer consists for 0.211% of BXZ3, 26.538% of BEZ1, 73.140% of BEZ2 and for 100% of BEK2. Identify. . . Table description Current location (. . . m, . . . m) Click this button to be able to hover over the map in the main iMOD window. Lith.: Lithology class of the specific formation shown in the first column of the table. Layer}{i}: i’th model layer "100.0": Fraction of specific geological formation in given model layer, e.g. Layer 2, row 3: "26.538" means that layer 2 consists of 26.538% BEZ1 formation. The darker the color green the higher the fraction. Gives the current location (in meters) of the model composition at the mouse position. Preprocessing The preprocessing functionality in the GeoConnect tool can be used to compute a renewed model parameterization out of the geological formation related top-, bot- and k-values. 314 of 812 Deltares Toolbox Menu Options DR AF T Example of the GeoConnect window; preprocessing tab Entire Zoom Extent. . . Window X-minimal Y-minimal X-maximal Y-maximal CellSize (m) Adjustments Table description: Deltares Select this option to use the complete model extent as described by the IDFfiles in the TOP-folder (as defined on the Settings tab). Select this option to compute only for the given window extent. Click on "Window" to refresh the extent accordingly to the current extent in the main iMOD window. Give a minimum X-coordinate value in meters. Give a minimum Y-coordinate value in meters. Give a maximum X-coordinate value in meters. Give a maximum Y-coordinate value in meters. Give the cell size in meters of the new model to be computed. Adjustable grid with factors sorted per formation. Lith.: In this column the lithology class is shown related to a specific geological formation, e.g. "K" means Clay, "Z" means Sand. The cells are colored accordingly to the individual lithology class. Formation: In this column the geological formations are displayed. Factor : In this column the factors per formation are given and can be adjusted, either by loading in an file with factors (on default factors.txt is read from the IMOD_USER\SETTINGS folder, see for an example section 8.7.7) or by changing the factors manually. Open Click this button to read a file with factors into the Adjustments grid. 315 of 812 iMOD, User Manual Refresh Click this button to refresh the factors in the grid to 1.0. Output Folder Give the directory and name of the folder to store the results of the preprocessing computation. Open Click on this button to search for the name of the folder to store the results of the preprocessing computation. Check this option to calculate new parameter files for KHV, KVV and KVA. Check this option to calculate new parameter files for KDW and VCW. Save KHV-,. . . Save KDW-,. . . T Postprocessing The postprocessing functionality in the GeoConnect tool can be used to perform model layer aggregation for variables to be chosen based on the formation settings. DR AF Example of the GeoConnect window; postprocessing tab Current Zoom Extent. . . Window 316 of 812 Select this option to use the complete model extent as described by the IDFfiles in the TOP-folder (as defined on the Settings tab). Select this option to compute only for the given window extent. Click on "Window" to refresh the extent accordingly to the current extent in the main iMOD window. Deltares Toolbox Menu Options Aggregate Table description: Pipet Click this button to fill the aggregated grid with all available geological formations at the current window extent. Grid with geological formations, arranged by the order given in GEOSTRATIGRAPHY.TXT (see section 8.7.7). Changing the numbers in the 4th column makes aggregation of geological layers possible, e.g. to aggregate all the BX* formations give them all the same number for example 2 or 5. Lith.: In this column the lithology class is shown related to the specific geological formation, e.g. "K" means Clay, "Z" means Sand. The cells are colored accordingly to the individual lithology class. Formation: In this column the geological formations are displayed. Number : In this column each unique number represents one geological formation. To combine different geological formations change the number, e.g. if you want to consider the Boxtel Sands/Clays (BX*) as one model layer, enter the same number (e.g. 2) for each Boxtel formation related geological layer in this column. Give the directory and name of the folder containing the preferred model output information. Choose the favored variable in the related dropdown menu to apply the aggregation to. Options in dropdown menu are: "HEAD", "BDGWEL", "BDGRIV", "BDGDRN". Choose the preferred variable from the dropdown menu to apply the aggregation to. Options are: "KDW", "VCW", "KHV", "KVV". Give the name of the IPF-file to select points in the IPF that coincides with the aggregated formations. Open Click on this button to search for the directory and name of the IPF-file to apply the aggregation to. Select the aggregation method to be used. The aggregation can be based on the values minimum (=Min), maximum (=Max), Average or Sum. Enter the name of the folder to store the results of the postprocessing computation, e.g. (OUTPUTFOLDER)\BEZ1_BEZ2_BEZ_KDW.IDF, (OUTPUTFOLDER)\BEZ1_BEZ2_BEZ_TOP.IDF, (OUTPUTFOLDER)\BEZ1_BEZ2_BEZ_THK.IDF. Open Click on this button to search for the name of the folder to store the results of the postprocessing computation. Select this option to include TOP- and BOT elevation and thickness IDF-files in the aggregation and save these files in the given Output folder. DR AF Model Folder: Give the directory and name of the folder containing DBASE model information. Open Click this button to search for the specific DBASE model folder. T DBASE map: Input Folder: IPF-File: Aggregate Output Folder: Include TOP-,. . . Deltares 317 of 812 iMOD, User Manual Plugin Tool WHY? The Plugin Tool is an instrument that can be used to run external executables (from complicated to simple) or batchfiles within iMOD. WHAT? The Plugin tool makes it possible to include advanced plugins that come close to fully software integration as well as plugins that simply run an executable file. This allows you to start a specific program within an iMOD-session without stop working in this session. A number of pre-settings and couplings are necessary before you can launch a plugin. iMOD needs information about the plugin and vice versa. T HOW? Before starting the iMOD Plugin Tool, you need to walk through a couple of preprocessing steps before a plugin can be used within the iMOD gui. 1 Predefine PLUGIN1= and/or PLUGIN2= in the iMOD preference file (IMOD_INIT.PRF). With these two keywords you can set the specific file-directory where iMOD can find the plugin(s). You are able to use two different plugin-directories inside iMOD. The iMOD preference file might look like this (See section 9.1 for a more extended description of the preference file): DR AF 7.7 PLUGIN1 "C:\PLUGIN1" PLUGIN2 "E:\PLUGIN2" 2 Create a subfolder with the plugin-name in which you can store all the needed "coupling"-files, including the executable file itself. Note: this subfolder should be located in de PLUGIN1 or PLUGIN2 folder. 3 An initialization file called PLUG-IN.INI, needs to be created that should be placed within the plugin-subfolder. This file can contain the following keywords: Keyword TXT= CMD= MENU= HELP= BACK= Description This keyword is linked to the filename of the text file that contains a short description of the plugin. With this keyword the specific plugin-executable or batch-file is called. You have to make an additional choice whether you prefer to run the plugin in "WAIT" modus or in the background ("NOWAIT") of other iMOD-processes, e.g. CMD=DEMO.EXE NOWAIT This keyword is optional. MENU refers to a file that describes an optional menu to be displayed, before the actual plugin will start, e.g. MENU=D:\PLUGIN1\PLUGIN.MENU. The file contains the visual-settings of the specific plugin window. See description in section section 7.7.1 for the PLUG-IN.MENU setup. This keyword is optional and refers to the helpfile related to the plugin itself (PDF or HTML). In case the helpfile is in PDF-format, the keyword ACROBATREADER is needed to be defined in the preference file to be able to read the PDF-file. With this keyword you specify a filename that iMOD will check repeatedly (minute time interval), e.g. BACK=PLUG-IN.OUT, see section section 7.7.1 for more detailed information about the content of this file. Example1 TXT= WATERBALANCE.TXT CMD= WATERBALANCE.EXE WAIT Example2 TXT= RASTERCONVERSION.TXT MENU= RASTERCONVERSION.MENU HELP= RASTERCONVERSION_MANUAL.PDF CMD= RASTERCONVERSION.EXE NOWAIT BACK= RASTERCONVERSION.OUT 318 of 812 Deltares Toolbox Menu Options The files related to the keywords are described in section section 7.7.1. 4 Now the Plugin Tool can be used. For the steps to be taken see section 7.7.2 Note: You are able to save the activated plugins for later use within the IMF-file. You can do this by saving the current iMOD project session via the Save-button or via File->Save as... in the main-menu. Also the chosen time interval (see TMO.PITools.execution how to set this interval) on which iMOD tests whether a plugin is running or not, is saved in the IMF-file. 7.7.1 Plugin file description In the PLUG-IN.INI different initialization files are listed behind the above explained keywords. Some of these files also contain a list of keywords. We will explain them here. T Plugin MENU file All keywords are optional. Keyword TITLE= Description Optional keyword that sets the title of the menu window, e.g. TITLE="This plugin computes residuals". Optional keyword that sets the text on the Close-button, e.g. BUTTON1=Afbreken. Optional keyword that sets the text on the Help-button, e.g. BUTTON=Hilfe. Optional keyword that sets the text on the Apply -button, e.g. BUTTON3=Go-for-it Optional keyword that loads all available files from a certain place or directory. If not defined, iMOD shows a diaolog in which you need to select files yourself. The following options are available: IMODMANAGER Whenever LIST=IMODMANAGER, iMOD will display the . selected files from the iMOD Manager in a separate window. Be aware that iMOD places a ’+’-sign in front of the directory name in case the related file is selected in the iMOD Manager and a ’-’-sign in case the file is not selected! To be able to read the file properly the plugin needs to handle this. DR AF 7.7.1.1 BUTTON1= BUTTON2= BUTTON3= LIST= Example Use the buttons left and right to move the selected items from left to right or the other way around Deltares 319 of 812 iMOD, User Manual Whenever LIST=*.IDF iMOD will display a dialog in which files can be selected, e.g. IDF-files. Any combination of wildcards can be uses, e.g. LIST=*.*, LIST=*.RUN, or whatsoever the plugin need as an input. Example TEXT= DR AF T *.IDF / *.* Use the "open"-button ( ) to add files to the dialog. Refers to an addition text file with explanatory text with requirements for using the chosen plugin, e.g. TEXT=EXPLAINATION.TXT. The list of files defined with keyword LIST or by making use of the plugin menu-dialog, is stored in a file called "PLUG-IN.IN" (see section 7.7.1.2). Example1 TITLE= Compute Waterbalance BUTTON1= Quit BUTTON2= Info BUTTON3= Run LIST= IMODMANAGER TEXT= EXPLAIN.TXT Example2 TITLE= Convert Raster settings LIST= *.IDF TEXT= EXPLAIN.TXT 7.7.1.2 Plugin IN file The list of files that is used by the plugin is saved in this file "PLUG-IN.IN", and can serve as a checkup for the user of the plugin. In case LIST="IMODMANAGER" is given in the MENU-file, iMOD puts a ’+’- or a ’-’-sign in front of each individual file listed in PLUG-IN.IN. The ’+’-sign is written when a file is selected in the iMOD manager, else a ’-’-sign appears. 320 of 812 Deltares Toolbox Menu Options 7.7.1.3 Plugin OUT file This file needs to be written by the plugin executable after or during its execution. It needs to be prepared within the code of the plugin. To allow iMOD to interact with the plugin, it is required to include at least one of the following keywords in the OUT file. Description With this keyword the plotting window extent (decimal coordinates) in iMOD can be set. Once this is read, iMOD will adapt the current window extent to the extent mentioned by WINDOW. Use the format: XMIN,YMIN,XMAX,YMAX, e.g. WINDOW=10000.0,250000.0,150000.0,300000.0. NFILE= Number of files to be read into the iMOD Manager. FILE{i}= The ith file to be read into iMOD Manager, e.g. FILE1=FLUX.IDF. Given file needs to be available in the specific plugin-(sub)folder. Only name of the (subfolder+)file+extension are needed to be given. As mentioned the use of subfolders is allowed. MESSAGE_{...}= Contains some text lines to be given at a certain moment in de executable process. {INFO} Contains general information to be given in a popup window at a certain moment during de executable process. {ERROR} Contains error-information to be given in a popup window at a certain moment during de executable process. {PROGRESS} Contains progress-information to be given at a certain moment during de executable process. This will be visible in the information-bar at the bottom of the iMOD main-window. DR AF T Keyword WINDOW= Note: It is the responsibility of the plugin owner to process the message(s) of the plugin in the right way and at the right moment. After reading the OUT-file, iMOD will delete the file from disc to avoid any double interpretation of the file. Example1 WINDOW= 140000.0,445000.0,150000.0,452000.0 NFILE= 2 FILE1 = WBAL_2014_SUMMER.IDF FILE2 = WBAL_2014_WINTER.IDF MESSAGE_INFO= "The waterbalance is succesfully calculated." Example2 MESSAGE_PROGRESS= "Plugin is still busy ..." 7.7.2 Using the Plugin To start the Plugin Tool from the main menu, choose Plug-in. A sub-menu will appear. If you did define PLUGIN1 and/or PLUGIN2 in the iMOD preference file, you can choose Manage Plug-in 1 ... and/or Manage Plug-in 2 .... To start the Plugin Manager window, click on either of the two. Deltares 321 of 812 iMOD, User Manual Plugins (folder name) Active Apply Cancel Help. . . DR AF T Example of Plugin Manager window The list displays all sub-folders in the {PLUGIN1}\folder. Click on the sub-folder. If a {PLUGIN}.txt is available in the sub-folder an explanatory text of the plugin will appear in the sub-window below. Select the check box to (de)activate a specific plugin. When you activate a plugin, the plugin appears in the main sub-menu Tools and Plugin. Click this button to apply your plugin-settings and to close the window. Click this button to close the window and not applying your modified plugin-settings. Click this button to start the Help functionality. After clicking on Apply button, the activated plugins are added to the Plugin menu. At maximum, 10 plugins can be activated at once into this menu list. The Plugin-menu might look like this: 322 of 812 Deltares DR AF T Toolbox Menu Options It depends on the configuration of the Plugin what will happen whenever the plugin is selected from the menu. During the whole running process iMOD checks at predefined fixed moments (intervals of 60, 30, 15 or 1 seconds) if there are plugins running. The running check time interval can be changed by selecting the similar called option in the Plug-In menu (see figure below). On default this interval is set on 60 seconds. As long as a single plugin or multiply plugins are running, the plugin manager(s) cannot be reached (Menu options are grayed-out) for making changes. Though you are able to use already selected plugins from the plugin-menu. As shown in the example above, only the plugins that are running are grayed-out. If there are still plugins running when trying to close iMOD, iMOD asks the following question for every plugin that is running: Note: When using a batch file as a plugin to call an executable, this plugin cannot be terminated by iMOD. The plugin continues running after iMOD is closed. Deltares 323 of 812 iMOD, User Manual Import SOBEK Models WHY? SOBEK models are surface water models made with the SOBEK suite software available from Deltares. SOBEK models may be imported in iMOD to be used with iMODFLOW. WHAT? The available SOBEK files are converted to iMOD format and saved as ISG-file. All SOBEK Network, Profile and His-files are converted Note: This function is only available in the X32-bits version of iMOD, in the X64-bits version of iMOD this functionality is greyed-out. This functionality is supported also by iMOD Batch. HOW? Select the option Toolbox from the main menu and then choose the option Import Sobek Model to start the Configure the SOBEK Import window. Example of Configure the SOBEK Import window: (1) (2) T 7.8.1 Import Tools DR AF 7.8 (3) (4) Import Cancel Help. . . 324 of 812 Give the *.ISG to be created Enter the name of the ISG-file to be created. All information from the SOBEK files will be saved in one ISG-file. The location of the ISG-file can be chosen with the save button. Locate the Sobek Network files iMOD searches for network.tp, network.cr, network.cp, network.gr, network.st, profile.dat, profile.def and friction.dat. Select the name of the network file and iMOD will search all other files in the same folder. Give the CALCPNT.his or equivalent Select the HIS file that contains the computed waterlevels at the SOBEK calculation points. Give the STRUCT.his / equivalent or leave blank Select the HIS file that contains the computed waterlevels at the SOBEK structures points. Leave this blank when not required or available. Open Click this button to select the required file. Click this button to import the SOBEK configuration into the ISG-file. Click this button to close the window Click this button to start the Help functionality. Deltares Toolbox Menu Options Import Modflow Models WHY? MODFLOW models made outside iMOD may be imported in iMOD to be used with iMODFLOW. WHAT? An existing standard MODFLOW configuration is converted into iMOD files (e.g. IDFs, IPFs and GENs). The conversion works for three MODFLOW versions: 1988, 2000 and 2005. iMOD will convert the MODFLOW packages once the location of one of the packages is defined. The conversion will stop in case no BAS-file (1988 version) or NAM-file (2000 and 2005 version) is found. This functionality is supported also by iMOD Batch. Configure the Modflow Import window: (1) (2) T HOW? Select the option Toolbox from the main menu and then choose the option Import Modflow Model to start the Configure the Modflow Import window. DR AF 7.8.2 (3) (4) Deltares Modflow configuration to be imported Select the year of the Modflow version (1988, 2000, 2005) Check the box at Include 4th column with river infiltration factors in case the RIVpackage has a 4th column defining the ratio in conductance between infiltration and drainage Locate one of the Modflow files (e.g. modflow.bas, modflow.drn) Select the name of one of the Modflow input files and iMOD will search all other files in the same folder. iMOD will look for a BAS-file for the 1988 version and will look for a NAM-file for the 2000 and 2005 versions. A remark is shown in case the BAS-package or NAM-package input file is not found. Open Click this button to select the required file as defined in option (1). Lower-left coordinate of the Model (xmin, ymin) in meters: Enter the X- and Y-coordinate of the lower left corner of the model. Start date of the simulation (only used by transient simulation configurations) Enter the date of the first time step by selecting the appropriate day, month and year. This is required for transient models only. 325 of 812 iMOD, User Manual (5) Name of the runfile to be created (will be placed in . . . \runfiles) Enter a name for the runfile to be created in the RUNFILES folder of the iMOD_USER folder). For more information on the runfile see section 7.9. Methodology to handle multiple package data within single modelcells: Select the appropriate option: (6) Sum: all existing package information is summed into a single modelcell. This is the default. Whenever more elements occur in a single modelcell, they will be lumped together to form one value. Retain: all existing package information in a single modelcell is extracted and stored in individual iMOD files. Import Import the MODFLOW configuration into iMOD The iMOD model files will be stored in the iMOD_USER\MODELS folder. Click this button to close the window. Click this button to start the Help functionality. DR AF T Close Help. . . 326 of 812 Deltares Toolbox Menu Options Start Model Simulation WHY? A runfile is required for a groundwater flow model that is configured with the iMOD concept. Such a runfile (see chapter 10) consists of a header with general information about the location, horizontal resolution, number of modellayers and solver settings. This type of information can be easily modified in the Start Model Simulation Tool described in this section. A runfile can be constructed using the Project Manager, see section 5.5. Alternatively, a simulation can be initiated using the Project Manager and/or using the iMOD Batch Function RUNFILE, see section 8.6.5. WHAT? It takes two requirements to start a model simulation within iMOD: Include the keyword MODFLOW in the preference file (section 9.1) and add the appropriate iMODFLOW executable; T Include at least one runfile in the {user}\runfiles folder. HOW? Select the option Toolbox from the main menu and then choose the option Start Model Simulation to display the Start Model Simulation window. Start Model Simulation window, Main Configuration tab: DR AF 7.9 Deltares 327 of 812 iMOD, User Manual Runfiles (*.run) This list displays the existing runfiles (*.run) in the folder {user}\runfiles (see for more detailed information about runfiles Vermeulen, 2011). Whenever a runfile is selected, iMOD will try to read the header information and if no errors are found, the extent of the model (as described by the BNDFILE in the runfile) will be displayed on the graphical display (hatched area). DR AF T Example of the graphical display: CheckRun Click this button to check the existence of all files in the selected runfile. iMOD will check files with the extensions *.IDF, *.IPF, *.ISG and *.GEN as these are valid to be used in a runfile. A list of all missing files are recorded in a file: {user}\tmp\runfile.log. Example of a runfile.log: Info Click this button to display the content of the selected runfile (*.RUN) in a texteditor. RunfileCopy Click this button to make a complete copy of the content of the selected runfile for the current window. All IDF and IPF files that can be found in the runfile will be clipped to this window. 328 of 812 Deltares Toolbox Menu Options Project Manager Click this button to display the Project Manager (section 5.5) and read in the selected runfile. This might be handy as different runfiles can be generated from the Project Manager as well as steering a runfile from the iMOD Batch Function RUNFILE (section 8.6.5) is more efficient for simulations that need to be carried repeatedly. ZoomFull Click this icon to zoom to the entire extent of the model. Help . . . Close Click this button to start the HELP functionality. Click this button to close the Start Model Simulation window. DR AF T Start Model Simulation window, Model Dimensions tab: Number of Modellayers Define Spatial Dimensions Interactively Deltares Select the number of modellayers to be used in the current model simulation. Whenever the Number of Modellayers is less than the MXNLAY variable in the run-file, iMOD will display a message at the right of the dropdown menu, indicating that the boundary condition of the lowest modellayer will be a Constant Head boundary condition. Select this option to determine the dimension and size of the rastercells (computational nodes) interactively. 329 of 812 iMOD, User Manual Draw Simulation Area of Interest Click this button to start drawing a rectangle on the graphical display to indicate the location of the simulation area (hatched area). Use your left-mouse button to position the first points of the rectangle, use the left/right-mouse button to identify the opposite border. Whenever you move the mouse cursor inside the hatched area, a cross-arrow appears indicating that the entire hatched area can be moved while clicking the left-mouse button. Similar the borders can be moved whenever the horizontal/vertical arrows appear. DR AF T Example of a model extent after drawn interactively on the graphical display: XULC,XURC, DeltaX YULC,YURC, DeltaY Simulate model with cellsizes equal to Include a Bufferzone of: Increase Cellsize in buffer upto: Snap Coordinates to Entered Cellsize Use Spatial Dimensions Defined in IDF: 330 of 812 Enter the X-coordinate for the lower-left-corner (XULC) and the upper-rightcorner (XURC). The difference between them will be computed automatically (DeltaX). All variables need to be entered in meters, moreover, they will be filled in automatically whenever the simulation area is adjusted interactively on the graphical display. Enter the Y-coordinate for the lower-left-corner (YULC) and the upper-rightcorner (YURC). The difference between them will be computed automatically (DeltaY). All variables need to be entered in meters, moreover, they will be filled in automatically whenever the simulation area is adjusted interactively on the graphical display. Select one of the cellsize from the dropdown menu or enter a value in the input field next to it. Select one of the buffersizes from the dropdown menu or enter a value in the input field next to it. The Buffer-zone is an extra “ring” of modelcells around the chosen simulation area and indicated by a green rectangle. Select this option to increase the cellsizes in the Buffer-zone upto a cellsize that can be selected from the dropdown menu or entered in the input field next to it. Select this option to snap the coordinates of the model domain to the entered cellsizes. In this manner, the coordinates of the model will have ”nice-andround” coordinates. Select this option whenever an (ir)regular network needs to be used that is described in the header information of an IDF that can be entered in the corresponding input field. Open IDF Select this button to select an IDF-file from the system. Deltares Toolbox Menu Options DR AF T Start Model Simulation window, Solver Settings tab: Number of outer iterations: Number of inner iterations: Head closure criterion: Budget closure criterion: Use Dampingfactor Relax parameter: Acceptable Overall Waterbalance Error Acceptable Number of Inner Convergences Deltares Enter the maximum number of outer iterations. Enter the maximum number of inner iterations. Enter the maximum head residual in meters. Enter the maximum budget residual in cubic meters. Check this option to include adaptive damping. The relaxation factor (RELAX) will be adjusted according to Cooley’s method with Huyakorn’s modification. This will increase convergence for a nonlinear model. Enter the relaxation parameter (0.0 < relax < 1.0) Enter the overall acceptable waterbalance error in percentage of the waterbalance error (Qin -Qout ) divided by the mean of the absolute total of both: 0.5*(Qin +Qout ). Whenever the simulation can not find a solution within the number of outer * inner iterations, it can still continue whenever it meets the Acceptable Overall Waterbalance Error. Enter the number of sequential inner convergences that forces the solver to stop further iteration. The simulation will continue whenever the result passes the Acceptable Overall Waterbalance Error too. 331 of 812 iMOD, User Manual Minimal Transmissivity: Minimal Vertical Resistance: DR AF Preferred method of subdomain partition: Choose the preferred pre-conditioning method (only possible when using the PCG-solver): 1. Modified Incomplete Cholesky (for use on scalar computers), 2. Polynomial matrix conditioning method (for use on vector computers or to conserve computer memory). If the Preconditioning Method is set to Cholesky, the Relaxation parameter can be set. Although the default is 1, in some cases a value of 0.97-0.99 may reduce the number of iterations required for convergence. Enter a value for the minimal transmissivity that may occur in the model. In case a grid value is found below this threshold this will be corrected before the modelsimulation is started. Enter a value for the minimal vertical resisitance that may occur in the model. In case a grid value is found below this threshold this will be corrected before the modelsimulation is started Choose the preferred subdomain partition option. There are two methods supported: 1. Uniform subdomain partitioning (default) for uniform partitioning in lateral x and y-direction, 2. Recursive Coordinate Bisection (RCB) subdomain partitioning that computes the subdomain dimensions according to be specified pointer IDF grid (selecting a pointer IDF-file is required with this option). By selecting None the PKS package will not be used during the simulation. Note: Each subdomain always includes all model layers. In case hte RCB option is chosen, the filename of the needed pointer IDF grid needs to be filled in here. Open Click this button to find and select an IDF-file with the needed PKS pointer information. Check this option if merging of parallel subdomain IDF output files is needed (see for more information section 10.6). Note: Enabling this option could slow down overall parallel computations. T Preconditioning: Load pointer IDF-file: Merging IDF output files of subdomain Note: Consult scientific literature regarding the Solver Settings as described above in order to avoid any unwise input. 332 of 812 Deltares Toolbox Menu Options DR AF T Start Model Simulation window, Output Variables tab: Result Variable File (*.idf) bdgbnd head bdgfff/bdgfrf bdgflf bdgsto bdgwel bdgdrn bdgriv bdgevt Deltares This list will display the available output variables that are within the selected runfile from the Main Configuration tab. Select one of the following: Variable Description SIMGRO Flux in/out Simgro elements BOUNDARY Flux in/out constant head boundaries GROUNDWATERHEAD Groundwater head FLUX FRONT/RIGHT FACE Flux in/out front/right cell faces FLUX LOWER FACE Flux in/out bottom cell face STORAGE Flux in/out storage PURGED WATER TABLE Absent ANISOTROPY Absent HORIZ.FLOW BARRIER Absent TOP Absent BOT Absent CONCENTRATION Absent HORIZ.K VALUE Absent VERT.K VALUE Absent WELLS Flux in/out well systems DRAINAGE Flux out drainage systems RIVERS Flux in/out river systems EVAPOTRANSPIRATION Flux out evapotranspiration 333 of 812 iMOD, User Manual GENERAL HEAD BOUNDARY RECHARGE OVERLAND FLOW CONSTANT HEAD bdgrch bdgolf bdgbnd bdgisg bdgibs Selected Layers Flux in recharge Flux out overland flow Flux in/out constant head boundaries (identical to BOUNDARY) SEGMENT RIVERS Flux in/out river systems INTERBED STORAGE Flux in/out interbeds Select the modellayers for which the current selected variable need to be saved. The number of modellayers to choose from is determined by the Number of Modellayers selected in the Model Dimensions tab. Select this item to save budget terms for each of the defined sub-systems in the selected runfile. Each subsystem will be added to the filename, e.g. bdgriv_steady-state_l1_sys1.idf. Select this item to save the results within the specified buffer size entered in the Include a Buffer-zone of field on the Model Dimensions tab. Select this option to save all results in double precision accuracy instead of single precision (which is the default). Bear in mind that all files will be doubled in size as well as the option for double precision is selected. Also, result files saved in double precision cannot be read in iMOD version older than v3.4. DR AF SaveBudget Terms for each Boundary System Saved Result Variable inclusive the given Buffer Size Save Results in Double Precision Flux in/out general head boundaries T bdgghb 334 of 812 Deltares Toolbox Menu Options DR AF T Start Model Simulation window, Result Folder tab: Enter or Select Output Folder Start Model Simulation . . . Deltares The selected variables, as specified in the Output Variables tab, will be saved in the folder entered/selected here. Each variable will be saved within a separate folder, e.g. {outputfolder}\bdgrch\bdgrch_steady-state_l1.idf. Whenever NO scenario is included on the Main Configuration tab, the results will be saved in the {user}\models folder. Otherwise, in case a scenario is included, the results will be saved in {user}\scenarios\{scenarioname}. In this latter case, the output folder is determined by the selected scenario and can not be changed. Click this button to start a model simulation. iMOD will ask you to confirm, before the actual simulation starts. Whenever the model dimensions (number of rows * columns * modellayers) is more than 30.000.000 nodes, this button will be inactivated, since a normal 32-bits operating system can not carry out simulations with higher dimensions. 335 of 812 iMOD, User Manual 7.10 Quick Scan Tool WHY? The effects of changes in hydrogeological conditions in an area can be visualized once a groundwater model has been created. This can be done by changing the model input (as described in section 7.9) or by using scenarios (currently not available!). However much run time may be needed in case of complicated large groundwater models while many variations of the model input are required to select the desired changes in the model input. The Quick Scan Tool is designed to reduce significantly this run time. The Quick Scan Tool will provide an approximated result indicating the effect of the model variation and enabling to choose the desired model input. After selecting the model input a single final model run is needed to obtain the detailed model output. 7.10.1 T WHAT? The Quick Scan Tool works with a database (the Quick Scan database or QS-database, in previous iMOD versions called the Impulse-Response database or IR-database) which contains the model output of many model runs made by varying combinations of model input. The result of a change in model input can be presented very quickly just by querying this QS-database. Initial Settings DR AF The Quick Scan Tool needs an input file (*.INI) with initial settings. The input file is defined in the *.PRF file using the keyword QSTOOL (not yet implemented) or IRDBASE. The Quick Scan Tool input file (*.INI) needs to contain the following parameters: NIDF IDFNAME# IDFFILE# RESDIR NIR DIRIR# NAMEIR# IMPIR# MINIR# MAXIR# IDFIR# REFIR# 7.10.2 Number of IDF-files used as reference file. Name used in the QS Tool for IDF number # Name of the IDF file used as IDF number # Name of the folder with the results of the QS Tool Number of QS databases used in the QS Tool Name of the folder with QS database number # Name used in the QS Tool for QS database number # Name of the Impulse used in the QS database Minimal impulse value Maximal impulse value IDF with the link to the REFIR# Name of the file linking the IDFIR# value with the Response data Start Quick Scan Tool HOW? Select the Toolbox option from the main menu and then choose Quick Scan Tool to start the Quick Scan Tool window. 336 of 812 Deltares Toolbox Menu Options DR AF T Define Name of Current Target window: Enter a name for the target and click the Continue button. The Quick Scan Tool window will appear with the name of the target in the Project Overview list. The Project Overview list contains all defined Targets (T), Measures (M) and Results (R). The Active Polygons list contains all defined polygons. The targets and measures are defined in the tabs in the bottom half of the window by defining the area and the target or measure values. Deltares 337 of 812 iMOD, User Manual DR AF T Quick Scan Tool window: A target (Target tab) and a measure (Measure tab) is defined by: Click on the Add Areas button: Draw Draw a polygon to define the area where the target/measure is valid. Select Select a surface water level area from the map with surface water level areas. This map is shown in the background. Click on the Add Target orAdd Measure button: a target/measure is linked to the area defined. Information on the targets/measures linked to a polygon is shown in the bottom half of the Quick Scan Tool window when selecting the polygon on the map. 338 of 812 Deltares Toolbox Menu Options Quick Scan Tool window, bottom half for selected polygon: DR AF T for Targets tab: Assign Definition Copy Definition Create New Measure Click on the Assign Definition button to add the target definition. The Assign Target Definition window appears. Click on the Copy Definition button to copy target definitions from one polygon to other polygons. Click on the Create New Measure button to make a new measure definition linked to the target. Assign Target Definition window: Topic List of variables for which a target may be defined: Purged water table: level of the purged groundwater above the confining layer; Groundwater table: level of the groundwater under the confining layer; Seepage fluxes: seepage-/infiltration flux from modellayer 1 to modellayer 2; River fluxes: recharge/discharge of surface water; Drainage fluxes: discharge by drainage tubes and ditches. Period Deltares Period or condition for which the target is valid: GHG (average highest groundwater level) or GLG (average lowest groundwater level) 339 of 812 iMOD, User Manual Lower Upper Add Definition Remove Selected Definition(s) Lower limit of the target Upper limit of the target Add target definition to the list of targets Remove the selected target definitions from the list of targets Quick Scan Tool window, bottom half for selected polygon: DR AF T for Measures tab, Add Measures button: Assign Definition Copy Definition Plot selected cells, using following IR Create New Result 340 of 812 Click on the Assign Definition button to add the measure definition. The Assign Measure Definition window appears. Click on the Copy Definition button to copy measure definitions from one polygon to other polygons. Check the box to show the QS(=IR) units (model cell clusters) for which the effects of measures are calculated. The measure should be selected in the listbox because each measure may be linked to different units. Click on the Create New Result button to save the set of measures to a result. Deltares Toolbox Menu Options Name of the measure Strength of the measure Add measure definition to the list of measures Remove the selected measure definitions from the list of measure DR AF Topic Strength Add Measure Remove Selected Measure(s) T Assign Measure Definition window: Quick Scan Tool window, bottom half for selected polygon: for Measures tab, Optimize button: The Optimize function gives the opportunity to search in the QS-database for the optimal set of measures. These are the measures which give the desired result with the minimum number of measures. Assign Constraints Deltares Click on the Assign Constraints button to open the Assign Constraints window. 341 of 812 iMOD, User Manual Click on the Calculate button to search for the optimal set of measures using the assigned constraints. A report (see below) is generated in case the QSdatabase finds a solution. A warning is shown in case the QS-database is not able to find a solution. Report Plot selected cells, using following IR Show the report generated by the Calculate function Check the box to show the QS(=IR) units (model cell clusters) for which the effects of measures are calculated. The measure should be selected in the listbox because each measure may be linked to different units. Click on theCreate New Result buttonto save the set of measures to a result. Create New Result Fixed DR AF Assign Constraints window: T Calculate Topic Lower Upper Fixed Add Constraint Remove Selected Constraint(s) OK 342 of 812 Click on the button to set a fixed constraint. The value of the measure is fixed and can not be changed. Name of the measure Lower limit of the constraint Upper limit of the constraint Fixed value of the constraint (usable when button on first column is clicked) Click on the Add Constraint button to add a constraint to the list of measures. Remove the selected constraints from the list of constraints The constraint values are checked to be within the limits of the QS-database and the window closes. Deltares Toolbox Menu Options Quick Scan Tool window, bottom half for selected polygon: DR AF T for Measures tab, Preview button: Select one of the results below: Plot selected cells, using following IR Create New Result Deltares Select the result from the list box. The effect of the measure is shown for the area selected under Add Areas. Show the result Click on the button to show the result on the map. The legend is shown below the list box. Check the box to show the QS(=IR) units (model cell clusters) for which the effects of measures are calculated. The measure should be selected in the listbox because each measure may be linked to different units. Click on theCreate New Result buttonto save the set of measures to a result. 343 of 812 iMOD, User Manual DR AF T Example of report generated by Calculate on the Measures tab, Optimize button: Measures Targets Exit 344 of 812 The proposed measures are listed by polygon. The constraints are shown between brackets. The desired targets are listed by polygon. The upper and lower limits of the target are shown between brackets. The report can be closed with the Window Close button or by [File / Exit]. Deltares Toolbox Menu Options 7.11 Pumping Tool Note: The update of this functionality is still in progress. WHY? iMOD offers the possibility to manipulate existing model features, such as well strength, waterlevels, etc., by means of the functionalities offered by the scenario definitions. However, the scenario definitions are limited to existing features and new elements can not be added easily without changing the runfile manually. The Pumping Tool can be applied to configure new elements to an existing model configuration (runfile) and simulate and analyse the results easily. The Pumping Tool is developed specifically to simulate the effect of pumping, Aquifer-Storage-Recovery systems and/or Thermal-HeatStorage systems. Initial Settings DR AF 7.11.1 T WHAT? Any pumping system can be outlined by defining its location, vertical screen depths and corresponding well abstraction rates. The Pumping Tool includes these properties to any existing model configuration (runfile) prior to the simulation. The Pumping Tool allocates the well strength to the appropriate modellayer(s) and extends the model simulation time to include the given well regime. After the simulation the Pumping Tool offers a quick tool to analyse the results. The Pumping Tool needs an input file (*.INI) with initial settings. These settings are needed by the Pumping Tool to incorporate and allocate the well systems to the runfile(s). In the preference file the keyword SCENTOOL needs to be included that directs to that file, e.g. SCENTOOL {installfolder}\SCENTOOL.INI. The file SCENTOOL.INI needs to contain the following parameters: NSCNCONF RUNFNAME{i} RUNNAME{i} NLAY TOP{i} BOT{i} KD{i} MAXNWEL* MAXNCUT* MAXNOBS* MAXNMON* MAXNRES* Number of Scenario Configurations. This will indicate the number of runfiles that will be used to incorporate the well systems, e.g. NSCNCONF=2 For each of the NSCNCONF runfiles specify the full filename of the runfile, e.g. RUNFNAME1=c:\scentool\scen_summer.run For each of the NSCNCONF runfiles specify an alias for the runfile as described by RUNFNAME{i}, e.g. RUNNAME1=’Mean Summer Situation’. This alias will be displayed in the Pumping Tool. Specify the number of modellayers of the model configurations specified by RUNFNAME{i}, e.g. NLAY=8. Specify an IDF-file that represents the top elevation of the ith modellayer, e.g. TOP1=c:\scentool\idf\top1.idf. Specify an IDF-file that represents the bottom elevation of the ith modellayer, e.g. BOT1=c:\scentool\idf\bot1.idf. Specify an IDF-file that represents the transmissivity (kD) of the ith modellayer, e.g. KD1=c:\scentool\idf\kd1.idf. Specify the maximum number of Well Systems in one configuration, e.g. MAXNWEL=20 (default value=10). Specify the maximum number of Cut-Out Areas in one configuration, e.g. MAXNCUT=20 (default value=10). Specify the maximum number of Observation Wells in one configuration, e.g. MAXNOBS=20 (default value=10). Specify the maximum number of Monitoring Wells in one configuration, e.g. MAXNMON=20 (default value=10). Specify the maximum number of results in one configuration, e.g. MAXNRES=20 (default value=10). * optional Example of Pumping Tool SCENTOOL.INI file: Deltares 345 of 812 7.11.2 DR AF T iMOD, User Manual Start Pumping Tool HOW? Select the Toolbox option from the main menu and then choose Pumping Tool to start the Pumping Tool window. The Pumping Tool window manages the scenario configuration which is saved in the iMOD Scenario File (*.ISF). The Pumping Tool window has five tabs: Well Systems: to define the locations of the wells and the extraction rates Cut-Out Areas: to define the location of the cut-out or excavation areas Observation Wells: to define the locations of observation screens and the observed groundwater heads Monitoring Wells: to define the location of existing monitoring wells with groundwater head timeseries Results: to define the model simulation configuration and to start the model calculation 346 of 812 Deltares Toolbox Menu Options DR AF T Pumping Tool window, Well Systems (..) tab: Scenario Project This displays the iMOD Scenario File (*.ISF) under which the current configuration is saved. New Click this button to start a new/empty scenario configuration. Open Click this button to open an existing iMOD Scenario File (*.ISF). Well Systems Deltares Save As Click this button to save the current scenario configuration to a new iMOD Scenario File (*.ISF). Save Click this button to save the current scenario configuration to the current iMOD Scenario File (*.ISF). Click one of the well systems in the list to activate the Delete and Properties buttons. The Plot Information setting will be applied to the selected well system too. Add Click this button to add a new well system. 347 of 812 iMOD, User Manual Delete Click this button to remove the selected well system from the scenario configuration. Question window: Plot Information T Properties Click this button to adjust the parameters for the selected well system. Select one of the following options to specify the method to display information for the individual pumping locations for the selected well system (see below). None only the specified symbol will be drawn. The symbol can be changed DR AF in the Display tab of the Well Systems window, see section 7.11.3. Identification: displays the identifications; Screendepth: displays all screen depths; All Information: displays all information available. Apply to All Plot Label Help ... Close ... 348 of 812 Select this option to apply the display settings to all available well systems at once. Select this option to add the labels to the different parameters. Click this button to start the Help functionality. Click this button to stop the Pumping Tool. You will be asked to save your work before the Pumping Tool need to be closed. Deltares Toolbox Menu Options (2) DR AF (1) T Example of the Plot Information: (1) None, (2) Identification, (3) ScreenDepth, (4) All Information without and (5) with labels (3) (4) (5) Note: All other iMOD functionalities remain active whenever the Pumping Tool is loaded. This means that map operations can be carried out, legends can be changed, but the Profile Tool (see section 7.1) and/or 3D Tool can not be used without leaving the Pumping Tool. Deltares 349 of 812 iMOD, User Manual DR AF T Pumping Tool window, Observation Wells (..) tab: The observation wells are used to define screens where the calculated groundwater head can be compared with the observed groundwater head. All functionalities of the Observation Wells tab behave similar to those described for the Wells Systems tab and for the Wells Systems window. Add/Adjust Click these buttons to add/adjust a new/existing observation well, see section 7.11.4. 350 of 812 Deltares Toolbox Menu Options DR AF T Pumping Tool window, Results (..) tab: Available Results Display of all available result folders in the scenario project folder, e.g. folder C:\..\USER\SCENTOOL\WERKHOVEN\* for the C:\..\USER\SCENTOOL\WERKHOVEN.ISF file. The list will be refreshed whenever the tab is toggled with other tabs on the Pumping Tool window. Add Click this button to start a new simulation. Delete Click this button to delete the selected result in the Available Results list. You will be asked to confirm this action, since all files for the selected result will be deleted from disk. Contour Click this button to start the Quick Open window and specify the results that need to be displayed. Deltares 351 of 812 iMOD, User Manual Graph Click this button to display the selected result in combination with observation wells. Therefore, this button is only available whenever Observation Wells are defined. DR AF T Graph window: See section 6.6.1 for more information on the use of the available functions of this window. In this graph window a drop-down menu is added. The graph is updated whenever another item (Observation Well) is selected from the dropdown menu. 7.11.3 Well Systems Select the Add or Properties button on the Well Systems tab on the Pumping Tool window, to display the Well Systems window. 352 of 812 Deltares Toolbox Menu Options DR AF T Wells Systems window, Extraction Rates tab: Well System name Date Duration, start from (dd/mm/yyyy) Table Enter the name of the well system, maximum 24 characters. Select this option to enter the extraction rates by their (start)date, the Start Date column in the table will become enabled to enter values. The values within the Duration column will be computed, automatically. Select this option to enter the extraction rates by specifying an initial date, e.g. 20/5/2011. The column Duration becomes enabled to enter the duration for each extraction rate, e.g. 7.0, 7.0, 14.0 and 7.0 days. The date within the Start Date column will be computed automatically whenever the Calculate button is clicked or when closing the window. Each row in the table expresses an extraction rate for the entire well system. The red coloured column can not be edited and is computed whenever the Calculate button is clicked. Enter the extraction rates (strength) in the third column in m3 /hr (during the actual modeling, those values will be translated on the background into m3 /day). The last column (Julian) is not editable and is use by iMOD internally. Open Click this button to open a plain text file that contains date and extraction rates. Example of a text file with extraction data Save As Click this button to save a plain text file that contains date and extraction rates. Deltares 353 of 812 iMOD, User Manual Calculate Click this button to compute the Start Date or Duration column in the table. Graph Click this button to display a bar diagram of the extraction rates (see section 6.6.1 for more information on the use of the available functions of this window). DR AF T Graph window: Help . . . Close . . . Click this button to start the Help functionality. Click this button to close the Well Systems window. You will be asked to save any adjustments or you can cancel closure. Well Systems window, Position of Filters tab: Unit of WellScreen 354 of 812 Select one the following options to determine the treatment of well screens: Meter+MSL: enter the screen depths in meter+Mean-Sea-Level (MSL) Meter+SLevel: enter the screen depths in meter+Surface Level (SLevel). The surface level will be extracted from the {TOP1}.idf as defined in the initialization file (SCENTOOL.INI). Deltares Toolbox Menu Options Rate Distribution Select one of the following options to determine the distribution of extraction rates among all individual well screens. Mean Values: distribute the extraction rate evenly among all filter screens using the thickness of each screen in penetrating aquifers, e.g. q1 =T1 /(T1 +T2 +T3 )*Q Tran. Weighed values: distribute the extraction rate weighed by their thicknesses of each screen penetrating aquifers and their corresponding transmissivity values, e.g. q1 =T1 *Tran1 /(T1 *Tran1 +T2 *Tran2 +T3 *Tran3 )*Q DR AF T Extraction well (Q) and rate allocation to the different screens (q1 +q2 +q3 ): Table Each row in the tables represents a well location and corresponding well screen depths. It is allowed to edit the table directly (screen depths). It is recommended to change lateral positions (the coordinates) by means of the Move option, however. Open Click this button to open a plain text file that contains date and extraction rates. Example of a text file with well location and screen depth Save As Click this button to save a text file that contains date and extraction rates. Add Click this button to add a new extraction well by clicking your left mouse button at the location of the well. Each time you click the left mouse button a new well will be added. Click your right mouse button to stop. Move Click this button to move an existing well. Move your mouse cursor in the neighbourhood of a well and observe that the mouse cursor changes to and the corresponding row in the table changes to red. Hold your left mouse button down and move the well by moving the mouse cursor. Release the left mouse button to start moving another well. Click your right mouse button to stop. Delete Click this button to delete an existing well. Move your mouse cursor in the neighbourhood of a well and observe that the mouse cursor changes to and the corresponding row in the table changes to red. Click your left mouse button to delete the well. Click another well to delete it, or click your right mouse button to stop. Deltares 355 of 812 iMOD, User Manual Symbol Colour 7.11.4 DR AF T Well Systems window, Display tab: Select a symbol number (see section 5.7 for available symbols). The current symbol is displayed on the right. Displays the current symbol colour (dark green in this example). Colour Click this button to change the colour by means of the default Windows Colour window. Observation Wells Select the Add or Properties button on the Observation Wells tab on the Pumping Tool window, to display the Observation Wells window. 356 of 812 Deltares Toolbox Menu Options DR AF T Observation Well window, Observation tab: All functionalities of the Observation tab behave similar to those described for the Extraction Rates tab on the Wells Systemswindow, however, a few remarks are needed. Graph Click these buttons to display a graph for the observations. The graph will represent the observations by plotting straight lines between the given dates, ignoring the last (final) date without any given observation (26/8/2011). Graph window: Deltares 357 of 812 iMOD, User Manual DR AF T Observation Wells window, Position of Filters tab: All functionalities of the Position of Filters tab behave similar to those described for the same tab on the Wells Systems window, however, a few remarks are needed. Table Each row in the table represents a single observation and corresponding well screen depth. Only one location is sustained for each observation. It is allowed to edit the table directly (screen depths). It is recommended to change lateral positions by means of the Move option, however. Observed heads will be used to compare with model results and the modellayer that will correspond to each observation depends on the screen depths. iMOD will assign a modellayer that is occupied by the largest part of the entire screen. Allocation of screens of observation wells to modellayers: Observation window, Display tab: This window behaves and is identical to the window described before for the Wells Systems tab. 358 of 812 Deltares Toolbox Menu Options Results on the Results tab on the Pumping Tool window, to display the Compute T Select the Add button Result(s) window. DR AF 7.11.5 Version Number Select (multiple) type of Simulation Configurations Local GridSize (m) Buffer GridSize (m) Deltares Enter a version number. The version number will be added to the result folder that is formed by the name of the model configuration, e.g. V1_{modelconfiguration}. Select one or more model configurations from the list. The list is reflecting the content of the parameter RUNNAME{i} in the initialization file for the Pumping Tool. It is an alias for the runfile described by the keyword RUNFNAME{i]. Info Click this button to edit the ith selected runfile (RUNFNAME{i}) that is associated to the alias (RUNNAME{i}) from the list. CheckRun Click this button to check the content of the ith selected runfile (RUNFNAME{i}) that is associated to the alias (RUNNAME{i}) from the list. More information about this kind of runfile check. Enter the gridsize inside the area of interest, e.g. 25.0 meter. The area of interest will be computed automatically based on the layout of the scenario, i.e. the lateral position of the extraction wells, cut-out areas and observation wells. Enter the gridsize to be used inside the buffer defined by the Buffersize (m), e.g. 100.0 meter. 359 of 812 iMOD, User Manual Buffersize (m) Select (multiple) type of Simulation Results Enter the size of the buffer in meters, e.g. 1500 meter. Select one or more of the supplied result options. Phreatic Heads – choose this option to compute Phreatic Heads (and piezometric heads as well). Drawdown Flowlines Well Systems Not yet implemented Flowlines All Wells Not yet implemented Time Daily base – choose this option to simulate between the Start and End T Time Discretisation Display of the Start and End dates (not editable). These are determined automatically by the entered extraction rates. The simulation duration is primarily determined by the sequence of extraction. Choose out of the following: date on a daily base. A summary is given below: DR AF Defined by wells – choose this option to simulate between the Start and End with stressperiod lengths that depend on the entered moment of extraction. A summary is given below: Use Time of Observation wells Add Final Steadystate solution 360 of 812 Select this option to include (extra) intermediate stressperiods to take the moment of observations into account. This ensures that any comparison between observations and computed heads are measured/computed at identical moments. Bear in mind that computational times are linearly related to the number of stressperiods. Select this option to add a final stress-period that simulates a steady-state of the last entered model input (i.e. extraction rates). A summary is given below: Deltares Toolbox Menu Options Start . . . Click this button to start the simulation(s). You will be asked to confirm this. iMOD will add the appropriate information regarding extraction wells to the selected runfile(s) and start iMODFLOW as defined by the keyword MODFLOW in the active preference file. iMODFLOW will start in a separate commandtool window. DR AF T Scenario Simulation Command window: Help . . . Cancel After a successful simulation, both the Scenario Simulation Command window and the Compute Results window will be closed. Click this button to start the Help functionality. Click this button to cancel and close the Compute Results window. Note: A simulation will block any use of iMOD. A simulation can be terminated by pressing the (red in Windows Vista) closing window button on the upper-right corner of the Scenario Simulation Command window. Deltares 361 of 812 iMOD, User Manual RO-tool WHY? The iMOD RO-tool is based on the ArcGIS WaterNOOD-application (“WaterNOOD”approach: “Watersysteemgericht NOrmeren, Ontwerpen en Dimensioneren”) by Stichting Toegepast Onderzoek Waterbeheer ( STOWA). The WaterNOOD-application provides water managers with information on hydrological requirements of farm crops and vegetation types, and helps them to predict the effects of water management measures on crop-yields and vegetation. The application is used in the water management of nature conservation areas and surrounding agricultural or urban areas. T The iMOD RO-tool (like the ArcGIS WaterNOOD-application) incorporates two knowledge/database/ model-based tools, that are widely used in the Netherlands to determine productivity of farm-crops and potential for development of groundwater dependent vegetation types under various abiotic conditions (soil type and soil-hydrology): “HELP2005-tabellen”for calculating farm crop productivity. (see also: http://help200x.alterra. nl/HELP2005.pdf and http://help200x.alterra.nl/) “WATERNOOD - Hydrologische randvoorwaarden natuur”for calculating potential for development of groundwater dependent vegetation types.(see also: http://www.synbiosys.alterra. nl/waternood/ and http://waterwijzer.stowa.nl/upload/publicatie2014/STOWA%202015%2022_ Webversie%20LR.pdf) DR AF 7.12 Note: Because this is a Dutch spatial planning tool, based on a Dutch policy-makers’approach for optimizing groundwater regimes for agriculture and nature restoration, Dutch remarks are included. WHAT? Abiotic conditions determine productivity of farm-crops and potential for development of groundwater dependent vegetation types. The tool calculates productivity of farm-crops and potential for development of groundwater dependent vegetation types, as a function of abiotic conditions (soil type, seasonal groundwatertables). Agriculture: actual crop-yield, compared to crop-yield under optimal conditions. The RO-tool calculates the actual crop-yield (relative to crop-yield under optimal abiotic conditions) and decrease of crop-yield due to moisture-stress (“natschade landbouw”) or respiration-stress (“droogteschade landbouw”), given the actual, site specific abiotic conditions (soil type, seasonal groundwatertables). Decrease of crop-yield is calculated in % and/or Euros. doelrealisaties (= 1 –[opbrengstreductiepercentage t.o.v. optimale condities]/100) Natural vegetation: potential for development of groundwater dependent vegetation types. The RO-tool calculates the potential for development of pre-defined groundwater dependent vegetation types. The potential is expressed as a percentage, relative to the potential for development under optimal abiotic conditions. doelrealisaties (= 1 –[actuele ontwikkeling vegetatie/ontwikkeling vegetaties onder optimale condities] Urban area: suitability for urban development, as a function of groundwatertable-depth. The RO-tool calculates the suitability for urban development, based on a range of drainage-level, defined in a lookup-table. Groundwatertable above the upper range results in a 0% suitability for building, groundwatertable between upper and lower range results in a 50% suitability for building, and groundwatertable below the lower range results in a 100% suitability for building. HOW? The RO-tool is a post-processing scenario-tool. The user can use pre-defined maps of soil types, landuse (crop types) and vegetation types and pre-defined tables of hydrological requirements for vegetation and/or habitat types. All these maps and tables can also be modified by the user, to meet special interests. Input for the hydrological conditions are the Dutch groundwater-table-depth statistics maps (“GHG, GLG, GVG”). They are the result of a groundwate rmodel simulation. The user can run the RO-tool for different groundwater model scenarios. 362 of 812 Deltares Toolbox Menu Options Explanation of the Dutch groundwatertable-depth statistics (“GHG, GLG, GVG”): The groundwatertable-depth statistics (Mean Highest, Mean Lowest or Mean Spring Watertable depth). The Mean Highest Watertable (MHW or GHG) is defined as the mean value of the three shallowest groundwater depths measured in one year (in meter beneath soil surface), averaged over a period of 8 years with bi-weekly measurements or simulation-results. The Mean Lowest Watertable (MLW or GLG) is defined likewise, with the deepest groundwater depths. The groundwater depths measured at three dates nearest to April 1, are used for calculation of the Mean Spring Watertable (MSW or GVG). The period to calculate MHW is defined between October 1st and April 1st. T Important Note: Despite the fact that the iMOD RO-tool is based on version 2 of the “WaterNOOD”application, it is possible to implement tables with hydrological requirements for user defined vegetation/habitat-types, created with “WaterNOOD”version 3. The tables can be created with and exported from the “WaterNOOD”application, version 3. To download “WaterNOOD”version 3 go to: http://www.synbiosys.alterra.nl/waternood/ and follow the instructions in the manual to export the user created tables for later use in iMOD RO-tool. 7.12.1 DR AF Before starting the RO-tool, the desired settings need to be defined in the Preference file (see section 9.1). The preference tab at the RO-tool window is filled with these settings. The keywords in the preference file are linked to the required input files of the RO-tool. section 7.12.2 contains a list and description of these files. In section 7.12.3 the operational setup of the RO-tool is explained and in section 7.12.4 a list of output files and a short explanation can be found. To start the RO-tool window, select the Toolbox option from the main menu and then choose RO-tool from the bottom of the menu-list. RO-tool window In this section an explanation is given about each tab on the RO-tool window. General settings on the RO-tool window are: Compute... Help. . . Cancel Click on this button to start the scenario based map calculation with the given settings. Click on this button to search for relevant information in the iMOD-manual if the directory of the file is defined in the PRF-file (see section 9.1). Click on this button to Quit the RO tool without saving or computing anything. After all settings are selected the user can click on the Compute... button to start the scenario computation. Directly after starting the calculation iMOD checks continuously which input files and lookup-tables are needed. The computation is performed per selected subtype. In case one scenario is chosen in combination with a reference situation, iMOD creates, additionally to the reference/scenario related result maps, a map with the difference between reference results and scenario results. Result-files are immediately loaded in the iMOD Manager. Deltares 363 of 812 iMOD, User Manual DR AF T Compute Settings tab: Select type Subtype Compare with reference situation Sprinkling on Output directory 364 of 812 Choose the preferred group of investigation questions. (Note: at this moment only the RO (flood related) type is available.) Depending on the selected type a list of scenario related subtypes appears. Selecting 1 or more subtypes enables the Scenario Input tab. Check this option if it is preferred to compare the selected scenario with a reference (or other) situation. Checking this option enables the Reference Input tab. This option is only available in drought related scenarios. Check this option if re-wetting through sprinkling during a period of drought is wished. By applying this option, respiration-stress of farm crops is eliminated. Enter the name of the output directory where iMOD stores the scenario results. Default: TMP-folder in the USER directory. Deltares Toolbox Menu Options DR AF T Scenario Input tab: GHG GLG LUSE (Optional) NDT (Optional) Result Legend Enter the directory and name of the GHG-file to be used in the scenario. Enter the directory and name of the GLG-file to be used in the scenario. Enter the directory and name of the landuse type related file to be used in the scenario (Note: only available if at least an Agriculture-subtype is chosen, or a combination of Agriculture- and Nature-subtypes; not available if only a Nature-subtype is chosen). Enter the directory and name of the file with the vegetation type(s),"natuurdoeltype kaart" (Note: only available if a Nature-subtype is chosen, or in a combination with a Nature-subtype and Agriculture-subtype). Enter the directory and name of the result file (Note: not available if more than 1 subtype is selected). On default the Output Folder is selected and the name of the results file equals the chosen subtype description *.idf, e.g. subtype="natschade_landbouw" the name of the file is "natschade_landbouw_SCEN.IDF". Enter the directory and name of the legend file (Note: not available if more than 1 subtype is selected). Click on this button to search for the needed file. Deltares 365 of 812 iMOD, User Manual DR AF T Reference Input tab: Only available if option Compare with reference situation on tab Compute Settings is checked. GHG GLG LUSE (Optional) NDT (Optional) Result Legend Enter the directory and name of the GHG-file to be used in the scenario. Enter the directory and name of the GLG-file to be used in the scenario. Enter the directory and name of the landuse type related map to be used in the scenario (Note: only available if at least an Agriculture-subtype is chosen, or a combination of Agriculture- and Nature-subtypes; not available if only a Nature-subtype is chosen). Enter the directory and name of the file with the vegetation type(s), "natuurdoeltype kaart" (Note: only available if a Nature-subtype is chosen, or in a combination with a Nature-subtype and Agriculture-subtype). Enter the directory and name of the result file (Note: not available if more than 1 subtype is selected). On default the Output Folder is selected and the name of the results file equals the chosen subtype description *.idf, e.g. subtype="natschade_landbouw" the name of the file is "natschade_landbouw_SCEN.IDF". Enter the directory and name of the legend file (Note: not available if more than 1 subtype is selected). Click on this button to search for the needed file. On the Scenario Input tab and Reference Input tab, it is not necessary to fill in the fields for LUSE ("landgebruik") and NDT ("natuurdoeltype"). When empty, iMOD uses the defined file as given in the Preference file; defined with keyword LANDUSE in case of LUSE and keyword NDT in case of NDT. As mentioned, it is not possible to fill in the fields for Result and Legend whenever more than 1 scenario objective is chosen. Input Preferences tab: This tab contains all information as defined in the Preference file (section 9.1), including cross reference tables, lookup tables and basic files. Files may be placed in any directory and/or different directories on user’s harddisk(s). 366 of 812 Deltares 7.12.2 List of the preference keywords. Name and directory of a file referring to Item. DR AF Item Assigned file T Toolbox Menu Options Preprocessing The needed input files to be prepared: Two IDF-files, one containing the GHG and one with GLG information in meters relative to surface level (positive values = below surface level). A minimum of 1 set is required for the scenario situation. A landuse map (IDF-format) according to the LGN5 encoding. A soil map (IDF-format) with HELP soil units and RFC soil units (explained later in more detail). This conversion from the 1:50.000 soil map to HELP soils and to RFC soils is done by Deltares, using a conversion table. A map of vegetation types (NDT, natuurdoeltypenkaart), with encoding matching the lookup-tables NDT_LUT and ABIOT_LUT. So called “HELP”-tables, with HELP2005-database, containing relations between crop - soiltype GHG/GLG -respiration/moisture-stress. As mentioned in section 7.12 “WHY?”, actual crop-yield, decrease of crop-yield and potential for development of selected vegetation types are determined by use of the two knowledge/database/ modelbased tools: “HELP2005-tabellen”for calculating farm crop productivity. “WATERNOOD - Hydrologische randvoorwaarden natuur”for calculating potential for development of groundwater dependent vegetation types. The RO-tool requires maps, tables and binary files that represent the above mentioned knowledge/database/ model-based tools. To calculate Agriculture-subtypes, these files from “HELP2005-tabellen”are required: HLP_DRY.DAT HELP2005-database: crop|soiltype|GHG/GLG|respiration-stress. HLP_WET.DAT HELP2005-database: crop|soiltype|GHG/GLG|moisture-stress. HLP_SOIL.IDF Raster file: 1:50.000 soil map reclassified for HELP2005 (using bod2hlp.lut). LUSE\LGN5.IDF Raster file with land use types in LGN5-codes. CROP_COSTS.LUT Lookup table with crops (in LGN5-codes) and crop-yields (Euro/ha/year). Deltares 367 of 812 iMOD, User Manual To calculate Nature-subtypes, these files from “WATERNOOD - Hydrologische randvoorwaarden natuur”are required: RFC_SOIL.IDF Raster file: 1:50.000 soil map reclassified to RFC-soils (using bod2rep.lut). RFC_LUT.LUT Lookup table with RFC(reprofunction)-characteristics. NDT.IDF Raster file with vegetation types to calculate potential development for. NDT_LUT.LUT Lookup table with option to aggregate vegetation types. ABIOT_LUT.LUT Lookup table: hydrologic requirements for vegetation types (NDT’s). To calculate Urban area: URBAN_RANGE.LUT Lookup table with range of drainage-level (upper- and lower value in meter below surface) DR AF T Realization of the RFC soil map A soil map containing 1:50000 soil codes is needed for this realization as well as a field with an assimilation of the fields "VOOR", "LETTER", "CIJFER", and "KALK". In case a new field needs to be added, ArcView3.x can be used by fill in the following line in the Field calculator: [VOOR]+[LETTER]+[CIJFER].ASSTRING+[KALK]. The associations are not included in the conversion table and therefore the value of the field "EERSTE_BOD" can be used as a replacement. In the soil map, the codes related to excavated soils starting with a "|"-character are represented in the conversion table with the first two characters of the soil code (RFC-value = 99). All codes starting with a "|"-character can be selected by making use of a query function (in ArcView3.x), e.g. ([fieldname]).contains("|"). Via the calculator the specific field can be filled with the first 2 characters by making use of [CODE].LEFT(2). Similar functions are available in ArcGis. A final step in the preparation of a RFC soil map is joining the soil map with the table RFCCODES.DBF. Realization of the HELP soil map The same soil map (1:50000 soil codes) as was used for the realization of the RFC soil map, is needed for realization of the HELP soil map. Only now an additional field is needed, containing the groundwater tables. Accordingly, a compilation of the following fields is included in the map: "VOOR", "LETTER", "CIJFER", "KALK", and "GWT". This field is available in most of the soil maps labeled as "CODE". Next, the "BOD50_2_HLP.DBF" table needs to be joined to the "GWT"-field and converted to a raster format on field "HELPID". 7.12.3 Operational setup To start the computation of the RO-tool, it is necessary to define at least a GHG- and/or a GLG-file (depending on chosen subtype) on the scenario tab. If iMOD cannot find all needed files, an explanatory error is raised. In case a scenario has to be compared with a reference situation, computation is only possible if all required files are defined in the Scenario Input and Reference Input tabs. At the moment everything is correctly defined, clicking on Compute... executes the computation. In case of comparing a scenario with a reference situation, the output contains: 1 For both scenario and reference: 1.1 For Agriculture-subtypes: an IDF and table with actual crop-yield (relative to crop-yield under optimal abiotic conditions), and/or an IDF and table with decrease of crop-yield due to moisture-stress (“natschade landbouw”) or respiration-stress (“droogteschade landbouw”). 1.2 For Nature-subtypes: an IDF and table with the potential for development of chosen vegetation types, expressed as a percentage, relative to the potential for development under optimal abiotic conditions. 1.3 An IDF and table with the difference between the scenario results and the reference situation results for chosen Agriculture and Nature subtypes (difference = reference - scenario). In case the computation is limited to 1 situation (either scenario, or reference), the output only contains one IDF and table with either actual crop-yield, decrease of crop-yield, or potential for development of chosen vegetation types, depending on the chosen subtype(s). 368 of 812 Deltares Toolbox Menu Options Calculation of subtype “Urban Area” returns an IDF and table with suitability for urban development (values 0, 50 and 100). A range for drainage-level is defined in a lookup-table. Groundwatertable above the upper range results in a 0% suitability for building, groundwatertable between upper and lower range results in a 50% suitability for building, and groundwatertable below the lower range results in a 100% suitability for building. Output The output of the computation contains: 1 IDF-files (raster files) containing: Agriculture: decrease of crop-yield due to moisture-stress and respiration-stress (“natschade landbouw”, “droogteschade landbouw”). Agriculture: actual crop-yield, relative to crop-yield under optimal abiotic conditions (“doelrealisatie landbouw”). T Nature: potential for development of pre-defined groundwater dependent vegetation types, expressed as a percentage, relative to the potential for development under optimal abiotic conditions (“doelrealisatie natuur”). Urban Area: suitability for urban development (“doelrealisatie stedelijk”). 2 A table with: Total crop-yield for all crops in scenario and reference situation (if applicable). Total yield per area. Average decrease in crop-yield, for both decrease of crop-yield due to moisture-stress and DR AF 7.12.4 respiration-stress. Computed area of total extent with pro-/regression per subtype (crop-yield, vegetation type, urban class). The output per subtype is managed over the surface area for which the computation was performed. Cells within the area but lacking any information (nodata values), are not taken into account and therefore these cells are not visible in the output totals. Deltares 369 of 812 iMOD, User Manual Define Startpoints WHY? iMOD offers the possibility to trace particles throughout the model extent. For these simulations it is necessary to define the starting locations (startpoints) for these particles (pathlines). WHAT? The starting location for particles is defined inside polygons, along lines and/or on the edge of circles around specified points. All these are specified in normal 3D-coordinates (x,y,z) and will be translated to the model at trace time. In this manner, a startpoint definition, can be easily (re) used to other model resolutions and/or model extinctions. Open/Create a Startpoint Definition window: T HOW? Select the Toolbox option from the main menu and then choose Define Startpoints to start the Open/Create a Startpoint Definition window. DR AF 7.13 Select a StartPoint Definition, etc . . . Open and continue Help . . . Close 370 of 812 Enter or select an existing *.ISD file from the list. Those *.ISD files are found in the {user}\startpoints folder, see SrefiF.ISD for more detailed information on *.ISD files. Click this button to open the selected *.ISD file and start the StartPoint Definition window. Click this button to start the Help functionality Click this button to close the Open Deltares Toolbox Menu Options DR AF T Start Point Definition window, Shapes tab: Startpoint Definition Displays the name of the current opened *.ISD file from the folder {user}\startpoints. Draw Click this button to start the Select window in which you select the shape that defines the lateral position of the startpoints (see next page). Click these buttons to draw, open, save, delete or rename a shape. More detailed information can be found in section 2.6.2 Draw Click this button to draw the spatial location of the startpoints of the selected shapes. Click this button to start the Help functionality. Click this button to close the StartPoint Definition window. You will be asked to save the adjustments to the opened *.ISD file. Help ... Close ... Deltares 371 of 812 iMOD, User Manual The Select window in which you select the shape that defines the lateral position of the startpoints. DR AF T Select window: Point Click this option to define startpoints for a single point Rectangle Click this option to define startpoints within a rectangle (NOT YET IMPLEMENTED) Polygon Click this option to define startpoints within a polygon Circle Click this option to define startpoints on a circle Line Click this option to define startpoints on a line Example of startpoint created by (left) polygons, (middle) circles and (right) lines: 372 of 812 Deltares Toolbox Menu Options DR AF T StartPoint Definition window, Definition tab, (1) for polygons (2) on circles and (3) along lines: Distance X, Distance Y Snap to model coordinates Radius Sampling Top-Level (enter IDF/numeric value) Bottom-Level (enter IDF/numeric value) Reference Top and Bottom by (IDF) Vertical Interval (number) Enter the lateral distances in X and Y direction for those startpoints inside the selected Polygon shape. Click this item to snap the startpoints location to the nearest model centroid (NOT YET IMPLEMENTED) Enter the radius of the circle. Enter the distance between the startpoint on the radius of the circle (Circle shape) or on the line (Line shape). Enter a IDF that represents the top and/or bottom elevation of the startpoints, e.g. D:\TOP_L8.IDF and D:\BOT_L8.IDF. For each lateral position of a startpoint, the values will be read from the entered IDF-files. Moreover, you can enter a constant value (e.g., -1) to indicate that all values are constant. Check this item to enter an IDF-file as reference level. The values from this IDF will be used to add or subtract the values from the Top-level and Bottom-level. In the example in Figure 5-9d-i, the final values for the Top elevation will be those values in the D:\SURFACE.IDF minus 1 (the entered numeric value). Open IDF Select this button to select an IDF-file from the file selector. Enter the number of vertical intervals between the values from the top and bottom elevation. By entering the number: 1: iMOD will position one startpoint in-between the values for the top and bottom elevation; 2: will yield a startpoint equal to the top and a startpoint equal to the bottom elevation; >2: yields startpoints equally distributed between the top and bottom elevation. Note: iMOD will not check, at this time, for the non-existence of any entered IDF-file. These files will be checked at runtime for the particle tracking. Deltares 373 of 812 iMOD, User Manual Start Pathline Simulation WHY? Particle tracking analyses are particularly useful for delineating capture zones or areas of influence for wells. WHAT? iMOD is equipped with iMODPATH that is a modified version of MODPATH version 3 (Pollock, 1994). iMODPATH is a particle tracking code that is used in conjunction with iMODFLOW. After running a iMODFLOW simulation, the user can designate the location of a set of particles. The particles are then tracked through time assuming they are transported by advection using the flow field computed by iMODFLOW. Particles can be tracked either forward in time or backward in time. T HOW? Select the option Toolbox from the main menu and then choose the option Start Pathline Simulation to open the Pathlines Simulation window. Pathlines Simulation window, Model tab (i) for a steady-state model (ii) for a transient model: DR AF 7.14 User Folder: Existing results under Models Browse for a different folder Folder: Availability Select this radio button to select one of the following options: Models: Click this radio button to list all existing models in the folder {user}\models Scenarios: Click this radio button to list all existing models in the folder {user}\scenarios Select one of the folders that appear in this listbox. Select this radio button to specify a result folder from a different location, other that the {user}\models and/or {user}\scenarios folder. Open File Click this button to search for a folder on disk Enter the name of the folder, otherwise the name of the folder will be displayed after accepting the folder from the Open File button. The Availability status will update each time an alteration is noticed in the folder name. iMOD will check those results that are available and includes the number of modellayers. Alias 374 of 812 Subfolder Deltares Toolbox Menu Options Budget Flow Lower Face [z] (.) Budget Flow Right Face [x] (.) Budget Flow Front Face [y] (.) BDGFLF\BDGFLF_L*.IDF BDGFRF\BDGFRF_L*.IDF BDGFFF\BDGFFF_L*.IDF Displays the status of the selected model. Whenever data is missing the other tabs are greyed out. Help. . . Close Click this button to start the HELP functionality. Click this button to close the Pathlines Simulation window. DR AF T Pathlines Simulation window, Input tab: Open Click this button to open an *.IPS (iMOD Pathlines Settings) file. SaveAs Click this button to save the current input settings to an *.IPS file. Boundary Settings Top- and bottom Porosity Startpoint Definition File Deltares Properties Click this button to open the Input Properties window (see SrefTMO.SPS.InputProp). Click the dropdown menu to view the current files and/or values to be used as boundary settings. Any value greater than zero determines the active flow extent in which particle tracking is allowed. As a default the boundary of the flow simulation can be used (see section 7.9), however, it is not obligatory to use that particular file. Click the dropdown menu to view the current files and/or values to be used as top- and bottom elevations of the model layers. Click the dropdown menu to view the current files and/or values to be used as porosity. Select one of the existing *.ISD files from the list menu to use as startingpoints for the particle simulation. Those *.ISD can be created by the Startpoint Tool (page 297) and are located in the {user}\STARTPOINTS folder. 375 of 812 iMOD, User Manual Help. . . Close Click this button to start the HELP functionality. Click this button to close the Pathlines Simulation window. DR AF T Pathlines Simulation window, Time tab: Transient Simulation From, to Stop criteria Stop tracing after Help. . . Close 376 of 812 This checkbox is selected automatically for transient solutions and deselected for steady-state solutions. Specify the start- and end period whenever a transient solution is used. The input fields are filled in automatically and defined by the content of the selected result folder on the Model tab. Select one out of three options to specify how particles are to be treated whenever they are not captured before the end of the existing solution files (only for transient simulations). Stop Particle after end date: Stop the particle simulation whenever the elapsed time of the particle exceeds the given To date. Repeat period until particle stops: Repeat the period selection (From-To) until the elapsed time of the particle exceeds the increased To date. Continue with last period until particle stops: Use the last solution within the From-To period, to simulate all particles until they are captured. Enter the number of years for which particles need to be traced. Click this button to start the HELP functionality. Click this button to close the Pathlines Simulation window. Deltares Toolbox Menu Options DR AF T Pathlines Simulation window, Weak Sinks tab: Particles pass . . . Particles are stopped . . . Particles are stopped when they enter . . . Help. . . Close Select this option to let particles pass any cell with a weak sink, no matter how “weak” they are. Be aware of the consequences of this option, since particles tend to trace over long distances until they are captured by a strong sink. This option could be wise to use whenever Forward Tracing option is selected on the Result tab. Select this option to stop particles at any cell with a weak sink, no matter how “weak” they are. Use this option whenever Backward Tracing is selected on the Result tab. Select this option to let particles stop whenever they enter a cell where the discharge is larger than a fraction of the total inflow. Whenever the fraction=1.0, particles stop at a strong sink only, as fraction=0.0, they will always stop, no matter the size of the total outflow. Click this button to start the HELP functionality. Click this button to close the Pathlines Simulation window. Note: The final representation of flowpaths and/or endpoints of particles is influenced significantly by the treatment of weak sinks. A strong sink is defined as a model cell in which all flowterms are directed into the model cell. Weak sinks are those that have at least one flow component that directs outside the model cell. Deltares 377 of 812 iMOD, User Manual DR AF T Example of Strong sink (left) and a Weak sink (right): There is no way that the particle tracking algorithm itself can decide correctly whether a particle should stop or not. Moreover, it is an essential scale issue, since strong or weak sinks do not exist in reality. As the scale size (rastersize) increases, the occurrences of weak sinks in the model, will increase. This is simply caused by the phenomenon that a single coarse modelcell should represent more than one internal boundary condition and represents a larger area than the area taken by the boundary condition. So, the flowterms of these coarse cells represent an average flowfield that represent on average particles that should stop and particles that should continue. Unfortunately, that particular particles can not be simulated with the coarse model, so one should decide whether the particles should stop, continue of stop/continue depending on the ratio between the total inflow and the outflow component. These three options can be chosen in iMOD 378 of 812 Deltares Toolbox Menu Options DR AF T Pathlines Simulation window, Result tab: Trace Direction Result Save as: Deltares Select one of the following options: Forward: This option will compute pathlines in the direction of flow Backward: This option will compute pathlines against the direction of flow Select on the following options: Save Entire Flowpath (*.iff): Select this option to save the entire flowpath in an *.IFF file (see section 9.8 for more details). The IFF has the following attributes: PARTICLE_NUMBER – number of the released particle; ILAY – modellayer of the current particle position; XCRD. – X coordinate of the current particle position; YCRD. – Y coordinate of the current particle position; ZCRD. – Z coordinate of the current particle position; TIME(YEARS) – elapsed time on the current particle since moment of release; VELOCITY(M/DAY) – current velocity of the particle; IROW – row index of current location; ICOL – column index of current location. 379 of 812 iMOD, User Manual DR AF T Example of flowpaths (IFF) plotted by the 3D Tool. Save End- and Startpoints (*ipf): Select this option to save the entire flowpath in an *.IPF file (see section 9.7). The IPF has the following attributes: SP_XCRD – X coordinate of starting location of particle; SP_YCRD – Y coordinate of starting location of particle; SP_ZCRD – Z coordinate of starting location of particle; SP_ILAY – modellayer of starting location of particle; SP_IROW – row index of starting location; SP_ICOL – column index of starting location; EP_XCRD – X coordinate of end location of particle; EP_YCRD – Y coordinate of end location of particle; EP_ZCRD – Z coordinate of end location of particle; EP_ILAY – modellayer of end location of particle; EP_IROW – row index of end location; EP_ICOL – column index of end location; TIME(YEARS) – elapsed time of particle at end location; MAXLAYER – deepest model layer that a particles passed; DISTANCE – traveled distance of particle from begin to end location; IDENT.NO. – number of particle; CAPTURED_BY – code identification of capture: -1 – error occurred 0 – initial value 1 – inactive cell 2 – velocity is zero 3 – strong sink (no outflow) 4 – weak sink (regardless of flow) 5 – weak sink outflow greater than fraction 6 – modelboundary reached 7 – elapsed time greater that maximum time allowed. 380 of 812 Deltares Toolbox Menu Options DR AF T Example of startpoints plotted by their age (upper figure) and their captured_by code (lower figure): Start IPS . . . Start . . . Deltares Click this button to start the Interactive Pathline Simulation (IPS), see 7.15. iMOD will start the 3-D Tool directly and opens the IPS tab in the 3-D Tool in which pathlines might be computed interactively. The output of those simulation go straight into OpenGL and will be rendered, no results will be saved to disc, use the Start . . . option for that instead. Any selected SDF file will be neglected whenever the IPS is started as the starting points for the pathlines will be defined in the IPS-Tool. Click this button to start the pathline simulation. iMOD will start directly, or asks for confirmation in the situation that the output file exists already. The iMODPATH runfile will be saved in the Model folder as given on tab Model. This runfile can be re-used easily by the iMODBatch function IMODPATH (see 8.6.6). A log-file will be saved there as well, that given information about the used files. 381 of 812 iMOD, User Manual Input Properties A pathline simulation needs particular files that can be easily defined (and stored in an *.IPS file) with the Input Properties function. Select the Input Properties button on the Input tab of the Pathlines Simulation window to start the Input Properties window. T Input Properties: DR AF 7.14.1 Collect files from Folder: Enter the folder name to be used to construct filenames, e.g. d:\imodmodel\boundary Open Click this button to select a folder from the file selector. Using the keyword: Fill List Below: Enter the keyword that need to be added to the foldername, e.g. boundary_l List of files . . . 382 of 812 Click this button to construct filenames for all modellayers. The above mentioned example yield the filenames d:\imod-model\boundary\boundary_l1.idf upto modellayer 8. Display the filenames and/or constant values to be used in the pathline simulation. Deltares Toolbox Menu Options Interactive Pathline Simulator (Extension of this functionality is in progress; we expect it will be completed and part of a Deltaresrelease of the iMOD-executables in February 2016.) WHY? Interactive Particle tracking analyses can be essential in understanding how a geohydrological system works. For reasons of system analyses this tool might be having a great additional value. The main purpose of this tool is to gain insight in geohydrological processes by using animated groundwater flows and the ability to interactively change your point of view in a 3D-environment. T WHAT? iMOD is equipped with iMODPATH that is a modified version of MODPATH version 3 (Pollock, 1994). iMODPATH is a particle tracking code that is used in conjunction with iMODFLOW. After running a iMODFLOW simulation, the user can use the runfile of iMODPATH (see section section 8.6.6) to enter the 3-D tool of iMOD (see section section 7.3). In this 3-D environment, the user is able to interactively analyze the flow path of groundwater particles, e.g. pause the flow at arbitrary moments. Particles can be tracked either forward in time or backward in time. Note: The IPS runs only for a Steady State flow situation. In case a transient iMODPATH run file is uploaded, only the first stress period is read and used for particle tracking. DR AF 7.15 HOW? Select the option Toolbox from the main menu, click on the submenu option Interactive Pathline Simulator and then on Start IPS. . . to select an appropriated runfile for iMODPATH. The 3-D tool will start and all the necessary files (top, bottom and fluxes) will be allocated for the current zoom extent. It is easily to start the tool for limited areas of interest, especially to be more efficient. On default iMOD starts the IPS with default display settings (checked in IPS-submenu), this means that all the files available in the runfile are loaded into the 3D-tool. Another option is to choose User Defined Display and iMOD only loads the files selected in the iMOD manager. IPS-submenu: Deltares 383 of 812 iMOD, User Manual DR AF T 3D Plot Settings window, Pathlines Folder tab: Start Point Definition Area: 384 of 812 With the following options the starting point of the particles can be defined. Select this option to define a rectangular area with starting points somewhere in the modeled area. Select Click on this button to drag a rectangle (NOT AVAILABLE IN CURRENT VERSION!). Attributes Click on this button to open the Location Settings window: Deltares Toolbox Menu Options T DR AF Configure Particles. . . Enter the minimum and maximum x, y and z-coordinates to define the extent of the box in which the starting points needs to be placed. XY interval Enter a value for the amount of staring points in x- and y-direction. Z Enter a value for the amount of starting points in the zdirection. Click on this option to open the Particle Settings window: Act. Colour No. Particles BW/FW SP-Size P-Size Deltares Check this option to activate a particle group. Click on this field to change the colour of the particles and starting points. Total amount of particles in a group. Click on this field to change the tracking option in "Forward" or "Backward". Click on this field to change the size of the starting point. Click on this field to change the size of the particle. Open PTF Opens an PTF(Particle Tracking File)-file containing the particle settings per group. Save As Saves the particle group settings in a IPF-file, if points needs to be analyzed in iMOD separately from the IPStool, or in a PTF-file for later use in IPS. 385 of 812 iMOD, User Manual Select this option to define the starting points based on the in a loaded IDF-file available points. Make use of the dropdown menu to select the preferred IDF-file. Attributes Click on this button to open the window IDF Settings: Sink: Select from the dropdown menu the preferred vertical direction of the flux in a particle related cell: Up (only positive fluxes are drawn), Down (only negative fluxes are drawn) or both (all fluxes are taken into account). Layer iMOD uses the fluxes from the layer defined with this option, e.g. if Layer=1, iMOD uses the fluxes from model layer 1. XY Sampling Give the horizontal distance in meters between the starting points. Vertical Offset Give the vertical distance in meters between the top of the layer and the particle start position. Randomize Check this option to randomly place the starting points with the given settings. Select this option to locate the starting points on the location of the in the model area available sinks. Check Strong to apply the given condition, defined with the dropdown menu and the value box, only to strong sinks. The background theory about strong and weak sinks can be found in section 7.14 under Weak Sinks tab. Attributes Click on this button to open the window Sink Settings: DR AF Flux Depending T IDF: 386 of 812 Deltares DR AF T Toolbox Menu Options Shape: Radius (meter) Sample on circle Vertical sampling Extraction rate: Randomize positions Layers Treat subsequent Layers as One Create Separate Groups Deltares Choose the shape of the points on the sink locations; Square or Circle. Enter the size of the radius in meters of the sinks related points. Enter a value for the horizontal influence area around the sink (in meters) to be shown in the simulation. Enter the amount of starting points per layer in the vertical direction at the sink location, e.g. if 5 layers are selected and a vertical sampling amount of 10 is chosen, there will be in total 5x10=50 starting points in the vertical direction. Define the range of the sink extraction rate. Only sinks with discharges within the given range are labeled as sinks. Check this option to randomly place the starting points with the given settings. Select the layers to be taken into account in the PTS at the well locations (e.g. selecting 5 layers results into 5 groups with each the total amount of defined starting points). Check this option to evaluate all selected layers as one layer (be aware: only successive layers are consolidated to one layer), e.g. 5 selected layers with 10 vertical samples results in 50 starting points, with this option checked on there is only 1 group with 5 layers and 10 starting points in total. Check this option if it is preferred to treat each selected layer as an separate subgroup within 1 group, e.g. 1 group is made with the 5 selected layers, each containing 10 starting points (50 starting points in total). 387 of 812 iMOD, User Manual Select this option to locate the particles at one of the displayed model boundaries. W=West boundary, N=North boundary, E=East boundary, S=South boundary and A=all boundaries. Attributes Click on this button to open the window Layer Settings: File: DR AF T Layer: In this window it is possible to i.e. select the layers to place the starting points in. Layers Select the layers to be taken into account in the PTS at the border location(s). Treat Subsequent Check this option to evaluate all selected layers as one Layers as One layer (be aware: only successive layers are consolidated to one layer). Z Enter the amount of starting points per layer in the vertical direction. XY Sampling Give the horizontal distance in meters between the starting points. Randomize Check this option to randomly place the starting points with the given settings. Create Check this option if it is preferred to treat each selected Separate Groups layer as an separate subgroup within 1 group, e.g. 1 group is made with the 5 selected layers, each containing 10 starting points (50 starting points in total). Select this option to choose an IDF- or IPF-file for the start point definition. Open Use this button to search for and open the preferred file. Attributes Click on this button to open the window IDF Settings which is similar to the IDFoption settings window. New Click on this button to reset the Particle settings, the Part. value boxes are set on 0. Add Click on this button to add a new PSP (Particle Start Point) definition group to the simulation. Every time this button is used a new group is added to the particle simulation and the value in the first Part. value box is increased with 1. 388 of 812 Deltares Toolbox Menu Options Show Selection Click on this button to analyze the location of the defined particles in advance of or during the particle simulation. Color Click on this button the change the color of the just defined point-group. Part. The first value box counts the amount of PSP definition groups specified by the user. Every time the ( )-button is used, this value is increased with 1 (total value = amount of defined particle groups). In this case 4 start point definitions are specified. The second value box is the sum of all the defined starting points (in this case 5520). By clicking on Configure Particles. . . the total amount of particles per start point definition can be distinguished. DR AF Weak Sinks: With the below mentioned options it is possible to set the graphic settings of the particle tracking. A change in some of the options is directly visible on screen. Choose the representation of the simulated path line points; Lines, Points or Voxels (Not Available yet). Make a choice between "Use spec. fraction", "Particles stop. . . " and "Particles pass. . . ". Selecting "Use spec. fraction" allows the user to enter a fraction number in between 0 and 1 (See page 377 at Particles are stopped when they enter. . . for a more extended description). The other two menu items use a fixed factor value in their selection (see page 377 for an extended explanation about these other two Weak Sinks options). Give the maximum time a particle can travel through the model area during the simulation before the particle disappears from the screen or restarts from its starting point, e.g. a value of 1000 years gives the user the opportunity to follow a particle for 1000 years of simulation time. Give the time step size in between two shown particles. Examples: 1. an intermediate travel step of 0.10 year and a maximum travel time of 10 years results into 100 time steps, 2. An intermediate travel step of 1 year, on the other hand, and the same maximum travel time (10 years) results in 10 time steps. The actual time of the simulation is longer in the first example compared to the second example, because the actual simulation time is based on the amount of time steps (more=longer). Enter a value to define the length of the particle "shadow". The shadow shows a part (the length of the tail) of the particles pathline, in real life comparable to the contrails of aircrafts in the sky. Check this option to restart a particle at its starting point after the particle disappeared, e.g. it was trapped in a sink or it flews outside the model domain (only available when Repeat Freq. is not checked). Check this option to restart a particle after the entered time step value, e.g. at a frequency of 1.00 iMOD starts a new particle simulation every year of simulation time (only available when Repeat when trapped is not checked). Check this option to be able to apply a particle filter to the whole simulated particle cloud. In this refinement there are the following options: 1. Inactive cell: restart only the particles in the simulation that are captured by an inactive cell. 2. Zero velocity: restart only particles that have no velocity at the moment they are trapped. 3. Strong sink: restart only the particles that are captured by strong sink(s). 4. Weak sink disregard flux: restart only the particles that are trapped by weak sinks with a negligible flux compared to the total inflow. 5. Weak sink flux gt frac: restart only the particles that are stopped by weak sinks with a flux larger than the fraction of the total inflow. 6. Boundary grid reached: restart only the particles that reached the boundary of the presented model grid. 7. T greather than max T: Restart all particles when the current simulation time is greater than the maximum Travel time. T Particle Tracking Appearance: Maximum Travel time (year): Intermediate Travel steps (year): Tail Length Repeat when trapped Repeat Freq. Filter part. whenever captured by: Deltares 389 of 812 iMOD, User Manual Start Stop Backward Forward Current Time of Simulation (year): DR AF T Active Particles: Click on this button to start the simulation. Click on this button to stop the simulation. Select this option to track the particles backward. Select this option to track the particles forward. Counter for displaying the current time of simulation. It counts from 0 until the set Maximum Traveltime (years) with a time step given by textitIntermediate Travelsteps (year). The counter starts over again, when the maximum travel time is reached and a repeat-option is selected. Counters for the total amount of particles at the beginning of the simulation (left value box) and the amount of active particles during the simulation (right value box). 390 of 812 Deltares Toolbox Menu Options Waterbalance WHY? The Waterbalance Tool can be used to calculate the sum of budget quantities for different components for specified regions within the model extent and/or the entire model extent. Several budget items can be selected, as well as particular mode layers and/or model output periods, see section 7.16.1. The output can be analysed in the iMOD Water balance Analyser, see section 7.16.2. T WHAT? The Waterbalance Tool uses specific results from iMODFLOW that start with BDG*.IDF and/or MetaSwap output file starting with MSW*.IDF. Those files are stored in folders with identical names, such as BGGFLF\BDGFLF*.IDF. All these files store the flow quantity in m3 /day (cubic meters a day). As a rule of thumb the flow quantity is negative whenever it leaves the cell and positive whenever it enters the cell. Flow that leaves the cell from the Right Face (BDGFRF), the Front Face (BDGFFF) and/or the Lower Face (BDGFLF) is negative. However, for flow terms that enter the cell from the Left Face, Back Face and/or Top Face of a model cell, the appropriate flow terms from the adjacent cells need to be multiplied with minus 1, to be consequent. For Internal Boundary Conditions (e.g. rivers, drainage systems, recharge, wells) a similar approach is valid: water that enters the cell is positive, withdrawal of water is negative. Water that flow from a specified water balance region to another region is noted netagive as it leave the corresponding water balance region. Note: The waterbalance assumes that the dimensions for data that is included are in m3 /day. Bear in mind that fluxes that are produced by MetaSWAP are in m3 /m2 and represent cumulative values as specified in the TIME_SIM.INP. Those may NOT overlap with the output file from iMODFLOW. DR AF 7.16 Example of budget terms inside and outside a computational cell for (left) cell-by-cell flow terms and (right) internal boundary conditions: The Waterbalance Tool will just add all flow terms within (defined) areas and list them within a summary text files (*.TXT and *.CSV) to be opened with e.g. NotePad, TextPad and/or Excell. Alternatively, it is possible to read in a generated *.CSV file into the waterbalance analyser. HOW? To compute a water balance, select the option Toolbox from the main menu, choose Water Balance and then choose Compute Waterbalance to open the Waterbalance window. To analyse the results of a water balance computation, select the option Toolbox from the main menu, choose Water Balance and then choose Analyse Waterbalance to open the Analyse Waterbalance window Deltares 391 of 812 iMOD, User Manual Compute Waterbalance Start the Compute Water Balance window by selecting the option Toolbox from the main menu, choose Water Balance and then choose Compute Waterbalance. T Compute Waterbalance window, Result Folder tab; left for results from the Models folders and right from a different folder: Browse: DR AF 7.16.1 Existing folder with Results ... Select Budget Term Select this radio button to specify a result folder from a different location. Select Folder Click this button to search for a folder on disk and use that folder to list the existing budget terms. Alternatively, it is possible to enter a folder name into the string field. Select one of the folders that appear in this list box. These are the folders in the {IMOD_USER} \MODELS folder. iMOD will list all sub folders under the current selected or entered folder. If none are selected the other tabs in this window are unavailable. Also, whenever incorrect folders (folders that doesn’t contain the correct files) are selected this happens. Each time a single, or multiply budget terms are selected, iMOD starts searching for corresponding files. For large models, this can take a while, so it is often better to select the items in one click using Ctrl-Left- Mouse-Button of Shift-Left-Mouse-Button. The name convention is that the folder should start with BDG and/or MSW: Subfolder BDGBND\bdgbnd* BDGFLF\bdgflf* BDGFRF\bdgfrf* BDGFFF\bdgfff* BDGSTO\bdgsto* BDGWEL\bdgwel* 392 of 812 Alias CONSTANT HEAD FLUX LOWER FACE FLUX RIGHT FACE FLUX FRONT FACE STORAGE WELLS Deltares Toolbox Menu Options MetaSwap DR AF Found 34 correct files T Modflow BDGDRN\bdgdrn* DRAINAGE BDGRIV\bdgriv* RIVERS BDGEVT\bdgevt* EVAPOTRANSPIRATION BDGGHB\bdgghb* GENERAL HEAD BOUNDARY BDGOLF\bdgolf* OVERLAND FLOW BDGRCH\bdgrch* RECHARGE BDGISG\bdgisg* SEGMENT RIVERS BDGIBS\bdgibs* INTERBED STORAGE BDGCAP\bdgcap* CAPSIM BDGDS\bdgds* DECREASE WATER ST. ROOTZONE BDGPM\bdgpm* MEASURED PRECIPITATION BDGPS\bdgps* SPRINKLING PRECIPITATION BDGEVA\bdgeva* NET EVAPORATION WATER BDGQRU\bdgqru* RUNOFF Select this option to select budget terms that are specific for Modflow, automatically. Select this option to select budget terms that are specific for MetaSwap, automatically. Displays the number of files (34) that are correct (i.e. they fulfil the naming convention as described above and contain model layer information (_L*) and a date string (YYYYMMDD and/or YYYYMMDDHHMMSS) or STEADY-STATE keyword, e.g. BDGFLF_STEADY-STATE_L1.IDF or BDGFLF_20111231_L8.IDF or BDGWEL_20120414123015_L3.IDF. Click this button to save the water balance computation into a CSV, TXT or IPF file, respectively. Use the extent *.TXT to define a “table” layout of the water balance in which all components are listed together. Use the extension *.CSV to define a “time series” layout of the water balance in which all component are listed as time series. This file can be read by the Analyse Water Balance Tool, see section 7.16.2. All default settings from the other tabs (Period and layers and Apply to) will be used. Check these before clicking this button! Click this button to start the HELP functionality Click this button to close the Compute Waterbalance window Create CSV . . . Create TXT . . . Create IPF . . . Help. . . Close Deltares 393 of 812 iMOD, User Manual DR AF T Compute Water Balance window, Period and Layers tab (left) for a steady-state configuration and (right) for a transient configuration: Steady-State Transient From Date: To Date: Define Period here: Select one or more of the layers Year selection 394 of 812 Click this radio button to use files only that contain the keyword steady-state, e.g. BDGFLF_STEADY-STATE_L1.IDF. This option is only available whenever these files can be found in the result folder selected on the Result Folder tab. Click this radio button to use files only that contain date information (YYYYMMDD), e.g. BDGFLF_20111231_L1.IDF. This option is only available whenever these files can be found in the result folder selected on the Result Folder tab. Specify the start date (day, month and year) from which the water balance needs to be computed. It has been on default filled in with the earliest result file that could be found in the result folder selected in the Result Folder tab. Specify the end date (day, month and year) to which the water balance need to be computed. It has been on default filled in with the earliest result file that could be found in the result folder selected in the Result Folder tab. Enter the periods for which the water balance need to be computed solely. Each period consist of two dates delimited by a slash, e.g. dd-mm/dd-mm. In-between periods, use the “;” as a delimited. The convention is as follows: 01-01/31-4: Periods starts on the first of January and ends after the 31s t of April 01-8/31-12: Periods starts on the first of August and ends after the 31s t of December Select one or more of the listed model layers. This content of the list box is based on the BDG*-files that are found in the selected result folder on the Result folder tab. Use the Ctrl-left mouse button to exclude or add individual layers, otherwise drag the mouse cursor to select layers. Select one or more of the listed years. The content of the list box is based on the bdg*-files that are found in the selected result folder on the Result folder tab. Deltares Toolbox Menu Options DR AF T Compute Waterbalance window, Apply To tab for (left) applied to selected shapes only or (right) for all non-NoDataValues within a selected IDF-file: Apply to entire model domain Apply within (Selected) Polygons (*.GEN) Apply for nonNODATA values within IDF Save Interconnected fluxed between zones Select this option to compute all budget terms for the entire model extent. In fact this will be that area and dimension as described by the first BDG*.IDF to be read. Select this option to specify regions of interests by polygons. By default all polygons will be used for the water balance, however, if the option Selected is selected, only those polygons will be used that are currently selected, in the example above, this is polygon SHAPE2. Click these buttons to draw, open, save, delete or rename a shape. More detailed information can be found in section 4.2 ( Create a GEN-file). Select this option to use an IDF-file that describes the area of interest by its non-NoDataValue. For those locations of the first BDG*.IDF or MSW*.IDF read, the value within this IDF-file will be read and evaluated. A non existing IDF file name will outgrey the Create CSV . . . , Create TXT . . . and Create IPF . . . button. Open IDF-file Click this button to open an IDF-file. The selected file will be displayed, however, an IDF-file can be entered in the string field alternatively. If the IDF-file does not exists, the Apply button will grey out. Select this option to generate interconnected flux between the zones. This option is only valid whenever the flux terms BDGFRF and BDGFFF are active. Note: After a computation for a water balance, iMOD will save an IDF-file at the location where you’ve saved the output file via Create CSV ; Create TXT ; Create IPF. This IDF files contains the location of the raster cells for each zone. Inspection of this file can lead to adjustment of the polygons used, Deltares 395 of 812 iMOD, User Manual and/or reuse this particular IDF file for different model scenarios. Remember that in case of overlap in polygons, the value of the zone in the IDF-file becomes negative, so zone 1 might appear as -1. This doesn’t affect the computation of the water balance volumes but has a purpose for finding overlap only. DR AF T Example of “table” layout of the water balance: Example of a “time serie” layout of the water balance: 396 of 812 Deltares Toolbox Menu Options Analyse Waterbalance To analyse the results of a water balance computation, select the option Toolbox from the main menu, choose Water Balance and then choose Analyse Waterbalance to open the Analyse Waterbalance window. The key thought is that a CSV file is read in first and after that several selection can be made by the different tab on the window. Finally an output can be defined, this can be a schematic representation of the water balance, a time series, a table and/or spatial patterns of water balance term saved in IDF files. T Analyse Waterbalance window, CSV-file tab: DR AF 7.16.2 Open Predefined Configuration from INI file: Open CSV-file with Budget terms: Deltares Select this radio button to select an INI file that contains a particular set of configuration parameters. Select INI file Click this button to select an INI file from a folder. iMOD will read the configuration and read the CSV file defined in te INI file. Select this radio button to select a CSV that contains the budget terms for a particular set, default configuration parameters will be applied. 397 of 812 iMOD, User Manual Select CSV file Click this button to select a CSV-file from a folder on disk. iMOD will read the CSV completely and stores the content in memory to perform adequate and efficient selection as defined by the other tabs. The content of the CSV file will be listed as: Name of the CSV file: This is the name of the read CSV file; Number of records: This is the number of entry records, it is a multiplication of the number of periods, zones and layers; Number of Budget Terms: This is the number of budget terms, this can include the interconnected flow as separate entries; Number of Periods: This the number of periods, time series can be constructed whenever this is large than 1; Number of Layers: This is the number of model layers that exists in the CSV file; Save Current Configuration: Help. . . Close All the above mentioned separate quantities can be selected, aggregated and displayed by setting the appropriate selection criteria in the following tabs. Click this button to export the zones as defined in the CSV file into an IDF file ({IMOD_USER} \TMP \WATERBALANCE.IDF) and listed in the iMOD Manager for viewing options, this is the only way to get the zones stored in the CSV out to re-use them and/or select the appropriate zones once the original GEN- or IDF file has been deleted. Click this button to save the current configuration (the name of the CSV and the corresponding selection and settings, including changed colours to a INI file. This INI file can be loaded by the Open Predefined Configuration from INI file: and/or used in the iMOD Batch function WBALANCE, see section 8.9.2. Click this button to start the HELP functionality Click this button to close the Analyse Waterbalance window DR AF List in iMOD Manager T Number of Zones: This is the number of zones Analyse Waterbalance window, Budget Terms tab: 398 of 812 Deltares Toolbox Menu Options Deselect All Modflow MetaSwap BDG* 2010* Units Budget DR AF Available Terms Click this button to select all budget items in the table (first column) and/or select all the available periods in the list of Timesteps. Click this button to deselect all budget items in the table (first column) and/or deselect all the available periods in the list of Timesteps. Click this button to select all specific iMODFLOW budget terms. Click this button to select all specific MetaSwap budget terms. Enter a search string to select or deselect budget terms (second column in the table FluxTerm) and/or select Timesteps. The search string is case sensitive and contain wildcards such as * and question marks to notate a fixed number of character, such as 2010??01. Increase Selection Click this button to increase the current selection for budget terms in the table with Available Budget Terms and/or periods in the list of available Timesteps. Decrease Selection Click this button to decrease the current selection for budget terms in the table with Available Budget Terms and/or periods in the list of available Timesteps. Select one of the options to define the units in the water balance. If the option m3day is selected no conversion is applied, whenever the option mmday is chosen, the budget volumes will be divided by the area of the corresponding zone and multiplied with 1000. The table gives all existing budget terms in the current read CSV file. The following columns are defined: T Select All Select: This column activates and deactivates a individual budget to more included or excluded in the presentation of a water balance; FluxTerm: This is a non-editable column with predefined labels for the budget terms. This is used by iMOD to be able to assign the appropriate budget terms to specific entries for the graphical representation that can be chosen on tab4; Colour: The colour for each row in the table is used to colour the bar in the time series graph. To change the colour, select the appropriate cell and the standard colour picking window appears in which it is possible to select a colour, see section 2.8; LabelName: Enter a name for each budget term that will be used in the output of the waterbalance, it will be used as a legend name in the time series and as a name in the graphical representation of the water balance. iMOD fills in a default for each distinguished budget term; Group: This column is filled in with a group number. By default the groups are unique numbers starting from 1 to the number of budget terms in the CSV file. The use of this group number is twofold: Deltares The group number is used to group budget terms into a single entry for the time series. So whenever two budget term receive an similar, unique group number that appear as a single budget term in the output. The name for the legend of that group will be formed by the first entry of a budget term that belongs to that group. Any number can be entered as a group number, zero is sustained as a group number as well. In the example on the figure above, the budget terms BDGFLF and BDGFTF are grouped together as group number 2; The value of the group number defines the order in which budget terms are plotted in the time series. The appearance of the time series might change significantly by changing the group numbers. In the example on the figure above the budget term BDGDRN_SYS1 is plotted at last since its group number is 88 and the highest value compared to the others. 399 of 812 iMOD, User Manual DR AF T Analyse Waterbalance window, Aggregation tab: Aggregation Select one of the following options to aggrate the water balance for the period as selected on tab 2: Net fluxes Select All Deselect All 10* 1? 400 of 812 All Time steps: a single value for all entries Year: a single value per year Months: a single value per month, starting at the first month in the series Hydrological Seasons: two seasons are used, 1) April - September and 2) October - March Decade: a single value per 10 days and the remaining days in that month Hydrological Year: four seasons are used 1) December - February 2) March - May 3) June - August 4) September - November Quarters: a single value per 3 months, starting in January None: all entries remain unchanged. Select this option to compute net fluxes. In that case iMOD will compute a total net flux for all selected budget terms, each budget terms receives in that particular case a single net (sum of the in- and outflow) entry in the water balance Click this button to select all model layers in the list of available Model layers and/or select all the available zones in the list of Zones. Click this button to deselect all model layers in the list of available Model layers and/or select all the available zones in the list of Zones. Enter a search string to select or deselect budget terms (second column in the table FluxTerm) and/or select Timesteps. The search string is case sensitive and contain wildcards such as * and question marks to notate a fixed number of character, such as 1?. Increase Selection Click this button to increase the current selection for model layers in the list of available Model Layers and/or zones in the list of available Zones. Decrease Selection Click this button to deecrease the current selection for model layers in the list of available Model Layers and/or zones in the list of available Zones. Deltares Toolbox Menu Options Layer aggregation Select one of the following options: One Balance per Layer: Select this option to treat budget terms as separate items in the selected form for output; Sum Selected Layers: Select this option to aggregate budget terms for selected model layers. Zone aggregation Select one of the following options: One Balance per Zone: Select this option to treat budget terms as separate items in the selected form for output; Sum Selected Zones: Select this option to aggregate budget terms for se- DR AF Analyse Waterbalance window, Graphics Output tab: T lected zones. Select Folder Click this button to select a folder that iMOD will uses to save images if needed. It depends on the choice of the Output Type whether this is applicable. By default iMOD will save the images in the TMP folder of the {IMOD_USER} folder. Deltares 401 of 812 iMOD, User Manual Output Type Select one of the following output options: Time Series: Select this option to display the selected water balance items in a graph. Below is an example of the time series. DR AF T Example of the water balance time series Copy Click this icon to copy the entire content of the graphical area onto the Clipboard of Windows. ZoomIn Click this icon to zoom IN on the centre of the current graphical dimensions. ZoomOut Click this icon to zoom OUT on the centre of the current graphical dimensions. ZoomRectangle Click this icon to zoom in for a rectangle to be drawn. Use your leftmouse button to determine the lower-left corner of the rectangle, click again for the upper-right corner (or vice-versa). ZoomFull Click this icon to zoom in on the entire extent of the time series. Layer 2; Zone 2 402 of 812 Move Click this icon to move the current display. Click the left-mouse button on that location where you want to move from, repeat this after the display has been refreshed (automatically). Use the right mouse button to stop the moving process. This dropdown menu displays all possible combination in between selected model layers and selected zone, in case no aggregation is selected for both of those entries. If a single model layer and a single zone is selected, or they are both aggregated, the dropdown menu will not appear. Deltares Toolbox Menu Options Graphical Representation: Select this option to present the water balance items in a illustrative image. Below is an example of the time series. DR AF T Example of the water balance as an illustrative image Preview Table: Select this option to display each value for the water balance items in a table, see the explanation given at the following section; Export to CSV: select this option to export all water balance items into an CSV file; IDF per Layer: Select this option to export all water balance items into separate IDF files. This yields a single IDF per budget term, per model layer and per period as selected. Any aggregation will decrease the number of output combinations. The name of each IDF file is constructed automatically and includes the budget term, the period, model layer. Zoom to Selected Polygon(s) Apply percentages for Volumes Title Generate Preview Generate Table Generate Graphics Export CSV File Export IDF File Deltares Select this option to create an overview image on the graphical representation graph whereby the area is zoomed in on the selected polygon(s). Select this option to compute percentages for each waterbalance entry in the graphical representation graph. Specify the title of the graphical representation graph. The title will automatically wrap over two line of the number of characters excceds the number for a single line. The maximum of characters is 256. Click this button to generate a preview of the selected Output Type. Not all of the output types support a preview, this button will be out greyed for those situations. Whenever the Generate Table is active, the tab Table Output becomes accessible and display a table form of the results of the water balance. Click this button to generate an image to be saved on disc. In this case the output folder as specified by Output Folder is applied. Not all of the output types support a preview, this button will be out greyed for those situations. 403 of 812 iMOD, User Manual DR AF T Analyse Waterbalance window, Table Output tab: Select Available Waterbalance Group Table 404 of 812 Select from the dropdown the appropriate combination of selected model layers and/or zones. This dropdown menu displays all possible combination in between selected model layers and selected zone, in case no aggregation is selected for both of those entries. If a single model layer and a single zone is selected, or they are both aggregated, the drop down menu will not appear. The entries in the table are the results of any configuration settings applied in the previous tabs. Each row is a period and depend on the Aggregation type as selected on tab3. It is possible to copy the content of the entire table to the clipboard by the using the option Crtl-C. Deltares Toolbox Menu Options Compute Mean Groundwaterfluctuations (GxG) WHY? Groundwater fluctuations are indicative for the seasonal dry or wet status of an area. The so-called GxG’s are indicative of the high and low phreatic groundwater levels occurring in a period of at least 8 years. The GxG’s are used frequently in the Netherlands when defining the geohydrological conditions of an area. WHAT? The GxG’s consist of: T 1 GHG (‘gemiddeld hoogste grondwaterstand’ / average highest groundwater level) is calculated as the average of the three highest groundwater levels (measured or simulated around every two weeks) per hydrological year (1 April – 31 March) averaged over at least eight consecutive years. 2 GLG (‘gemiddeld laagste grondwaterstand’ / average lowest groundwater level) is calculated as the average of the three lowest groundwater levels (measured or simulated around every two weeks) per hydrological year (1 April – 31 March) averaged over at least eight consecutive years. 3 GVG (‘gemiddelde voorjaars grondwaterstand’ / average spring groundwater level) is calculated as the average groundwater level of the 14th of March, the 28th of March and the 14th of April and again averaged over at least eight consecutive years. In general GXG’s are expressed as groundwater depths below the land surface. DR AF 7.17 HOW? Select the option Toolbox from the main menu and then choose Compute GxG to open the Compute GxG’s window. This function is not described separately. The functionalities of the Compute GXG’s window are very similar to the Compute Waterbalance window (see section 7.16.1). The GXG’s are calculated based on the output of a transient groundwater model. Deltares 405 of 812 iMOD, User Manual DR AF T Compute GxG’s window, Result Folder tab: The computation of the GxG’s will be executed using model results from the 14th and 28th of each month. The system will generate an error when there are no files found for these dates. The filenames will have to be head_yyyymm14.IDF or head_yyyymm28.IDF. 406 of 812 Deltares Toolbox Menu Options Compute Mean Values WHY? The Mean Values of budgets or heads are calculated based on the output of a transient groundwater model. WHAT? A new IDF is created containing the mean values. HOW? Select the option Toolbox from the main menu and then choose Compute Mean Values to open the Compute Mean Values window. T This function is not described separately. The functionalities of the Compute Mean Values window are very similar to the Compute Waterbalance window (see section 7.16.1). DR AF 7.18 Deltares 407 of 812 iMOD, User Manual Compute Timeseries WHY? The time-dependent results of a transient model are converted to timeseries for specified locations, e.g. at boreholes. The variation in time of the head (and of the budget-terms if desired) can be viewed in a graph and is available for processing outside iMOD. WHAT? The Compute Timeseries option checks the available model output of the selected model and reads the IDF-files at locations read from an IPF-file or defined interactively on the map. The result is stored in an IPF-file which can be viewed in iMOD. The functionalities of the Compute Timeseries window are very similar to the Compute Waterbalance window (see section 7.16.1). Only the specific functions in the Input tab of theCompute Timeseries window are described here. Compute Timeseries window, Input tab: T HOW? Select the option Toolbox from the main menu and then choose Compute Timeseries to open the Compute Timeseries window. DR AF 7.19 Apply 408 of 812 Open Click this button to open an IPF-file, see section 9.7 for more details. The IPF-file contains the locations where the time-series are generated. Draw Click this button to start drawing the point locations on the map by clicking the left mouse button. Stop using the right mouse button and save the points in an IPF-file. Click this button to start the computation of the time series. You should enter a name for the resulting IPF-file. Deltares 8 iMOD Batch functions 8.1 General introduction This chapter contains a detailed description of a library of tools or functions that is available in iMODBatch mode. What is an iMOD Batch Function? An iMOD Function in general is a procedure to perform a specific task in iMOD or on iMOD files returning a new file or a series of files. Functions can be found on many places in the menu structure of the iMOD Graphical User Interface (GUI). For instance functions to: T create, edit or analyse files (IDF, IPF ect). run processes like iMODFLOW and iMODPATH. post process modelresults (waterbalance, timeseries or plots). An iMOD Batch Function can be used outside the iMOD GUI and its operation is controlled by parameters in an *.INI file, the initialization file. DR AF 8.1.1 Below you find an example of the content of a PLOT.INI file. It describes the keywords and parameters for the Function PLOT, for plotting IDF or IPF files to a PNG file. FUNCTION=PLOT IDFFILE=D:\DATA\AHN.IDF GENFILE=D:\DATA\PROV.GEN OUTFILE=D:\DATA\PLOT.PNG In general an *.INI file contains keywords some of which are compulsory (e.g. the Function name), others are optional. iMOD searches for the keywords in the entire file so there is no fixed order of keywords allowing you to insert white lines and remarks. Examples of the set up of such an *.INI file for all available iMOD Batch function is given in the following paragraphs. The advantage of using the iMOD Batch mode instead of the iMOD Graphical User Interface (GUI) is manifold: it saves time when iMOD functions must be performed on many files or many times. the total set of *.INI files in a project can be seen as a logbook of your pre- and post-processing activities. minor changes to a function are easily applied by editing the *.INI file. *.INI files are easily shared with colleagues or clients. over time the *.INI files form a library, easy to re-use. you don’t need to click around in the GUI and repeatedly type file names. The number of functions in iMOD Batch mode is expected to grow gradually. Not all functions in the iMOD GUI are (yet) available in iMOD Batch mode (e.g. create IDF from scratch). On the other hand, some functions are available in iMOD Batch mode but not in the GUI (e.g. Modelcopy). Deltares 409 of 812 iMOD, User Manual 8.1.2 How to run an iMOD Batch Function? To start an iMOD Batch procedure first open a Dos command window. How? Search for ’CMD’ in ’All T ). In that DOS window, simply enter the name of the Programs’ under the Windows start button iMOD executable followed by the name of the *.INI file, e.g. "iMOD_V4_3_X64R.exe IDFSCALE.INI", (see Figure 8.1) and press Enter. The program will stop after the function, described by the *.INI file, is executed. DR AF Figure 8.1: Example of command in DOS box to run an iMOD Batch script. An iMOD batch function can also be started from the maim menu. See section 4.6 for an explanation. 8.1.3 Using DOS scripting (*.BAT file) to organize iMOD Batch Functions The iMOD Batch functions can be used as described above, however, to introduce more options these functions can also be controlled in a DOS Batch file (*.BAT) using DOS scripting. Of course you can use your favourite scripting languages (e.g. Python or Matlab) to create and execute any iMOD Batch *.INI file. This is an example of a *.BAT file creating (line 1-4) and executing (line 5) the PLOT.INI file: ECHO FUNCTION=PLOT > PLOT.INI ECHO IDFFILE=D:\DATA\AHN.IDF >> PLOT.INI ECHO GENFILE=D:\DATA\PROV.GEN >> PLOT.INI ECHO OUTFILE=D:\DATA\PLOT.PNG >> PLOT.INI iMOD_V4_3_X64R.exe PLOT.INI A *.BAT file is recognized in Windows as a Dos script and starts running by double clicking the *.BAT file. 8.1.4 Examples of advanced DOS scripting options Advanced DOS scripting options enables you to make more complex use of iMOD Batch functions. This paragraph gives you some examples of advances options. On the internet there are plenty sites available giving basic or advanced DOS scripting tips and tricks in more detail (e.g. http://www. robvanderwoude.com/batchcommands.php). With the installation of iMOD an example of a *.BAT file is copied to the Tutorial folder. Search for ..\TUTORIALS \TUT_Map_Analyse \SubsoilSystem \iMOD-Batch-example-IDFCALC.BAT. Open the file, read some tips and tricks, double click and experience that this iMOD Batch function calculates the thickness of a series of 6 aquifers. Below we describe some examples of advanced DOS scripting options. A (nested) loop over a list of Text elements Not more than 6 lines in the next example are necessary to create and run the iMOD Batch Function PLOT producing 12 PNG files showing the HEAD for the first 4 month of 3 successive years. 410 of 812 Deltares iMOD Batch functions FOR %%A IN (1994,1995,1996) DO ( FOR %%B IN (01,02,03,04) DO ( ECHO FUNCTION=PLOT > PLOT.INI ECHO IDFFILE=D:\MODEL\HEAD\HEAD_%%A%%B01_L1.IDF >> PLOT.INI ECHO OUTFILE=D:\MODEL\HEAD\HEAD_%%A%%B01_L1.PNG >> PLOT.INI iMOD_V4_3_X64R.exe PLOT.INI)) A loop over a series of Numbers The next example of a FOR loop (including Command Extension /L) gives you the variable %%A between 1 upto 18 with steps of 2. Using specific files from a folder T FOR /L %%A IN (1,2,18) DO ( ECHO %%A) ) The next DOS script gives you the variable %%A for all IDF-files found in the folder D:\IMODMODEL\DBASE. Usage of ˜n gives you the filenames only without extension. DR AF SET DIR=D:\IMOD-MODEL\DBASE FOR %%A IN (%DIR%\*.IDF) DO ( ECHO %DIR%\%%˜nA.IDF ECHO %%A ) Introduce an arithmetic operator within a loop Adding a looping parameter %%b might be interesting whenever computing the thickness of aquitards since each time you need to subtract the bottom of modellayer 1 minus the top of modellayer 2. SETLOCAL ENABLEDELAYEDEXPANSION SET /A B=1 FOR /L %%C IN (1,1,18) DO ( SET /A B=B+1 ECHO FUNCTION=IDFCALC > IDFCALC.INI ECHO FUNC=C=A-B >> IDFCALC.INI ECHO NREPEAT=1 >> IDFCALC.INI ECHO ABC1=BOT%%C.IDF TOP!B!.IDF TAQT%%C.IDF >> IDFCALC.INI iMOD_V4_3_X64R.exe IDFCALC.INI ) Notice that the variable B is used by bracketing it by “!” and the variable C is used by adding “%%” in front. The statement SETLOCAL ENABLEDELAYEDEXPANSION is necessary to delay the interpretation of the variable B. include IF-THEN-ELSE statements It is often handy to include and if-then-else statement inside the batch structure, for example whenever you might want the generate a runfile for iMODPATH (see section 8.6.6). Unfortunately, the MS-DOS IF statement does not support logical operators (AND and OR) so we have to find other ways. In the example below we only write a budget term whenever it is not equal to the BDGFLF (flowlower-face) and the layer number is not equal to the lowest one (5). SETLOCAL ENABLEDELAYEDEXPANSION FOR /L %%A IN (1,1,5) DO ( FOR %%B IN (FFF,FRF,FLF) DO ( SET /A Flag=0 IF %%B==FLF SET /A Flag=Flag + 1 IF %%A==5 SET /A Flag=Flag + 1 IF !Flag! NEQ 2 ( ECHO ..\BDG%%B\BDG%%B_STEADY-STATE_L%%A.IDF >> IMODPATH.INI) Deltares 411 of 812 iMOD, User Manual )) If an OR-statement need to be applied, do as follows: SETLOCAL ENABLEDELAYEDEXPANSION FOR /L %%A IN (1,1,5) DO ( FOR %%B IN (FFF,FRF,FLF) DO ( SET res=F IF %%B==FLF SET res=T IF %%B==FRF SET res=T IF !res!==T ( ECHO ..\BDG%%B\BDG%%B_STEADY-STATE_L%%A.IDF >> IMODPATH.INI) )) DR AF Use the following compare operators: EQU - equal NEQ - not equal LSS - less than LEQ - less than or equal GTR - greater than GEQ - greater than or equal T Compare operators in DOS The following syntax is than valid: FOR /L %%A IN (1,1,10) DO ( IF %%A LSS 6 (ECHO value %%A is less than 6 ) ELSE IF %%A GTR 6 (ECHO value %%A is greater than 6 ) ELSE (ECHO value %%A is equal to 6 )) Start execute process within a DOS script Finally the iMOD executable can be started in different ways with different behavior. Any *.INI can be started with: FOR %%A IN (1,2) DO ( iMOD_V4_3_X64R.exe {}.INI ) however this will block the batch (*.BAT) structure that starts it until the process is ended. Below an example is given that starts iMOD and continues the batch and starts another iMOD session in another command-window. FOR %%A IN (1,2) DO ( START iMOD_V4_3_X64R.exe {}.INI) Batch array definition In addition to the described batch looping commands, it is also possible to define arrays within the batch environment. This might be helpful in case e.g. there are multiple files with different filenames that can be divided into a number of subgroups and that need to be processed in a similar way. For example: setlocal EnableDelayedExpansion set n=0 for %%a in (KHV, KVV) do ( set var[!n!]=%%a set /A n+=1 ) for /L %%i in (0,1,1) do ( for /L %%j in (1,1,12) do ( echo FUNCTION=IDFCALC > calc_idf.ini echo FUNC= "C=A*B" » calc_idf.ini echo NREPEAT=1 » calc_idf.ini 412 of 812 Deltares iMOD Batch functions echo ABC1= "d:\MODEL\Factor.IDF" "d:\MODEL\DATA\!var[%%i]!_L%%j.idf" "d:\MODEL\DATA\!var[%%i]!_L%%j_factor.idf" » calc_idf.ini d:\iMOD_versies\iMOD_v3.3\iMOD_V4_3_X64R.exe calc_idf.ini )) In this example two type of files can be distinguished, files with 1. "KHV" and 2. "KVV" information. Each file category contains 12 files; one for each layer. All files need to be multiplied by specific factor grid, saved in Factor.idf. With the outer loop the file category is controlled and with the second loop the layers per category. Array definition can be applied to multiple cases and serve as a helpful tool to shorten your batch-scripts. DR AF T The iMOD Batch function are categorized into several topics related to IDF, IPF, ISG and GEN files and described on the following pages. Deltares 413 of 812 iMOD, User Manual IDFCALC-Function The IDFCALC function can be used to carry out simple arithmetical operations on maximal two different IDF-files to create a new IDF-file. See for more information section 6.7.3. FUNCTION= FUNC= ABC{i}= AC{i}= BC{i}= NREPEAT= SOURCEDIRA= SOURCEDIRB= SOURCEDIRC= USENODATA= NODATAVALUE GENFILE= IEQUI= IDFCALC Enter the function, e.g. C=A-B or C=ABS(A-3.0*B), or C=A, see section 6.7.3 for more information. Whenever the symbol “/” is used, apply quotes, thus “C=A/B”. Enter the ith out of NREPEAT IDF-filenames that corresponds with “A”, “B” and “C” in the function FUNC. Enter the ith out of NREPEAT IDF-filename that corresponds with “A” and “C” in the function FUNC. Enter the ith out of NREPEAT IDF-filename that corresponds with “B” and “C” in the function FUNC. Specify the number of times the function FUNC need to be carried out. Enter a folder that contains all the IDF-files associated to the “A” in FUNC. Apply this keyword whenever NREPEAT is absent. Enter a folder that contains all the IDF-files associated to the “B” in FUNC. Apply this keyword whenever NREPEAT is absent. Enter a folder that contains all the IDF-files associated to the “C” in FUNC. Apply this keyword whenever NREPEAT is absent. Enter USENODATA=1 to use cells that have NoDataValues. By default, USENODATA=0, so those cells that have NoDataValue will be ignored. Enter the value for the NoDataValue to be used in the computation, e.g. NODATAVALUE=0.0. This keyword is compulsory whenever USENODATA=1. Enter the name of a GEN-file, e.g. GENFILE=D:\DATA\AREA.GEN. Any computation will be carried out inside the polygons of the GENFILE. On default, GENFILE=’ ’, which means that no genfile will be used. Enter IEQUI=0 to construct (if needed) a non-equidistant IDF-file that counts for all raster dimensions of the entered IDF-files, this is the default. Enter IEQUI=1 to force that the resulting IDF-files are produced with equidistant cellspaces, based on the smallest cell size occurring in the IDF-files “A” and/or “B”. Enter the coordinates of the window that need to be computed, solely. Enter coordinates of the lower-left corner first and then the coordinates of the upperright corner, e.g. WINDOW=100000.0, 400000.0, 200000.0, 425000.0. When WINDOW= is absent, the entire dimensions of the first mentioned IDF-file will be used. Enter a value to be able to ignore all result values smaller than this specific absolute value after the calculation. This option gives values smaller than given/entered absolute value a NodataValue, e.g. C=A-B if C< 0.1 C=NodataValue. T 8.2.1 IDF-FUNCTIONS DR AF 8.2 WINDOW= TRIM_VALUE= Example 1 FUNCTION=IDFCALC FUNC= “C=A/B” NREPEAT=2 ABC1=D:\KD_L1.IDF D:\THICKNESS_L1.IDF D:\K_L1.IDF ABC2=D:\KD_L4.IDF D:\THICKNESS_L4.IDF D:\K_L4.IDF The above mentioned example will compute the permeability (k) by dividing the transmissivity (KD) by the thickness (THICKNESS) for modellayer 1 and modellayer 4, subsequently. 414 of 812 Deltares iMOD Batch functions Example 2 FUNCTION=IDFCALC FUNC= C=A-B USENODATA=1 NODATAVALUE=0.0 IEQUI=1 GENFILE=D:\AREA.GEN WINDOW=100000.0,350000.0,150000.0,450000.0 SOURCEDIRA=D:\MODEL\HEAD_*_L1.IDF SOURCEDIRB=D:\SCENARIO\HEAD_*_L1.IDF SOURCEDIRC=D:\EFFECT\DIFF_*_L1.IDF Example 3: batch-array definition T The above mentioned example will compute the differences within the polygon(s) described by the AREA.GEN and within the given WINDOW. If any NoDataValues are found in the IDF-files, they will be treated as if they were NODATAVALUE=0.0. Any file that agrees with the filename HEAD_*_L1.IDF in two different folders, D:\MODEL and D:\SCENARIO will be subtracted and the results will be saved, as an equidistant IDF, in the folder D:\EFFECT. Suppose HEAD_20101231_L1.IDF is found in D:\MODEL (SOURCEDIRA), an identical filename is searched for in D:\SCENARIO (SOURCEDIRB). The yielding IDF will be DIFF_20101231_L1.IDF and will be written in D:\EFFECT. DR AF setlocal EnableDelayedExpansion set n=0 for %%a in (1.30 0.80 0.70 0.75 0.85 1.25 0.75 0.75 0.85 1.10 1.15 ) do ( set RCH_factor[!n!]=%%a set /A n+=1 ) setlocal EnableDelayedExpansion set n=0 for %%a in (1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001) do ( set year[!n!]=%%a set /A n+=1 ) for /L %%i in (0,1,11) do ( echo FUNCTION=IDFCALC > calc_idf.ini echo !RCH[%%i]! echo FUNC= "C=!RCH_factor[%%i]!*A" » calc_idf.ini echo SOURCEDIRA=d:\RCH_grids\RCH_averaged_1990-2001.idf » calc_idf.ini echo SOURCEDIRC=d:\RCH_grids\RCH_!year[%%i]!.idf » calc_idf.ini This example uses multiple arrays to end up with one recharge grid per year based on a given recharge factor. Deltares 415 of 812 iMOD, User Manual IDFSCALE-Function With this function it is possible to (re)scale IDF-files according to different methodologies, see section 6.7.3. IDFSCALE Enter the cell size of the upscaled or downscaled IDF-file(s), e.g. SCALESIZE=100.0 meaning that the cellsize of the resulting IDF-file(s) will be 100 square meter uniformly. The keyword SCLTYPE_UP and SCLTYPE_DOWN may be specified both because it is possible to execute upscaling and downscaling in one action on IDF’s containing different scales. In case SCLTYPE _UP and/or SCLTYPE_DOWN are not specified than default values are used, for SCLTYPE _UP: 2 and for SCLTYPE_DOWN: 1. SCLTYPE_UP Enter the scale type. Choose from the following: 1: boundary scaling (rule: minus values above positive values x above zero values); 2: arithmetic scaling (rule: sum n-values x within coarse cell, excluding the NoDataValues, and divide them by n); 3: geometric scaling (rule: take log()-function for n-values x within a coarse cell, excluding NoDataValues and zero values, sum them, divide them by n and take the exp() function); 4: sum (rule: sum n-values x, excluding NoDataValues); 5: sum conductance (rule: sum n-values times ratio values to calculate the average conductance over cells for upscaled cell.) 6: inverse (rule: take the inverse (x−1 ) of n-values x within a coarse cell, excluding NoDataValues and zero values and divide them by n. 7: most frequent occurrence (rule: take that value x that occurs mostly within a coarse cell, excluding NoDataValues); 8: sum inverse (rule: take the inverse (x−1 ) of n-values x within a coarse cell, excluding NoDataValues and zero values); 9: percentile (rule: take the value x that occurs for a given percentage within a coarse cell, excluding NoDataValues); 10: block value (rule: takes the center value of the cells that needs to be upscaled.) 11: Darcian method (rule: take the value x that occurs after a Darcian simulation of fine mesh with extent of the coarse cell, excluding NoDataValues); 12: homogenization (rule: take the value x that occurs after a Darcian simulation with periodic boundaries of fine mesh with extent of the coarse cell, excluding NoDataValues); 13: global-local method (rule: take the value x that occurs after a Darcian simulation with realistic boundary conditions of fine mesh with extent of the coarse cell, excluding NoDataValues); 14: 3d simulations (rule: Calculates with help of a numerical model the needed initial values of the upscaled model per cell; 15: zonation (rule: Calculates an upscaled value as the most frequent value for the integer values within the coarse grid cell, and the fraction as the averaged fraction, while ignoring those cells that do not coincide with the upscaled integer value (e.g. x1 =1.5; x2 =2.25 and x3 =1.4, means that the most frequent integer is 1, and the average fraction for 1 is (0.5+0.4+0.0)/3=0.3, so the final value is 1.3). SCLTYPE_DOWN= Enter the scale type. Choose from the following: 1: interpolation (rule: produces a good guess for al finer gridcells by a linear interpolation based on the coarse gridcells, excluding the NoDataValues); 2: gridvalues (rule: assign the value of the coarse gridcell to all finer gridcells). SOURCEIDF Enter the name of the IDF-file to be upscaled or downscaled, e.g. SOURCEIDF=D:\DATA\TRANSMISSIVITY.IDF. OUTFILE Enter the name of the upscaled or downscaled IDF-files, e.g. OUTFILE=D:\DATA\SCALED_TRANSMISSIVITY.IDF. T FUNCTION= SCALESIZE= DR AF 8.2.2 416 of 812 Deltares iMOD Batch functions Enter a percentile, e.g. PERCENTILE=0.5 (0.0 0.0, DH_X, DH_Y and DH_Z will be ignored. Enter the permeability to be substituted for those cells that contain NoDataValues. AQFR_KD= DR AF T PERCENTILE= Example 1 FUNCTION=IDFSCALE SCLTYPE_UP=1 SCALESIZE=250.0 SOURCEIDF=D:\DATA\BOUNDARY_L1.IDF OUTFILE=D:\DATA\BOUNDARY_L1_250.IDF This example shows how to upscale an IDF-file with boundary conditions. Example 2 FUNCTION=IDFSCALE SCLTYPE_DOWN=1 SCALESIZE=5.0 SOURCEIDF=D:\DATA\HEAD_STEADY-STATE_L1.IDF OUTFILE=D:\DATA\HEAD_STEADY-STATE_L1_5X5.IDF This example shows how to downscale an IDF-file with computed heads. Deltares 417 of 812 iMOD, User Manual Example 3 FUNCTION=IDFSCALE SCLTYPE_UP=3 SCALESIZE=500.0 WINDOW=100000.0,425000.0,150000.0,500000.0 SOURCEIDF=D:\DATA\HEAD_STEADY-STATE_L1.IDF OUTFILE=D:\DATA\HEAD_STEADY-STATE_L1_500.IDF This example shows how to upscale transmissivity for a specific window. DR AF FUNCTION=IDFSCALE SCLTYPE_UP=12 SCALESIZE=100.0 SOURCEDIR=D:\GEOTOP\SEL*.IDF OUTFILE=D:\GEOTOP\VERTICAL_C.IDF BUFFER=5 ANI_X=3.0 DHZ=1.0 DHX=0.0 DHY=0.0 T Example 4 This examples show an example how to upscale permeability with a 3D Darcian simulation. The result will be vertical resistances. 418 of 812 Deltares iMOD Batch functions IDFMEAN-Function The IDFMEAN function can be used to compute a new IDF-file with the mean value (or minimum, maximum value) of different IDF-files. It is not necessary to have exactly similar IDF-files (see section 6.7.3). EDATE= NDIR= SOURCEDIR{i}= CFUNC= IDFMEAN Enter the layer numbers for the IDF-files to be averaged, e.g. ILAYER=1,3. Enter the starting date (yyyymmdd) for which IDF-files are used, e.g. SDATE=19980201. Enter the ending date (yyyymmdd) for which IDF-files are used, e.g. EDATE=20111231. Enter the number of folders to be processed repeatedly, e.g. NDIR=10. Enter the folder and wildcard for all files that need to be used, e.g. SOURCEDIR1=C:\DATA\HEAD\HEAD*.IDF. Repeat SOURCEDIR{i} for NDIR times. Do not include year, month or day before or after the wildcard *. Specify the name of the function to be applied. Choose out of: MEAN, to compute mean values (equal weighed); MIN to compute the minimum values; MAX to compute the maximum values. SUM to compute the sum of the values per grid cell; PERC to compute the median value (50 percentile). The default is CFUNC=MEAN. Specify a percentile whenever CFUNC=PERC, e.g. PERCVALUE=50.0 for median values. Specify particular year (within SDATE and EDATE) to be used exclusively, e.g. 2001,2003,2005. IYEAR is filled in for all years in-between SYEAR and EYEAR. Enter a number of periods to be defined to use IDF-file within these periods solely, e.g. NPERIOD=2. NPERIOD=0 by default. Enter a period i (ddmm-ddmm), e.g. PERIOD1=1503-3110 to express the period 15th of March until the 31th of October. Enter a code for the area to be processed: ISEL=1 will compute the entire region ISEL=2 will compute within given polygons; ISEL=3 will compute for those cells in the given IDF-file that are not equal to the NoDataValue of that IDF-file. Enter a GEN-filename for polygon(s) for which mean values need to be computed. This keyword is obliged whenever ISEL=2. Enter an IDF-file for which mean values will be computed for those cell in the IDF-file that are not equal to the NoDataValue of that IDF-file. This keyword is compulsory whenever ISEL=3 T FUNCTION= ILAYER= SDATE= DR AF 8.2.3 PERCVALUE= IYEAR= NPERIOD= PERIOD{i}= ISEL= GENFNAME= IDFNAME= Example 1 FUNCTION=IDFMEAN ILAYER=6 SDATE=19980714 EDATE=20110728 NDIR=1 SOURCEDIR1=D:\DATA\BDGFLF*.IDF This example shows the mimimum configuration of this function and yield the mean values for all BDGFLF*.IDF-files in the folder D:\DATA that are assigned to layer 6 (function searches for L6.IDF), and are within the periode 14th of July 1998 and 28th of July 2011. The output file will be: 1 D:\DATA\BDGFLF_MEAN_1998-07-14_to_2011-07-28_L6.IDF; Deltares 419 of 812 iMOD, User Manual 2 D:\DATA\BDGFLF_COUNT_1998-07-14_to_2011-07-28_L6.IDF. The latter shows the number of occurrences for each raster cell. FUNCTION=IDFMEAN ILAYER=1,3 SDATE=19980101 EDATE=20000101 IYEAR=1999 NPERIOD=1 PERIOD1=1503-3110 ISEL=2 CFUNC=MAX GENFILE=D:\DATA\AREA.GEN NDIR=1 SOURCEDIR1=D:\DATA\HEAD*.IDF T Example 2 DR AF This example shows a more extended configuration and will yield maximum values for all IDF-files inside the folder D:\DATA that meet the requirement HEAD*.IDF. Furthermore, they contain the key combination L1.IDF where “1” is defined by ILAY=1. The date expression should be within the time domain of the 1th of Januari 1998 (SDATE) and 31th of December 2000 (EDATE), within the year 1999 (IYEAR) and within the period between the 15th of March and the 31th of October (PERIOD1). Finally the mean values is computed within the polygon(s) described by the polygon AREA.GEN, solely. The output file will be: 1 D:\DATA\HEAD_MAX_19980101-20000101_L1.IDF; 2 D:\DATA\HEAD_DATEMAX_19980101-20000101_L1.IDF. The latter shows the date (yyyymmdd) on which raster cell maximal values appeared. 420 of 812 Deltares iMOD Batch functions IDFCONSISTENCY-Function Use this function to make IDF-files consistent, meaning that the first IDF is always higher or equal to the second, which is higher or equal to the top of the IDF underneath, and so on. IDF files can represent anything, however, this tool is especially handy for consistencies applied on top- and bottom elevation of model layers. IDFCONSISTENCY Enter the number of model layers, e.g. NLAY=6. Enter the IDF for the ith modellayer that represents the top of modellayer i, e.g. TOP_L1=D:\INPUT\TOP_L1.IDF. Constant value may be entered as well, e.g. TOP_L1=10.0. BOT_L{i}= Enter the IDF for the ith modellayer that represents the bottom of modellayer i, e.g. BOT_L1=D:\INPUT\BOT_L1.IDF. Constant value may be entered as well, e.g. BOT_L2=-43.12. OUTPUTFOLDER= Enter the foldername in which the adjusted IDF-files will be saved, e.g. OUTPUTFOLDER=D:\RESULT. Whenever a file is entered by a constant value, e.g. TOP_L1=23.32, a file will be created called TOP_L1.IDF that represents the (corrected) value. ICLEAN= Enter an option for the cleaning of the IDF files. Whenever ICLEAN=1 the procedure removes all data in all files whenever at least a single nodata value is found among them at that specific location, whenever ICLEAN=2, Removes all data whenever at least a nodata value is found for the first and second idf file at that specific location. By default ICLEAN=0 which mean that only consistency corrections are applied for cells not equal to their nodata values. WINDOW= Enter the coordinates of the window that needs to be computed. Enter coordinates of the lower-left corner first and then the coordinates of the upper-right corner, e.g. WINDOW=100000.0, 400000.0, 200000.0, 425000.0. When WINDOW= is absent, the entered IDF-files by TOP_L{i} and BOT_L{i} need to be equally in their dimensions. Otherwise they will be upscaled (mean) or downscaled (interpolation) to the entered CELLSIZE. CELLSIZE= Enter the cell size (meter) for the IDF-files that will be created, e.g. CELL_SIZE=25.0. MINLAY_THICKNESS= Enter the minimum layer thickness to be applied for the permeable layers in the model. Only the layers between the TOP and BOT of the same layer are taken into account, e.g. MINLAY_THICKNESS=0.10; in case the layer thickness of the second modellayer (THICKNESS_L2=TOP_L2-BOT_L2) is smaller then 0.10 m the TOP_L2 will be corrected, so the thickness of layer 2 becomes 0.10 m. MINLTZERO_OPT Enter this option when it is preferred to apply the given minimal layer thickness (defined with “MINLAY_THICKNESS”) also to layers that have a thickness of 0.0 m. By default this option is set to 0, which means that layers with a layer thickness equal to zero will not be corrected. T FUNCTION= NLAY= TOP_L{i}= DR AF 8.2.4 Example FUNCTION= IDFCONSISTENCY NLAY=2 WINDOW=120000.0,298000.0,240000.0,430000.0 CELLSIZE=100.0 TOP_L1=D:\MODEL\TOP_L1.IDF TOP_L2=D:\MODEL\TOP_L2.IDF BOT_L1=D:\MODEL\BOT_L1.IDF BOT_L2=D:\MODEL\BOT_L2.IDF OUTPUTFOLDER=D:\OUTPUT This example corrects the top and bottom IDF-files specified by the TOP_L{i} and BOT_L{i} keywords in a top-bottom consistent manner and scales the IDF-files to the specified WINDOW and CELL_SIZE. Deltares 421 of 812 iMOD, User Manual IDFSTAT-Function The IDFSTAT function can be used to perform some elementary statistical analyses on the content of IDF-files. You can use the IDF Info functionality in iMOD, alternatively (see section 6.3). FUNCTION= SOURCEDIR= IFORMAT (optional) OUTFILE= IDFSTAT Enter the name of a folder that contains a specific set of IDF-file(s), e.g. {installfolder}:\DATA\RESULTS\HEAD*.IDF. All IDF-files that agree, will be included in the analysis. Select the type of output desired, e.g. IFORMAT=1. Default value is IFORMAT=0. See for the differences in output format at the description of OUTFILE. Specify a filename for the resulting statistical analysis, e.g. {installfolder}\DATA\RESULTS\RESULT.CSV. A result of this can look as (IFORMAT=0): T 1,AHN.IDF 2,AHN_FILTERED.IDF 3,AHN_SCALED.IDF File, Population, Mean, Variance, P( 0), . . . , P(100) 1, 585917, 9.2359428, 0.0248852, -6.8000002, . . . , 4.0799999 2, 40000, 1.9279687, 0.0015057, -0.1490000, . . . , 2.9757273 3, 147912, 9.2729473, 0.0498930, -6.7449999, . . . , 335.730011 DR AF 8.2.5 All percentiles will be computed between 0 and 100 by steps of 5. The output format can also look as (IFORMAT=1): File, Population, Mean, Variance, Min, Max, Median AHN_1 , 585917, 9.2359428, 0.0248852, -6.8000002, 4.0799999, 0.324343 AHN_2, 40000, 1.9279687, 0.0015057, -0.1490000, 2.9757273, 1.35984 AHN_3, 147912, 9.2729473, 0.0498930, -6.7449999, 335.730011, 87.32234 Example 1 FUNCTION=IDFSTAT SOURCEDIR=D:\DATA\AHN*.IDF OUTFILE=D:\DATA\STAT.CSV This examples illustrated how to get the statistics of all IDF-files inside the folder D:\DATA that agree with the wildcard AHN*.IDF; results will be written in the file D:\DATA\STAT.CSV. 422 of 812 Deltares iMOD Batch functions IDFMERGE-Function The MERGE function can be used to merge different IDF-files into a new IDF-file. If these IDF-files might overlap, an interpolation between the overlapping IDF-files will be carried out. SOURCEDIR= TARGETIDF= WINDOW= IDFMERGE Enter the number of IDF-files that need to be merged, e.g. NMERGE=6. Enter the ith IDF-file, e.g. SOURCEIDF1=D:\SUBMODEL1\HEAD_L1.IDF, SOURCEIDF2= D:\SUBMODEL2\HEAD_L1.IDF. Repeat this keyword NMERGE-times. Whenever NMERGE is absent, the keyword SOURCEDIR will be used. Enter the source folder and part of the filename that need to be merged, e.g. D:\DATA\HEAD*L1.IDF to merge all files that corresponds to this wildcard. This keyword SOURCEDIR is used whenever the keyword NMERGE is absent. Specify a filename for the resulting IDF-file, e.g. {installfolder}\TOTAL\HEAD_L1.IDF. Specify a window in which the entered IDF-files (SOURCEIDF{i}, SOURCEDIR) will be merged only. Enter coordinates of the lower-left corner first and then the coordinates of the upper-right corner, e.g. WINDOW=100000.0, 400000.0, 200000.0, 425000.0. When WINDOW= is absent, the total dimension of all selected IDF-files in the SOURCEDIR will be used. Enter an IDF-file that needs to be mask areas (those with values equal to the NoDataValue in the MASKIDF) in the merged results, e.g. D:\MASK\AREA.IDF. T FUNCTION= NMERGE= SOURCEIDF{i}= DR AF 8.2.6 MASKIDF= Example 1 FUNCTION=IDFMERGE NMERGE=2 SOURCEIDF1=D:\MODEL1\HEAD_L1.IDF SOURCEIDF2=D:\MODEL2\HEAD_L1.IDF TARGETIDF=D:\RESULT\HEAD_L1.IDF This example merges two IDF-files, HEAD_L1.IDF and HEAD_L1.IDF from two different folders, into a single one D:\RESULTS\HEAD_L1.IDF. Example 2 FUNCTION=IDFMERGE MASKIDF=D:\MASK\AREA.IDF WINDOW=120000.0,425000.0,165000.0,465000.0 SOURCEDIR=D:\DATA\HEAD*_L1.IDF TARGETIDF=D:\DATA\HEAD_MERGED_L1.IDF This example merges all IDF-files in the folder D:\DATA that agree with the filename HEAD*_L1.IDF, such as HEAD_A1_L1.IDF, HEAD_A2_L1.IDF. The merged results will be “clipped” for the given extent by WINDOW and will be “masked” out by the given NoDataValues in the MASKIDF. Finally the results will be saved in HEAD_MERGED_L1.IDF. Deltares 423 of 812 iMOD, User Manual IDFTRACE-Function Use this function to make a spatial IDF file with unique zone numbers of non-connecting areas of a given IDF file. IDF_OUT= MINT= (optional) IDFTRACE You can enter the IDF file with the areas, e.g. IDF_IN=D:\DATA\LAKES.IDF. All values greates than 0.0 will be processed. You can enter the output IDF file with areas numbered uniquely, e.g. IDF_OUT=D:\DATA\LAKES_ID.IDF. Enter the minimal size of the aggregated areas to be numbered, e.g. MINT=10. By default MINT=0 and all locations with values greater than 0.0 will be used to create a numbered zone, if you enter MINT=10, only areas that are aggregated to be more than 10 locations will be numbered. Example FUNCTION=IDFTRACE IDF_IN=D:\DATA\LAKE.IDF IDF_OUT=D:\DATA\LAKE_ID.IDF MINT=10 T FUNCTION= IDF_IN= DR AF 8.2.7 This example creates an IDF file that can be used by the Lake package for the identification of indivual lakes, larger than 10 gridcells from the entered IDF file at IDF_IN. 424 of 812 Deltares iMOD Batch functions CREATEIDF-Function The CREATEIDF function can be used to create IDF-files out of ESRI ASC File Formats, see section 9.13. Be aware of the fact that you can open more of these ASC files in the iMOD Manager, alternatively (see section 5.4). TOPWC= BOTEL= ADD= MULT= CREATEIDF Enter the name of a folder that contains a specific set of ASC file(s), e.g. {installfolder}\DATA\RESULTS\HEAD*_L*.ASC. All ASC files that agree will be converted to IDF-files. Enter the wildcard that specifies the part of the filename that represents the top elevation of the data, e.g. SEL_*.ASC. In this case, iMOD will search for the absolute top elevation to be defined at the location of the asterix, e.g. SEL_0.45.ASC will yield the value 0.45. Enter the relative bottom of the elevation to be added to the top elevation, e.g. BOTEL=-0.5 will yield an absolute bottom elevation of 0.45-0.5=-0.10. Enter a value to add to the top and the bottom elevation (TOP and BOT), e.g. ADD=3, TOP=TOP+3. Enter a value to multiply with the top and the bottom elevation (TOP and BOT), e.g ADD=3, TOP=TOP*3. T FUNCTION= SOURCEDIR= DR AF 8.2.8 Example 1 FUNCTION=CREATEIDF SOURCEDIR=D:\DATA\TOP*.ASC The above mentioned example transforms all ESRI ASCII gridfiles that agree with the wildcard TOP*.ASC into the IDF format. The yielding files will have identical names with the extension .IDF, and will be placed in the same folder as their ASCII files, so TOP1.ASC becomes TOP1.IDF. Files will be overwritten without questioning! Example 2 FUNCTION=CREATEIDF SOURCEDIR=D:\DATA\SEL*.ASC TOPWC=SEL_*.ASC BOTEL=-0.5 The following example translates all ESRI ASCII gridfiles that agree with the wildcard SEL*.ASC. into SEL*.IDF-files. Moreover, a top elevation (TOPWC) will be extracted from the filename at the position of the wildcard, so the function tries to read a real value at the position of the asterix, suppose the filename is SEL_0.25.ASC, the value finally read is 0.25. It will be used to enter the TOP elevation inside the IDF (see section 9.5 for the syntax of IDF-files). The bottom elevation will be equal to the top elevation (0.25 in this example) plus the given value BOTEL, in this case -0.5, thus bottom elevation is 0.25+-0.5=-0.25. Deltares 425 of 812 iMOD, User Manual CREATEASC-Function The CREATEASC function can be used to create ESRI ASC files out of IDF File, see section 9.13. This function will always replace ’****" with a NODATA value. FUNCTION= SOURCEDIR= CREATEASC Enter the name of a folder that contains a specific set of IDF file(s), e.g. {installfolder}\DATA\RESULTS\HEAD*_L*.IDF. All IDF files that agree will be converted to ASC-files. Example 1 T FUNCTION=CREATEASC SOURCEDIR=D:\DATA\TOP*.IDF The above mentioned example transforms all IDF gridfiles that agree with the wildcard TOP*.IDF into the ESRI ASCII format. The yielding files will have identical names with the extension .ASC, and will be placed in the same folder as their IDF files, so TOP1.IDF becomes TOP1.ASC. Files will be overwritten without questioning! DR AF 8.2.9 426 of 812 Deltares iMOD Batch functions XYZTOIDF-Function Use this function to create an IDF from a plain data file(s) or IPF file(s) that contain x,y,z data at least. The column (“z”) can contain any type of (real) data. Also use this function to generate a 3D model of the subsoil via indicator-interpolation of various thressholds (lithology and permeability). FUNCTION= XYZFILE= T IPFFILE= XYZTOIDF Enter the name of a plain text file that contains x,y,z data, e.g. XYZFILE=D:\DATA\XYZ.TXT. The format of the file should be: 1st line: header; next lines: x, y, z-data. Enter the name of an IPF file that contains x,y,z data, e.g. IPFFILE=D:\DATA\POINTS.IPF. IXCOL= Enter the column number of the IPF that contains the x(optional) coordinates, e.g. IXCOL=1 (default value). IYCOL= Enter the column number of the IPF that contains the y(optional) coordinates, e.g. IYCOL=2 (default value). IZCOL= Enter the column number of the IPF that contains the z(optional) coordinates, e.g. IZCOL=3 (default value). ASSF_ Enter the column number of the associated file of the given COLUMN= column IZCOL in the IPF, e.g. ASSF_COLUMN=2. In this (optional) manner, the gridding will take the values from associated files instead of those from the IPF file. This is only applied whenever the IZCOL is equal to the column in which associated files are listed in the IPF file. ASSF_ Enter ASSF_IDEPTH=0 to enter a the starting date from IDEPTH= which values are picked from the associated files, e.g. (optional) ASSF_STARTDATE=20121231. Enter ASSF_IDEPTH=0 to enter an initial depth and interval to interpolate intermediate interfaces e.g. ASSF_TOP. DR AF 8.2.10 Enter the following items whenever ASSF_IDEPTH=0 ASSF_ Enter the starting date from which values are picked from STARTDATE= the associated files, e.g. ASSF_STARTDATE=20121231. ASSF_ Enter the end date to which values are picked from the asENDDATE= sociated files, e.g. ASSF_ENDDATE=20160515. ASSF_DDATE= Enter the time interval for which subsequent gridding is carried out, e.g. ASSF_DDATE=14 which mean that each 14 days between the given ASSF_STARTDATE and ASSF_ENDDATE will be processed. Alternatively the keywords ’D’,’W’,’M’,’Y’ can be applied to denote ’daily’, ’weekly’, ’monthly’ and ’yearly’. Enter the following items whenever ASSF_IDEPTH=1 ASSF_ Enter the uppermost elevation of the first interface, e.g. TOP= ASSF_TOP=4.0. ASSF_ Enter the lowermost elevation of the last interface, e.g. BOT= ASSF_BOT=-40.0. ASSF_ Enter the thickness of all interfaces, e.g. ASSF_DZ=5.0. DZ(.)= This can be a list of values as well, e.g. ASSF_DZ=5.0,2.5,10.0. In this case the first interface has a thickness of 5.0 m, the second 2.5 m and the third 10.0 m, all the other remaining interfaces will have 10.0 m as well. ASSF_ Enter the vertical offset to be applied to look beyond the ZPLUS= current interface, e.g. ASSF_ZPLUS=0.5. In this case, the boreholes will be read for a length of DZ(i) ± ASSF_ZPLUS. Enter the following items whenever ASSF_IDEPTH=2 NLAY= Enter the number of interfaces, e.g. NLAY=10. The interpolation of information will take place in between the interface i and i + 1. Deltares 427 of 812 iMOD, User Manual Enter the IDF file for each interface i up to NLAY, e.g. INT_L1=D:\DATA\INTERFACE_L1.IDF. KSUM= Enter KSUM=1 to generate permeability value as a weighted (optional) sum of all individual permeability value within each vertical interval. By default KSUM=0 and the permeability is that permeability associated with the most common lithology. TRIMTOP_IDF= Enter the name of an IDF file to be used to trim (optional) the interpolated values at the top, e.g. TRIMTOP_IDF=D:\DATA\DEM.IDF. TRIMBOT_IDF= Enter the name of an IDF file to be used to trim (optional) the interpolated values at the bottom, e.g. TRIMBOT_IDF=D:\DATA\BEDROCK.IDF. Enter the name of a Gen-file that contains the data x,y,z data, e.g. GENFILE=D:\DATA\DATA.GEN. Specify the number of GEN-files that need to be taken into account in the grid-interpolation. BLNFILE_{i}= Give the name of a specific GEN-file containing x,y-data of the faults that need to be taken into account in the gridinterpolation. Repeat this keyword for NBLNFILE times. FCTBLNFILE_{i}= Enter the mutiplication factor for each BLNFILE for which the (optional) points will be moved further away if they are on both sides of a fault cq. line in the GEN file. Repeat this keyword for NBLNFILE times. Specify the type of BLNFILE, e.g. IBLNTYPE=0 (default) which denotes that iMOD will use the BLNFILE or any blanked out area via a) outside the entered trim IDF files at TRIMTOP_IDF and/or TRIMBOT_IDF or b) outside the active area specified by IDFFILE_POINTER as a breakline in the interpolation (only point that can be ”seen“ without obstructed by the line will be used). Whenever IBLNTYPE=1, the BLNFILE and/or the other options a) and b), will be used as a ”polygon“ (only points within the same polygon will be used). Enter the folder and wildcard that corresponds to the XYZFILEs, e.g. D:\DATA\REGION*.XYZ. The keyword XYZFILE and IPFFILE should be absent, otherwise XYZFILE or IPFFILE will be used! Enter the folder to which the IDFFILEs will be saved that correspond to the XYZFILEs or IPFFILEs found in the SOURCEDIR, e.g. TARGETDIR=D:\DATA\IDFS, the results will be called D:\DATA\IDFS\REGION*.IDF whenever SOURCEDIR=D:\DATA\REGION*.XYZ. This keyword is compulsory whenever the optional keyword SOURCEDIR is applied. Enter a NoDataValue for those data points that need to be excluded from the gridding, e.g. NODATA=0.0 to exclude data points equal to zero. By default, NODATA=-999.99. Enter ILOG=1 to perform a log transformation for the data points that need to be grided. By default, ILOG=0. Enter the coordinates of the window that needs to be computed. Enter coordinates of the lower-left corner first and then the coordinates of the upperright corner, e.g. WINDOW=100000.0, 400000.0, 200000.0, 425000.0. When WINDOW= is absent, the entire XYZFILE or IPFFILE will be gridded for its maximum extent. Enter the cellsize of the IDFFILE to be created, e.g. CS=100.0. This keyword is not necessary whenever IDFFILE is specified. Enter the name of an IDF-file for which data points that are equal to its NoDataValue will be interpolated. Enter an IDF-file that will be needed to specify what locations will be interpolated. It temporarily blanks out the IDF-file given by IDFFILE_IN before the interpolation and resets the original value in the blanked-out area after the interpolation. Enter the name of an IDF-file that need to be created, e.g. IDFFILE=D:\DATA\XYZ.IDF. Enter the grid function to be used: MIN minimum of all data points inside a gridcell; INT_L{i}= DR AF T GENFILE= (optional) NBLNFILE= (optional) IBLNTYPE= (optional) SOURCEDIR= (optional) TARGETDIR= (optional) NODATA= (optional) ILOG= (optional) WINDOW= (optional) CS= IDFFILE_IN= (optional) IDFFILE_ POINTER= (optional) IDFFILE GRIDFUNC= 428 of 812 Deltares iMOD Batch functions MAX MEAN PERC PERCENTILE= DR AF T maximum of all data points inside a gridcell; mean of all data points inside a gridcell; percentile of all data points inside a gridcell. Enter the percentile (>=0 PERCENTILE <=100.0) whenever GRIDFUNC=PERC, e.g. PERCENTILE=25.0. A percentile value will be interpolated linearly, whenever the entered PERCENTILE falls in-between two values. Entering PERCENTILE=0.0 or PERCENTILE=100.0 will yield the same results as with GRIDFUNC=MIN and GRIDFUNC=MAX, respectively, however, the latter functions are faster than the function GRIDFUNC=PERC. Entered values beyond 0.0 and above 100.0, will be trimmed to 0.0 and 100.0, automatically. BIVAR: takes a bivariate interpolation SKRIGING: takes a Kriging interpolation, SKRIGING stands for Simple OKRIGING: Kriging (assuming a constant mean over the entire domain); OKRIGING stands for Ordinary Kriging (assuming a constant mean in the neighborhood of each estimation point). Choose one of both at one time. PNTSEARCH= Specify PNTSEARCH=1 to allow to search for points within (optional) the distance specified by RANGE the minimum number of points used for the interpolation. Default MINP=10 (or less whenever the dataset contains less points). MINP= Enter the minimal number of points needed for the interpo(optional) lation, e.g. whenever MINP=50, iMOD will take the 50 nearest point in the Kriging interpolation. Whenever the keyword IQUADRANT=1, the entered MINP value is valid for each quadrant, so whenever MINP=10 and IQUADRANT=1, the total number of points will be 10 × 4 = 40. Default MINP=10 (or less whenever the dataset contains less points). This keyword can be entered only whenever PNTSEARCH=1. IQUADRANT= Select IQUADRANT=1 to force an equal distribution of (optional) point from the four quadrants around an point to be estimated. This keyword can be entered only whenever PNTSEARCH=1. By default IQUADRANT=0. RANGE= Enter the range that defines a neighbourhood within which all data points are related to one another, e.g. RANGE=1000 meter. It is possible to specify multiply values for RANGE whenever ASSF_IDEPTH=2 for each interface. If the number of entered values for RANGE is less than the number of interfaces to be computed, the last entered values for RANGE will be re-used for the remaining interfaces. The semivariance will become approximately equal to the variance of the whole surface itself (SILL). SILL= Enter the distance at which the semivariance approaches a flat region. SILL is referred as the range or span of the regionalized variable, e.g. SILL=2500. This parameter resemblances a variance. The magnitude of the semivariance between points depends on the distance between the points. A smaller distance yields a smaller semivariance and a larger distance results in a larger semivariance. NUGGET= Enter the offset of the semivariogram, e.g. NUGGET= 10.0. Deltares 429 of 812 iMOD, User Manual Enter the type of the Kriging model to be used to compute the value at Xi , choose from: 1 Linear Model: Xi =DISTi *(SILL-NUGGET)/RANGE 2 Spherical Model: DISTi <=RANGE: Xi =SILL*(1.5*(DISTi /RANGE))-(0.5*(DIST3 /RANGE3 )) DISTi >RANGE: Xi =SILL 3 Exponential Model: Xi =SILL*(1.0-EXP(-DIST3 i /RANGE)) STDEVIDF= Enter the name for the standard deviation computed, e.g. STDEVIDF=D:\VAR.IDF. VARIOGRAM: create a semivariogram, this yields no interpolation of the data, it generates a table filled in with a variogram. Whenever the WINDOW keyword is specified, a variogram will be computed for those data points that are within the bounds of the given WINDOW. The results will be written in the VARIOGRAM.TXT file, see coming pages for an example. LAGEnter the number of distances over which the VARIOGRAM INTERVAL= will be computed, e.g. LAGINTERVAL=50 will yield fifty intervals equally distributed between zero and the maximum distance between point. LAGSpecify the lag distance, e.g. LAGDISTANCE=50.0 to overDISTANCE= rule the lag distance as computed by LAGINTERVAL. ELLIPS_LEN= Specify the ellipsoids maximum diameter (∆x), e.g. EL(optional) LIPS_LEN=5000.0 meter. Specify this parameter only whenever IQUADRANT=0. By default ELLIPS_LEN is equal to the length specifief at RANGE. ELLIPS_ANI= Specify the ellipsoids anisotropy, e.g. ELLIPS_ANI=45.0 to (optional) denote a 45 degrees shift from the north clock-wise. Specify this parameter only whenever IQUADRANT=0 and . By default ELLIPS_ANI=0.0. ELLIPS_RAT= Specify the ellipsoids ratio between the semi-major axis (optional) (∆x) and the semi-minor axes (∆y ), e.g. ELLIPS_RAT=0.5 denotes a flattened ellipsoid whereby the ∆y is half the size of ∆x. Specify this parameter only whenever IQUADRANT=0. By default ELLIPS_RAT=1.0. PCG: takes a Preconditioned Conjugate Gradient interpolation HCLOSE= Enter a closure criterion for the PCG solver to terminate the (optional) interpolation, e.g. HCLOSE=0.001 (this is the default). RCLOSE= Enter a closure criterion for the PCG solver to terminate the (optional) interpolation, e.g. RCLOSE=1000.0 (this is the default). NINNER= Enter the number of inner iteration for the PCG solver, e.g. (optional) NINNER=50 (this is the default). Use large values for NINNER to speed up the interpolation since the problem to be solved is linear. Enter INDICATOR=1 (by default INDICATOR=0) to use an indicator interpolation. Whenever this function is used, a value is assigned to a point whenever it meets a given thresshold (see NTHRESHOLD). In that case it gets score of 1.0, this is corrected for the penetration length of this in the current interval. After interpolation it yields a probability of occurrence, a fraction between 0.0 and 1.0. Use INDICATOR=-1 to skip the interpolation and recompute the probability of occurence and permeability from the existing files, in case INDICATOR=1 is applied first. NTHRESHOLD Enter the number of thresholds to be used in the indicator interpolation, e.g. NTHRESHOLD=2. DR AF T KTYPE= INDICATOR (optional) 430 of 812 Deltares iMOD Batch functions DR AF T THRESHOLD{i} Enter for each threshold the appropriate name, e.g. THRESHOLD1=SAND. Use quotation marks for thresholds with spaces, e.g. THRESHOLD{i}=“SILTY SAND”. Enter NTHRESHOLD number of thresholds. iMOD will generate a probability map for each threshold for each interval. It also generates a map per intergface of the most-common threshold per grid cell. KH_THRESEnter for each threshold the horizontal permeability, e.g. HOLD{i} KH_THRESHOLD1=35.0. Enter NTHRESHOLD number of horizontal permeability values. iMOD will generate a horizontal permeability map for each threshold for each interval. It also generates a total, averaged horizontal permeability map per interface as the weighted sum of all individual thresholds. KV_THRESEnter for each threshold the vertical permeability, e.g. HOLD{i} KV_THRESHOLD1=10.0. Enter NTHRESHOLD number of vertical permeability values. iMOD will generate a vertical permeability map for each threshold for each interval. It also generates a total, averaged vertical permeability map per interface as the weighted sum of all individual thresholds. Example 1 FUNCTION=XYZTOIDF XYZFILE=D:\DATA\28BN.XYZ IDFFILE=D:\DATA\28BN.IDF CS=5.0 GRIDFUNC=MEAN Above an example is given how to rasterize, for a 5x5 resolution (CS=5.0), the content of an XYZ file by means of its mean values (GRIDFUNC=MEAN) inside the individual rastercells. The default NoDataValue of -999.99 will be assigned to those rastercells that doesn’t have any points inside, moreover, data points that have this particular value will be left out. Example 2 FUNCTION=XYZTOIDF SOURCEDIR=D:\DATA\*.XYZ TARGETDIR=D:\DATA\IDF IDFFILE=D:\DATA\28BN.IDF CS=25.0 GRIDFUNC=PERC PERCENTILE=5.0 NODATA=0.0 Example above shows how to rasterize, for a 25x25 resolution (CS=25.0), the content of all *.XYZ files in the folder D:\DATA, by means of its 5.0 percentile values (PERCENTILE=5.0; GRIDFUNC=PERC) inside the individual rastercells. A NoDataValue of 0.0 will be assigned to those rastercells that doesn’t have any points inside, moreover, data points that have this particular value will be left out. Deltares 431 of 812 iMOD, User Manual DR AF Example of PCG interpolation: T Example of Bivariant interpolation: Example of MEAN sampling: 432 of 812 Deltares iMOD Batch functions DR AF Example of a Variogram: T Example of Kriging interpolation (linear model): From the above presented variogram, the SILL would be 30 and the corresponding RANGE approximately 1000m, at that distance the SILL value flattens. The NUGGET is zero in this example. Example of the different models to be used in the Kriging interpolation: Deltares 433 of 812 iMOD, User Manual GEN2ISG-Function The GEN2ISG function reads a GEN file and creates a ISG file. There are two ways to use this function; IUSEDAT=1 and IUSDAT=0. These will be explained below. Use IUSEDAT=1 to force using the *.DAT file (with GEN file information). FUNCTION= GENFNAME= IUSEDAT=1 STAGE1_COLUMN= STAGE2_COLUMN= BOTL1_COLUMN= BOTL2_COLUMN= SLOPE_L_COLUMN= SLOPE_R_COLUMN= BWIDTH_COLUMN= GEN2ISG Give a GEN file containing x and y coordinates of GEN segments. Enter the column number in the DAT file that represents: Stage on Startpoint of the Segment, e.g. STAGE1_COLUMN=1 Stage on Endpoint of the Segment, e.g. STAGE2_COLUMN=2 Bottom on Startpoint of the Segment, e.g. BOTL1_COLUMN=3 Bottom on Endpoint of then Segment, e.g. BOTL2_COLUMN=4 shape of the Crosssection of the Segment: Left slope, e.g. SLOPE_L_COLUMN=5 Right slope, e.g. SLOPE_R_COLUMN=6 Bottom width, e.g. BWIDTH_COLUMN=7 T 8.3.1 ISG-FUNCTIONS DR AF 8.3 Use IUSEDAT=0 if you do not have a *.DAT file (with GEN file information). FUNCTION= GENFAME= IUSEDAT=0 IDFSTAGE= IDFSUMMER= IDFSUMMER_BACKUP= IDFWINTER= IDFWINTER_BACKUP= SUMMERPERIOD= (optional) WINTERPERIOD= (optional) START_YEAR= END_YEAR= IDFBOTTOM= BOTTOMVALUE= SAMPLE_DISTANCE (optional)= CCFFNAME= SEARCH_DISTANCE= (optional) 434 of 812 GEN2ISG Give a GEN file containing x and y coordinates of GEN segments. the following keywords must be given: Enter the column number in the DAT file that represents the y coordinate, e.g. STAGE1_COLUMN=1. Enter the filename of the IDF-file containing summer heads. Enter the filename of the IDF-file containing summer heads. This file is created as backup-file in case no values are found in IDFSUMMER or by using the SAMPLE_SEARCH function. Enter the filename of the IDF-file containing winter heads. Enter the filename of the IDF-file containing winter heads. This file is created as backup-file in case no values are found in IDFWINTER or by using the SAMPLE_SEARCH function. Enter the day and month at which the summer period starts (e.g. default value is SUMMERPERIOD=0104 in case summer starts at the 1st of April each year). Enter the day and month at which the winter period starts (e.g. default value is WINTERPERIOD=0110 in case summer starts at the 1st of October each year) Enter the starting year of the calculation period, e.g START_YEAR=2014. Enter the end year of the calculation period, e.g. END_YEAR=2020. Enter the name of the IDF-file containing all bottom values of the area. If there’s no IDFBOTTOM-file available give a constant value for the bottom height, e.g. BOTTOMVALUE=12.32. Enter a value (in meters) that accounts for the distance iMOD needs to sample the IDF-file on, e.g. 100 m. On default SAMPLE_DISTANCE=250 m. Enter the name of a CCF-file that describes the cross-section that will be used to insert cross-section for all segments. Enter a value (in meters) that accounts for the distance iMOD needs to resample the IDF-file on, e.g. 50 m. On default SEARCH_DISTANCE=250 m. This value will only be used if there were no values found by making use of the SAMPLE_DISTANCE. Deltares iMOD Batch functions IPUZZLE= IDFRESISTANCE= RESISTANCE= IDFINFILTRATIONFACTOR= INFILTRATIONFACTOR= OUTFILE= Enter a 0.0 or 1.0. If a value of 1.0 is given, iMOD tries to find all possible places where segments can be joined and join them if needed. Enter the name of IDF-file that contains resistance values of the area. Enter a resistance value that will be applied to the whole area. Can only be used if IDFRESISTANCE is not available. Enter the name of IDF-file that contains infiltration factors for the area. Enter an infiltration factor that will be applied to the whole area. Can only be used if IDFINFILTRATIONFACTOR is not available. Enter the name of the ISG output-file, e.g. NEWFILE.ISG. T Example 1 DR AF FUNCTION=GEN2ISG FUNCTION=GEN2ISG GENFNAME=d:\Model\Data\Shape_data\river_lines.gen IUSEDAT=0 IDFSUMMER=d:\Model\Basic_data\SUMMER_LEVEL_RIVER.IDF IDFWINTER=d:\Model\Data\Basic_data\WINTER_LEVEL_RIVER.IDF IDFBOTTOM=d:\Model\Data\Basic_data\BODEMHOOGTE_RIVER.IDF SAMPLE_DISTANCE=25.0 CCFFNAME=d:\Model\Data\Basic_data\CROSS-SECTION.CCF IDFRESISTANCE=d:\Model\Data\Basic_data\RIV_RESISTANCE.idf IDFINFILTRATIONFACTOR=d:\Model\Data\Basic_data\INFFACTOR_RIVER.IDF OUTFILE=d:\Model\Data\ISG_data\River.isg Above an example is given how to use the GEN2ISG. This example will generate and ISG file based on river levels, bottom elevation, resistance, infiltration factor and the location of the river segments. The ISG will contain the following information: as many as cross-sections per river segment as there are unique ID-numbers in CCFFNAME related file, calculation nodes on each segment intersection and segment nodes as much as there are coordinate points defined in the GEN file. Deltares 435 of 812 iMOD, User Manual ISGGRID-Function Use this function to rasterize the selected ISG-files into IDF-files that can be used by iMODFLOW in a runfile. MINDEPTH= (optional) MAXWIDTH= (optional) OUTPUT FOLDER= ISGGRID Enter an ISG-file that need to be simplified, e.g. ISGFILE_IN=D:\PO.ISG. Enter the cell size (meter) for the IDF-files that will be created from the ISG-file mentioned by ISGFILE_IN, e.g. CELL_SIZE=25.0. Enter the minimum water depth (meter) used for the calculation of the conductance of the stream bed, e.g. MINDEPTH=1.0. The default value is MINDEPTH=0.1. Enter the maximal width of a stream (meter) used for the calculation of the conductance of the stream bed. Introducing this parameter limits any stream width larger than MAXWIDTH, e.g. MAXWIDTH=1000. The default value is MAXWIDTH=250. Enter a foldername to save all rasters into, e.g. OUTPUTFOLDER=D:\OUTPUT. The following rasters will be saved: 1 COND The computed stream bed conductance (m2 /day) 2 STAGE The interpolated riverlevel (m+MSL) 3 BOTTOM The interpolated riverbed height (m+MSL) 4 INFFCT The interpolated river infiltration factor (-) 5 TOTAL_LENGTH Total length if existing river segments in a single rastercell (meter) 6 MEAN_ Mean wetted perimeter within a river segment WPERIMETER 7 MEAN_WIDTH Mean stream bed width 8 RESISTANCE Interpolated river resistance (days). IMPORTANT to note is that a minimal resistance is applied of 0.001 days to avoid extraordinary conductance (COND) values. 9 EROSION Erosion matrix to be used to extent the riverbed existence over more rastercells The following will be created only whenever ICDIST=1 10 EFFECT The computed water level that are influenced by the weirs. 11 CUR_ID Identification of structures for current segment. 12 NEX_ID Identification of following structure for current segment. Enter a postfix to be used to add to the end of the IDF-file names mentioned above, e.g. POSTFIX=_SUMMER yields STAGE_SUMMER.IDF instead of STAGE.IDF. Enter a NodataValue for which water levels will be skipped in determining the waterlevels along profiles, e.g. NODATA=-999. Enter the coordinates of the window that needs to be computed. Enter coordinates of the lower-left corner first and then the coordinates of the upper-right corner, e.g. WINDOW=100000.0, 400000.0, 200000.0, 425000.0. When WINDOW= is absent, the entire ISG will be gridded for its maximum extent. Enter the numbers to be saved solely, e.g. ISAVE=1,1,1,0,0,0,0,0,0,0,0,0 to identify that the IDF-files COND, STAGE and BOTTOM need to be saved. Specify whether the waterlevels need to be calculated for a specific period, by default IPERIOD=1 which means that waterlevels will be computed as the mean over the entire existing periods within the ISG-file (which can be different among the segments). Specify IPERIOD=2 to enter a date over which the waterlevels will be averaged. SDATE= Enter a starting date to compute averaged waterlevels for, e.g. SDATE=19910101 to represent the 1st of January 1991. EDATE= Enter a starting date to compute averaged waterlevels for, e.g. EDATE=19911231 to represent the 31st of December 1991. T FUNCTION= ISGFILE_IN= CELL_SIZE= DR AF 8.3.2 POSTFIX= (optional) NODATA= WINDOW= (optional) ISAVE= IPERIOD= (optional) 436 of 812 Deltares iMOD Batch functions ISIMGRO= (optional) DR AF IAVERAGE= (optional) T ICDIST= (optional) DDATE= Enter a date-difference to be used to compute more rasters for different periods, e.g. DDATE=14 means that a sequence between SDATE and EDATE will be computed with length of 14 days. By default DDATE=0 which will ignore any timesteps in-between the SDATE and EDATE variables. The names of the IDF-file will be extended to include a date notification, e.g. STAGE{POSTFIX}_19910101.IDF Set this value to 1 to compute the effects of weir as stored in the ISG file. By default ICDIST=0. See keyword OUTPUTFOLDER to get the names of the extra IDF files that will be created. Set this value to 1 to export the gridded values for the ISG into a MetaSWAP file svat_swnr_drng.inp. SVAT2SWNR_DRNG= Enter the name for the svatswnr_drng.inp file. SEGMENTCSVFNAME= Enter the CSV that contains the list of ... THIESSENFNAME= Enter an IDF file that represents the SVAT-id for MetaSWAP. AHNFNAME= Enter an IDF file with the surface level. SYSID= Enter a single value for the system identification. WDEPTH= Enter a water depth that will be used to define the appropriate trapezia for MetaSWAP. Enter IAVERAGE=1 to apply an arithmetic mean for stages, bottomlevels, resistances and infiltrationfactor over time. Enter IAVERAGE=2 to apply the median value for those parameters. The default value is IAVERAGE=1. Set this value to 1 to export the gridded ISG into a MODFLOW river file, important to notice is that it yield a single value for each gridded cell. The export river file will be called OUTPUTFOLDER \modflow.riv. By default IEXPORT=0 and IDF files will be created. NLAY= Enter the number of model layers for which the gridded ISG file need to be assigned vertically, e.g. NLAY=3. This option is only valid whenever IEXPORT=1. TOP_Li= Enter an IDF file that represents the TOP elevation of the it h layer, e.g. TOP_L1=D:\TOP_L1.IDF. BOT_Li= Enter an IDF file that represents the BOT elevation of the it h layer, e.g. BOT_L2=D:\BOT_L2.IDF. KHV_Li= Enter an IDF file that represents the horizontal permeability of the it h layer, e.g. KHV_L2=D:\KHV_L2.IDF. BND_Li= Enter an IDF file that represents the boundary condition of the it h layer, e.g. BND_L4=D:\BND_L4.IDF. IEXPORT= (optional) Example: FUNCTION=ISGGRID ISGFILE_IN=D:\PO.ISG CELL_SIZE=100.0 NODATA=-999.99 ISAVE=1,1,1,1,0,0,0,0,0,0,0,0 IPERIOD=1 SDATE=19980101 EDATE=19980131 OUTPUTFOLDER=D:\PO_GRIDS The example above will rasterize the entire ISG for the period of the 1th of January up to the 31th of January 1998 on a 100x100 meter grid. Deltares 437 of 812 iMOD, User Manual ISGADDCROSSSECTION-Function Use this function to add cross-sections to an existing ISG-file (see section 9.9.3 for more information about the content of an ISG-file and storage of cross-sections). The methodology is twofold: 1 One-dimensional cross-sections: Reading cross-sectional information from a text file for one-dimensional cross-sections. 2 Two-dimension cross-sections: Reading two-dimensional bathymetry from an IDF-file for areas that are defined by a pointer IDF. All existing cross-section will be used to assign two-dimensional cross-sections. The dimension of the bathymetry will be overruling the dimensions of the pointer IDF. ISGFILE_OUT= 2-D Cross-sections CROSS_PNTR= ISGADDCROSSSECTION Enter an ISG-file for which cross-sections need to be added, e.g. ISGFILE_IN=D:\DATA\MAAS.ISG. Enter an ISG-file to save the renewed ISG for, e.g. ISGFILE_OUT=D:\DATA\MAAS_NEWCROSSSECTIONS.IDF. T FUNCTION= ISGFILE_IN Enter the name of an IDF-file describes the spatial distribution of twodimensional cross-sections, e.g. CROSS_PNTR=D:\DATA\PNTR.IDF. This pointer file is used to denote areas with equal values as the pointer value at the location of the cross-section on the segmenet. The bathymetry for those areas will be read from CROSS_BATH and applied as a 2-D cross-section on the segment. Enter the name of an IDF-file that describes the bathymetry for the riverbed at the locations where the values for CROSS_PNTR are 6= to the pointer value at the corresponding cross-section at the segment, e.g. CROSS_BATH=D:\DATA\RIVERBED.IDF. Enter the name of an IDF-file that describes the Reference Height to be used to distinguish between areas with positive and negative values for CROSS_PNTR, e.g. CROSS_ZCHK=D:\DATA\REFHEIGHT.IDF. Enter the name of an IDF-file that describes the Resistance values to be used to distinguish different resistance in inundation areas, e.g. CROSS_CVAL=D:\DATA\RESISTANCE.IDF. The values in this IDF act as a multiplication factor to the given resistance (attribute RESIS in the ISD2-file, see 9.9.2) at the nearest calculation point. Bear in mind that the multiplication factor will be saved in the ISG as an integer with a maximal value of 256. DR AF 8.3.3 CROSS_BATH= CROSS_ZCHK (optional)= CROSS_CVAL (optional)= 1-D Cross-sections CROSSSECTION_IN= Enter the filename that stores the renewed cross-sections, e.g. CROSSSECTION_IN=D:\DATA\CROSS.TXT. The syntax of the CROSSSECTION_IN file is a free-formatted, comma-separated-values file with for which each row is defined as follows (be aware that you do not include a header in the text-file): XC,YC,LABEL,N,X1 ,X2 ,..,XN ,Z1 ,Z2 ,..,ZN XC X-coordinate (meter) for the cross-section; YC Y-coordinate (meter) for the cross-section LABEL Label for the cross-section, maximum length is 32 characters. N Number of cross-sections points. Xi Specify as many distances as needed to define the bathymetry of the riverbed. The amount of definitions N should be >3. Zi Specify as many elevations as needed to define the bathymetry of the riverbed. The amount of definitions N would be equal the number of definitions used for Xi . 438 of 812 Deltares iMOD Batch functions ICLEAN= (optional) WIDTH_IDF= (optional) MAXDIST= (optional) Enter ICLEAN=1 to clean ALL cross-sections before adding new ones, apply ICLEAN=2 to remove existing cross-section only for those segments where an update of the cross-section will be applied. By default ICLEAN=1. Specify an IDF that represents the width of default cross-sections to be placed on all segments and a default water depth of 5 meter where no cross-section will be placed based on the entered data by the following keywords, e.g. WIDTH_IDF=D:\DIST.IDF. This keyword is necessary only whenever ICLEAN=1. Specify a distance (meter) over which the cross-section will be snapped to the segment, e.g. MAXDIST=5.0. By default MAXDIST=0.0 meter. Example 1 (one-dimensional cross-sections): DR AF T FUNCTION=ISGADDCROSSSECTION ISGFILE_IN=D:\iMOD-DATA\MAAS.ISG CROSSSECTION_IN=D:\DATA\CROSS.TXT WIDTH_IDF=D:\DATA\WIDTH.IDF MAXDIST=2.5 ISGFILE_OUT=D:\iMOD-DATA\MAAS_RENEWEDCROSSSECTIONS.ISG The example above will add cross-sections based on the entered CROSS.TXT file that specifies a cross-section for “New Cross” as follows: 12000.0,45300.0,”New Cross”,-10.0,-5.0,-2.5,2.5,7.5,12.0,5.0,3.0,2.0,1.0,2.5,5.0 the results will be saved in MAAS_RENEWEDCROSSSECTION.ISG. Example 2 (two-dimensional cross-sections): FUNCTION=ISGADDCROSSSECTION CROSS_PNTR=D:\DATA\PNTR.IDF CROSS_BATH=D:\DATA\BATHEMETRY.IDF ISGFILE_OUT=D:\iMOD-DATA\MAAS_RENEWEDCROSSSECTIONS.ISG The example above will transform the existing cross sections with two-dimensional definitions based on the pointerfile read in CROSS_PNTR and the corresponding bathymetry read in BATHEMETRY.IDF. Deltares 439 of 812 iMOD, User Manual ISGSIMPLIFY-Function Use this function to reduce the amount of calculation points in a ISD file (part of the ISG-files, see section 9.9.2). iMOD will eliminate calculation points that do not add significant information to the declination of waterlevels, in other words, whenever the gradient of the waterlevel can be described by less calculation points, iMOD will locate those calculation points that are able to represent the original waterlevel most optimally. iMOD will use the mean waterlevels for all calculation nodes to determine a mean descent of waterlevels along a segment. Simplification will be carried out for segments as a whole. Whenever segments will be very short, this function will have a minor effect. ZTOLERANCE= NODATA= ISGFILE_OUT= ISGSIMPLIFY Enter an ISG-file that need to be simplified, e.g. ISGFILE_IN=D:\DATA\MAAS.ISG. Specify a distance (meter) for which the simplified waterlevel along a profile may differ from the original one, e.g. ZTOLERANCE=0.10. Enter a NoDataValue for which waterlevels will be skipped in determining the waterlevels along profiles, e.g. NODATA=-999. Enter an ISG-file to save the simplified ISG for, e.g. ISGFILE_OUT=D:\DATA\MAAS_SIMPLIFIED.IDF. Example: T FUNCTION= ISGFILE_IN= DR AF 8.3.4 FUNCTION=ISGSIMPLIFY ISGFILE_IN=D:\iMOD-DATA\MAAS.ISG ZTOLERANCE=0.10 NODATA=-999.99 ISGFILE_OUT=D:\iMOD-DATA\MAAS_SIMPLIFIED.ISG The example above will reduce the amount of calculation points such that the simplified waterlevel will be differ more than 0.10 from the original one, the results will be saved in MAAS_SIMPLIFIED.ISG. 440 of 812 Deltares iMOD Batch functions ISGADJUST-Function Use this function to perform changes to an existing ISG. FUNCTION= SESFILE= LOGFILE= OUTNAME= ISGADJUST Enter the name of the SES file, e.g. D:\iMOD-DATA\ISGEDIT\ISG-change-stage.SES. Enter a name for the logfile showing all changes by listing both old and new parameter values , e.g. D:\iMOD-DATA\ISGEDIT\ISG-LOG.TXT default = .\log_ses.txt Foldername for new location to save all ISG related files (*.isg, *.isp, *.isd etc), e.g. OUTNAME=D:\RIV\ISG_new T Example: FUNCTION=ISGADJUST SESFILE=D:\iMOD-DATA\ISGEDIT\ISG-change-stage.SES LOGFILE=D:\iMOD-DATA\ISGEDIT\ISG-LOG.TXT OUTNAME=D:\iMOD-DATA\RIV\ISG_new DR AF 8.3.5 The example above will preduce new ISG files based on new data in the SES file. Deltares 441 of 812 iMOD, User Manual ISGADDSTRUCTURES-Function Use this function will add weirs to an ISG. MAXDIST= SYEAR= EYEAR= START_PERIOD_ SUMMER= END_PERIOD_ SUMMER= START_PERIOD_ WINTER= END_PERIOD_ WINTER= DATE_WLEVEL= ISGADDSTRUCTURES Enter the name of the ISG file. Enter the name of the IPF file containing weir data Specify the column number in the IPFFILE_IN that defines: IXCOL= .. the X coordinates, by default IXCOL=1. IYCOL= .. the Y coordinates, by default IYCOL=2. IDCOL= .. the ..., by default IDCOL=3. IOCOL= .. the ..., by default IOCOL=4. ISCOL= .. the ..., by default ISCOL=5. IWCOL= .. the ..., by default IWCOL=6. Specify the maximum distance ...., by default MAXDIST=1000. Specify the start year, by default SYEAR=1980. Specify the end year, by default EYEAR=2012. Specify the start date of summer, by default START_PERIOD_SUMMER=’01-04’. T FUNCTION= ISGFILE_IN= IPFFILE_IN= Specify the end date of summer, by default END_PERIOD_SUMMER=’30-09’. Specify the start date of winter, by default START_PERIOD_WINTER=’01-10’. DR AF 8.3.6 IPFLOGFILE= ISGFILE_OUT= Specify the end date of winter, by default END_PERIO_WINTER=’31-03’. Date of measure to be used to compute undisturbed waterlevel. Give 0-0-0 to compute the mean of all values or 28-02-1994 for a fixed date, by default DATE_WLEVEL=0-0-0. Enter a name for the log file, by default IPFLOGFILE=log.ipf. Enter the name of the ISG output file. Example: FUNCTION=ISGADDSTRUCTURES ISGFILE_IN=D:\RIV-DATA\LEGGER.ISG IPFFILE_IN=D:\RIV-DATA\WEIR.IPF ISGFILE_OUT=D:\RIV-DATA\LEGGER_V2.ISG The example above will produce new ISG files based on new data in WEIR.IPF. 442 of 812 Deltares iMOD Batch functions ISGADDSTAGES-Function Use this function will add water levels to an ISG. Existing water levels wil be overwritten if the entered IPF with water levels has water levels for identical dates as already mentioned in the ISG file. ISGFILE_OUT= STAGETYPE= (optional) ICLEAN= (optional) ISGADDSTAGES Enter the name of the ISG file. Enter the name of the IPF file containing water level data via associated TXT-files. The construction of the IPFFILE_IN file must be: Column 1 X coordinate. Column 2 Y coordinate. Column i refers to the IEXT variable in the IPF-file to indicate the column with the associated TXT-files, see section 9.7 for more detailed description of the IPF-files. Enter the name of the ISG output file. Specify STAGETYPE=1 to enter river stages in the IPFFILE in depth values. By default STAGETYPE=0 and stages are entered in absolute values (m+MSL). Specify ICLEAN=1 to remove all existing entries for stages in the ISG file prior to adding new entries. By default ICLEAN=0 and existing entries are retained. Example: T FUNCTION= ISGFILE_IN= IPFFILE= DR AF 8.3.7 FUNCTION=ISGADDSTAGES ISGFILE_IN=D:\RIV-DATA\LEGGER.ISG IPFFILE=D:\RIV-DATA\WATERLEVEL.IPF ISGFILE_OUT=D:\RIV-DATA\LEGGER_V2.ISG The example above will produce new ISG files based on new data in WATERLEVEL.IPF. Deltares 443 of 812 iMOD, User Manual SFRTOISG-Function This function can be used to convert the output of the SFR package onto an ISG file. In this way the existing functionalities of ISG Edit can be used to inspect and analyse the output of the SFR package. FUNCTION= ISGFILE_IN= ISGFILE_OUT= T SFRFILE_IN= SFRTOISG Enter the name of the ISG file, e.g. SFRFILE_IN=D\MODEL\SFR.ISG. Enter the name of the ISG file that need to be created, e.g. SFRFILE_OUT=D\MODEL\SFR_RESULT.ISG. Enter the name of the output file of the SFR package, e.g. SFRFILE_IN=D\MODEL\TUT_FSFR.TXT. The file need to contain exactly the amount of calculation points as the ISG files given at ISGFILE_IN. You should always use the ISG files that iMOD created during the export of your model to MF2005 files. This file contains per reach and per time step the following columns: Column 1: Layer number. Column 2: Row number. Column 3: Column number. Column 4: Stream number. Column 5: Segment number. Column 6: Flow into Stream Reach, a positive number means flow in the stream, a negative number would not be feasible. Column 7: Flow to Aquifer, negative means that groundwater migrates to surface water (stream acts as a drain), a positive value denotes that surface water infiltrates. Column 8: Flow out of Stream Reach, a positive number means flow out of the stream, a negative number would not be feasible. Column 9: Overland Runoff. Column 10: Precipitation. Column 11: Evaporation. Column 12: Stream Head, the stage in the river. Column 13: Stream Depth, the depth of the river. Column 14: Stream Width, the width of the river. Column 15: Conductance, the area of contact between the surface water and the groundwater, divided by the resistance of the riverbed. Column 16: Gradient, the hydraulic gradient across the stream bed, negative gradient means that the stream acts as a drain. Large hydraulic gradients might indicate some conceptual errors. There is a difference in how the SFR package deals with unsaturated flow underneath the stream bed. As the conventional RIV package applies a hydraulic gradient as the difference between the surface water level and the river bed level, the SFR package takes the thickness of the river bed material instead. DR AF 8.3.8 Not all of the above mentioned columns are converted to the ISG file, the average stream discharge (half of the sum of the Flow into Stream Reach plus the Flow out of Stream Reach) is converted from m3 /d to m3 /s. Also the stream head, depth and width are transferred to the ISG file. Those four attributes are considered to be most valuable. Example: FUNCTION=SFRTOISG SFRFILE_IN=D\MODEL\SFR.ISG. SFRFILE_OUT=D\MODEL\SFR_RESULT.ISG. SFRFILE_IN=D\MODEL\TUT_FSFR.TXT. The example above will produce a new ISG files based on the results of the SFR package. 444 of 812 Deltares iMOD Batch functions IPFTOISG-Function This function can be used to convert an IPF file with appropriate columns into an ISG suitable for the SFR package. Two following pairs of coordinates will form a single segment in the ISG file. Also, only one calculation point and cross-section will appear on each segment. The cross-section will be rectangular (4 points) based on the given stream width (see below). ISEGMCOL= (optional) IPFTOISG Enter the name of the IPF file, e.g. IPFFILE=D\DATA\STREAM.IPF. Enter the column number in the IPF file that represents the X-coordinate (m), e.g. IXCOL=2, by default IXCOL=1. Enter the column number in the IPF file that represents the Y-coordinate (m), e.g. IYCOL=3, by default IYCOL=2. Enter the column number in the IPF file that represents the stream label, e.g. ILABELCOL=5, by default ILABELCOL=3. This will be used to label the stream in the ISG file. If the label appeared to be empty (not available), the stream segment identification will be used as given by the keyword ISEGMCOL. In the end the segment name in the ISG file becomes “S_{stream label}_R_{i}” where i is the sequential order number. Enter the column number in the IPF file that represents the stream segment identification, e.g. ISEGMCOL=5, by default ISEGMCOL=4. If two following pairs of coordinates in the IPF have similar stream segment identification, they become a segment in the ISG file. Enter the column number in the IPF file that represents the stream total width (m), e.g. IWIDTHCOL=6, by default IWIDTHCOL=5. Enter the column number in the IPF file that represents the stream bottom height (m+MSL), e.g. IBOTTOMCOL=8, by default IBOTTOMCOL=6. Enter the column number in the IPF file that represents the stream stage (m+MSL), e.g. ISTAGECOL=12, by default ISTAGECOL=7. Enter the column number in the IPF file that represents the stream bed permeability (m/d), e.g. IPERMCOL=2, by default IPERMCOL=8. Enter the date for which the data will be recorde in the ISG file, e.g. SDATE=20101231123030 to represent the 31st of December 2010 at 12:30:30, by default SDATE=20000101000000. Enter the name of the ISG file that need to be created, e.g. SFRFILE=D\MODEL\SFR_RESULT.ISG. T FUNCTION= IPFFILE= IXCOL= (optional) IYCOL= (optional) ILABELCOL= (optional) DR AF 8.3.9 IWIDTHCOL= (optional) IBOTTOMCOL= (optional) ISTAGECOL= (optional) IPERMCOL= (optional) SDATE= (optional) ISGFILE= Example: FUNCTION=IPFTOISG IPFFILE=D\DATA\STREAM.IPF. ISGFILE=D\MODEL\SFR.ISG. ILABELCOL=4 ISEGM=3 The example above will produce a new ISG files compatible with the SFR package, for more clarification an example is given for the IPF file as well. This file will create 2 ISG segment called S_2391526_R_1 and S_2391526_R_2. 3 8 X Y SECTION NAME WIDTH WATERLEVEL BOTTOMLEVEL Deltares 445 of 812 iMOD, User Manual DR AF T PERM 0,TXT 459420.449184,5495001.214598,252-2391526,"2391526",4.000000,90.72400,89.724000,100.000 459327.814399,5495038.775708,252-2391526,"2391526",4.000000,90.27100,89.271000,100.000 459235.179516,5495076.336717,252-2391526,"2391526",2.000000,89.14100,88.141000,100.000 446 of 812 Deltares iMOD Batch functions GENSNAPTOGRID-Function The GENSNAPTOGRID function can be used to rasterize a GEN file for a given raster. This gives more grip on the way these GEN files will be applied in a model for particular cell sizes. This GEN file can be transformed into a 3D GEN file as well. FUNCTION= IDFFILE= (optional) GENFILE= WINDOW= (optional) CELL_SIZE= (optional) GENFILE_OUT= GENSNAPTOGRID Enter an IDF file for which the dimensions will be used to rasterize the specified GENFILE, e.g. IDFFILE=D:\BND\BND.IDF. Enter the name of a GEN-file, e.g. GENFILE=D:\DATA\AREA.GEN. These vertices in the GENFILE will be rasterized on the specified network via IDFFILE or an entered window and cell size. Enter the coordinates of the window that need to be computed, solely. Enter coordinates of the lower-left corner first and then the coordinates of the upperright corner, e.g. WINDOW=100000.0, 400000.0, 200000.0, 425000.0. When WINDOW= is absent, the dimensions of the specified IDFFILE will be used. Enter the cellsize of the grid that need to be used to rasterize the GEN file, e.g. CELL_SIZE=100.0. Enter the name of a GEN-file to be created, e.g. GENFILE_OUT=D:\DATA\AREA_RASTER.GEN. Specify I3D=1 whenever the GEN file need to be transformed into a 3D GEN file. By default I3D=0 and a regular, 2D GEN is created. Give an IDF file that represents the uppermost values of the GEN file, e.g. IDF_TOP=D:\FAULTS\BR-T-CK.IDF. Specify this keyword whenever I3D=1. Give an IDF file that represents the lowermost values of the GEN file, e.g. IDF_TOP=D:\FAULTS\BR-B-CK.IDF. Specify this keyword whenever I3D=1. T 8.4.1 GEN-FUNCTIONS DR AF 8.4 I3D= (optional) IDF_TOP= IDF_BOT= Example 1 FUNCTION=GENSNAPTOGRID IDFFILE= D:\BND\BND.IDF GENFILE=D:\DATA\AREA.GEN GENFILE_OUT=D:\DATA\AREA_RASTER.GEN The above mentioned example will rasterize the AREA.GEN on the dimensions of the specified BND.IDF, see the results on the next figure. Deltares 447 of 812 iMOD, User Manual Example 2 FUNCTION=GENSNAPTOGRID IDFFILE= D:\BND\BND.IDF GENFILE=D:\DATA\AREA.GEN GENFILE_OUT=D:\DATA\AREA_RASTER.GEN I3D=1 IDF_TOP= D:\GEOLOGY\TOP_KI.IDF IDF_BOT= D:\GEOLOGY\BOT_KI.IDF DR AF T The above mentioned example will rasterize the AREA.GEN on the dimensions of the specified BND.IDF and generates a 3D GEN using the values of the specified TOP- and BOT IDF files, see the results on the next figure. 448 of 812 Deltares iMOD Batch functions GEN2GEN3D-Function The GEN2GEN3D function reads a GEN file and creates a 3-D GEN file (see section 9.10) to be displayed in the 3-D tool or used in the runfile of iMODFLOW. IDF_TOP= IDF_BOT= GENFILE_OUT= XSAMPLING= (optional) GEN2ISG Give a GEN file containing x and y coordinates of GEN segments, e.g. GENFILE_IN=D:\FAULTS\FAULT.GEN. Give an IDF file that represents the uppermost values of the GEN file, e.g. IDF_TOP=D:\FAULTS\BR-T-CK.IDF. Give an IDF file that represents the lowermost values of the GEN file, e.g. IDF_TOP=D:\FAULTS\BR-B-CK.IDF. Specify the yielding GEN file, e.g. GENFILE_OUT=D:\FAULTS\FAULT_BR.GEN. Specify the sampling distance to add z-coordinates to the GEN file, e.g. XSAMPLING=100.0 will add a point each 100 meter. If this keyword is absent, XSAMPLING will be equal to the cell size of the IDF file entered at IDF_TOP. Example 1 T FUNCTION= GENFILE_IN= DR AF 8.4.2 FUNCTION=GEN2GEN3D GENFILE_IN=D:\MODEL\FAULTS\FAULT.GEN IDF_TOP=D:\GEOLOGY\TOP_BREDA.IDF IDF_BOT=D:\GEOLOGY\BOT_BREDA.IDF XSAMPLING=250.0 GENFILE_OUT=D:\MODEL\FAULTS_BREDA.GEN Above an example is given how to use the GEN2GEN3D. This example will generate and 3-D GEN file based on top- and bottome elevations of the geological formation BREDA; the result GEN is written in D:\MODEL\FAULTS_BREDA.GEN. Deltares 449 of 812 iMOD, User Manual IPFSTAT-Function The IPFSTAT function can be used to perform statistical analyses on timeseries that are defined in IPF files as associated files. FUNCTION= IPF1= OUTFILE= VARIABLES= IPFSTAT Enter the name of an *.IPF file for which the associated timeseries need to be analysed, e.g. {installfolder}\MEASURE.IPF. Specify a filename for the resulting IPF (or GEN whenever a GENFILE is specified), e.g. {installfolder}\RESULT.IPF. Specify the number of variables to be computed. Only IPF1 specified: 1. Auto-Correlation - Correlation - MeanLag - NumberPoints 2. P50 over entire data period 3. (n)GxG starts at DMY1 and end at DMY2 - GHG - GLG - n(GxG) Both IPF1 and IPF2 specified: 1. Cross-Correlation - Correlation - MeanLag - NumberPoints 2. P50 IPF1 over overlapping data period IPF1 and IPF2 3. P50 IPF2 over overlapping data period IPF1 and IPF2 4. (n)GxG IPF1 starts at DMY1 and end at DMY2 - GHG - GLG - n(GxG) 5. (n)GxG IPF2 starts at DMY1 and end at DMY2 - GHG - GLG - n(GxG) Enter the variables by their subsequent numbers, e.g. VARIABLES=0, 1, 0 in case IPF1 is specified solely, it will compute the P50 only. Or VARIABLES=0, 0, 0, 1, 1 in case IPF1 and IPF2 are both specified, in this case for both the (n)GxG will be computed. Enter the column number that contains the date expression in the txt files associated to the first IPF file, on default ICOLDATE1=1. Enter the column number that contains the data, e.g. the measurement/computed head in the txt files associated to the first IPF file, on default ICOLDATE2=2. Enter the name of a second *.IPF file for which the associated timeseries need to be analysed and compared to those in IPF1, e.g. {installfolder}:\COMPUTED.IPF. Be aware that the number of VARIABLES change whenever IPF2 is absent. Enter the column number that contains the date expression in the txt files associated to the second IPF file, on default ICOLDATE2=1. Enter the column number that contains the data, e.g. the measurement/computed head in the txt files associated to the second IPF file, on default ICOLDATE2=2. Enter the name of a *.GEN-file that needs to be used to aggregate value upon its individual polygons. This option is valid in combination with IPF2 only. T 8.5.1 IPF-FUNCTIONS DR AF 8.5 ICOLDATE1 ICOLVARS1 IPF2= ICOLDATE2 ICOLVARS2 GENFILE= 450 of 812 Deltares iMOD Batch functions IINVERSE= RELATECOLIPF1= RELATECOLIPF2= XLAG= DLAG= DR AF DMY1= DMY2= Enter the percentiles to be computed for each individual polygon in the given GENFILE, e.g. 0.10, 0.90. If absent, PERCENTILES=0.10, 0.25, 0.50, 0.75, 0.90. This option is valid in combination with GENFILE only. Enter IINVERSE=0 to use PERCENTILES as defined, however, enter IINVERSE=1 to find the percentiles that belong to the values entered by PERCENTILES. This option is valid in combination with GENFILE only. Enter the column number in IPF1 and IPF2 that need to be used to relate between the data in IPF1 and IPF2. This option is valid in combination with IPF2 only. Specify the lagwidth to be used to compute the auto/cross correlation, e.g. XLAG=30 means that the auto/cross correlation will be computed over 30 (days). If absent XLAG=0.0 an auto/cross correlation will be computed between measurements on similar dates. Specify the lag distance to be used to extent the search area, e.g. DLAG=7 means that 7 (days) before and 7 (days) after the given date+XLAG will be used to search for data. If absent DLAG=7.0 (days). Specify a starting and end date, both notated by yyyymmdd, e.g. 20110131 to express 31th January 2011. If absent these values are DMY1=19000101 and DMY2=21001231, respectively. Both will be used for VARIABLES that compute (n)GxG values. Enter the name of an IDF-file that represent the surfacelevel, e.g. SURFACELEVEL=D:\DATA\AHN.IDF. This will be used to express the GxG value according to this surfacelevel. T PERCENTILES= SURFACELEVEL= Example 1 FUNCTION=IPFSTAT IPF1=D:\TESTS\TEST.IPF OUTFILE=D:\TESTS\OUT.IPF VARIABLES=0,1,0 The example above computes the median groundwaterlevels (or equivalent) that are associated with the IPF file TEST.IPF. The result is stored in OUT.IPF. Example 2 FUNCTION=IPFSTAT IPF1=D:\TESTS\MEASURE.IPF IPF2=D:\TESTS\MODEL.IPF OUTFILE=D:\TESTS\RESIDUAL.IPF VARIABLES=1,0,0,0,0 RELATECOLIPF1=4 RELATECOLIPF2=3 ICOLDATE2=1 ICOLVARS2=2 The example above, computes the cross-correlation between the measurements associated with the MEASURE.IPF and the computed values associates with the MODEL.IPF. The relation-columns are 4 and 3 for the MEASURE.IPF and MODEL.IPF, respectively. Deltares 451 of 812 iMOD, User Manual IPFSPOTIFY-Function The IPFSPOTIFY function can be used to spotify geological formations in existing model discretisations. It gives per modellayer the fraction that a geological formation exists. IPFSPOTIFY Enter the name of an *.IPF file for which the locations need to be spotified in the selected op geological formations, e.g IPFFILE_IN=D:\WELLS.IPF. IPFFILE_OUT= Specify an IPF file for which the fraction per geological formation will be saved, e.g. D:\RESULT.IPF. IXCOL= Specify the column number in the IPFFILE_IN that defines the X coordinates, by default IXCOL=1. IYCOL= Specify the column number in the IPFFILE_IN that defines the Y coordinates, by default IYCOL=2. IFCOL= Specify the column number in the IPFFILE_IN that defines the attribute for which the fraction need to be computed, by default IFCOL=3. IZ1COL= Specify the column number in the IPFFILE_IN that defines the top elevation to spotify underneath, by default IZ1COL=4. IZ2COL= Specify the column number in the IPFFILE_IN that defines the bottom elevation to spotify above, by default IZ2COL=5. ILCOL= Specify the column number in the IPFFILE_IN that defines the modellayer, by default ILCOL=6. Specify the output folder in which all IDF files will be saved with the individual fractions per geological formation per model layer, e.g OUTPUTFOLDER=D:\AQUIFER Specify the number of model layers to be spotified, e.g NLAY=10 Specify the top elevation for the ith model layer, e.g TOP_L2=D:\MODEL\TOP_L2.IDF. Specify the bottom elevation for the ith model layer, e.g BOT_L2=D:\MODEL\BOT_L2.IDF. Specify the folder that stores the TOP elevation of geological formations, e.g. FORMTOP=D:\GEOLOGY\*-T-CK.IDF. All files will be used that fit this wildcard definition. Specify the folder that stores the BOT elevation of geological formations, e.g. FORMBOT=D:\GEOLOGY\*-B-CK.IDF. All files will be used that fit this wildcard definition. T FUNCTION= IPFFILE_IN (optional)= DR AF 8.5.2 OUTPUT FOLDER (optional)= NLAY= TOP_{i}= BOT_{i}= FORMTOP= FORMBOT= Example 1 FUNCTION=IPFSPOTIFY IPFFILE_IN=D:\WELLS\TEST.IPF IPFFILE_OUT=D:\SPOTIFIED\OUT.IPF NLAY=2 TOP_L1=D:\MODEL\TOP_L1.IDF BOT_L1=D:\MODEL\BOT_L1.IDF TOP_L2=D:\MODEL\TOP_L2.IDF BOT_L2=D:\MODEL\BOT_L2.IDF REGISTOP=D:\REGIS\*-T-CK.IDF REGISBOT=D:\REGIS\*-B-CK.IDF The example above computes the fractions for each location in the IPFFILE_IN of all geological formations in REGISTOP and REGISBOT for each model layer. 452 of 812 Deltares iMOD Batch functions Example 2 FUNCTION=IPFSPOTIFY OUTPUTFOLDER=D:\FRACTIONS\AQUIFER NLAY=2 TOP_L1=D:\MODEL\TOP_L1.IDF BOT_L1=D:\MODEL\BOT_L1.IDF TOP_L2=D:\MODEL\TOP_L2.IDF BOT_L2=D:\MODEL\BOT_L2.IDF REGISTOP=D:\REGIS\*-T-CK.IDF REGISBOT=D:\REGIS\*-B-CK.IDF DR AF FUNCTION=IPFSPOTIFY OUTPUTFOLDER=D:\FRACTIONS\AQUITARD NLAY=1 TOP_L1=D:\MODEL\BOT_L1.IDF BOT_L1=D:\MODEL\TOP_L2.IDF REGISTOP=D:\REGIS\*-T-CK.IDF REGISBOT=D:\REGIS\*-B-CK.IDF T The example above, computes the fractions for each cell in the model layers for each geological formation defined by the REGISTOP and REGISBOT keywords, the results are stored in the AQUIFER folder. To spotify aquitards in it is neccessary to switch the top and bottom elevations, e.g. Deltares 453 of 812 iMOD, User Manual IPFSAMPLE-Function The function IPFSAMPLE samples IDF-files to add values to the points defined in an IPF file. FUNCTION= IPFFILE_IN= IPFFILE_OUT= SOURCEDIR= IXCOL T IYCOL IPFSAMPLE Enter the name of an IPF file with minimal 2 columns that represents xand y coordinates, e.g. D:\DATA\MEASURE.IPF. Enter the name of an IPF file that need to be written with the results of the IDF values from the specified IDFFILE, e.g. D:\DATA\CHECK.IPF. Results read from the IDF-files in SOURCEDIR, will be stored as an extra column in IPFFILE_IN, the label will be identical to the name of the IDF-files. Enter the name of an IDF-file that needs to be read by the points specified in the IPF file IPFFILE_IN, e.g. D:\DATA\RESULTS\HEAD.IDF. Enter the column number in the IPF file IPFFILE_IN that represents the X-coordinate, e.g. IXCOL=4. By default IXCOL=1. Enter the column number in the IPF file IPFFILE_IN that represents the Y-coordinate, e.g. IYCOL=6. By default IYCOL=2. Enter the column number to enter the sampled data from the IDF files, e.g. IACOL=3 which means that the entered starts at columns 3. By default IACOL=0 which means that the sampled data will be added at the end of the IPF file. IACOL DR AF 8.5.3 Example 1 FUNCTION=IPFSAMPLE IPFFILE_IN=D:\WELLS.IPF IPFFILE_OUT=D:\WELLS_KD.IPF SOURCEDIR=D:\DATA\KD*.IDF This example, adds values (columns) to all points in the IPF file WELLS.IPF, with the corresponding values from the KD*.IDF-files in the folder D:\DATA. Example 2 FUNCTION=IPFSAMPLE IPFFILE_IN=D:\WELLS.IPF IPFFILE_OUT=D:\WELLS.IPF SOURCEDIR=D:\DATA\KD*.IDF IXCOL=4 IYCOL=3 This example, adds values (columns) to all points in the IPF file WELLS.IPF, with the corresponding values from the KD*.IDF-files in the folder D:\DATA. The x- and y coordinates in the IPF file WELLS.IPF, will be read from the fourth and third column, respectively. 454 of 812 Deltares iMOD Batch functions IMPORTMODFLOW-Function Use this function to import an existing MODFLOW configuration into iMOD files (e.g. IDFs, IPFs and GENs), see for more information section 9.7. FUNCTION= MVERSION= BASFILE= NAMFILE= OUTDIR= LLCORNER= IMPORTMODFLOW Enter the version number of the MODFLOW configuration files, e.g. MVERSION=1988. There are four available versions supported: 1988, 1996, 2000 and 2005. Enter the location of the, so called, BAS file (use this keyword whenever MVERSION=1988), e.g. BASFILE=D:\MODEL\MODEL.BAS. Enter the location of the, so called, NAM file (use this keyword whenever MVERSION=1988, 1996, 2000 or 2005), e.g. NAMFILE=D:\MODEL\MODEL.NAM. Enter the folder in which all iMOD files will be saved, e.g. OUTDIR =D:\IMPORT. Subfolders will be created automatically to save the individual files, e.g. D:\IMPORT\BND\VERSION_1\BND_L1.IDF . By default OUTDIR =’.’ which means that the files will be saved directly at the current location of the iMOD executable. Enter the coordinates of the lower-left corner of your model, e.g. XMIN=200000.0,YMIN=400000.0 (all in meters). By default XMIN=YMIN=0.0. Enter the starting date of your simulation, e.g. SDATE=20111027 which means 27th of October 2011. By default SDATE=20110101. Enter PACKAGESUM=1 to sum all existing package information into a single modelcell, this is the default. Whenever more elements occur in a single modelcell, they will be lumped together to form one value. Enter PACKAGESUM=0 to extract all elements in a single modelcell to store them, if necessary, in individual iMOD files. Enter RIV5TH=1 to include a 5th column in the river files that expresses the infiltration resistance. On default RIV5TH=0. T 8.6.1 MODEL-FUNCTIONS DR AF 8.6 SDATE= PACKAGESUM= RIV5TH= Example 1 FUNCTION=IMPORTMODFLOW MVERSION=1988 BASFILE=D:\IMOD-MODEL\VELUWE\MS1L5.BAS This is the shortest version to import the MODFLOW model MS1L5. Example 2 FUNCTION=IMPORTMODFLOW MVERSION=2005 NAMFILE=D:\MODEL\GWR54\MODFLOW.NAM LLCORNER=125000.0,432000.0 SDATE=20050101 PACKAGESUM=0 RIV5TH=1 This example shows how to import a (transient) MODFLOW2005 configuration. Deltares 455 of 812 iMOD, User Manual IMPORTSOBEK-Function Use this function to import a SOBEK configuration into ISG-files for iMOD for more information. Note: This function is only available in the X32-bits version of iMOD. SOBEKDIR= IMPORTSOBEK Enter the name of the ISG-file to be created, e.g. ISGNAME=D:\IMPORT\SOBEK.ISG. Enter the name (location) of the SOBEK files, e.g. SOBEKDIR=D:\DATA. iMOD will search for all other files that it need in the folder D:\DATA, these files are: {SOBEKDIR}\NETWORK.TP {SOBEKDIR}\NETWORK.CR {SOBEKDIR}\NETWORK.CP {SOBEKDIR}\NETWORK.GR {SOBEKDIR}\NETWORK.ST {SOBEKDIR}\PROFILE.DAT {SOBEKDIR}\PROFILE.DEF {SOBEKDIR}\PROFILE.DEF {SOBEKDIR}\FRICTION.DAT T FUNCTION= ISGNAME= DR AF 8.6.2 CALCHIS= STRUCHIS= Enter the name of the HIS file that contains the computed waterlevels at the calculation points, e.g. CALCHIS=D:\SOBEK\CALC.HIS. Enter the name of the HIS file that contains the computed waterlevels at the structures, e.g. STRUCHIS =D:\SOBEK\STRUCT.HIS. Example 1 FUNCTION=IMPORTSOBEK ISGNAME=D:\IMPORT\HCMC0611.ISG SOBEKDIR=D:\SOBEK\HCMC0611 CALCHIS=D:\SOBEK\HCMC0611\CALCPNT.HIS STRUCHIS=D:\SOBEK\HCMC0611\STRUC.HIS The above mentioned examples imports the SOBEK model (files) in the folder D:\SOBEK\HCM0611\* and combines this with the computed results from the two entered HIS files (CALCPNT.HIS and STRUC.HIS) and saves it in HCMC0611.ISG. 456 of 812 Deltares iMOD Batch functions MODELCOPY-Function The function MODELCOPY can be used to extract a separate data set for a sub model from a large model. It can also be applied to copy the entire dataset as specified by the entered runfile into a separate folder. In this process, all IDF and IPF files that can be identified in a given runfile, will be clipped to the given window. Other files that are mentioned in the runfile will be copied. As a result a complete copy of a part of the original model will be saved and can be simulated separately. Note: Other files that might be referred to from files other than the specified runfile, will not be copied. TARGETDIR= WINDOW= (optional) CLIPDIR= (optional) MODELCOPY Enter the name of a runfile that contains a specific set of IDF-file(s), e.g. RUNFILE=D:\RUNFILES\MODEL.RUN. Enter the name of a folder in which the resulting files will be copied, e.g. TARGETDIR=D:\SUBMODEL. Specify a window (X1,Y1,X2,Y2) for which the entered RUNFILE will be clipped, WINDOW=125100.0,345000.0,135000.0,355000.0. By absence of this keyword, the extent of the model will be read from the runfile, including the corresponding cell size. CELL_SIZE= Specify a cellsize whenever the keyword WINDOW is specified, e.g. CELL_SIZE=250.0. Enter a foldername for which all filenames will be trimmed, e.g. CLIPDIR=D:\MODEL. If the original filenames are D:\MODEL\DRN\SYS1\DRN_EL_L1.IDF and D:\MODEL\DRN\SYS2\DRN_EL_L1.IDF, they will be saved in {TARGETDIR}\DRN\SYS1\DRN_EL_L1.IDF and {TARGETDIR}\DRN\SYS2\DRN_EL_L1.IDF, respectively. By omitting CLIPDIR, both files will be stored in {TARGETDIR}\DRN\DRN_EL_L1.IDF instead. T FUNCTION= RUNFILE= DR AF 8.6.3 Example 1 FUNCTION=MODELCOPY RUNFILE=D:\RUNFILES\MODEL.RUN TARGETDIR=D:\MODEL\SUBMODEL The above mentioned example copies all IDF and IPF files from the runfile D:\RUNFILES\MODEL.RUN and the result is saved in D:\MODEL\SUBMODEL. A new runfile is created that will be saved in D:\MODEL\SUBMODEL\MODEL.RUN. Use this configuration to create a cleaned up folder structure of the model. Example 2 FUNCTION=MODELCOPY RUNFILE=D:\RUNFILES\MODEL.RUN TARGETDIR=D:\MODEL\SUBMODEL WINDOW=147000.0 448000.0 155000.0 452000.0 CLIPDIR=D:\MODEL The above mentioned example is equal to example 1 except that it clips all IDF and IPF files from the runfile D:\RUNFILES\MODEL.RUN to the window 147000.0 448000.0 155000.0 452000.0 and the files remain their original filename under D:\MODEL. In this way complex structured in filename will be preserved. Deltares 457 of 812 iMOD, User Manual CREATESUBMODEL-Function Use this function to create submodels for iMODFLOW based on a pointer IDF that determines the active area to be simulated. IBOUND= SUBMODELFILE= CREATESUBMODEL Enter the maximum size of a submodel in meters, e.g. DSIZE=10000.0. Enter the cellsize to be used in the submodels, this will be used to fill in the appropriate column in the runfile, e.g. CSIZE=25. Enter the IDF-file that describes the location of active area to be simulated, e.g. IBOUND=D:\IBOUND_L1.IDF. Enter the name of the text file that will be created that stores the header of a runfile that describes the submodels, e.g. SUBMODELFILE=D:\SUBMODELS. iMOD will create a SUBMODELFILE.RUN to be used in a runfile and a SUBMODELFILE.GEN of the submodels to be displayed in iMOD. Example 1 FUNCTION=CREATESUBMODEL DSIZE=10000.0 CSIZE=25.0 IBOUND=D:\DBASE\IBOUND_L1.IDF SUBMODELFILE=D:\RUNFILE\SUBMODEL T FUNCTION= DSIZE= CSIZE= DR AF 8.6.4 The example above will create submodels with a maximum extent of 10000m (10km) and will write a runfile header with cellsizes of 25m. The IDF-file IBOUND.IDF will be used to determine the active areas of the model. iMOD creates boxes with 10x10km first and then decreases submodels whenever this is possible, moreover, whenever submodels become too small (25% of 10km), they will be joined together. 458 of 812 Deltares iMOD Batch functions RUNFILE-Function The function RUNFILE can be used to create a runfile (*.RUN) from a projectfile (*.PRJ), or create a projectfile from a runfile. FUNCTION= RUNFILE Enter the name of a runfile that contains a specific set of IDF-file(s), e.g. RUNFILE=D:\RUNFILES\MODEL.RUN. Enter the name of a projectfile that need to be created based on the content of the runfile specified by RUNFILE_IN, e.g. PRJFILE_OUT=D:\PRJFILES\MODEL.PRJ." PRJFILE_IN= Enter the name of a projectfile that need to be used to create a runfile specified (optional) by RUNFILE_OUT, e.g. PRJFILE_IN=D:\PRJFILES\MODEL.PRJ. RUNFILE_OUT= Enter the name of a runfile that will be created, e.g. RUN(optional) FILE_OUT=D:\RUNFILES\MODEL.RUN. NAMFILE_OUT= Enter the name of a namfile that will be created, e.g. NAM(optional) FILE_OUT=D:\NAMFILES\MODEL.NAM. OUTPUT_ Enter the name of an output folder that will be created to save the results of FOLDER= the model simulation, e.g. OUTPUT_FOLDER=D:\MODEL\OUTPUT. In the situ(optional) ation that RUNFILE_OUT is entered, this keyword will add the output folder at the first line of the runfile, in the situation that NAMFILE_OUT is entered, the OUTPUT_FOLDER will be written in the *.MET file. IDEBUG= Enter IDEBUG=0 to generate a MF2005 compatible model, all (optional) arrays are listed in *.ARR files if needed. Use IDEBUG=1 or IDEBUG=2 to export all model input to ASC or IDF, respectively. ISS= Specify the type of time configuration to be added to the RUNFILE or NAMFILE; (optional) for transient enter ISS=1 and for steady state enter ISS=0. By default ISS=0. Specify following keywords for transient configurations (ISS=1) TIMFNAME= Specify the name of the *.TIM file that contains the (optional) time discretisation of the model to be created, TIMFNAME=D:\RUNFILES\MODEL.TIM. For more information on the content of a *.TIM file see section 9.4. SDATE= Specify a starting date of the simulation in yyyymmddhhmmss (optional) format, e.g. SDATE=20120101080000 to denote the 1st of January 2012 at 08:00:00 am. This keyword is only compulsory whenever TIMFNAME is absent. EDATE= Specify a starting date of the simulation in yyyymmddhhmmss (optional) format, e.g. EDATE=20121231153030 to denote the 31st of December 2012 at 15:30:30. This keyword is only compulsory whenever TIMFNAME is absent. T RUNFILE_IN= (optional) PRJFILE_OUT= (optional) DR AF 8.6.5 Deltares 459 of 812 iMOD, User Manual ITT= (optional) Specify a time interval category, e.g. ITT=2 to denote days. The other are: 1 Hourly Select this option to generate hourly stress-periods; 2 Daily Select this option to generate daily stress-periods; 3 Weekly Select this option to generate weekly stress-periods; 4 Decade Select this option to generate stress-periods per decade; 5 14/28 DR AF T Select this option to generate stress-periods on the 14th and 28th day of each month; 6 Monthly Select this option to generate monthly stress-periods; 7 Yearly Select this option to generate yearly stress-periods; 8 Packages Select this option to generate stress-periods that are determined by the input data IDT= (optional) ISTEADY= (optional) NSTEP= (optional) NMULT= (optional) This keyword is only compulsory whenever TIMFNAME is absent. Specify a time interval of the time steps corresponding to the chosen time interval category ITT, e.g. IDT=7 to denote the 7 days whenever ITT=2. This keyword is only compulsory whenever TIMFNAME is absent. Specify ISTEADY=1 to include an initial steady-state time step to the model. This will add packages with the time stamp STEADY-STATE to the first stress-period of your model. By default ISTEADY=0. Specify the number time step within each stress period, e.g. NSTEP=10. Whenever a model suffers some convergence issues, increase the number of time steps might help. Also, steady-state convergence problems can be overcome by creating a transient model with enough time step. By default NSTEP=1. Specify the multiplication factor in which the step size of each subsequent time step will increase, e.g. NMULT=1.2. The factor need to ≥ 1.0. The higher the number to more explosive the size will increase in subsequent time steps according to: ∆ti = ∆Tj SSYSTEM= (optional) ISAVEEND DATE= (optional) 460 of 812 NMULT − 1 NMULTNSTP − 1 (8.1) wherein ∆i is the current length of the time step i, ∆Tj is the total length of the current stress period j . By default NMULT=1.0. Specify SSYSTEM=1 to save each system for a package by a separate file. By default SSYSTEM=0. Specify ISAVEENDDATE=1 to save each file with a time stamp equal to the end of the corresponding stress period (and/or time step). By default ISAVEENDDATE=0 and the time stamp will be equal to the start date of each stress period (and/or time step). This option is applicable whenever NAMFILE_OUT is specified, whenever RUNFILE_OUT is specified, this keyword doesn’t have any effect. Deltares iMOD Batch functions Specify IPKS=1 to apply the PKS package instead of the PCG package. The PKS seems to be more robust than the PCG solver, so you might want to use this PKLS solver in case of non-convergency due to huge contrasts in conductivities and/or using the multi-core applications. This option is applicable whenever NAMFILE_OUT is specified, whenever RUNFILE_OUT is specified, this keyword doesn’t have any effect. ICHKCHD= Specify ICHKCHD=1 to convert constant head cells (from the read starting heads) (optional) that are not belonging to the layer to which they are assigned. If a value exceeds the top of a model layer to which it is assigned, the boundary value is turned into 99 and is converted to an active node. This option is applicable whenever NAMFILE_OUT is specified, whenever RUNFILE_OUT is specified, this keyword doesn’t have any effect. ICONCHK= Use this keyword to correct the drainage levels automatically during a simulation. (optional) Whenever ICONCHK=1 the drainage level will be higher or equal to existing level from the RIV and/or ISG package. This prevents undesired circulation of groundwater between drainage system underlying an infiltrating river system. By default ICONCHK=0 and no corrections are performed. IDOUBLE= Use this keyword to save all results from the simulation in double precision. (optional) Whenever IDOUBLE=0 (default) a single precision value is saves, whenever IDOUBLE=1 a double precision is saved. Be ware that all files will be affected by this and therefore the total space that will be occupied by the results will be doubled. IFVDL= Use this keyword to use the Formulae of ”Van de Lange“ for the correction of (optional) river conductances. This keyword can be used whenever the PRJ file contains TOP and BOT definitions as well as KHV. The SFT package might be used to include permeabilities and thickness used by the formulae, otherwise, if this SFT package is absent, de values from the model will be used. By default IFVDL=0 and no corrections are performed. MINKD= Use this keyword to assign a minimal horizontal conductance KD (m2 /d) to (optional) maximize the computed conductances, internally, e.g. MINKD=0.01, by default MINKD=0.0. MINC= Use this keyword to assign a minimal vertical resistance C (d) to maximize the (optional) computed vertical resistances, internally, e.g. MINC=1.0, by default MINC=0.0. UNCONFINED= Use this keyword to include unconfined conditions for model layers, e.g. UN(optional) CONFINED=1,1,1,0,0,0 by default UNCONFINED=0 and model layers are confined. So, if NLAY=10 and UNCONFINED=1,1,1 this means that the first three model layers are unconfined, the remaining layers are confined. The values for UNCONFINED are: DR AF T IPKS= (optional) 0 The model layer is confined, the saturated thickness is defined by the topand bottom elevation per model layer; 1 The model layer is unconfined, the saturated thickness is defined by the compute hydraulic head and the bottom elevation per model layer; 2 The model layer is confined by the saturated thickness is defined by the starting heads and the bottom elevation per model layer. IPEST= (optional) Deltares It is obligatory to include the modules STO and SPY whenever unconfined conditioned are simulated for a transient model. iMOD will add and configure the WETDRY option automatically. Use this keyword to include the parameter optimisation package PST, e.g. IPEST=1, by default IPEST=0 and the model is simulated conventionally. 461 of 812 iMOD, User Manual SAVESHD= SAVEWEL= SAVEDRN= SAVERIV= SAVEGHB= SAVERCH= SAVEEVT= SAVEMNW= SAVELAK= SAVESFR= SAVEUZF= SAVEFHB= (all optional) SAVEFLX= (optional) Use these keywords to save the hydraulic head per layer or/and results for the WEL, DRN, RIV, GHB, RCH, EVT, LAK, MNW, SFR, FHB and UZF package, e.g. SAVESHD=3,4,10 to note that model layers 3, 4 and 10 will be saved only, by default all keyword are 0, meaning no layers will be saved. Specify SAVESHD=1 to denote that ALL layers will be saved, this is similar for the other packages, except for the SFR and UZF package, specifying more layers does not have any effect. DR AF T Use this keyword to include layers to be saved for the spatial fluxes in x,y and z direction, e.g. SAVEFLX=3,4,10 to note that model layers 3, 4 and 10 will be saved only, by default SAVEFLX=0, meaning no layers will be saved. Specify SAVEFLX=-1 to denote that ALL layers will be saved. Part of this, the BDGFFF, BDGFRF, BDGFLF and BDGBND will be saved. NETWORKIDF= Specify an IDF file that represents the network for the simulation, e.g. NET(optional) WORKIDF=D:\MODEL \NETWORK.IDF. This keyword is optional, whenever this keyword is absent the network is defined by the first IDF file in the entered PRJ file or specified by the keyword WINDOW. WINDOW= Specify a window (X1,Y1,X2,Y2) for which the constructed RUNFILE will be (optional) clipped, e.g. WINDOW=125100.0,345000.0,135000.0,355000.0. CELLSIZE= Specify a cell size to be used, e.g. CELLSIZE=25.0. This keyword is necessary and read whenever the WINDOW keyword is entered. BUFFER= Specify a buffer to be added to the specified window (WIN(optional) DOW), e.g. BUFFER=1500.0. This keyword is optional and the default value is BUFFER=0.0. BUFFERCS= Specify a maximal cell size in the buffer, e.g. (optional) BUFFERCS=100.0. This keyword is optional and read whenever BUFFER is specified and greater than 0.0 meter. ISOLVE= Enter ISOLVE=1 to start a simulation after generating a RUNFILE or NAMFILE, (optional) by default ISOLVE=0. MODFLOW= Whenever ISOLVE=1, enter the simulator, e.g. MODFLOW=D:\PROGRAMS\IMODFLOW.EXE. Example 1 FUNCTION=RUNFILE RUNFILE_IN=D:\RUNFILES\MODEL.RUN PRJFILE_OUT=D:\PRJFILES\MODEL.PRJ The above mentioned example creates a projectfile D:\PRJFILES\MODEL.PRJ file out of the runfile D:\RUNFILES\MODEL.RUN. Example 2 FUNCTION=RUNFILE PRJFILE_IN=D:\PRJFILES\MODEL.PRJ RUNFILE_OUT=D:\RUNFILES\MODEL.RUN WINDOW=147000.0 448000.0 155000.0 452000.0 CELLSIZE=25.0 BUFFER=1500.0 SDATE=19940101120000 EDATE=20121231235959 ITT=3 462 of 812 Deltares iMOD Batch functions IDT=2 The above mentioned example creates runfile D:\RUNFILES\MODEL.RUN, based on the content of the projectfile D:\PRJFILES\MODEL.PRJ for a specified window. The model starts at the 1st of January 1994 at 12:00:00 am and ends at the 31st of December 2012 at 23:59:59 am at uses two-weekly time steps. Example 3 T FUNCTION=RUNFILE PRJFILE_IN=D:\PRJFILES\MODEL.PRJ NAMFILE_OUT=D:\NAMFILES\MODEL.NAM TIMFILE_OUT=D:\TIMFILES\MODEL.TIM ISOLVE=1 MODFLOW=D:\PROGRAM\IMODFLOW.EXE DR AF The above mentioned example creates a Modflow2005 configuration NAMFILE D:\NAMFILES\MODEL.NAM, based on the content of the projectfile D:\PRJFILES\MODEL.PRJ for a times discretisation specified in the *.TIM file D:\TIMFILES\MODEL.TIM. After that, it starts the simulation using the simulator D:\PROGRAM\IMODFLOW.EXE. Deltares 463 of 812 iMOD, User Manual IMODPATH-Function The function IMODPATH computes flowlines based on the budget terms that result from the iMODFLOW computation. The IMODPATH function uses a very simple runfile. For more information see section 7.14. FUNCTION= IRUN= (optional) T RUNFILE= (optional) IMODPATH Specify IRUN=1 to start a particle simulation, apply IRUN=0 to skip the particle simulation and perform a post processing solely, if IPOSTP=1. By default IRUN=1. Enter the name of the runfile that describes the files needed for the iMODPATH simulation, e.g. RUNFILE=D:\MODEL\SIM.RUN. This keyword is compulsory whenever IRUN=1. The content of such a runfile is as follows: NLAY Enter the number of model layers, e.g. NLAY=8 NPER,ISTO Enter the number of stress periods, .e.g. NPER=1 and whether fluxes from storage need to be read in, in case a transient simulation is carried out. The storage flux will correct the total water balance and influence whether an unbalance will denote a weak/strong sink. Whenever the absolute unbalance is larger than 0.01 m3 /d, iMODPATH will treat the location as a potential weak/strong sink. The parameter ISTO is optional and whenever it is absent the flow from storage is as assumed to be zero. NSDF Enter the number of SDF files to be computed, sequentially. En(optional) ter a value for this only whenever NSDF≥2. Leave this keyword out, whenever a single ISDFILE and OUTFILE is entered. ISDFILE / Enter the name of the startpoint file, see section 7.13 for more IPFFILE information about this type of file (see section 9.19 for the actual syntax). Repeat this, together with OUTFILE for NSDF-times whenever NSDF is specified and NSDF≥2. Alternatively an IPF file can be specified. It is compulsory to specify at least three columns whereby the first three columns are reseverd for the x-, y- and z-coordinate. OUTFILE Enter the name of the result file. The extent will be added or replaced to the appropriate output format (IFF and/or IPF), e.g. D:\d:\RESULT. Repeat this, together with ISDFILE for NSDFtimes whenever NSDF is specified and NSDF≥2. IMODE Enter the mode of the results to be achieved, use IMODE=1,0 for flowlines and IMODE=0,1 for endpoints only. For example IMODE=1,1 will save both particles in the IFF and IPF format. IFWBW Enter the direction of the tracing, use IFWBW=0 for a forward tracing and IFWBW=1 for a backward tracing. ISNK Specification on how to handle “weak”-sinks. Particles will continue at weak sinks for ISNK=1 as they stop at weak sinks for ISNK=2. The latter can be specified as a fraction for ISNK=3, see keyword FRACTION. FRACTION Specify the fraction of the total outflow to be a measure to determine whether particles should stop or continue in a model with a “weak”-sink. FRACTION=1.0 to let particles stop at a strong sink only, as FRACTION=0.0 act as particles will always stop, no matter the size of the total outflow (ISNK=1). STOPCRIT Enter the stop criteria. Specify STOPCRIT=1 to stop the particle as its age becomes equal to MAXT; specify STOPCRIT=2 to repeat the transient period in the time window as specified by the keywords SWINDOW and EWINDOW until the particles meets the MAXT criterion or stops in a weak/strong sink. Or, alternatively set STOPCRIT=3 to continue with the last results at the end of the time window until the particle terminates. This keyword STOPCRIT is only applicable whenever NPER> 1. MAXT Enter the maximum tracing time (days). DR AF 8.6.6 464 of 812 Deltares iMOD Batch functions STARTDATE SWINDOW EWINDOW Enter the startdate for the particle tracing, e.g. 19960414 to express the 14th of April 1994. This keyword is used only whenever NPER > 1, but you need to specify an artificial STARTDATE for NPER=1. Enter the start date for the time window in which the particle tracing will operate, e.g. 19960414 to express the 1st of April 1994. Only used whenever NPER > 1, but you need to specify an artificial SWINDOW for NPER=1. Enter the end date for the time window in which the particle tracing will operate, e.g. 20040328 to express the 28th of March 2004. Only necessary whenever NPER > 1, but you need to specify an artificial EWINDOW for NPER=1. Repeat the following NLAY-times TOP BOT DR AF PORAQF PORAQT Enter the boundary condition (IDF). Particle tracing will pass through boundary values > 0 only. Enter the top elevation (IDF or constant value) of a modellayer (m+MSL). Enter the bottom elevation (IDF or constant value) of a modellayer (m+MSL). Enter the porosity (IDF or constant value) of the aquifer (-). Enter the porosity (IDF or constant value) of the aquitard (-). Specify this keyword for model layers < NLAY. T IBOUND Repeat the following NLAY times and NPER times Enter the IDF file that represents the water budget (m3 /day) along the x axes (columns) at the eastern border of each cell; positive flow is westwards, negative is eastwards. BDGFFF Enter the IDF file that represents the water budget (m3 /day) along the y axes (rows) at the southern border of each cell; positive flow is northwards, negative flow is southwards. BDGFLF Enter the IDF file that represents the water budget (m3 /day) along the z axes (layers) at the lower border of each cell; positive flow is upwards, negative flow is downwards. Specify this keyword for model layers 1 up to NLAY-1. BDGSTO Enter the IDF file that represents the water budget (m3 /day) that (optional) goes into storage; positive flow is going out of the storage, negative flow is going into the storage. This parameter is only needed whenever ISTO=1. WINDOW= Specify a window (X1,Y1,X2,Y2) for which the constructed model will be sim(optional) ulated, e.g. WINDOW=125100.0,345000.0,135000.0,355000.0. This might increase the efficiency as only a part of the model need to be allocated and read in. ICONVERTGEN= Specify ICONVERTGEN=1 to convert the results of the pathline simulation as (optional) well into a GEN (see 9.10) and DAT file (see 9.11). Bij default ICONVERTGEN=0 and no conversion will occur. IPOSTP= Use IPOSTP=1 to include a post processing direct after the pathline simulation. (optional) This post processing will separate the IFF and/or IPF files to a given selection criterion. By default IPOSTP=0. BDGFRF The following keyword are applicable only whenever IPOSTP=1 IFFFLOW= (optional) IPFFLOW= (optional) Deltares Enter the name of the IFF file (generated by the pathline simulation) to be processed, e.g. IPFFLOW=D:\RESULT\PATHLINES.IFF. By default no IFF file will be processed. Enter the name of the IPF file (generated by the pathline simulation) to be processes, e.g. IPFFLOW=D:\RESULT\PATHLINES.IPF. By default no IPF file will be processed. 465 of 812 iMOD, User Manual DR AF TOPFNAME= (optional) Enter the IPF file to be used to separate the content of the IFFFLOW and or IPFFLOW file names to the labels (ILABELCOL) as specified in the IPFFNAME, e.g. D:\INPUT\WELLS.IPF IDFFLOW= Specify an IDF file that will be used to map the points from the IPF file given at IPFFNAME on a network in order to match them with the results in the IPF and/or IFF file given at IPFFLOW and IFFFLOW, respectively, most common is to use a random IDF from the result map of the simulation results, used for the particle simulation, e.g. IDFFLOW=D:\RESULT\HEAD_STEADYSTATE_L1.IDF. IXCOL= Enter the column number in the given IPF file IPFFNAME that represents the X-coordinate, e.g. IXCOL=1. IYCOL= Enter the column number in the given IPF file IPFFNAME that represents the Y-coordinate, e.g. IYCOL=2. ILABELCOL= Enter the column number in the given IPF file IPFFNAME that represents the label, e.g. ILABELCOL=3. For each unique label, a separate IPF and/or IFF will be constructed. ILAYCOL= Enter the column number in the given IPF file IPFFNAME that represents the model layer, e.g. ILAYCOL=4. Enter the IDF file to be used to identify the top of an interface that need to be used to separate IPF and/or IFF file that are underneath the interface, e.g. D:\INPUT\TOP_L1.IDF, by default no top is given and in that case all is valid. Any NodataValue in the IDF file will be used to exclude any particle. Enter the IDF file to be used to identify the bot of an interface that need to be used to separate IPF and/or IFF file that are above the interface, e.g. D:\INPUT\BOT_L7.IDF, by default no bottom is given and in that case all is valid. Any NodataValue in the IDF file will be used to exclude any particle. Enter the extract option for the particles, choose from the following: T IPFFNAME= (optional) BOTFNAME= (optional) IEXTRACT= (optional) IEXTRACT=1 Choose this option to extract the entire particle that satisfies the top- and/or bottom criterion, if only a single segment of the particle meets the criterion the entire particle is exported; IEXTRACT=2 Choose this option to extract the particle until it satisfies the top- and/or bottom criterion, if only a single segment meets the criterion, the particle up to that location is extracted, the particle is not examined after that anymore, so a multiply agreement to the selection criterion does not hold; IEXTRACT=3 Choose this option to extract the entire particle onwards after it satisfies the top- and/or bottom criterion lastly at first agreement, so whenever a particle hits the selection criterion the extraction will start after the last segment that met this selection criterion; IEXTRACT=4 Choose this option to extract the entire particle that ends within any of the locations that satisfies the top- and/or bottom criterion. By default IEXTRACT=4. This option is also only valid for IPF files that are entered at IPFFLOW. Example 1 FUNCTION=IMODPATH RUNFILE=D:\IMOD\IMODPATH.RUN 466 of 812 Deltares iMOD Batch functions DR AF T and the content of the IMODPATH.RUN file: 2, !## NLAY 1, !## NPER 2 D:\STARTPOINTS\LAYER2.ISD D:\MODEL\CAPTURE_LAYER2.IFF D:\STARTPOINTS\LAYER3.ISD D:\MODEL\CAPTURE_LAYER3.IFF 1,1 !## IMODE 0, !## IFWBW 2, !## ISNK 0.50, !## FRACTION 1, !## ISTOP 0.1000E+31, !## MAXT 19960414, !## SDATE 19960401, !## SWINDOW 20040328, !## EWINDOW D:\IMOD-MODEL\IBOUND1.IDF, !## IBOUND D:\IMOD-MODEL\TOP1.IDF, !## TOP D:\IMOD-MODEL\BOT1.IDF, !## BOT 0.3, !## PORAQF 0.1, !## PORAQT D:\IMOD-MODEL\IBOUND2.IDF, !## D:\IMOD-MODEL\TOP2.IDF, !## D:\IMOD-MODEL\BOT2.IDF, !## 0.3, !## PORAQF D:\MODEL\BDGFRF\BDGFRF_STEADY-STATE_L1.IDF, !## BDGFRF D:\MODEL\BDGFFF\BDGFFF_STEADY-STATE_L1.IDF, !## BDGFFF D:\MODEL\BDGFLF\BDGFLF_STEADY-STATE_L1.IDF, !## BDGFLF D:\MODEL\BDGFRF\BDGFRF_STEADY-STATE_L2.IDF, !## BDGFRF D:\MODEL\BDGFFF\BDGFFF_STEADY-STATE_L2.IDF, !## BDGFFF The above mentioned example will do a particle simulation. Example 2 FUNCTION=IMODPATH IRUN=0 IPOSTP=1 IFFFLOW=D:\RESULT\PATHLINES.IFF IPFFLOW=D:\RESULT\PATHLINES.IPF IDFFLOW=D:\RESULT\HEAD_STEADY-STATE_L1.IDF IPFFNAME=D:\INPUT\WELLS.IPF IXCOL=1 IYCOL=2 ILAYCOL=3 ILABELCOL=4 The above mentioned example will NOT do a particle simulation (IRUN=0), but performs a post processing solely. Deltares 467 of 812 iMOD, User Manual DINO2IPF-Function This function will extract from a CSV file exported from DINO (TNO) appropriate data to generate an IPF file with borehole information attached to it. The content of the CSV file is prescribed on the next page. FUNCTION= CSVFILE= WINDOW= GENFILE= IPFFILE= DINO2IPF Enter a CSV file that contains the necessary information from the DINO database, e.g. CSVFILE=D:\DATA\DINO.CSV. The output file (IPF file) will be named after the CSVFILE. Moreover, you can specify a wildcard to transform more CSV files into a single IPF file, e.g. CSVFILE=D:\DATA\*.CSV. In this case you need to specify an IPF filename with the keyword IPFFILE=. Specify a window (X1,Y1,X2,Y2) for which the entered RUNFILE will be clipped, WINDOW=125100.0,345000.0,135000.0,355000.0. Enter a name for a GEN-file that contains a polygon that determines the area for which the CSV files need to be converted into the IPF files. Enter the name of the IPF file to be created, e.g. IPFFILE=D:\DINO.IPF. This keyword is obliged only whenever the CSVFILE contains a wildcard “*”. T 8.7.1 GEO-FUNCTIONS DR AF 8.7 Example 1: FUNCTION=DINO2IPF CSVFILE=D:\iMOD-DATA\DINO\*.csv IPFFILE=D:\iMOD-DATA\DINO\AREA.IPF WINDOW=130000.0,450000.0,141000.0,461000.0 This example imports all CSVFILES (*.csv) into the IPF file AREA.IPF for a particular window. Example 2: FUNCTION=DINO2IPF CSVFILE=D:\iMOD-DATA\DINO\BOX12.CSV GENFILE=D:\IMOD-DATA\AREA.GEN WINDOW=130000.0,450000.0,141000.0,461000.0 The example above imports the boreholes from the BOX12.CSV for the area within the specified polygon(s) in AREA.GEN. 468 of 812 Deltares iMOD Batch functions GEOTOP-Function This function will replace the top of a groundwatermodel with a GEOTOP schematization. GEOTOP Enter the name of the folder that will store the merged model Enter the number of GEOTOP model layers. Enter the IDF for the ith modellayer of GEOTOP that represents the KV i, e.g. TOP_L1=D:\GEOTOP\KVG_L1.IDF. KHG_L{i}= Enter the IDF for the ith modellayer of GEOTOP that represents the KH i, e.g. TOP_L1=D:\GEOTOP\KHG_L1.IDF. NLAYM= Enter the number of model layers in the groundwatermodel Enter the IDF for the jth model layer of the model that represents: ... IBM_L{j}= ... the iBOUND for layer j, e.g. IBM_L1=D:\UTRECHT\iBOUND_L1.IDF SHM_L{j}= ... the starting head for layer j, e.g. SHM_L1=D:\UTRECHT\SHEAD_L1.ID TPM_L{j}= ... the top of layer j, e.g. TPM_L1=D:\UTRECHT\TOP_L1.IDF BTM_L{j}= ... the bot of layer j, e.g. BTM_L1=D:\UTRECHT\BOT_L1.IDF KHM_L{j}= ... the KH for layer j, e.g. KHM_L1=D:\UTRECHT\KH_L1.IDF KAM_L{j}= ... the KA for layer j, e.g. KAM_L1=D:\UTRECHT\KA_L1.IDF KVM_L{j}= ... the KV for layer j, e.g. KVM_L1=D:\UTRECHT\KV_L1.IDF WINDOW= Specify a window (X1,Y1,X2,Y2) for which the entered RUNFILE will be clipped, e.g. WINDOW=125100,345000,135000,355000 CELLSIZE= Enter the cell size (meter) for the IDF-files that will be created, e.g. CELLSIZE=25 T FUNCTION= RESULTFOLDER= NLAYG= KVG_L{i}= DR AF 8.7.2 Example 1: FUNCTION=GEOTOP RESULTFOLDER=D:\MODEL NLAYG=95 WINDOW=130000,450000,141000,461000 kvg_l1 =D:\MODEL\kv1.idf khg_l1 =D:\MODEL\kh1.idf .......... kvg_l95=D:\MODEL\kv95.idf khg_l95=D:\MODEL\kh95.idf NLAYM=9 tpm_l1=d:\modelutrecht\GEOHYDROLOGY\VERSION1\TOP_l1.IDF btm_l1=d:\modelutrecht\GEOHYDROLOGY\VERSION1\BOTTOM_l1.IDF kdm_l1=d:\modelutrecht\TRANSMISSIVITY\VERSION1\TRANSMISSIVITY_l1.IDF vcm_l1=d:\modelutrecht\VERTICALRESISTANCE\VERSION1\VERTICALRESISTANCE_l1.IDF ibm_l1=d:\modelutrecht\IBOUND\VERSION1\IBOUND_l1.IDF shm_l1=d:\modelutrecht\STARTINGHEADS\VERSION1\SHEAD_l1.IDF .... tpm_l9=d:\modelutrecht\GEOHYDROLOGY\VERSION1\TOP_l9.IDF btm_l9=d:\modelutrecht\GEOHYDROLOGY\VERSION1\BOTTOM_l9.IDF kdm_l9=d:\modelutrecht\TRANSMISSIVITY\VERSION1\TRANSMISSIVITY_l9.IDF vcm_l9=d:\modelutrecht\VERTICALRESISTANCE\VERSION1\VERTICALRESISTANCE_l9.IDF ibm_l9=d:\modelutrecht\IBOUND\VERSION1\IBOUND_l9.IDF shm_l9=d:\modelutrecht\STARTINGHEADS\VERSION1\SHEAD_l9.IDF Deltares 469 of 812 iMOD, User Manual GEF2IPF-Function This function will combine information from a series of GEF files to generate an IPF file with borehole or cone penetration test (CPT) information attached to it. The content of the GEF file is prescribed in section 9.23.1. WINDOW= GENFILE= GEF2IPF Enter a DIR name that contains the GEF files, e.g. GEFDIR=D:\DATA\. Enter the name of the IPF file to be created, e.g. IPFFILE=D:\DINO.IPF. Enter a number for the type of file you prefer to read in. 1=CPT, 2=Borehole. Specify a window (X1,Y1,X2,Y2) for which the GEF files will be selected, WINDOW=125100.0,345000.0,135000.0,355000.0. Enter a name for a GEN-file that contains a polygon that determines the area for which GEF files will be selected for conversion. Example 1: FUNCTION=GEF2IPF GEFDIR=D:\iMOD-DATA\DINO\ IPFFILE=D:\iMOD-DATA\DINO\AREA.IPF GEFTYPE=1 T FUNCTION= GEFDIR= IPFFILE= GEFTYPE= DR AF 8.7.3 This example imports all GEFFILES (*.GEF) into the IPF file AREA.IPF. Example 2: FUNCTION=GEF2IPF GEFDIR=D:\iMOD-DATA\DINO\*DELFT*.GEF GENFILE=D:\IMOD-DATA\AREA.GEN GEFTYPE=1 The example above imports the GEFFILES for the area within the specified polygon(s) in AREA.GEN. Note: Before the calculation is started, iMOD asks you what type of GEF-file you want to convert to IPF; one that contains CPT (Cone Penetration Test) information or one that contain Borehole information. Below you can find a brief description of both GEF-file types. 470 of 812 Deltares iMOD Batch functions CUS-Function Use this function to determine a minimal number of model layers (aquifers) based on layers that describe geological formations (mainly aquitards). The concept idea is that the vertical distribution of aquitards (or other distinguishing layers), determine the minimal number of model layers to represent the aquifers. T The methodology computes the interrelation ship of all the individual parts within a geological formation and those from other geological formations. This interrelation ship is used to compute the minimal number of model layers to capture all of them without any loss of information. In fact is depends mainly on the lateral distribution of the geological formation whether the number of model layers becomes less than the number of geological formations. The more spread in the distribution, probably less model layers are necessary. In figure an overview is given of the methodology as it shows all the interrelation ships that are computed, e.g. ∆F1 − F5 represents the distance between a individual element on the the first and fifth geological formation, and moreover, the vertical position of both elements as the first element should always be in a higher model layer than the fifth element. All these interrelation ships are fed into a linear-programming algorithm than find a model layer for each of them such that the total number of model layers is minimized. The CUS function is fully automatic, which means that a) the vertical order of given geological formations is irrelevant, b) overlapping geological formations may be clipped and c) interrelation ships in vertical and horizontal direction are computed automatically that yield a minimal set of model layers. With some variables it is possible to set the threshold at what distance of interrelation ship geological formation may join together, in this way aquitards can be combined whenever they are separated less than a given distance. DR AF 8.7.4 Schematic overview working of CUS Deltares 471 of 812 T iMOD, User Manual DR AF FUNCTION= CUS ICPOINTERS= Enter a value whether or not use a given CUS pointer IDF (0 or 1). ICPOINTERS=1 FDISTANCES= file containing predefined vertical distances that is created in a former CUS-action. or CRIT_THICKNESS= maximum vertical step size (e.g. CRIT_THICKNESS=25.0 m) to combine elements laterally. MIN_THICKNESS= minimal thickness of the element to be included in the final model, e.g. MIN_THICKNESS=0.5 will include elements thicker than 0.5 meter only. ZCRIT= Critical vertical distance. Layers will be connected vertically whenever a percentage of their vertical distance is less than ZCRIT, e.g. ZCRIT=0.5 m. PERCENTAGE= Give the percentile for which ZCRIT needs to be taken into account, e.g. if a percentage of 90 is given, layers will be connected if 90% of the distance is less than ZCRIT. ICLIP= Enter the name of an IDF file (at least at the dimension of the given IDF files are FORMTOP_Li or FORMTOP keyword) that denote the zone for which an entry is not need to be blanked out. E.g. ICLIP=D:\CUS\ZONES.IDF. Whenever a value of 1 is found in the IDF file, all geological formations that refer to this zone 1, will be blanked out for areas not equal to 1. IEXPZONE= Enter a number of additional cells around each individual element in each formation (IEXPZONE>1 to have any effect), to be used to include any element laterally to determine the most optimal model layer, e.g. IEXPZONE=2. Adding a value of IEXPZONE will have the effect that elements that are horizontally nearby (less than 2 cells in this case), will be tried to vertically positioned in the same model layer. ICPOINTERS=0 NLAY= Enter the fixed number of model layers to be constructed based on the IDf file with pointer values given at PNT_L{i}. NFORM= Enter number of geological formations, e.g. NFORM=19. FORMTOP_L{i}= Enter an optional zone number after the file name whenever the keyword ICLIP is used, e.g. FORMTOP_L1=D:\INPUT\BEK1_CK.IDF,1. 472 of 812 Deltares iMOD Batch functions DR AF T FORMBOT_L{i}= Enter an optional zone number after the file name whenever the keyword ICLIP is used, e.g. FORMBOT_L1=D:\INPUT\BEK1_CK.IDF,1. ICPOINTERS=0 PNT_L{i}= Enter an IDF for the ith formation that gives a pointer values that refers to a modellayer i, e.g. PNT_L1=D:\INPUT\PNT_L1.IDF. This file contains for example the values 1-5. These values serve as a label of a specific aquitard layer (1-5). or FORMTOP= Enter a path and wildcard to specify for a collection of IDF files containing information about the TOP of the geological formations to be included, e.g. FORMTOP_L1=D:\FORMATIONS\*_TOP.IDF. FORMBOT= Enter a path and wildcard to specify for a collection of IDF files containing information about the BOT of the geological formations to be included, e.g. FORMBOT_L1=D:\FORMATIONS\*_BOT.IDF. OUTPUTFOLDER= Enter the foldername in which the results will be saved, e.g. OUTPUTFOLDER=D:\RESULT. WINDOW= Enter the coordinates of the window that needs to be computed. Enter coordinates of the lower-left corner first and then the coordinates of the upper-right corner, e.g. WINDOW=100000, 400000, 200000, 425000. When WINDOW= is absent iMOD will take the WINDOW-extent of the input IDF’s. CELLSIZE= Enter the cell size (meter) for the IDF-files that will be created, e.g. CELL_SIZE=25.0. TOPSYSTEM= Enter the name of the IDF-file containing the AHN for the specific model area. BOTSYSTEM= Enter the name of the IDF-file containing the bottom-depth of the lowest bottom layer of the model. Example FUNCTION= CUS NLAY=2 WINDOW=120000.0,298000.0,240000.0,430000.0 CELLSIZE=100.0 FORMTOP_L1=D:\MODEL\BEK1_T.IDF FORMTOP_L2=D:\MODEL\BEK2_T.IDF FORMBOT_L1=D:\MODEL\BEK1_B.IDF FORMBOT_L2=D:\MODEL\BEK2_B.IDF OUTPUTFOLDER=D:\OUTPUT TOPSYSTEM=D:\MODEL\AHN250.IDF BOTSYSTEM=D:\MODEL\BEDROCK_TOP.IDF This example corrects the top and bottom IDF-files specified by the FORMTOP_L{i} and FORMBOT_L{i} keywords in a top-bottom consistent manner and scales the IDF-files to the specified WINDOW and CELLSIZE. Deltares 473 of 812 iMOD, User Manual SOLID-Function Use this function to generate hypothetical interfaces (i.e. line in between model layers that represent an artificial interface since any resistance layer (e.g. clay). This function computes the transmissivities and vertical resistance between model layers as well. It uses the PCG solver algorithm for the interpolation of the hypothetical interfaces and uses the existence of permeability field and the top- and bottom elevation to compute the nett transmissivity for each a modellayer and vertical resistance between those model layers. By means of masks it is possible to define those areas for which hypothethical interfaces need to be computed. SOLID Enter the number of modellayers, e.g. NLAY=6. Enter the foldername in which the results IDF-files will be saved, e.g. OUTPUTFOLDER=D:\RESULT. The following results will be saved: \MASK If IMASK=1, for each interface a mask IDF will be created and saved in this folder. Those may be adjusted afterwards, but set IMASK=0 to avoid that those modified mask files will be overwritten if ICKDC=1 \FFRAC T FUNCTION= NLAY= OUTPUTFOLDER= For each model layer, the fraction of each geological formation will be saved. It represents the fraction (0.0−1.0) of the geological that is present in the model layer. \CFRAC For each in between model layer (aquitard), the fraction of each geological formation will be saved. It represents the fraction (0.0 − 1.0) of the geological that is present in the aquitard. MDL_TOP_{i} The TOP elevation for each model layer; MDL_BOT_{i} The BOT elevation for each model layer; MDL_KD_{i} The total transmissivity for each model layer, it becomes zero when the thickness of the aquifer (model layer) is zero; MDL_VC_{i} The vertical resistance over aquitards in between each model layer, excluding the resistance due to the vertical resistance in the above- and beneath lying aquifers. Its value becomes zero if the aquitard is absent; MDL_KHV_{i} The horizontal permeability for each model layer, it can be zero for layer thicknesses of zero; MDL_KVA_{i} The vertical anisotropy for each model layer, it will always have a value larger than 0 and smaller equal to 1. For non existing model layers (aquifers) this parameter will be one; MDL_KVV_{i} The vertical permeability for each aquitard in between each model layer, it becomes zero when the aquitard does not exists; MDL_KDFRAC_{i} The total fraction of the model layers that has been parameterised by the permeabilities found by the REGISKHV and/or REGISKVV files, whenever the fraction is 1.0 is means that the entire model layer has been filled in correctly, lower values indicate that areas in the model layers have not been filled in properly. MDL_CFRAC_{i} The total fraction of the aquitards in between the model layers that has been parameterised by the permeabilities found by the REGISKHV and/or REGISKVV files. So more comment above; Enter the IDF for the ith modellayer that represents the top of modellayer i, e.g. TOP_L1=D:\INPUT\TOP_L1.IDF. Enter the option 0 or 1 to define whether this TOP modellayer needs to be interpolated, e.g. ICLC_TL1=1. This is optional, the default is 1. Enter the IDF for the ith modellayer that represents the bottom of modellayer i, e.g. BOT_L1=D:\INPUT\BOT_L1.IDF. DR AF 8.7.5 TOP_L{i}= ICLC_TL{i}= BOT_L{i}= 474 of 812 Deltares iMOD Batch functions IMASK= Enter the option 0 or 1 to define whether this BOTTOM modellayer needs to be interpolated, e.g. ICLC_BL1=1. This is optional, the default is 1. Specify IMASK=1 to (re)compute masks. Those are IDF files that contain a pointer value that indicates how the interfaces need to be computed. A mask value can have the following values: 0 means that this particular location will be excluded, those locations are initially formed by non-existence of the upper- and lowermost interface; -1 means that for that particular area no interface will be computed, the original value will be used; +1 means that the interface will be computed for this locations. Each mask IDF file will be saved in the MASK folder under the given OUTPUTFOLDER. Whenever IMASK=0, iMOD will look in this particular folder to read the mask IDF files, make sure that those files are in that folder. if IMASK=1 Specify a vertical offset (meters) for which mask values need to be set af -1. In other words, whenever the difference between the TOP_L{i} and BOT_L{i+1} is larger than ZOFFSET the mask will be put on -1. Small aquitards can be removed in this manner. By default ZOFFSET=0.0 meter. Specify IHYPO=1 to compute the hypothetical interfaces, for mask values of 1. As the values for TOP_L|[i} and BOT_L{i+1} need to be identical for mask values of +1, only the interface for TOP_L|[i} will be computed and BOT_L{i+1} will be set equal to that value. DR AF ZOFFSET= T ICLC_BL{i}= IHYPO= if IHYPO=1 DZ(.)= (optional) ICKDC= Specify for each model layer the minimal thickness (meter), e.g. DZ(1)=1.0 means that the minimal thickness will be 1.0 meter. In this way it is possible to have continuous thicknesses for model layers. This minimal thickness requirement can not be met whenever the distance between two aquitards is less than this DZ. In that case a smaller thickness is forced. By default DZ=0.0 for each model layer. IMIDELEV= Specify IMIDELEV > 0.0 to force te PCG solver to po(optional) sition the hypothetical interface more-or-less such that model layers have uniform thicknesses. By default IMIDELEV=1.0, however, IMIDELEV=0.0 will deactivate this feature. The higher the value for IMIDELEV the more the hypothetical interface is a true average for all appropriate interfaces, the lower the value, the more smooth is the hypothetical interface will be probably, but the constraint of even distributed interfaces is more violated. IINT_IDF= This keyword can be defined as IINT_IDF=1 (Default) to (optional) use upper and lower situated clay layers by the investigation of the hypothetical interfaces. IBNDCHK= Specify IBNDCHK=1 to check internally for isolated cells (optional) that are NOT connected to constant value cells. By default IBNDCHK=0. HCLOSE= Specify the closure criterion of the PCG solver, e.g. (optional) HCLOSE=0.1 m. By default HCLOSE=0.001 meter. MICNVG= Specify the number of subsequent inner convergences (optional) of the PCG solver, e.g. MICNVG=25. Use this whenever the PCG solver does not find a unique solution. By default MICVNG=5. Specify ICKDC=1 to compute transmissivities for model layers and vertical resistances for in between model layers. if ICKDC=1 Deltares 475 of 812 iMOD, User Manual Number of formation to be specified separately, e.g. FNLAY=10. FTOP_L{i}= FBOT_L{i}= FKHV_L{i}= FKVV_L{i}= DR AF if FNLAY is not specified Specify the IDF file for the ith TOP elevation of a geological formations, e.g. FTOP_L1=D:\FORMATION\BEK1_TOP.IDF. Specify the IDF file for the ith BOT elevation of a geological formations, e.g. FBOT_L1=D:\FORMATION\BEK1_BOT.IDF. Specify the IDF file for the ith horizontal permeability of a geological formations, e.g. FKHV_L1=D:\FORMATION\BEK1_KHV.IDF. If no file is defined, this permeability will be assumed to be 3.0 the given vertical permeability at FKVV_L{i}. Specify the IDF file for the ith vertical permeability of a geological formations, e.g. FKVV_L1=D:\FORMATION\BEK1_KVV.IDF. If no file is defined, this permeability will be assumed to be 0.3 the horizontal permeability at FKHV_L{i}. T FNLAY= (optional) if FNLAY specified FOLDERTOP= WINDOW= (optional) NGEN= (optional) if NGEN ≥ 1 Specify the folder that stores the TOP elevation of geological formations, e.g. FOLDERTOP=D:\REGIS\*-TCK.IDF. All files will be used that fit this wildcard definition. FOLDERBOT= Specify the folder that stores the BOT elevation of geological formations, e.g. FOLDERBOT=D:\REGIS\*-BCK.IDF. All files will be used that fit this wildcard definition. FOLDERKHV= Specify the folder that stores the horizontal permeability of geological formations, e.g. FOLDERKHV=D:\REGIS\*-KH-SK.IDF. All files will be used that fit this wildcard definition. If no file is found for the horizontal permeability for a particular geological formation, this permeability will be assumed to be 3.0 the vertical permeability. FOLDERKVV= Specify the folder that stores the vertical permeability of geological formations, e.g. FOLDERKVV=D:\REGIS\*KV-SK.IDF. All files will be used that fit this wildcard definition. If no file is found for the vertical permeability for a particular geological formation, this permeability will be assumed to be 0.3 the horizontal permeability. Enter the coordinates of the window that needs to be computed. Enter coordinates of the lower-left corner first and then the coordinates of the upper-right corner, e.g. WINDOW=100000.0, 400000.0, 200000.0, 425000.0. When WINDOW= is absent, the entered IDF-files by TOP_L{i} and BOT_L{i} need to be equally in their dimensions. Otherwise they will be upscaled (mean) or downscaled (interpolation) to the entered CELLSIZE. CELLSIZE= Enter the cell size (meter) for the IDF-files that will be created, e.g. CELLSIZE=25.0. Enter a value of the amount of GEN-files containing fault information to be taken into account in the interpolation. GEN_i= 476 of 812 Related to NGEN with this keyword all the GEN-files are included in the interpolation. Enter first a value for the interface number, followed by the name of the GEN-file. Example: GEN_1=3,faults_l3.GEN. Deltares iMOD Batch functions FUNCTION=SOLID NLAY=4 TOP_L1=D:\MODEL\TOP_L1.IDF TOP_L2=D:\MODEL\TOP_L2.IDF TOP_L3=D:\MODEL\TOP_L3.IDF TOP_L4=D:\MODEL\TOP_L4.IDF BOT_L1=D:\MODEL\BOT_L1.IDF BOT_L2=D:\MODEL\BOT_L2.IDF BOT_L3=D:\MODEL\BOT_L3.IDF BOT_L4=D:\MODEL\BOT_L4.IDF IMASK=1 IHYPO=1 ICKDC=1 FOLDERTOP=D:\REGIS\*-T-CK.IDF. FOLDERBOT=D:\REGIS\*-B-CK.IDF. FOLDERKHV=D:\REGIS\*-KH-SK.IDF. FOLDERKVV=D:\REGIS\*-KV-SK.IDF. OUTPUTFOLDER=D:\OUTPUT T Example DR AF This example creates a mask files based on the specified top and bottom IDF-files specified by the TOP_L{i} and BOT_L{i} keywords. For those areas that does not contain an aquitard, the hypothetical interfaces will be computed. After that the transmissivities and vertical resistances will be computed and the other output as specified at the ketword OUTPUTFOLDER. Example of (left) the computed thickness of an aquitard; (right) the corresponding values for the mask IDF (green is +1 and red = -1). The green area will be filled in by hypothetical interfaces. Deltares 477 of 812 iMOD, User Manual DR AF T Example of computed hypothetical interfaces as TOP and BOTTOM elevation for the model layers. Example of computed fractions of a geological formation in three different model layers. The formation has been part of three model layers and the total transmissivity of each model layers depends on the given fraction of the geological formation. Red represents a higher fraction than yellow. 478 of 812 Deltares iMOD Batch functions FLUMY-Function Use this function to create Flumy textfiles with borehole information out of IPF-file related textfiles. Flumy textfiles contain information about the fluvial deposits in (former) riverbeds (Flumy is a Geovariances software program). OFFSET= NPARAM= GRAIN{i}= FACIESL{i}= FACIESN{i}= FLUMY Enter the name of the IPF-file that contains the borehole information to be converted to a Flumy readable format. Optional variable. Enter a value to elevate the depth of the borehole, e.g. current depth of borehole is -50 m, on OFFSET=50 results in a borehole reference depth of 0 m. Enter the number of parameters {i} that needs to be distinguished in the Flumy-textfile(s). Enter the name of each grain type as given in IPF related textfile, e.g. GRAIN1=SILT or GRAIN2=’Sandy Clay’ Enter the verb for the location in the fluvial area where the ith Grain type will be located, e.g. FACIESL1=OB, in case "SILT" needs to be located in the Overbanks. Enter the number related to the facies layer as defined with FACIESL, e.g. FACIESL1=OB, FACIESN1=8. T FUNCTION= IPFFILE= DR AF 8.7.6 The created Flumy textfile(s) are(is) stored in the working directory of the FLUMY-batchfile within a new generated folder “FLUMY”. Example 1 FUNCTION=FLUMY IPFFILE=’D:\flumy\Boreholes\Borelogs.ipf’ NPARAM=2 GRAIN1=SILT FACIESL1=OB FACIESN1=8 GRAIN2=’SANDY Clay’ FACIESL2=PB FACIESN2=2 Note: Be aware that quotes are obligatory around a “GRAIN”-description containing more than one word, e.g. ’SANDY CLAY’. Otherwise iMOD is not able to read this parameter properly. Deltares 479 of 812 iMOD, User Manual GEOCONNECT-function Use this function to: 1 Compute (new) KHV, KVV and KVA grids, and/or KDW and VCW grids based on a given factor (iPEST) per formation, or 2 Aggregate model output based on given REGIS formations.This functionality is also available as a GUI-function (see section 7.6). 3 Identify fraction grids based on REGIS formations at a chosen model location and for the selected model layers (not available yet, only in the iMOD GUI). General Settings These are the general settings needed in each *.ini file using the GEOCONNECT-Batch function: REGISFOLDER= TOPFOLDER= BOTFOLDER= WINDOW= CELLSIZE= NFORM= FORM{i}= OUTPUTFOLDER= IFLAG= GEOCONNECT Enter the amount of model layers, e.g. NLAY=10. Enter a string of values to include or exclude a specific model layer from the computation; 0=inactive, 1=active, on default all layers are used in de computation (similar to e.g.: ACTLAYERS=1111111111). E.g. in case of the amount of model layers is 10 and it is preferred to only take the first 6 layers into account: ACTLAYERS=1111110000. Give the directory and name of the folder where all REGIS-files are stored. Note: subdirectories are not allowed and the filenames need to be of the following format: abbreviation formation name-t/b/ks/kv-ck/sk.idf (’t’ and ’b’ need to be combined with ’ck’, and ’ks’ and ’kv’ with ’sk’), e.g. d:\Model\REGIS\bez1-b-ck.idf. Give the directory and name of the folder of the model TOP-files, e.g. d:\Model\TOP\TOP. Give the directory and name of the folder of the model BOT-files, e.g. d:\Model\BOT\BOT. Enter the coordinates of the window that needs to be computed. Enter coordinates of the lower-left corner first and then the coordinates of the upper-right corner, e.g. WINDOW=100000, 400000, 200000, 425000. When WINDOW= is absent iMOD will take the WINDOW-extent of the input IDF’s. Enter the cell size (meter) for the IDF-files that will be created, e.g. CELL_SIZE=25.0. Enter a value for the total amount of formation factors to be read from this *.ini file, e.g. NFORM=127. Give the name of the i’th formation and the corresponding factor, e.g. FORM1=HLC,1.000. The largest i-number needs to correspond with the total amount of factors as defined with NFORM. Give the directory and name of the folder to store the results of the preprocessing computation. Enter a value for the specific GeoConnect function to be used: 1=Preprocessing, 2=Postprocessing. E.g. IFLAG=1. T FUNCTION= NLAY= ACTLAYERS= (optional) DR AF 8.7.7 Options In case of IFLAG=1 (Preprocessing option), the *.ini file with specific options needs to contain: ISAVEK= (optional) ISAVEC= (optional) Use this keyword to save KHV, KVV and KVA values in IDF-format; 1=saved and 0=not saved, on default ISAVEK=1. Use this keyword to save KDW and VCW values in IDF-format; 1=saved and 0=not saved, on default ISAVEC=0. In case of IFLAG=2 (Postprocessing option), the *.ini file with specific options needs to contain: 480 of 812 Deltares iMOD Batch functions IAGGR= if IAGGR=1. . . MODELFOLDER= MODELTYPE= if IAGGR=2. . . INPUTTYPE= if IAGGR=3. . . IPFFILE= Give the directory and name of the folder containing the preferred model output information. Choose the favored variable to apply the aggregation to, e.g. MODELTYPE=2. Options are: 1="HEAD", 2="BDGWEL", 3="BDGRIV", 4="BDGDRN". Choose the preferred variable to apply the aggregation to, e.g. INPUTTYPE=3. Options are: 1="KDW", 2="VCW", 3="KHV", 4="KVV". Give the directory and name of the IPF-file to apply the aggregation to. Give the type of aggregation. When IDUPLICATES=1 the maximum value per grid cell is taken from the files to be aggregated, IDUPLICATES=2: maximum value, IDUPLICATES=3: average value, and IDUPLICATES=4 the sum of the value per grid cell for all files is taken as new value in the aggregated grid cell in the file. Use this option to include TOP- and BOT elevation IDF-files in the aggregation and save these files in the given Output folder. In case ISAVETB=1, TOP and BOT elevation are saved, otherwhise when ISAVETB=0 these files are not saved in the Output folder. Give the directory and name of the folder to store the results of the preprocessing computation. DR AF IDUPLICATES= Give the directory and name of the folder containing DBASE model information, e.g. p:\1221301-ibrahym-dld\DBASE_V1 Give the value related to the aggregation option to be used, IAGGR=1: apply to model output, IAGGR=2: apply to model input, IAGGR=3: apply to ipf-file T DBASEFOLDER= ISAVETB= (Optional) OUTPUTFOLDER= Be sure that the geostratigraphy.txt file is placed in the defined DBASEFOLDER! Example 1 FUNCTION=GEOCONNECT NLAY=19 ACTLAYERS=1111111100011100000 REGISFOLDER=d:\Model_Ibrahym2\REGIS21 TOPFOLDER=d:\Model_Ibrahym2\DBASE_V2\TOP\VERSION_1 BOTFOLDER=d:\Model_Ibrahym2\DBASE_V2\BOT\VERSION_1 IFLAG=1 NFORM=8 FORM1=HLC,1.000 FORM2=BXSCK1,1.300 FORM3=BXZ1,1.000 FORM4=BXK1,1.000 FORM5=BXLMK1,2.500 FORM6=BXZ2,1.000 FORM7=BXK2,1.000 FORM8=BXZ3,0.910 OUTPUTFOLDER=d:\Model_Ibrahym2\Results\ ISAVEK=1 ISAVEC=0 With this example the KHV, KVV and KVA grids are (re)calculated (preprocessing) based on a given factor per formation (FORM{i}) for the first 8 formation seen from the top of the Ibrahym model. Deltares 481 of 812 iMOD, User Manual DR AF T Example 2 FUNCTION=GEOCONNECT NLAY=19 ACTLAYERS=1111111100011100000 REGISFOLDER=d:\Model_Ibrahym2\REGIS21 TOPFOLDER=d:\Model_Ibrahym2\DBASE_V2\TOP\VERSION_1 BOTFOLDER=d:\Model_Ibrahym2\DBASE_V2\BOT\VERSION_1 IFLAG=2 DBASEFOLDER=d:\Model_Ibrahym2\DBASE_V2 NFORM=8 FORM1=HLC,1 FORM2=BXSCK1,4 FORM3=BXZ1,4 FORM4=BXK1,4 FORM5=BXLMK1,4 FORM6=BXZ2,4 FORM7=BXK2,4 FORM8=BXZ3,4 IAGGR=2 INPUTTYPE=3 IDUPLICATES=3 ISAVETB=0 OUTPUTFOLDER=d:\Model_Ibrahym2\DBASE_V4\ In this example the (postprocessing) aggregation is applied to the input model variable "KHV" for which all BX-formations are taken together as one formation. An average value is calculated per grid cell for all BX-formations. Top and Bot elevations are not saved. 482 of 812 Deltares iMOD Batch functions CREATEIZONE-Function Use this function to calculate zones and corresponding fractions per model layer based on geologic formations, these IDF files can be used during an iPEST optimization. NLAY= MINF= IZONEOFFSET= IGROUPOFFSET= NFORMATIONS= FORMATION{i}= TPARAMETER= CREATEIZONE Give an output folder name to store all the fractions per model layer. Give a folder name that contains the fraction per model layers per geological formations. This is the results Enter the number of modellayers, e.g. NLAY=6 Minimum fraction to assign .... to a zone.... Enter the number of zones ..... Enter the number of zones ..... Enter the number of formations. Enter the ... for the ith formation. Enter the name of the ... Example FUNCTION=CREATEIZONE OFOLDER=D:\MODEL PFOLDER=D:\RESULTS NLAY=2 MINF=... IZONEOFFSET=... IGROUPOFFSET=... NFORMATIONS=2 FORMATION1=... FORMATION2=... TPARAMETER=5 T FUNCTION= OFOLDER= PFOLDER= DR AF 8.7.8 The example above will ...... Deltares 483 of 812 iMOD, User Manual CREATEIBOUND-Function Use this function to create an IBOUND IDF-file that takes into account non existing cells on the bottom of a layer system. The IBOUND value in a cell is set to 0 whenever this cell and all underlying cells do not exist (thickness = 0.). Otherwise the IBOUND value is set to 1. FUNCTION= NLAY= TOP_L{i}= BOT_L{i}= RESULTDIR= CREATEIBOUND Enter the number of model layers, e.g. NLAY=6. Enter the IDF for the ith modellayer that represents the top of modellayer i, e.g. TOP_L1=D:\MODEL\TOP_L1.IDF. Enter the IDF for the ith modellayer that represents the bottom of modellayer i, e.g. BOT_L1=D:\MODEL\BOT_L1.IDF. Enter the foldername in which the adjusted IDF-files will be saved, e.g. RESULTDIR=D:\RESULT. Example FUNCTION= CREATEIBOUND NLAY=3 TOP_L1=D:\MODEL\TOP_L1.IDF TOP_L2=D:\MODEL\TOP_L2.IDF TOP_L3=D:\MODEL\TOP_L3.IDF BOT_L1=D:\MODEL\BOT_L1.IDF BOT_L2=D:\MODEL\BOT_L2.IDF BOT_L3=D:\MODEL\BOT_L3.IDF RESULTDIR=D:\RESULT T 8.8.1 PREPROCESSING-FUNCTIONS DR AF 8.8 This example checks for a 3 layer system whether there are non existing cell on the bottom of the system. These cells get an IBOUND value of 0. The result of this function is an IBOUND file for each layer D:\RESULT\IBOUND_L{i}.IDF. 484 of 812 Deltares iMOD Batch functions AHNFILTER-Function This function filters artificial elements out of a digital terrain model (or equivalent). The method searches for areas that are connected by small vertical thresholds and denote them as true surface whenever the extent is significant. The remaining areas with less extent are marked as potential surface and will become true surface whenever they differ minorly with the interpolated surface at those locations. Moreover, the algorithm searches for local upconing (trees, buildings) and depressions (streams) and removes them from the surface. The function yields two output files: the filtered original file and a pointer file. The pointer file indicates the type of change by the filtering to the original file. The values in the pointer file indicate: 2: no change; <2: filtered cell. IDFFILE{i}= XCRIT= AHNFILTER Enter the number of the IDF-files to be used during the AHN filtering, e.g. NAHN=2. Enter the name of the ith IDF-file. The IDF-files should contain data points that represent some kind of elevation data, e.g. IDFFILE2=D:\DATA\AHN_REGION2.IDF. Enter the vertical offset between adjacent cells that are allowed to group together, e.g. XCRIT=0.5 (default value). In this case all adjacent cells that have an offset of less or equal 0.25 (unit of IDFFILE{i}). Increasing XCRIT will group more cells together, decreasing XCRIT will group them more difficult. The size of the group will determine whether the group is assigned a surfacelevel directly, or not. The default value is XCRIT=0.5. Enter the number of cells that behave like a threshold whether the current group of cells can be denoted as surface level, e.g. NSCRIT=1500 (default value). Enter the size of the window that will be used to determine local upconing and depressions in the area, e.g. DPW=5 (default value). In this case a squared 5x5 window will be applied . Enter the max difference of those values (not equal to the NoDataValue) in the DPW window, e.g. LOCCRIT=2.0 (default value). Whenever this difference exceeds LOCCRIT, no local upconing and depression will be computed. Enter the percentile for which all data points in the DPW window that are less or equal to DP1 will be assigned to local depression, e.g. DP1=30.0 (default value). Enter the percentile for which all data points in the DPW window that are greater or equal to DP2 will be assigned to local upconing, e.g. DP2=30.0 (default value). Enter the maximum residual change in the interpolation of the intermediate surface level, INTXCRIT=0.05 (default value). Enter the difference between the original surface level, as read by the IDFFILE{i}-files, and the intermediate surface level, e.g. CORXCRIT=0.10 (default value). Enter the minimum number of changes by CORXCRIT, e.g. NCORXCRIT=50 (default value). Enter IGNORENODATA=1 (default value) to ignore all data points equal to the NoDataValue of the IDFFILES{i}. Enter IGNORENODATA =0 to interpolate all data points equal to the NoDataValue. Enter the number of windows to filter, e.g. NWINDOW=5. By default the entire dimensions of the IDFFILES{i} will be processed. The default value is NWINDOW=0. Enter the coordinates of the lower-left corner first and then the coordinates of the upper-right corner, e.g. WINDOW5=100000.0, 400000.0, 200000.0, 425000.0. This keyword is compulsory whenever NWINDOW>0. Enter the name of the IDF-file that contains the filtered surface level, e.g. OUTFILE=D:\DATA\AHN.IDF. In case NWINDOW>0, it is obliged to specify the OUTFILE for all windows, e.g. OUTFILE5=D:\DATA\AHN5.IDF. In the latter case, you can use the FUNCTION=IDFMERGE (see section 8.2.4) to merge all outcomes. T FUNCTION= NAHN= DR AF 8.8.2 NSCRIT= DPW= LOCCRIT= DP1= DP2= INTXCRIT= CORXCRIT= NCORXCRIT= IGNORENODATA= NWINDOW= WINDOW{i}= OUTFILE= OUTFILE{i}= Deltares 485 of 812 iMOD, User Manual BUFFER= IAGGREGATEY= Enter a buffersize to overlap the different WINDOW{i}’s, e.g. BUFFER=1500.0 (default value). Enter IAGGREGATEY=1 to join adjacent intermediate surface levels to form larger ones, with a change that they become greater than NSCRIT and become surfacelevel. Default value is IAGGREGATEY=0. Example 1 FUNCTION=AHNFILTER NAHN =1 IDFFILE1=D:\DATA\AHN_ORG.IDF OUTFILE=D:\DATA\AHN_FILTERED.IDF Example 2 DR AF FUNCTION=AHNFILTER NAHN =2 IDFFILE1=D:\DATA\AHN_ORG1.IDF IDFFILE2=D:\DATA\AHN_ORG2.IDF NWINDOW=2 WINDOW1=125000.0 426000.0 130000.0 430000.0 WINDOW2=130000.0 426000.0 135000.0 430000.0 OUTFILE1=D:\DATA\AHN_FILTERED1.IDF OUTFILE2=D:\DATA\AHN_FILTERED2.IDF BUFFER=2500 IGNORENODATA=0 NSCRIT=1250 LOCCRIT=200.0 XCRIT=100.0 DPW=5 DP1=30.0 DP2=90.0 CORXCRIT=10 CORCRIT =75 INTXCRIT=5 T The above mentioned example is the most simple one, it filters the AHN_ORG.IDF with all default setting values and saves the result in AHN_FILTERED.IDF. The above mentioned example filters two windows and uses two different IDF-files (AHN_ORG1.IDF and AHN_ORG2.IDF). The main reason for using most of the setting variables is that the dimension of the original IDF-files (IDFFILE1 and IDFFILE2) is centimeter instead of meter. 486 of 812 Deltares iMOD Batch functions CREATESOF-Function T The iMOD-Batch function SOF (Surface Overland Flow) is able to compute “spill” levels (surface overlandflow levels) for large regions with or without supplied outflow or outlet locations. First of all, the “pit”-locations are identified, these are defined as those locations that are surrounded by higher values all around in a 3 × 3 matrix of grid cells. There is no other escape possible other than the lowest neighbouring level, the so called “spill”-level. All these identified “pitts” are sorted from the lowest to the highest “pitt” and processed in that order. Given a “pitt” location, the surrounding grid cells will be stored in a boundary list. From the boundary list the lowest “spill”-level will be found and stored in a boundary list. Whenever this “spill”-level is lower than the current “spill”-level, the process stops, because than probably the water can flow outside the current “core-volume”. If not, the lowest level on the boundary becomes the new “spill”level and the node will be remove from the boundary list and added to the “pitt”-list. The process repeats itself. All grid cells that are mentioned in the pitt-list will belong to the same “core-volume” and receive the final “spill”-level. At the end of this section, an example is given. As the “core-area” will be flat, the discharge occurs on that area as follows: it first follows the steepest gradient along the digital elevation model into the pit location and from there it follows the shortest way up towards the outflow cell. As the “core-area” will be flat, it cannot be used for a SFR package (see section 12.28). To avoid flat-surfaces, the SOF function can be generate a slight adapted surface level for flat areas as a gradient from where the flat area is entered to the elevation next to the exitpoint. Those corrected flat areas (that can be a stretch along a stream) can be used for the SFR discretisation, at the same time the original slope of the flat area (0.0) is adjusted as saved. This slope is used as well for the SFR to define the stream slopes. DR AF 8.8.3 In the following figure the mentioned variables are explained. Example of the concepts for the “spill”-level procedure. pit catchment core area overflow level pit level core volume outflow depth pit outflow cell cell The steepest gradient of the digital terrain model is computed for a 3 × 3 neighbourhood, so the slope s and aspect a are at one point estimated from elevations of it and surrounding 8 points i, thus: si = tan−1 p zi − z0 (xi − x0 )2 + (yi − y0 )2 −1 ai = arctan (xi − x0 , yi − y0 ) where the slope si is in radians as well as the aspect ai , and z0 , x0 and y0 are the elevation, xcoordinate and y-coordinate at the current node respectively, for which the gradient and aspect need to be computed. For reasons of conveniences, the aspect a is taken by the arctangent function with two arguments. The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument arctangent function. The final value for the aspect a is −π < a < π , meaning that π is pointing to the east, 0.5 × π points to the south, 0.0 × π points to the west and −0.5 × π points to the north. For perfect flat areas, a south direction is chosen arbitrarily. Also NodataValues are threated as “pitts”. The CREATESOF function continues to follow a drop of water to its down slope neighbour, we call this a trace and all cells that are passed are stored in a thread. This method uses the steepest descent Deltares 487 of 812 iMOD, User Manual direction from a particular location and moves to the next ceel along that direction, so the new x-location xi is found from the previous x-location xi−1 by: xi = xi−1 + ∆x · cos(ai−1 ) ; yi = yi−1 ∆y · sin(ai−1 ) where ∆x and ∆y are the cellsizes of the digital elevation model. FUNCTION= IFLOW= DR AF T IFLOW=0 CREATESOF Enter a code to specify the way the CREATESOF function need to work. Below the options are described Apply IFLOW=0 to compute the “spill”-levels, slopes and aspect angles. The following files will be saved: *_COPY.IDF used digital elevation data after clipping and/or up- or downscaling, this file is only save whenever the keyword WINDOW is given; *_PITT.IDF describes the location of the individual “pitts”-cells (value 1 for a “pitts”-cell; 0 for all non-“pitts”-cells); *_SLOPE.IDF gradient ( ∆x ∆z ) of the steepest slope of each grid cell (only whenever IGRAD=1); *_ASPECT.IDF steepest flow angle (azimuth) in radians, north=− 12 π ; west=0; south= 12 π ; east=π ; (only whenever IGRAD=1). LEVELIDF= Enter the surface level (Digital Terrain Model DTM) IDF-file that need to be processed, e.g. LEVELIDF=D:\DATA\DTM.IDF. PITTSIZE= Enter the minimal size of a pit to become a natural outlet. If the (optional) size of the pit exceeds the number given for e.g. PITTSIZE=100, this area becomes a natural outlet and all streams will terminate at that location. OUTLETIDF= Enter an IDF file that describes the outlet locations, e.g. OUT(optional) LETIDF=D:\MODEL\RIVERS.IDF. Each location not equal to the NodataValue in the given OUTLETIDF will be used to terminate the further search for a “spill”-level. WINDOW= Specify a window for which the entered LEVELIDF will (optional) be clipped and resized whenever the entered CELLSIZE /ne the cellsize of the given IDF file at LEVELIDF. Enter the coordinates of the lower-left corner first and then the coordinates of the upper-right corner, e.g. WINDOW=100000,400000,200000,425000. When WINDOW is absent, the internal dimensions of LEVELIDF will be used. CELLSIZE= Specify a cell size for the WINDOW to be clipped out or resized, e.g. CELLSIZE=100.0. IGRAD= Enter the IGRAD=0 to ignore the computation of the aspects of (optional) the DTM as these computations can take significant amount of time, especially the flat areas and the elevation on the core volumes. Choose IGRAD=1 to include the aspect computations. The default value is IGRAD=0 whenever this keyword is absent. SOFIDF= Enter the SOFIDF to save the computed Surface Overland Flow level; this elevation describes the elevation at which surface water will discharge water. For “pitts” this is the overflow level, for all others it is the original DTM-level. By subtracting the original DTM- and SOF-level the size and depth (“pitts”-volume) of the can be computed. Specify IFLOW=1 to compute the entire “flow path” of the particle flowing over the surface. The following files will be saved: *.GEN describes the entire flow path only if IWRITE=1; *_ZONE.IDF describes the number of discharge zone as specified by the IPF file given by the optional keyword DISZONEIPF. LEVELIDF= Enter the surface level (Digital Terrain Model DTM) IDFfile that need to be corrected for flat surfaces, it is logical to use the SOFIDF from a IFLOW=0 run; e.g. LEVELIDF=D:\DATA\SOF.IDF. IFLOW=1 488 of 812 Deltares iMOD Batch functions Enter the slope IDF file that need to be processed, it is logical to use the slope IDF from a IFLOW=0 run; e.g. SLOPEIDF=D:\DATA\SLOPE.IDF. LEVEL_ Enter the IDF file for the corrected surface level OUTIDF= (Digital Terrain Model DTM) for flat areas, e.g. LEVEL_OUTIDF=D:\DATA\SOF_FLAT.IDF. SLOPE_ Enter the slope IDF file corrected for flat areas, e.g. OUTIDF= SLOPE_OUTIDF=D:\DATA\SLOPE_FLAT.IDF. COUNTIDF Enter the IDF file for which the total number of flow paths (friction) that passes each grid cell, e.g. COUNTIDF=D:\DATA\FRICTION.IDF; ASPECTIDF= Enter the name of the IDF file that contains the aspects for each grid cell, e.g. ASPECTIDF=D:\RESULTS\ASPECT.IDF. Normally, this is the result of the simulation with IFLOW=0 (*_ASPECT.IDF). DISZONEIPF= Enter the name of the IPF file that describes the lo(optional) cation of discharge measurement station, e.g. DISZONEIPF=D:\INPUT\DIS.IPF. The minimal requirement of the data in the IPF file is that the first three columns need to describe the x, y and station number (integer). The resulting {SOFIDF}_ZONE.IDF will present the areas that discharge to the given station numbers. This DISZONEIPF is optional. IWRITE= Enter IWRITE=1 to write a GEN file of all “flow paths” of par(optional) ticles flowing over the DTM. This will yield the file {ASPECTIDF}.GEN. Writing this file will reduce the performance and it often will yield an enormous file. The default option is IWRITE=0. Specify IFLOW=2 to compute cumulative volumes for catchments for each location and for given percentiles. COUNTIDF Enter the IDF file with the total number of flow paths that passes each grid cell this is equal to the output file *_COUNT.IDF whenever IFLOW=1; ITQP Enter ITQP=0 to compute the percentiles and ITQP=1 to use the percentiles. Suppose, ITQP=0, the IDF files given at TQPIDF{i} will be created, and whenever ITQP=1, those files at TQPIDF{i} will be used. MINQ Enter a minimal discharge volume to be taken into account in the comutation of percentiles, e.g. MINQ=1000 m3 /day will exclude those with total discharges less than this amount. TTQP Enter TTQP=0 to compute a total percentile, or enter ITQP=1 to compute monthly percentiles. NTQP Enter the number of percentiles of discharges to be computed, e.g. NTQP=5 means that you need to enter 5 percentiles at PTQP{i}.. PTQP{i} Enter the percentile value (0.0 ≥ PTQP{i} ≤ 100.0) for the ith percentile out of NTQP, e.g. PTQP2=50.0. RESULTIDF Enter a folder of the results IDF files to be used for the total volume computation, e.g., RESULTIDF=D:\RESULTS\BDGRIV\BDGRIV_*_L1.IDF. This means that all files will be used to compute a percentile, it depends on the amount of files that meet this wildcard. Whenever TTQP=0 a single percentile will be computed for all files, whenever TTQP=1, a monthly percentile will be computed, this means that a monthly output will be created at OUTPUTFOLDER. DR AF T SLOPEIDF= IFLOW=2 Deltares 489 of 812 iMOD, User Manual DR AF IFLOW=3 Enter a directory to store all results, e.g. OUTPUTFOLDER=D:\RESULTS\VOLUMES. Here, for each inputfile (RESULTIDF) a percentile will be computed of the current discharge compared to the total (TTQP=0) or monthly (TTQP=1) percentile. The files are called TQ_PERCENT_{yyyymmdd}.IDF. This files gives a unique value of the class at which the current discharge belong. Whenever the value is 3, this means a percentile value that belongs in between the 3rd and 4th class. A value of 0 means that the current percentile undercounts the given percentiles in the TQPIDF{i} files, a value above NTQP, means that it exceeds the given percentiles. TQPIDF{i} Enter the name of the IDF to save the percentiles, e.g. TQPIDF2=D:\RESULTS\VOLUMES\TQP_50.IDF. Whenever TTQP=1, these names will be enhanced by a month identification, e.g. the final name becomes D:\RESULTS\VOLUMES\TQP_50_AUG.IDF to denote the 50th percentile for the month August. Specify IFLOW=2 to compute cumulative volumes for catchments for each location and for given percentiles. LEVELIDF= Enter the surface level (Digital Terrain Model DTM) IDF-file, it is logical to use the SOFIDF from a IFLOW=1 run; e.g. LEVELIDF=D:\DATA\SOF_FLAT.IDF. SLOPEIDF= Enter the slope IDF file that need to be processed, it is logical to use the slope IDF from a IFLOW=1 run; e.g. SLOPEIDF=D:\DATA\SLOPE_FLAT.IDF. COUNTIDF Enter the IDF file for which the total number of flow paths (friction) that passes each grid cell, e.g. COUNTIDF=D:\DATA\FRICTION.IDF; ASPECTIDF= Enter the name of the IDF file that contains the aspects for each grid cell, e.g. ASPECTIDF=D:\RESULTS\ASPECT.IDF. Normally, this is the result of the simulation with IFLOW=0 (*_ASPECT.IDF). IFORMAT= Enter the format of the output file structure. Apply IFORMAT=1 whenever a conventional RIVER package need to be constructed with river conductances, -stage, -bottomlevels and infiltration factors. Apply IFORMAT=2 to construct a ISG file for the SFR package. RCND_IDF= Enter the IDF file that represented to river conductance; e.g. RCND_IDF=D:\DATA\RCOND.IDF. RSTG_IDF= Enter the IDF file that represented to river stage; e.g. RSTG_IDF=D:\DATA\RSTAGE.IDF. RBOT_IDF= Enter the IDF file that represented to river bottom; e.g. RBOT_IDF=D:\DATA\RBOTTOM.IDF. RINF_IDF= Enter the IDF file that represented to river stage; e.g. RINF_IDF=D:\DATA\RINF.IDF. RAIN= Enter the size of the rainfall used to compute the dimension of (optional) the stream, e.g. RAIN=1.0 means an constant rain event of 1 mm/day. By default RAIN=1.0 mm/day. MINFRICTION= Enter the size of the minimal value for the friction (number of (optional) passes in the COUNTIDF file) to be used to generate a stream, e.g. MINFRICTION=5.0 means all grid sizes with a friction value of less than 5.0 will not be processed to a IDF-files (see above) or an ISG file. By default MINFRICTION=0.0. T OUTPUTFOLDER 490 of 812 Deltares iMOD Batch functions Enter the number of discharge-depth-width relations, e.g. NQDW=3. iMOD will interpolate between three given relations between discharge, depth and width to determine the dimensions at each gridcell based on the friction in the COUNTIDF. By default NQDW=0 and iMOD uses the Manning equation to determine the dimensions at each gridcell. d= QDW_{i}(.)= Q×n √ w× S 35 (8.2) where d is the depth, Q the discharge, n Mannings roughness coefficient (n=0.03), w is the width (w=1.0) and S is the slope between two gridcells. It is advisable to use the QDP-relations as that will results in a more reliable conductance than the Manning Equation since the latter is very sensitive to local gradients in the DTM (slopes). Enter for each relation the discharge (m3 /day), depth (m) and width (m), e.g. QDW_3=100.0,1.5,20.0. Start with QDW_1=0.0,0.0,0.0. T NQDW= (optional) DR AF Below an example is given for the output variables for IFLOW=0 and IFLOW=1 for an artificial DTM. Example of (upperleft) a DTM (upperright) the PITTs (lowerleft) the SLOPE and (lowerright) the ASPECT. Example of (upperleft) a SOF (upperright) the number of passes and (lowerleft) the flowpaths GEN). Deltares 491 of 812 DR AF T iMOD, User Manual Example 1 FUNCTION=CREATESOF IFLOW=0 LEVELIDF=D:\DATA\DTM.IDF SOFIDF=D:\OUTPUT\SOF.IDF Example 2 FUNCTION=CREATESOF IFLOW=1 ASPECTIDF=D:\OUTPUT\DTM_ASPECT.IDF IFLOW=1 Example 3 FUNCTION=CREATESOF IFLOW=2 492 of 812 Deltares iMOD Batch functions DRNSURF-Function The DRNSURF function is used to calculate the drainage level for surface runoff based on info about landuse, DEM and a pointer IDF with info on buildings. PNTRIDF= LUSEIDF= NLUSE= ILUSE{i}= TDRAINAGE= TSURFLEVEL= PERCENTILE= OUTIDF= WINDOW= DRNSURF Enter the surface level IDF-files that need to be processed, e.g. SURFIDF=D:\DATA\DEM.IDF. Enter the pointer IDF with built area = 1, e.g. PNTRIDF=D:\DATA\KDSTR.IDF. Enter the Landuse IDF file, e.g. LUSEIDF=D:\DATA\LGN6.IDF. Number of landuse zones to be distinguished. Enter the ith landuse code, e.g. ILUSE1 = 3 Give the percentage of maximum change in drainage level in the area. Used as a treshold. Give the percentage that accounts for the maximum change in surface level. This percentage will be used to define zones. Give a percentile value (0-100, 50=median) that accounts for the agricultural area that needs to contain drainage within the zones. Enter the name of the output IDF file. Enter the coordinates of the window that need to be computed, solely. Enter coordinates of the lower-left corner first and then the coordinates of the upper-right corner, e.g. WINDOW=100000, 400000, 200000, 425000. When WINDOW= is absent, the entire dimensions of the IDF-window will be used. Enter the cell size (meter) for the IDF-files that will be created, e.g. CELL_SIZE=25.0. T FUNCTION= SURFIDF= DR AF 8.8.4 CELL_SIZE= This figure shows the differences in surface level relative to the defined drainage levels. Deltares 493 of 812 iMOD, User Manual Example 1 FUNCTION=DRNSURF SURFIDF=D:\DATABASE\AHN2.IDF PNTRIDF=d:\DATABASE\KDSTR_2012.IDF LUSEIDF=d:\DATABASE\LGN6.IDF NLUSE=3 ILUSE1=1 ILUSE2=2 ILUSE3=3 TDRAINAGE=50.0 TSURFLEVEL=50.0 PERCENTILE=50.0 OUTIDF=d:\MODEL\DRN\DRN_SL.idf DR AF T This example creates an IDF with the drainage elevation for the surface level. 494 of 812 Deltares iMOD Batch functions GXG-Function The GXG function calculates the maximum and minimum groundwaterhead during the hydrological year (from 1st April) based on the mean of the three highest, c.q. lowest observed groundwaterheads. The GXG is an indicator used in the Netherlands to indicate the seasonal variation of the groundwaterhead. FUNCTION= ILAYER= NDIR= SOURCEDIR{i}= SURFACEIDF= SYEAR= EYEAR= GXG Enter the layer numbers to be used in the GxG computation, subsequently; e.g. ILAYER=1,3,6. Enter the number of folders to be processed repeatedly, e.g. NDIR=10. Enter the folder and first part of the filename for all files that need to be used, e.g. SOURCEDIR1=C:\DATA\HEAD. This mean that the GXG function will search for IDF-files that meet the name syntax requirement of C:\DATA\HEAD_{yyyymmdd}_L{ILAY}.IDF. Enter a name for the surface, e.g. SURFACEIDF=C:\DATA\AHN.IDF. By default a surface elevation of 0.0m+MSL will be considered. Enter the start year (yyyy) for which IDF-files are used, e.g. SYEAR=1998. Enter the end year (yyyy) for which IDF-files are used, e.g. EYEAR=2011. This keyword will be read whenever SYEAR is included. Specify particular years to be used, e.g. IYEAR=2001,2003,2004. This keyword will be read whenever the keyword SYEAR is absent. Enter the start month from the which the hydrological year starts. Default STARTMONTH=4. Enter two integers (0 or 1) for each month to express the inclusion of the 14th and 28th of that particular month, e.g. IPERIOD=010101010101010101010101, which mean to use the 14th of each month solely. On default IPERIOD=111111111111111111111111. Enter a code for the area to be processed: ISEL=1 will compute the entire region ISEL=2 will compute within given polygons; ISEL=3 will compute for those cells in the given IDF-file that are not equal to the NoDataValue of that IDF-file. Enter a GEN-filename for polygon(s) for which mean values need to be computed. This keyword is obliged whenever ISEL=2. Enter an IDF-file for which mean values will be computed for those cell in the IDF-file that are not equal to the NoDataValue of that IDF-file. This keyword is compulsory whenever ISEL=3 Indicates whether or not the HG3 and LG3 needs to be computed output per year. HG3(LG3)=the groundwater stage maps of the 3 days with the highest(lowest) stages per year. Note: Only the first layer indicated by keyword ILAYER, will be taken into account. Its not possible to get the HG3 and LG3 for more layers within one GXG-calculation. Note 2: in case of SYEAR=2011, EYEAR=2013 and startmonth=4, the HG3 and LG3 are computed for year 2011 (=04-2011 till 03-2012) and 2012 (=04-2012 till 03-2013). T 8.9.1 POSTPROCESSING-FUNCTIONS DR AF 8.9 IYEAR= STARTMONTH= IPERIOD= ISEL= GENFNAME= IDFNAME= HGLG3= Example 1 FUNCTION=GXG ILAYER=1 NDIR=1 SOURCEDIR1=D:\MODEL\HEAD SYEAR=1991 EYEAR=2000 This illustrates a simple example of a GxG computation over the years 1991 (actually starts at 14th of Deltares 495 of 812 iMOD, User Manual April 1991) until 2000 (actually 28th of March 2000), for all the HEAD* files that are within the folder D:\MODEL. Since the keyword SURFACEIDF is absent, the GxG will be expressed according to 0.0 instead of a true surface level, moreover, ILAY is absent too, but ILAY=1 will be used as default. Example 2 T FUNCTION=GXG ILAYER=1,2 SURFACEIDF=D:\DATA\AHN.IDF IYEAR=1994,1995,2000,2001 IPERIOD=000000001111111100000000 ISEL=3 IDFNAME=D:\DATA\ZONE.IDF NDIR=1 SOURCEDIR1=D:\MODEL\HEAD DR AF This example computes the GxG for the years 1994, 1995, 2000 and 2001 only. This means two hydrological years, namely 14-4-1994-upto 28-3-1995 and 14-4-2000 upto 28-3-2001. In this period the summer months May, June, July, August are included as expressed by the IPERIOD keyword. 496 of 812 Deltares iMOD Batch functions WBALANCE-Function The WBALANCE function calculates the water balance based on the model output for the steady state condition or for a specific period and area. Alternatively, this function can create images, IDF files and/or CVS files from aggregation on existing CSV files. FUNCTION= CSVFNAME= (optional) WBALANCE Enter the name of the CSV file that contains a water balance created previously by this function, e.g. CSVFNAME=D:\MODELRESULTS\WBAL.CSV. Use the following keywords whenever CSVFNAME is entered BDGIACT= (optional) BDGIGRP= (optional) Enter the name of the output folder that will be used to save the resulting pictures, e.g. DIR=D:\MODELRESULTS\FIGURES. Enter BDGIACT=1 to denote that the budget is present in the output file (IDF, CSV and/or time series/graphical representation image). By default BDGIACT=1 for all budget terms. Enter the group numbers for the individual budget terms, e.g. BDGIGRP=1,2,5,5. By default BDGIGRP is a sequence of the numbers 1,2,3 etc. Enter the colour number (combination of the individual colour red,green en blue - each ranging between 0-255) of the particular budget term, BDGICLR=2443254. Enter the method for averaging: T DIR= DR AF 8.9.2 BDGICLR= (optional) IAVG= (optional) 1 = All Time steps: a single value for all entries; 2 = Year: a single value per year; 3 = Months: a single value per month, starting at the first month in the series; 4 = Hydrological Seasons: two seasons are used, 1) April - September and 2) October - March; 5 = Decade: a single value per 10 days and the remaining days in that month; 6 = Hydrological Year: four seasons are used 1) December - February 2) March - May 3) June - August 4) September - November; 7 = Quarters: a single value per 3 months, starting in January; 8 = None: all entries remain unchanged, this is the default. NETFLUX= (optional) IUNIT= (optional) LSUM= (optional) ZSUM= (optional) LAYERS= (optional) ZONES= (optional) DATES= (optional) Deltares Enter NETFLUX=1 to apply net fluxes in the output, by default NETFLUX=0. Enter INUIT=1 to apply net fluxes in the output, by default IUNIT=0. Enter LSUM=1 to aggregate all selected model layers into a single water balance, by default LSUM=0. Enter ZSUM=1 to aggregate all selected zones into a single water balance, by default ZSUM=0. Enter the number of layer(s) to be used for the water balance, e.g. LAYERS=1,2,5. By default ALL layers are selected. Enter the number of zones(s) to be used for the water balance, e.g. ZONES=10,23. By default ALL zones are selected. Enter the number of dates(s) to be used for the water balance, e.g. DATES=20100114,20100128. By default ALL dates are selected. 497 of 812 iMOD, User Manual IOPT= (optional) Enter the output option: 1 = Time Series: select this option to display the selected water balance items in a graph, this is the default; 2 = Graphical Representation: select this option to present the water balance items in a illustrative image; 3 = Preview Table: select this option to display each value for the water balance items in a table; 4 = Export to CSV: select this option to export all water balance items into an CSV file; 5 = IDF per Layer: select this option to export all water balance items into separate IDF files. Enter the name of the CSV file to be created whenever IOPT=4, e.g. OUTPUTFNAME=D:\OUTPUT\SUMMARY.CSV. T OUTPUTFNAME= (optional) Use the following keywords whenever CSVFNAME is NOT entered Enter the number of folders to be processed repeatedly, e.g. NDIR=10. Enter the main source folder for which underlying files need to be used; e.g. SOURCEDIR1=C:\DATA\MODEL. It depends on the following keywords: BAL{i}, BAL{i}ISYS, ILAYERS and SDATE/EDATE, what specific files the WBALANCE function will obtain. Enter the layer numbers to be included in the waterbalance, e.g. ILAYER=1,3,6. It is also possible to specify the layers as LAYERS=4:45 to indicate that these layers 4 up to 45 need to used. Enter the starting date (yyyymmdd or yyyymmddhhmmss) for which IDFfiles are used, e.g. SDATE=19980201 or SDATE=20141231123015 (the latter expresses the 31th of December 2014 at 12 hours, 30 minutes and 15 seconds. Enter the ending date (yyyymmdd or yyyymmddhhmmss) for which IDFfiles are used, e.g. EDATE=20111231 or EDATE=20180715084500 (the latter expresses the 15th of July 2018 at 08 hours, 45 minutes and 00 seconds. In case SDATE is specified, EDATE is compulsory as well. Specify a particular year (within SDATE and EDATE) to be used exclusively, e.g. IYEAR=2001,2003,2005. IYEAR is filled in for all years inbetween SYEAR and EYEAR. Enter a number of periods to be defined to use IDF-file within these periods solely, e.g. NPERIOD=2. NPERIOD=0 by default. Enter a period i (ddmm-ddmm), e.g. PERIOD1=1503-3110 to express the period 15th of March until the 31th of October. Enter the number of water balance topics, e.g. NBAL=2. Enter for each of NBAL topics one of the folder name, e.g. BDGBND, BDGSFR. iMOD will look for files that are in the folder SOURCEDIR{i}\BAL{i}\BAL{i}_{time}_{layer}.IDF. whenever SDATE/EDATE is absent, {time} is the keyword STEADY_STATE. Repeat BAL{i} for NBAL times. E.g., whenever BAL1=BDGWEL and the simulation is steady state, the following file is appropriate: SOURCEDIR{i}\BDGWEL\BDGWEL_STEADY-STATE_L1.IDF. For transient simulations, the iMOD Batch function will search for SOURCEDIR{i}\BDGWEL\BDGWEL_????????_L1.IDF and SOURCEDIR{i}\BDGWEL\BDGWEL_??????????????_L1.IDF files. After that, the selected set of files will be matched against the given SDATE and EDATE keywords, and if necessary against NPERIOD. DR AF NDIR= SOURCEDIR{i}= ILAYER= SDATE= (optional) EDATE= (optional) IYEAR= (optional) NPERIOD= (optional) PERIOD{i}= (optional) NBAL= BAL{i}= 498 of 812 Deltares iMOD Batch functions OUTPUTNAME{i}= ISEL= (optional) GENFILE= (optional) IDFNAME= (optional) DR AF WBEX= optional) Enter the number of systems to be included in the water balance, e.g. BAL1ISYS=1,2,3. This mean to add the systems 1,2 and 3 for the first entered water balance item, specified by BAL1. E.g. iMOD will look for files as BDGDRN_STEADY-STATE_SYS1_L1.IDF. By default, no systems will be distinguished and iMOD will look for files as BDGDRN_STEADYSTATE_L1.IDF. Enter the output filename (*.TXT, *.CSV or *.IPF), e.g. OUTPUTNAME1=C:\DATA\HEAD\WBAL_MIPWA.CSV Enter a code for the area to be processed: ISEL=1 will compute the entire region ISEL=2 will compute within given polygons; ISEL=3 will compute for those cells in the given IDF-file that are not equal to the NoDataValue of that IDF-file. By default ISEL=1. Enter a GEN-filename for polygon(s) for which mean values need to be computed. This keyword is obliged whenever ISEL=2. Enter an IDF-file for which mean values will be computed for those cell in the IDF-file that are not equal to the NoDataValue of that IDF-file. This keyword is compulsory whenever ISEL=3 Enter WBEX=1 to generate interconnected flux between the zones. This option is only valid whenever the flux terms BDGFRF and BDGFFF are active. By default WBEX=0 and none of the interconnected fluxes is computed. T BAL{i}ISYS= (optional) Example 1 FUNCTION=WBALANCE NBAL=3 BAL1=BDGFRF BAL2=BDGFFF BAL3=BDGFLF ILAYER=3 NDIR=1 ISEL=2 GENFILE=D:\MODEL\zone.gen SOURCEDIR1=D:\MODEL OUTPUTNAME1=D:\MODEL\WBAL.TXT The above mentioned simple example will give a waterbalance for the BDGFRF, BDGFFF and BDGFLF, respectively, for modellayer 3. The IDF-files will be D:\MODEL\BDGFRF\BDGFRF_STEADY-STATE_L3.IDF; D:\MODEL\BDGFFF\BDGFFF_STEADY-STATE_L3.IDF; and D:\MODEL\BDGFLF\BDGFLF_STEADY-STATE_L3.IDF. The result is written in D:\MODEL\WBAL.TXT. Example 2 FUNCTION=WBALANCE NBAL=2 BAL1=BDGRIV BAL1SYS=1,2 BAL2=BDGDRN ILAYER=1,2 SDATE=19900101 EDATE=20001231 IYEAR=1990,1995,1997,2000 NPERIOD=1 PERIOD1=0104-3107 ISEL=2 Deltares 499 of 812 iMOD, User Manual GENFNAME=D:\DATA\ZONES.GEN NDIR=2 SOURCEDIR1=D:\MODEL SOURCEDIR2=D:\SCENARIO OUTPUTNAME1=D:\OUTPUT\WBAL_MODEL.CSV OUTPUTNAME2=D:\OUTPUT\WBAL_SCENARIO.CSV DR AF T The example above will compute a waterbalance for two modellayers (1,2) for the budgetfiles BDGRIV*SYS1 and BDGRIV*SYS2 and BDGDRN in the period from 1th of April until the 31th of July for the years 1990,1995,1997,2000. The waterbalance will be summed for the zones that are described by the polygon(s) inside the file ZONES.GEN. Finally, the computation will be executed twice, for those results in D:\MODEL and those in D:\SCENARIO. Results are stored in the folder D:\OUTPUT. 500 of 812 Deltares iMOD Batch functions PWTCOUNT-Function Use this iMODFLOW post-processing function to count the number of moments where a PWT situation occurs. ILAYIDF= SDATE= EDATE= SOURCEDIR{i}= OUTPUTIDF= PWTCOUNT Enter the name of the IDF file containing the layer number of the first Aquitard. Enter the name of the IDF file containing the deepest modellayers to be processed. Enter the starting date (yyyymmdd) for which IDF-files are used. Enter the ending date (yyyymmdd) for which IDF-files are used. Enter the folder and wildcard for all files that need to be used. Enter the name of the IDF file that contains calculated sum of moments where PWT situations occur. Example 1 FUNCTION=PWTCOUNT SDLIDF=C:\RESULTS2\PWT\SDL_LAYER.IDF ILAYIDF=C:\RESULTS2\PWT\PWT_LAYER.IDF SDATE=19980201 EDATE=20111231 SOURCEDIR=C:\RESULTS\PWT\PWT*.IDF OUTPUTIDF=D:\RESULTS\PWT_COUNT.IDF T FUNCTION= SDLIDF= DR AF 8.9.3 The above mentioned examples creates the IDF file PWT_COUNT.IDF based on a timeseries of PWT result files in directory C:\DATA\ Deltares 501 of 812 iMOD, User Manual IDFTIMESERIE-Function Use this function to generate timeseries out of IDF-files that have the notation {item}_yyyymmdd_l{ilay}.idf. These are IDF-files that yield from a normal iMODFLOW simulation. IPF2= ILAY= SOURCEDIR= SDATE= (optional) EDATE= (optional) IDFTIMESERIE Enter the name of an IPF file that contains the locations of the measurements, e.g. IPF1=D:\DATA\MEASURE.IPF. Enter the name of an IPF file that will be used to store the computed time series, e.g. IPF2=D:\IMOD\MODEL.IPF. Enter the modellayer, e.g. ILAY=2. Enter the directory name of the folder that contains the specific files + the first (similar) part of the name of the files, e.g. SOURCEDIR=D:\MODEL\HEAD\HEAD. This will yield IDF-files that belong to D:\MODEL\HEAD\HEAD_{yyyymmdd}_L{ilay}.IDF . Enter the start date of the time series to be computed, e.g. SDATE=19700803000000 to express the 3rd of August 1970. By default SDATE=0 and will not be used, the series starts at the earliest file that confirms the SOURCEDIR. Enter the end date of the time series to be computed, e.g. SDATE=20120601133015 to express the 1st of June 2012 at 13 hours, 30 minutes and 15 seconds. By default EDATE=0 and will not be used, the series ends at the latest file that confirms the SOURCEDIR. Enter the column to be used for labelling the associated text files. Default LABELCOL=0 and will not be used. T FUNCTION= IPF1= DR AF 8.9.4 LABELCOL= (optional) Example 1 FUNCTION=IDFTIMESERIE IPF1=D:\MODEL\HEAD_TSERIES.IPF IPF2=D:\MODEL\HEAD_TSERIES_IMODBATCH.IPF ILAY=1 SDATE=19500101000000 EDATE=20120101123005 SOURCEDIR=D:\RESULT\HEAD\HEAD The example above will yield time series from the results in D:\RESULT\HEAD_*.IDF for the period between the 1st of January 1950 and the 1st of January 2012 at 12 hours, 30 minutes and 5 seconds. Example 2 FUNCTION=IDFTIMESERIE IPF1=D:\MODEL\HEAD_TSERIES.IPF IPF2=D:\MODEL\HEAD_TSERIES_IMODBATCH.IPF ILAY=1 SDATE=19500101000000 EDATE=20120101000000 SOURCEDIR=D:\RESULT\HEAD\HEAD LABELCOL=3 The example above differs for LABELCOL only. The 3rd column will be used to generate the name of the text file that stores the time series. 502 of 812 Deltares iMOD Batch functions IPFRESIDUAL-Function Use this function to calculate residuals based on IPF files containing statistics. OUTNAME= ILCOL{i}= (optional) IMCOL{i}= (optional) IHCOL{i}= (optional) W_TYPE{i}= (optional) IPFRESIDUAL Enter the number of IPF files to be handled. Enter the name of the ith IPF file containing measurement and computed values, or refer to associated TXT files with time series of measurements and computed values. Enter the name of the output filename, the statistics will be written in this file. . Also, per IZONE and per LAYER, a separate IPF file will be created called residual_ILAY{i}_IZONE{j } Enter the column number in the IPF{i} that represents the model layer, by default ILCOL{i}=3. Enter the column number in the IPF{i} that represents the measurement. In the case that the measurement is given by associated TXT files, it is not necessary to enter this keyword, in the other case the default value is IMCOL{i}=3. Enter the column number in the IPF{i} that represents the computed head. In the case that the computed head is given by associated TXT files, it is not necessary to enter this keyword, in the other case the default value is IHCOL{i}=3. Give whether the load is entered as variance (W_TYPE1=1) or weights (W_TYPE1=2). Whenever variances are entered, a weight is computed internally as: w = √1v in which w is the weight and v is the variance. By absent of the keyword, so NO weight are expected in that case (in fact the weight will be 1.0 for all locations). Enter the column number in the IPF{i} that represents the variance or weight, by default IWCOL{i}=3 and is only read whenever W_TYPE{I} 6= 0.0. Enter the starting date for which statistics need to be gathered, e.g. SDATE=20020726 to express the 26th of July 2002. By default SDATE=-1010 . Enter the starting date for which statistics need to be gathered, e.g. EDATE=20041226 to express the 26th of December 2004. By default EDATE=1010 . Enter the name of an IDF file containing zones, those zones will be used to distinguish in different statistics per zone. NZONE= Enter the number of zones in the IDF file to be used, e.g. NZONE=3 will use three zone form the IDF files mentioned at POINTERIDF. IZONE{i}= Enter the value in the IDF file for the ith zone, e.g. IZONE1=10 denotes that the first zone will be number 10 from the POINTERIDF. Specify ICOLLECT=1 to add the associated TXT files to the created IPF files, by default ICOLLECT=0. NodataValue of the computed head, by default HNODATA=-999.99. This value will . be only used for IPF files with W_TYPE{i}=0 T FUNCTION= NIPF= IPFFILE{i}= DR AF 8.9.5 IWCOL{i}= (optional) SDATE= (optional) EDATE= (optional) POINTERIDF= (optional) ICOLLECT= (optional) HNODATA= (optional) Example FUNCTION=IPFRESIDUAL NIPF=2 POINTERIDF=D:\MODEL\POINTER.IDF IPF1=D:\MODEL\HEAD_TSERIES_1.IPF IPF2=D:\MODEL\HEAD_TSERIES_2.IPF W_TYPE2=1 NZONE=2 IZONE1=5 IZONE2=6 OUTNAME=D:\RESULTS\STATISTICS.TXT The example above will give a file containing all the residual values per given IPF-file based on the predefined conditions. Deltares 503 of 812 iMOD, User Manual PLOTRESIDUAL-Function Use this function to make a scatter plot or histogram plot of the observations and calculated heads and residuals (calculated-observed) from the iPEST-output data file(s). IXCOL= (optional) IYCOL= (optional) IMCOL= (optional) IHCOL= (optional) IWCOL= (optional) ILCOL= (optional) IPLOT= PLOTRESIDUAL You can either enter the iPEST output text file name or an IPF file with appropriate information, such as x, y, measurement, computed head and weight values. For IPF files with associated text files, you need to specify ITRANSIENT=1 . Enter the column number in the IPF file for the X-coordinates, by default this IXCOL=1. Enter the column number in the IPF file for the Y-coordinates, by default this IYCOL=2. Enter the column number in the IPF file for the measurement, for TRANSIENT=1, it means the column in the associated text file, by default this IMCOL=2. Enter the column number in the IPF file for the computed head, for TRANSIENT=1, it means the column in the associated text file, by default this IHCOL=3. Enter the column number in the IPF file for the weight values, by default this IWCOL=0 and the weight values are assumed to be all equal to 1.0. Enter the column number in the IPF file for the layer values, by default this ILCOL=0 and the layer is assumed to be all equal to 1. Choose the preferred plot type (see for examples further this function description): T FUNCTION= INPUTFILE= DR AF 8.9.6 1=Scatter plot; 2=Histogram plot; 3=IPF file. BMPNAME= (IPLOT=1,2) IPFNAME= (IPLOT=3) ITRANSIENT= (optional) ILAYER= (optional) IIPF= (optional) WC1= (optional) WC2= (optional) 504 of 812 Give the name of the output plot file (*.BMP. *.PNG, *.JPG or *.PCX), e.g. d:\SCATTERPLOT_LAYER2.BMP. Give the name of the output IPF file (*.IPF), e.g. d:\RESIDUAL.IPF. Choose the type of input file you use: 0=Steady-state input (this is the default value ITRANSIENT=0); 1=Transient input. A transient input file contains date values in the first column whenever the INPUTFILE is an iPEST output file, in the case the INPUTFILE is an IPF-file, the measurement and computed heads are expected to be in associated text files. Choose the layers you prefer to plot, e.g. ILAYER=1,4,8 plots data points related to layer 1, 4 and 8. On default all layers are plotted. Choose the IPF-file(s) for which the data needs to be plotted, e.g. IIPF=1,3 plots the data points for the first and 3rd given IPF-file from the input file. This keyword is not used in case the INPUTFILE is an IPF file. Specify the lower limit of a weight value to be included in the selection for the statistics, e.g. WC1=1000.0 means that only points with weight value larger than 1000 will be included in the statistics. By default WC1 is absent, so all will be included. Specify the upper limit of a weight value to be included in the selection for the statistics, e.g. WC2=5000.0 means that only points with weight value smaller than 5000 will be included in the statistics. By default WC2 is absent, so all will be included. Deltares iMOD Batch functions HCLASSES= (optional) IWEIGHT= (optional) Specify the classes for the histogram, by default this keyword is absent and the following classes are used: -10.0E10,-5.0,-4.5,4.0,. . . ,4.0,4.5,5.0,10.0E10. However, it is possible to specify a user defined class via e.g. HCLASSES=-10.0,-1.0,-0.5,0.5,1.0,10. In this case the first class is for > −10.0 and ≤ −1.0, the second for > −1.0 - and ≤ −0.5 and so on. Choose whether you will include the weight factors in the calculation or not. IWEIGHT=0 the weight factor is not included, IWEIGHT=1 the weight factor is included. In case the weight factor equals 0 the related data point will not be plotted. DR AF FUNCTION=PLOTRESIDUAL INPUTFILE=D:\LOG_PEST_RESIDUAL_10V2.6.66.TXT IPLOT=1 BMPNAME=d:\SCATTERPLOT.BMP ITRANSIENT=1 ILAYER=16 IIPF=1 IWEIGHT=1 T Example This example makes a scatter plot with the name SCATTERPLOT.BMP of the transient data available in the LOG_PEST_RESIDUAL_10V2.6.66.TXT file for a selection of layer 16 and the first IPF-file. The plotted values are multiplied with the given weight factor. Result of PLOTRESIDUAL, left a scatter plot (IPLOT=1) , right a histogram (IPLOT=2) Deltares 505 of 812 iMOD, User Manual DEVWELLTOIPF-Function The function DEVWELLTOIPF converts Deviated Wells, described in CSV format, to an IPF file. FUNCTION= CSVFNAME= IPFFNAME= NCOL (optional) XCOL (optional) YCOL (optional) ZCOL (optional) DEVWELLTOIPF Enter the name of an CSV file with minimal 6 columns that represents x- and y coordinates, azimuth and inclination, e.g. CSVFNAME=D:\DATA\AGS.CSV. Enter the name of an IPF file that need to be created for the data in the CSVFNAME„ e.g. IPFFNAME=D:\DATA\AGS.IPF. For each unique borehole in the CSV file, another point will be created in the IPF. The associated TXT files for the boreholes will be stored in the same folder as the IPFFNAME. Enter the column number in the CSV file that represents the unique NAME of the borehole, e.g. NCOL=4. By default NCOL=1. The NAME of the borehole will be used to create the file name for the associated TXT files. Therefore, the character set ‘: /’ will be replaced by a ‘_’ (a space is part of the replacement as well, denoted as the second character in the set). Enter the column number in the CSV file that represents the x-coordinate, e.g. XCOL=4. By default XCOL=2. Enter the column number in the CSV file that represents the y-coordinate, e.g. YCOL=6. By default YCOL=3. Enter the column number in the CSV file that represents the z-coordinate, e.g. ZCOL=6. By default ZCOL=0 that means that the z-coordinate will be 0.0 m+MSL. Enter the column number in the CSV file that represents the depth, e.g. DCOL=6. By default DCOL=5. Remember that the DEPTH is measured as the net distance (meter) through the borehole. Enter the column number in the CSV file that represents the azimuth, e.g. ACOL=8. By default ACOL=6. The azimuth is defined as the angle with the z-axes measured clockwise with a zero angle pointing to the north and 90 to the east. Enter the column number in the CSV file that represents the inclination, e.g. ICOL=12. By default ICOL=7. The inclination is defined as the angle from the surface (xy-plane) downwards by a positive angle whereby 90.0 degrees is perpendicular downwards. Enter the number of labels to be additional added to the TXT files of the boreholes, e.g. NLCOL=2. By default NLCOL=1 and a default label column is added (see LCOL{i}). Enter the column number in the CSV file that represents the label, e.g. LCOL1=4. By default LCOL1=0 and a default label is used. The label can be used to colour particular trajectories along a borehole differently. If this keyword is absent, iMOD will add a default label ‘S’. T 8.10.1 WELL-FUNCTIONS DR AF 8.10 DCOL (optional) ACOL (optional) ICOL (optional) NLCOL (optional) LCOL{i} (optional) Example 1 FUNCTION=DEVWELLTOIPF CSVFNAME=D:\AGS.CSV IPFFNAME=D:\IPF.IPF This example, converts the columns in the CSV file via the default columns setting to an IPF file, the outcome in 3D could look like the following image. 506 of 812 Deltares DR AF T iMOD Batch functions Deltares 507 of 812 iMOD, User Manual ASSIGNWELL-Function The ASSIGNWELL function reads a geological model (TOP/BOT) in order to assign well screens to the right formation layer. IYCOL= IDCOL= IZ1COL= IZ2COL= NFORMATIONS= FORMATION{i}= TOP_L{i}= ASSIGNWELL Give IPF file containing WELL or MEASUREMENT information. Give IPF file outputfile. Enter the column number in the IPF file IPF{i} that represents the x coordinate, e.g. IXCOL=4. By default IXCOL=1. Enter the column number in the IPF file IPF{i} that represents the y coordinate, e.g. IYCOL=6. By default IYCOL=2. Enter the column number in the IPF file IPF{i} that represents the extraction rate of the well, e.g. IQCOL=12. By default IQCOL=3. Enter the column number in the IPF file IPF{i} that represents the top of the well screen, e.g. ITCOL=4. By default ITCOL=4. Enter the column number in the IPF file IPF{i} that represents the bottom of the well screen, e.g. IBCOL=6. By default IBCOL=5. Enter the number of formations Enter the number of the column in the IPF for the ..... of the ith formation Enter the IDF for the ith modellayer that represents the top of modellayer i, e.g. TOP_L1=D:\INPUT\TOP_L1.IDF. Enter the IDF for the ith modellayer that represents the bottom of modellayer i, e.g. BOT_L1=D:\INPUT\BOT_L1.IDF. T FUNCTION= IPFFILE_IN= IPFFILE_out= IXCOL= DR AF 8.10.2 BOT_L{i}= Example 1 FUNCTION=ASSIGNWELL IPFFILE_IN=D:\DATA\WELL.IPF IPFFILE_OUT=D:\DATA\WELL_ASSIGNED.IPF NFORMATIONS=2 FORMATION1=1 FORMATION2=2 TOP_L1=D:\GEOHYDROLOGY\TOP1.IDF BOT_L1=D:\GEOHYDROLOGY\BOT1.IDF TOP_L2=D:\GEOHYDROLOGY\TOP2.IDF BOT_L2=D:\GEOHYDROLOGY\BOT2.IDF Above an example is given how to divide well filters in the file WELL.IPF over 2 model layers resulting in the file WELL_ASSIGNED.IPF. 508 of 812 Deltares iMOD Batch functions MKWELLIPF-Function The MKWELLIPF function computes the extraction strength for each well based on a weighed value according to their length and permeability of the penetrated model layer. At the end of the procedure iMOD echoes a summary of the total and average extraction per model layer. FUNCTION= NLAY= (optional) MKWELLIPF Enter the number of layers from which well may be organized, e.g. NLAY=7, by default NLAY=0 which means that only extraction rates are computed from the associated TXT files. Following keywords are needed/optional whenever NLAY greater than zero BOTIDF{i}= KDIDF{i}= (optional) CIDF{i}= (optional) ITCOL= (optional) IBCOL= (optional) MINKHT= (optional) Enter the name of an IDF-file that represents the top elevation of the ith modellayer, e.g. TOPIDF1=D:\MODEL\TOP1.IDF. Enter the name of an IDF-file that represents the bottom elevation of the ith modellayer, e.g. BOTIDF3=D:\MODEL\BOT_LAYER3.IDF. Enter the name of an IDF-file that represents the transmissivity of a particular ith modellayer, e.g. KDIDF2=D:\MODEL\TRAN_L2.IDF. Enter the name of an IDF-file that represents the vertical resistance between two adjacent modellayers i and i+1, e.g. CIDF1=D:\MODEL\C_L1.IDF. Enter the column number in the IPF file IPF{i} that represents the top of the well screen, e.g. ITCOL=4. By default ITCOL=4. Enter the column number in the IPF file IPF{i} that represents the bottom of the well screen, e.g. IBCOL=6. By default IBCOL=5. Specify the minimum horizontal transmissivity (m2 /d) that will receive a well. By default MINKHT=0.0 m2 /day. This parameters is used only whenever values are entered for KDIDF{i}. Specify the horizontal transmissivity that is used te define the model layer of the well. The first model layer with a transmissivity of more than the specified MINKD, will receive the complete well. By default MINKD=0.0 m2 /day. This parameters is used only whenever values are entered for KDIDF{i} and will be active for those wells that cannot be assigned due to missing values for ITCOL and IBCOL. Whenever IMIDF=0, the mid of a well screen is computed by the top and bottom screen heights if both available (not equal to the parameter FNODATA). Whenever IMODF=1, the mid of the screen is equal to the top of the screen whenever the bottom height might be absent, and equal to the bottom whenever the top is absent. It both are available, the computation of the mid of the well screen is equal to the method described by IMIDF=0. By default IMIDF=0. Whenever wells might fall completely in an aquitard (in between two model layers), specify ICLAY=1 to shift the well vertically to that model layer that is most nearby (above- or beneath), this is the default value. Specify ICLAY=0 and the well will be removed whenever completely in an aquitard. Specify the NoDataValue for the top and bottom of the well screen, denoted by ITCOL and IBCOL. By default FNODATA=-99999.0, values equal to this will be discarded. T TOPIDF{i}= DR AF 8.10.3 MINKD= (optional) IMIDF= (optional) ICLAY= (optional) FNODATA= (optional) Rest of keywords are applicable for all values of NLAY. NIPF IPF{i}= IXCOL= (optional) IYCOL= (optional) Deltares Enter the number of IPF files to be organized, e.g. NIPF=3. Enter the name for the ith IPF file, e.g. D:\DATA\WELL.IPF. The resulting IPF files will be save in the folder D:\DATA\WELL\IMOD_MKIPF_WELLS_L*.IPF for each model layer that has extraction rate <> 0.0. Enter the column number in the IPF file IPF{i} that represents the x coordinate, e.g. IXCOL=4. By default IXCOL=1. Enter the column number in the IPF file IPF{i} that represents the y coordinate, e.g. IYCOL=6. By default IYCOL=2. 509 of 812 iMOD, User Manual IQCOL= (optional ISS=0) ISS= (optional) whenever SDATE= (if ISS=1) EDATE= (if ISS=1) This flags determines whether an time average extraction volume need to be computed for a specified period of time, for that case ISS need to be 1. By default ISS=0 and an average value is computed for the time series as a whole. Specify a starting date (YYYYMMDD) from which the determination of a well strength/head will be computed. This keyword is compulsory whenever ISS=1. Specify an end date (YYYYMMDD) from which the determination of a well strength/head will be computed. This keyword is compulsory whenever ISS=1. Specify the NoDataValue for the extraction rate, values equal to this will be discarded. By default HNODATA=0.0. T HNODATA= (optional) Enter the column number in the IPF file IPF{i} that represents the extraction rate of the well, e.g. IQCOL=12. By default IQCOL=3. DR AF The IPF file IMOD_MKIPF_WELLS_ALL.IPF contains all rows from the original IPF. This file is easier to analyse whether the well screen assigned have been computer properly. There is an attribute ERROR_CODE in the IPF that denotes the way the well has been assigned. The following codes are applicable; "@" means that the well is assigned to a nearby model layer; "#" means that the well could not be assigned; and "-" means that the well has been assigned appropriately. The IPF file IMOD_MKIPF_WELLS_UNASSIGNED.IPF contains all rows from the original IPF that could not be assigned to model layer. Methodology The following steps are carried out for each individual record in the IPF file (IPF{i}): 1 Compute the individual length of the well screen between the ITCOL and IBCOL into well screen segments, that penetrate any model layer. Well screen segments that are above the surface elevation (TOPIDF1) or below the lowest bottom elevation (BOTIDF{NLAY}) will be clipped off; 2 Compute the horizontal permeability (k-value) for all model layers that are penetrated by the remaining well screen segments. Assign a ratio to all well screen segments based on their individual length multiplied by the k-values of the corresponding model layer divided by their total summed value; 3 Correct any ratio for a mismatch between the centre of the penetrating model layer zc and the vertical midpoint of the well screen segment fc , by: f = 1.0 − |zc − fc | , 0.5∆z where ∆z is the thickness of the corresponding aquifer. 4 Remove ratio that are smaller than 5%. 5 If in aquitard, move it to the nearest aquifer above or below the aquitard, only whenever ICLAY=1; 6 If nothing in model, whenever system on top of model, put them in first model layer with thickness and permeability larger than MINKH. 510 of 812 Deltares iMOD Batch functions FUNCTION=MKWELLIPF NLAY=3 TOPIDF1=D:\DATA\TOP1.IDF TOPIDF2= D:\DATA\TOP2.IDF TOPIDF3= D:\DATA\TOP3.IDF BOTIDF1= D:\DATA\BOT1.IDF BOTIDF2= D:\DATA\BOT2.IDF BOTIDF3= D:\DATA\BOT3.IDF KDIDF1= D:\DATA\KD1.IDF KDIDF2= D:\DATA\KD2.IDF KDIDF3= D:\DATA\KD3.IDF CIDF1=D:\DATA\C1.IDF CIDF2=D:\DATA\C2.IDF NIPF=1 IPF1=D:\DATA\WELL.IPF T Example 1 The example above, will classify each location in the IPF file D:\DATA\WELL.IPF according their length and associated transmissivity, within any penetrating modellayer. DR AF Example 2 FUNCTION=MKWELLIPF NLAY=3 TOPIDF1=D:\DATA\TOP1.IDF TOPIDF2= D:\DATA\TOP2.IDF TOPIDF3= D:\DATA\TOP3.IDF BOTIDF1= D:\DATA\BOT1.IDF BOTIDF2= D:\DATA\BOT2.IDF BOTIDF3= D:\DATA\BOT3.IDF KDIDF1= D:\DATA\KD1.IDF KDIDF2= D:\DATA\KD2.IDF KDIDF3= D:\DATA\KD3.IDF CIDF1=D:\DATA\C1.IDF CIDF2=D:\DATA\C2.IDF IXCOL=1 IYCOL=2 ITCOL=3 IBCOL=4 IQCOL=8 NIPF=3 IPF1=D:\DATA\INDUSTRY.IPF IPF2= D:\DATA\DRINKINGCOOPERATION.IPF IPF3= D:\DATA\AGRICULTURE.IPF The example above, will classify each location in three IPF files according their length and associated transmissivity, within any penetrating model layer. The content of the IPF files is different than the default IXCOL, IYCOL, ITCOL, IBCOL and IQCOL column identifications, and therefore added here. Deltares 511 of 812 iMOD, User Manual BMPTILING-Function Use this function to create a set of topographical bitmaps out of a single one, to be used as background topology. The function assumes that one single bitmap needs to be split in small “tiles” for different resolutions. Those different resolutions can be used at different zoom levels to maintain a high performance while plotting these bitmaps on the graphical canvas. OUTPUTFOLDER= BMPTILING Enter the name of a BMP file, e.g. D:\DATA\AIRPHOTO.BMP.The function assumes that a worldfile (*.BMPW) is accompanied by the bitmap for the syntax of a worldfile. Enter the name of the folder that will store all the generated bitmaps (tiles) at different resolutions (5), e.g. D:\DATA\BMP. The function will generate a *.CRD file too and associated TXT files. Referring to the *.CRD file from the iMOD preference file will ensure that the bitmaps can be used directly in iMOD. T FUNCTION= BMPFILE= Example FUNCTION=BMPTILING BMPFILE=D:\DATA\AIRPHOTO.BMP OUTPUTFOLDER=D:\DATA\BMP DR AF 8.11 The example above generates different tiles from the bitmap AIRPHOTO.BMP in the folder D:\DATA\BMP. In this folder the file BMP.CRD will be stored that can be used to direct with a keyword TOP25 in the iMOD preference file. Tile 1 Tile 3 512 of 812 Tile2 Tile 4 Tile 5 Deltares iMOD Batch functions PLOT-Function The Plot function can be used to construct figures that are normally displayed on the graphical display of iMOD. FUNCTION= OUTFILE= PLOT Enter the name of the output filename. The format of the image depends on the extension of the filename: Enter the name of an *.IDF-file that needs to be plotted, for example IDFFILE=D:\AHN.IDF. Enter the name of a *.LEG file that needs to be used for IDFLEGFILE= (optional) colouring the *.IDF-file. If no IDFLEGFILE is given, iMOD will apply a default iMOD Legend based on a linear distribution of IDF values. IDFLEGTXT Enter the text to be added to the legend, e.g. ID(optional) FLEGTXT=”Transmissivity (m2/day)”. By default no legend text will be displayed. IDFSTYLE= Specify whether the IDF need to be displayed as gridval(optional) ues, contourlines, vectors or all three combined. For example IDFSTYLE=111 will plot the IDF-file by all styles, default IDFSTYLE=100. Use the following syntax to specify the style to be used, any combination is possible: 100 IDF will be displayed as filled rectangles. 010 IDF will be contoured. 001 IDF will be displayed as arrows based on the gradient in the IDF file. Enter the name of an IPF file to be plotted, for example IPFFILE=D:\DATA.IPF. iMOD will use the first and second column in the IPF for the x- and y coordinate and displays the point in red circles. Use the other keywords to change these settings. IPFXCOL= Specify the column to be used for the x-coordinate, by de(optional) fault IPFXCOL=1 IPFYCOL= Specify the column to be used for the y-coordinate, by de(optional) fault IPFYCOL=2 IPFHCOL= Specify the column to scale the dots that have larger values (optional) than others, those will be displayed as an increased marker symbol. iMOD will scale the values based on the entries at the keyword IPHCOL_M. By default IPFHCOL=0. IPFHCOL_M= Specify the methodology to scale the symbol, by default (optional) IPFHCOL=0 and no scaling applies. iMOD displays them, such that small symbol sizes will be plotted upon large symbols, choose a method from the following: 1 iMOD scales the values for IPFHCOL linearly from large up to small using 4 sizes (sizes 1,2,3 and 4). 2 iMOD scales the values for IPFHCOL linearly from large up to small using 4 sizes (sizes 1,2,3 and 4) within the range of the entered legend. 3 iMOD scales the absolute values for IPFHCOL linearly from large up to small using 4 sizes (sizes 1,2,3 and 4). 4 iMOD scales the symbols using the direct value for IPFHCOL, sizes need to be positive, negative entries will be as treated as positive sizes. T IDFFILE= (optional) *.BMP : Windows Bitmap; *.PCX : ZSoft PC Paintbrush; *.PNG : Portable Network Graphic image; *.JPG : JPEG/JFIF image. DR AF 8.12 IPFFILE= (optional) Deltares 513 of 812 iMOD, User Manual IPFASSFILES= (optional) IPFASSFILES_ ALL= (optional) DR AF T IPFSTYLE= (optional) Specify whether to plot the graph (e.g. timeseries, boreholes) described in the associated TXT files linked by the IPFFILE. Specify IPFASSFILES=1 to plot a simple graph (without axes) and IPFASSFILES=2 to plot a advanced graph with axes. By default IPFASSFILES=0 and no associated text files are displayed. Specify whether to plot the content of all associated TXT files in a single image (IPFASSFILES_ALL=1) or alternatively, plot each TXT file in a separate image (IPFASSFILES_ALL=2). In that case the OUTFILE will be created automatically by the name of the individual points given by the column denoted by the IEXT, see section 9.7 for more information on IPF files. Specify the style to be used to plot the points. Use the following options: 0 Use this style to display the points as solid circles. 1 Use this style to colour the points by the labels in the column IPFLCOL in combination with the specified legend in LEGFILE. Specify the following whenever IPFSTYLE=1 IPFLEGFILE= (optional) IFFFILE= (optional) LEGTSIZE= (optional) NGEN= (optional) Enter the appropriate legend file to be used, e.g. IPFLEGFILE=D:\RESIDUAL.LEG IPFLCOL= Specify the column in the IPF file for the colouring of points, needed whenever IPFLEGFILE is specified. IPFLEGTXT= Enter the text to be added to the legend, (optional) e.g. IPFLEGTXT=”Residual (m)”. By default, whenever the keyword is absent, no legend text will be displayed. NLABELS= Specify the total number of labels to be (optional) plotted, e.g. NLABELS=3. By default NLABELS=0 and no labels (i.e. columns in the IPF file) will be plotted. ILABELS= Specify the number of individual labels (i.e. the columns in the IPF file) to be plotted, e.g. ILABELS=3,5,7 and NLABELS=3. Enter the name of an IFF file to be plotted, for example IFFFILE=D:\MODEL\FLOW.IFF. iMOD will plot the lines in coloured by the sixth column in the IFF file (normally that is the attribute CUMTT). IFFLEGFILE= Enter the appropriate legend file to be used, e.g. IFFLEG(optional) FILE=D:\CUMTT.LEG. By default no legend is used. IFFLEGTEXT= Enter the text to be added to the legend, e.g. ID(optional) FLEGTXT=”Cumulative Time (years)”. By default no legend text will be displayed. Enter the size for the legend text, enter the size in fraction of the plotting box, e.g. LEGTSIZE=0.05. Enter the number of GEN files to be included, e.g. NGEN=3. GENFILE{i}= 514 of 812 Enter the name of a *.GEN-file that needs to be plotted on the background. On default the line, points and/or polygons in the GENFILE, will be drawn as black features, e.g. GENFILE1=D:\GENS\TOPOGRAPHY.GEN. This keyword need to be repeated for NGEN-times. Deltares iMOD Batch functions Enter a colour number to be used colouring the ith GEN file specified by GENFILE{i}. By default a black line will be plotted. Specify a colour by red, green and blue components, e.g. GENCOLOUR1=255,0,0 to express full red. Use GENCOLOUR1=0,0,0 to specify black and GENCOLOUR1=255,255,255 to set white. GENTHICK Enter a line thickness to be used for the ith GEN file speciNESS{i}= fied by GENFILE{i}. By default GENTHICKNESS1=1 and a (optional) line thickness of 1 will be applied, e.g. GENTHICKNESS1=5 to express a line thickness of 5. Enter the location of the CRD-file (see section 9.18 for the syntax of such a file), used by iMOD to display ... background images, e.g. TOP25=d:\TOP25\BMPCRD.CRD. Enter the coordinates of the window that needs to be displayed. Enter coordinates of the lower-left corner first and then the coordinates of the upper-right corner, e.g. WINDOW=100000.0, 400000.0, 200000.0, 425000.0. When the keyword is absent, the figure will be displayed at the maximum extent of the entered filenames at the keywords IDFFILE, IPFFILE and/or IFFFILE. GENCOLOUR{i}= (optional) TOP25= (optional) T WINDOW= (optional) DR AF The following keywords need to be all defined in order to generate more sophisticated display, including legend boxes and figure labels. TITLE= SUBTITLE= FIGTXT= PRJTXT= YFRACLEGEND= (optional) RESOLUTION= (optional) Deltares Enter a name for the main title of the figure, e.g. TITLE=”Effect of an Increased Well Capacity on Groundwater Levels”. Use quotes for titles that contain spaces. Enter a string for a subtitle, e.g. SUBTITLE=”Financed by European Union”. Use quotes for titles that contain spaces. Enter a figure identification, e.g. FIGTXT=”Figure 1-a”. Use quotes for titles that contain spaces. Enter a description of the project, e.g. PRJTXT=”iMOD Groundwater Flow Model”. Use quotes for titles that contain spaces. Enter the percentage (0-100%) of the legend occupation in the legend area, e.g. YFRACLEGEND=50.0 means that the legend will be placed in 50% of the total legend area. On default YFRACLEGEND=100.0, so the entire legend area will be used. Enter the resolution of the bitmap, i.e. the number of pixels. On default RESOLUTION=3200. Higher resolutions will yield more accurate images. 515 of 812 iMOD, User Manual Example 1 FUNCTION=PLOT IDFFILE=D:\TUTORIAL\iMODBATCH\AHN.IDF IDFSTYLE=100 NGEN=1 GENFILE1=D:\TUTORIAL\iMODBATCH\PROVINCES.GEN OUTFILE=D:\TUTORIAL\iMODBATCH\AHN.png DR AF T As a result of the above described content the following figure will be created: 516 of 812 Deltares iMOD Batch functions Example 2 FUNCTION=PLOT IDFFILE=D:\TUTORIAL\iMODBATCH\AHN.IDF IDFSTYLE=100 IDFLEGFILE=TUTORIAL\AHN.LEG GENFILE1=D:\TUTORIAL\iMODBATCH\PROVINCES.GEN OUTFILE=D:\TUTORIAL\iMODBATCH\AHN.png RESOLUTION=3200 WINDOW=100000.0,400000.0,200000.0,425000.0 TITLE=”Surface Level” SUBTITLE=”Dutch Altimeter Level obtained by Laser-Altimetry 2002/2011” FIGTXT=”1A DELTARES2011-Conf. ” PRJTXT=”Netherlands Hydrological Instrument, Deltares” DR AF Advanced example of a resulting bitmap: T As a result of the above described content the following figure will be created. Deltares 517 of 812 iMOD, User Manual DR AF FUNCTION=PLOT IDFFILE=D:\IMOD-TEST\PLOT\BATHEMETRY.IDF IDFLEGFILE=D:\iMOD-TEST\PLOT\LEGEND.LEG IDFSTYLE=010 IPFFILE=D:\iMOD-TEST\PLOT\BATHYMETRY.IPF IPFXCOL=2 IPFYCOL=1 IPFLCOL=3 IPFSTYLE=1 IPFLEGFILE=D:\iMOD-TEST\PLOT\LEGEND.LEG NLABELS=1 ILABELS=3 NGEN=2 GENFILE1=D:\PROVINCES.GEN GENFILE2=D:\FAULTS.GEN OUTFILE=D:\IMOD-TEST\PLOT\BATHEMETRY.png T Example 3 518 of 812 Deltares iMOD Batch functions Example 4 FUNCTION=PLOT IPFFILE=D:\TUTORIAL\iMODBATCH\MEASURE.IPF IPFASSFILES=2 IPFASSFILES_ALL=1 TOP25=D:\TUTORIAL\iMODBATCH\BMP.CRD OUTFILE=D:\TUTORIAL\iMODBATCH\TIMESERIES.png DR AF T As a result of the above described content the following figure will be created. Deltares 519 of 812 DR AF T iMOD, User Manual 520 of 812 Deltares 9 iMOD Files This chapter describes the types of files used by iMOD. Below a summarizing table of all file types used by iMOD is given; per file type it includes a short description of it’s purpose. iMOD uses both generally known file types (e.g. bitmap BMP-files, ESRIshape files, NetCDF-files) and iMOD-specific file types; the latter group of files is described in detail in section 9.1 - section 9.4. The table includes links to the related sections in this chapter or other sections in this user manual, or links to external sources. *.prf Reference in this manual section 9.1 *.imf section 9.2 *.idf section 9.5 *.mdf *.ipf *.iff *.isg Description iMOD Preference File (ASCII): File containing the initial settings for iMOD. iMOD-MetaFile (ASCII): File containing information to display selected maps including legend and topographical overlays. iMOD Data-File (BINARY): Raster file, containing information on a raster with evenly or non-evenly distributed rows and columns. Format is specific for iMOD and developed to handle large sized data sets in a timeefficient way. Besides geographical information, IDF-files can handle meta-data as well (such as descriptive information). iMOD Multi-Data-File (ASCII): This file contains several references to IDF-files. Whenever IDF will be grouped they will be collected into a MDF-file. iMOD Point-File (ASCII): File containing the information on points. An IPFfile can direct to several *.TXT files that contain timevariant information (such as timeseries) or vertical descriptions (such as drilling logs or cone penetration test logs). iMOD Flow-File (ASCII): File containing the information that result after computing flow-lines within iMOD. It describes mainly lines in 3D-coordinates with their age and velocity. iMOD Segment-File (ASCII): File containing the information to describe a line/segment for river modeling. An ISG-file directs to an ISP-file (containing the actual coordinates of the segment), an ISD#-file (containing timevariant information on e.g. waterlevels), an ISC#-file (containing information on the crosssection of the segments) and *.IST# (containing timevariant information on e.g. waterlevels at weirs and/or water structures) (both ASCII): ESRI Generate File that described line elements, e.g. lines, polygons (closed lines). For polygons, *.DAT can be included that contain information for polygons. T Associated Extension(s) DR AF Extent *.gen Deltares section 9.6 *.txt *.dat section 9.7 section 9.8 *.isp (BINARY) *.isd1 (BINARY) *.isd2 (BINARY) *.isc2 (BINARY) *.ist2 (BINARY) section 9.9 *.dat section 9.10 521 of 812 iMOD, User Manual *.asc section 9.13 *.leg section 9.15 *.clr section 9.16 *.dlf section 9.17 *.isd *.sol *.spf *.ses *.tim *.prj *.run *.ini *.msk *.isd *.bmp Description Comma Seperated Values file. It stores tabular data (numbers and text) in plain text. Each line of the file is a data record. Each record consists of one or more fields, separated by commas. The use of the comma as a field separator is the source of the name for this file format. An ASCII format based ESRI grid, also known as an ARC/INFO ASCII GRID. (A binary format is widely used within Esri programs, such as ArcGIS.) The ASCII format is used as an exchange, or export format, due to the simple and portable ASCII file structure. iMOD Legend File (ASCII): File containing information on classes and colours used by iMOD to display an IDF, IPF, IFF and/or GEN. iMOD Colour File (ASCII): File containing the initial colour used by iMOD File containing color information to display boreholes iMOD Coordinate File (ASCII): File that directs to other files depending on the zoom levels. An ISD-file contains information about the location of startpoints used in the calculation of pathlines from model output. iMOD SOLid project file (ASCII): File containing the layer definitions of a solid A SPF-file describes the variation in the top and bottom elevation along a cross-sectional line. File describing the operations that need to be carried out by ISG Edit. A time step configuration file. iMOD Project File (ASCII): File containing the characteristics of files used in a model simulation. iMOD Runfile (ASCII): File used to run a model simulation with iMODFLOW. An iMOD Runfile may be generated from an iMOD Project File iMOD Initialization File (ASCII): File containing specific information for particular parts of iMOD, such as the ScenarioTool and the QuickScanTool. The syntax is comparable to the *.INI-files of Windows. iMOD Mask-File (BINARY): File contains coordinates of a rectangular area that can be loaded into iMOD to zoom to that particular area. iMOD Startpoint Definition File (ASCII): Window Bitmap (BMP), Portable Network Graphics Image (*.png), ZSoft PC Paintbrush, PostScript (*.ps) (all BINARY): Export file containing the image of the current window. NetCDF File (BINARY). More info: www. unidata.ucar.edu/software/netcdf. T *.csv Reference in this manual section 9.12 *.crd Associated Extension(s) DR AF Extent *.* section 9.18 section 9.19 section 9.20 section 9.21 section 9.22 section 9.4 section 5.5 chapter 10 section 7.10.1, section 7.11.1 section 5.1 section 7.13 *.png *.pcx *.ps *.nc 522 of 812 Deltares iMOD Files Extent Associated Extension(s) Reference in this manual *.map *.arr section 9.14 Map file (BINARY): A Map file is a binary data text file, which is mainly used as in-/output file of PCRaster. For more information about PCRaster go to: http://pcraster.geo.uu.nl/. Array file (ASCII): An array file is a text file, which is used as input file for iMODFLOW. It is generated by iMOD once the input is created for iMODFLOW. You can read in such a file directly in iMOD. ESRI Shape File (BINARY). File containing topological information on lines, points, polygons. DR AF T *.shp Description Deltares 523 of 812 iMOD, User Manual PRF-files During the start-up of iMOD the iMOD preference file is read to instruct iMOD to operate with the correct settings. These settings are placed in the IMOD_INIT.PRF file, or in a *.PRF file saved by the user. Example of a PRF-file: The following keywords can be included in the *.PRF file: KeyWord Folder/ File Folder Description T USER "D:\IMOD\IMOD_USER" DBASE "D:\IMOD\DBASE" MODFLOW "D:\OSSDELTARES\IMOD_X64_R.EXE" TOP25 "D:\TOP25 \BMPCRD.CRD" SUBSURFEXDBASE "N:\Units\\DBASE" 7ZIP "C:\PROGRAM FILES\7-ZIP\7Z.EXE" PLUGIN1 "D:\IMOD\PLUGINS FFMPEG "D:\THIRD_PARTY_SOFTWARE\FFMPEG.EXE" FFMPLAY "D:\THIRD_PARTY_SOFTWARE\FFMPLAY.EXE" VLCPLAYER "C:\PROGRAM FILES (X86)\VIDEOLAN \VLC.EXE" DR AF 9.1 USER (compulsory) TOP25 File VECTOR Folder HELPFILE File DBASE Folder IRDBASE File TAGS File MODFLOW SCENTOOL PLUGIN1 File File Folder PLUGIN2 Folder NORTHARROW ACROBATREADER IR_COSTS File 7ZIP Exe SUBSURFEXDBASE SOLIDTOOL HELPFILE Folder 524 of 812 Exe File File File User Map. Name of the *.CRD file to be able to position topographical bitmaps at the right coordinates. Map to direct to the map that stores topographical vector information (GEN, IPF, SHP files). iMOD Help file (*.PDF) that can be used by the Help ... button throughout the application. Map that directs to the location of the model data. This map is used to replace the string $DBASE$ in a runfile. Map that directs to the location of the Quick Scan Tool command (see section 7.10). Used for obtaining an approximate result from a database filled with model results. Map to store all the Tags (Comments), make sure this location is accessible by all relevant iMOD users. Name of the iMODFLOW executable. Initialization file (*.INI) for usage of the ScenarioTool. First folder that directs to the location of plugin subfolders. Such a subfolder at least contains the executable-file to be used in iMOD. Second folder that directs to another location of plugin subfolders. Such a subfolder at least contains the executable-file to be used in iMOD. Bitmap (BMP, PNG) that represents a North arrow that can be placed on the graphical window. Executable for the Acrobat Reader to be used to read the iMOD Help file as specified by the Keyword HELPFILE. Give the name of the map file containing action related cost to be used in the IR-database. Executable that will be used to unzip the files used by the Subsurface Explorer, see section 5.6. Folder in which the corresponding files are organized for the Subsurface Explorer, see section 5.6. Initialization file (*.INI) for usage of the SolidTool. iMOD Help file (*.PDF) that can be used by the Help ... button throughout the application. Deltares iMOD Files KeyWord FFMPEG Folder/ File Exe FFMPLAY Exe VLCPLAYER Exe Description Give the name of the FFMPEG executable, this program is necessary to compute playable movie files from bitmaps. This functionality is supported via the Movie Tool, see section 7.5. You can download the program for free at: https://ffmpeg.org. Give the name of the FFMPLAY executable, this program is necessary to play movie files, such as *.AVI and/or *.MPG. This functionality is supported via the Movie Tool, see section 7.5. You can download the program for free at: https://ffmpeg.org. Give the name of the VLC-player, this program is necessary to play movie files, see section 7.5.2. You can download the program for free at: http://www.videolan.org/vlc/index.nl.html. DR AF T To calculate Agriculture-subtypes, these files from “HELP2005-tabellen”are required: HLP_DRY File Give the name of the map file (HLP_DRY.dat) containing help dry values. HELP2005-database: crop|soiltype|GHG/GLG|respirationstress. HLP_WET File Give the name of the map file (HLP_WET.dat) containing help wet values. HLPSOIL File Give the name of the Raster file (HLP_SOIL.IDF); 1:50.000 soil map reclassified for HELP2005 (using bod2hlp.lut). LANDUSE File Give the name of the Landuse Raster file (*.INP) containing landuse types in LGN5-codes, to be able to read in the landuse distribution over the area. CROP_COSTS File Give the name of the map file containing lookup table with crops (in LGN5-codes) and crop-yields (Euro/ha/year). To calculate Nature-subtypes, these files from “WATERNOOD - Hydrologische randvoorwaarden natuur”are required: RFC_SOIL File Give the name of the Raster file:1:50.000 soil map reclassified to RFC-soils (using bod2rep.lut). RFC_LUT File Give the name of the file containing lookup table with RFC(reprofunction)-characteristics. NDT File Give the name of the Raster file with vegetation types to calculate potential development for. NDT_LUT File Give the name of the file (*.LUT) containing lookup table with option to aggregate vegetation types. ABIOT_LUT File Give the name of the file containing a lookup table with hydrologic requirements for vegetation types (NDT’s). To calculate Urban-subtypes, these files from “WATERNOOD - Hydrologische randvoorwaarden stedelijk”are required: URBAN_RANGE File In case of urban area, give name of map file to be able to read ranges of groundwater level. Values are in meters below surface. Note: iMOD will search for the IMOD_INIT.PRF file in the same folder from where iMOD is started. If such a file can not be found, iMOD will ask to create its own, with the minimal required keyword: USER. In the USER folder the following subdirectories are created when you start working in iMOD: {USER}\imffiles – storage of iMOD MetaFiles (*.IMF) {USER}\tmp – storage of temporary files; {USER}\legend – storage of legend files (*.LEG); {USER}\masks – storage of maskfiles (*.MSK); {USER}\runfiles – storage of runfiles (*.RUN); {USER}\scenarios – storage of scenario folders with scenario files (*.SCN;*.SDF); {USER}\solids – storage of SOLID-folders (*.SOL and *.SPF); {USER}\qsresults – storage of results of the QuickScanTool; {USER}\scentool – storage of results of the ScenTool; {USER}\settings – storage of setting-files (*.*); Deltares 525 of 812 iMOD, User Manual DR AF T {USER}\shapes – storage of shape-file (*.GEN; *.SHP); {USER}\startpoints – storage of startingpoint (*.ISP). 526 of 812 Deltares iMOD Files IMF-files All information of an iMOD project as shown in the iMOD Manager is saved in an iMOD Meta File (IMF). The file enables to save the project contents for later use. The IMF-file contains information to display the selected maps including legend and topographical overlays. The IMF-file is saved in ASCII-format and it has a logical structure. However it is not advised to change this file outside iMOD due to the long list of map properties. T On default, iMOD saves the content of the iMOD Manager each minute whenever the option Autosave On (1 minute) from the File menu is checked. This file is called AUTOSAVE-IMOD.IMF and is located in the folder {USER}\imffiles. DR AF 9.2 Deltares 527 of 812 iMOD, User Manual PRJ-files T A PRJ file describes the configuration of a model, it is a list of files that are associated to model layers and/or time steps. From a PRJ a MF2005 or Runfile can be configured for a specified number of model layers and/or transient periods. The PRJ file is the base file from which numerical simulations can be carried out. The syntax of the PRJ is simple and straightforward as all individual modules and packages are listed uniformly. DR AF 9.3 528 of 812 Deltares iMOD Files TIM-files A TIM-file describes the time sequence to be used constructing a runfile and/or Modflow2005 configuration, see section 5.5.4. T Example of a TIM-file: DR AF 9.4 Deltares 529 of 812 iMOD, User Manual IDF-files The file syntax of IDF-files (iMOD Data Files) is based on a file structure without any line feeds. This means that all data is written direct after each other. It is not written on a different line, but in a different record. An advantage of such a file structure is the possibility to access data randomly throughout the file (known as direct-access). The fileformat is unformatted and can therefore not be read in a normal TextEditor. It is based on the little-endian data format, as we read the file with records of 4 bytes (or 1 word). Since iMOD 5.0, the IDF file can be written in double-precision as well. In that case, the format of the real values are double precision (float 8) instead of single precision (float 4). IEQ=0 ITB=1 IEQ=1 Record 1 Format (bytes) Integer 4 Variable 1271 2296 2 3 4 5 6 7 8 9 10 11 Integer 4 Integer 4 Float 4/8 Float 4/8 Float 4/8 Float 4/8 Float 4/8 Float 4/8 Float 4/8 Integer 1 NCOL NROW XMIN XMAX YMIN YMAX DMIN DMAX NODATA IEQ Integer 1 ITB Integer 1 Integer 1 Float 4/8 Float 4/8 Float 4/8 — — DX DY TOP Description Lahey Record Length Identification; 1271 is a single precision IDF, 2296 a double precision. Number of columns Number of rows X lower-left-coordinate X upper-right-coordinate Y lower-left-coordinate Y upper-right-coordinate Minimal data value Maximal data value NoData value 0: equidistant IDF 1: nonequidistant IDF 0: no usage of TOP and BOT Values 1: usage of TOP and BOT Values Not used Not used Column width. Row height. Top value if ITB=1 Float 4/8 BOT Bot value if ITB=1 Float 4/8 DX(NCOL) Float 4/8 DY(NROW) Column width for each column, ranging from west to east Row height for each row, ranging from north to south T Cond. DR AF 9.5 12 13 12+ABS(IEQ1)*2 13+ABS(IEQ1)*2 12+ITB*2 13+ITB*2+NCOL IREC=10 + ABS(IEQ-1)*2 + IEQ*(NROW+NCOL) + ITB*2 + 1 IREC IREC +(NROW*NCOL) IP1=1 530 of 812 Float 4/8 Integer 1 IREC Integer 1 +(NROW*NCOL)+1 Char. 4 X(:,:) IADIT Value for each cell Binary number to store optional arguments: IP1=1: Comments added IP?=?: NLINE Number of lines that contain comments COMM(NLINE) Comment for NLINE Deltares iMOD Files MDF-files iMOD map files can be grouped into a Multi Data File (MDF) which contains the references to all grouped IDF-files. The MDF-file helps to control the number of files in the iMOD Manager. The MDF-file is saved in ASCII-format and it has a logical structure. However it is not advised to change this file outside iMOD. T The content of the MDF-file can be displayed by the option Info on the Map Info window DR AF 9.6 Deltares 531 of 812 iMOD, User Manual IPF-files The file syntax for IPF-files (iMOD Point File) is very straightforward and stored in ASCII-format. In this way this type of file can be easily edited and/or created outside iMOD with any other type of (commercial) software package. The syntax of the file is twofold and depends on whether the IPF file need to be associated with additional files (see next subsections). 1 IPF file that is configured such that is cannot be used with additional, associated, files; 2 IPF file that is configured such that it can be used with additional, associated, files. The first type of IPF file is very easy and simple. The syntax is equal to any regular comma-separated file. Description Specify for each column the label names. For NLABELS, specify individual entries per column. empty spaces need to be bracketed by single quotes. Entries with T Variable NLABELS DATABLOCK An example of such an IPF file as a comma-separated file is given below: X,Y,Z,"City of Holland" 100.0,435.0,-32.3,Amsterdam 553.0,143.0,-7.3,"Den Bosch" DR AF 9.7 For such an IPF file it is not necessary to define the number of columns or row to be read in, iMOD will distinguish these itself. Another IPF format, for which it more desired to explicitly define the number of attributes and entries is given below, as an advantage it allows to attach additional data to the IPF file: Variable NRECORDS NFIELDS FIELDNAMEi INDEXCOLUMN,EXTENT DATABLOCK Description Number of records Number of fields Name of the field number i, data is stored in column number i in the DATABLOCK. Repeat this item for NFIELDS on a separate line. Number of the index column, to be used for assess an extra file. Use INDEXCOLUMN=0, to indicate that there are no extra files associated. If INDEXCOLUMN >0, the EXTENT (e.g. TXT), will be added to the names in the INDEXCOLUMN to form the actual filename to be read. The maximum length for the EXTENT is 10 characters. It is not necessary to choose the extension *.TXT for these type of files, moreover, any extension can be chosen as long as the right EXTENT is given in the IPF-file that should call these additional files. For NRECORDS each record (line) will contain data for each field. It is not sustained to leave data out, whenever no data is known for that particular field. For each data entry the maximum is 50 characters! Example of an IPF-file without a reference to an additional file associated to it (INDEXCOLUMN=0,EXTENT=TXT): 2 4 X Y Z "City of Holland" 0,TXT 100.0,435.0,-32.3,Amsterdam 553.0,143.0,-7.3,"Den Bosch" The different data for each field should be delimited by a single (or more) space(s), or a comma. Do 532 of 812 Deltares iMOD Files not use tabs as delimiters! Entries that contain spaces should be encapsulated by quotes, e.g. City of Holland should be entered as ‘City of Holland’. Associated Files Associated files can contain different types of data that are processed differently by iMOD. The syntax of each of those type of files is similar each time and described as follows: Variable NRECORDS NFIELDS,ITYPE Description Number of records Number of fields and the type of this file. Name of the field number i, data is stored in column number i in the DATABLOCK. Missing data per field is determined by their corresponding NoDataValue. Repeat this item for NFIELDS. For NRECORDS each record (line) will contain data for each field. It is not sustained to leave data out, whenever no data is known for that particular field use the corresponding Field NoDataValue. DR AF FIELDNAMEi , NODATAi T 1 Timevariant information such as timeseries of measurements, extraction rates and so on (ITYPE=1); 2 1D Borehole information that are oriented downwards perpendicularly by a z value (ITYPE=2); 3 Cone Penetration Test Information that are oriented downwards perpendicularly (ITYPE=3); 4 3D Borehole information that is truly 3D as each interval is expressed by x,y and z coordinates (ITYPE=4). DATABLOCK In the next subsections each of those type of files will explained in more detail. 9.7.1 Associated Files with Timevariant Information Timevariant information of timeseries can be stored in *.TXT files and their location and other spatial attributes (e.g. depth of the screen, surfacelevel) or non-dimensional information (e.g. id, name) can be stored in the IPF-file. The syntax of the *.TXT file is as follows: 4 3,1 DATE,-9999.0 MEASUREMENT,-9999.0 PREDICTION,-9999.0 19940114 5.70 5.70 19940128 5.73 5.71 19940214 4.95 5.10 19940228 5.01 5.15 Note: It is compulsory to use the first column to enter the date, expressed by a [yyyymmdd] notation or alternatively [yyyymmddhhmmss]. 9.7.2 Associated File with 1D Borehole Information Boreholes can be stored in *.TXT files and their location and other spatial attributes (e.g. surfacelevel) or non-dimensional information (e.g. id, name) can be stored in the IPF-file. The syntax of these *.TXT files is equal to the syntax of the TimeVariant information, however, ITYPE=2. It is compulsory to use the first column to enter the vertical coordinate, expressed by meter+MSL (mean-sea-level). Use comma’s and/or space(s) as delimiters. Moreover, any other column can be used for colouring the interval i and i+1. In the example below, the Lithology=S will be used to colour Deltares 533 of 812 iMOD, User Manual the interval between 3.90 and -3.10 m+MSL. The colours that will be used are defined in iMOD or can be read by iMOD from a *.DLF-file. 9.7.3 T 6 4,2 "Z-COORDINATE,M+MSL",-9999.99 "LITHOLOGY",-9999.99 "SANDCLASS NEN5104",-9999.99 "DISTORTION",-9999.99 3.90,S,NONE,NONE -3.10,S,NONE,SPARSE -11.10,S,ZFC,NONE -23.10,C,NONE,NONE -26.10,S,ZFC,NONE -38.10,-,-,- Associated File with Cone Penetration Test Information DR AF Cone Penetration Test(or borelog) information can be stored in *.TXT files and their location and other spatial attributes (e.g. surfacelevel) or non-dimensional information (e.g. id, name) can be stored in the IPF-file. The syntax of these *.TXT files is equal to the syntax of the TimeVariant information, however, ITYPE=3. It is compulsory to use the first column to enter the vertical coordinate, expressed by meter+MSL (mean-sea-level). Use comma’s and/or space(s) as delimiters. 6 8,3 "M,LENGTH",-9999.99 "MPA,CONUSRESISTANCE",-9999.99 "MPA,RESISTANCE",-9999.99 0.32,0.721,-9999.99 0.30,0.760,-9999.99 0.28,0.783,0.048 0.26,0.828,0.061 0.24,0.865,0.066 0.22,0.893,0.073 0.20,0.838,0.073 0.16,0.930,0.070 In the example above, the fields that contain values equal to the Field NoDataValue will not be drawn and are excluded in the graph. 9.7.4 Associated File with 3D Borehole Information 3D Boreholes information (dx,dy,z) can be stored in *.TXT files and their origin location and other spatial attributes (e.g. surfacelevel) or non-dimensional information (e.g. id, name) can be stored in the IPF-file. It is compulsory to use the first three columns to enter the offset in x and y direction and the vertical coordinate, expressed by meter+MSL. Use comma’s and/or space(s) as delimiters. Moreover, any other column can be used for colouring the interval i and i+1. In the example below, the Lithology=S will be used to colour the interval between (x,y,z) 5.0,5.0,-1.0 and (x,y,z) 7.5,5.0,-2.5. The colours that will be used are defined in iMOD or can be read by iMOD from a *.DLF-file. 9 4,4 "OFFSET X",-9999.99 "OFFSET Y",-9999.99 "Z-COORDINATE,M+MSL",-9999.99 "PERF_TREATMENT_TYPE",-9999.99 0.0,0.0,0.0,CEMENT 534 of 812 Deltares iMOD Files 5.0,5.0,-1.0,CEMENT_PLUG 7.5,5.0,-2.5,PERFORATION 12.1,6.0,-4.5,PERFORATION 3.1,2.0,-12.3,"ACID TREATMENT" -2.1,-3.1,-32.3,"MULTI-STAGE FRACTURE" -21.1,-43.1,-12.3,"PACKING DEVICE" -2.1,-5.6,-4.3,"PACKING DEVICE" -5.1,3.6,-7.3,- DR AF T Note: It is possible with this type of boreholes to change azimuth and angle throughout the borehole, in this manner the borehole can move in any direction through the subsoil and even move up- and downwards. Deltares 535 of 812 iMOD, User Manual IFF-files The File syntax for IFF-files (iMOD Flowpath File) is very simple and stored in ASCII-format. In this way these type of files can be easily edited and/or created outside iMOD with other (commercial) software. The formal syntax is as follows and prescribed: Number of fields; NFIELDS=9. Number of the particle in the particle tracking. Modellayer number of the current position of the particle. X-coordinate of the current position of the particle. Y-coordinate of the current position of the particle. Z-coordinate of the current position of the particle. Age at the current position of the particle. Velocity at the current position of the particle. Row number at the current position of the particle. Column number at the current position of the particle. Each record (line) will contain data for each field. T NFIELDS PARTICLENUMBER ILAY XCRD. YCRD. ZCRD. TIME(YEARS) VELOCITY(M/D) IROW ICOL DATABLOCK iMOD will draw the flowpath using the XCRD, YCRD and ZCRD (the latter is used within the CrossSection Tool and the 3DTool). Whenever the PARTICLENUMBER changes, iMOD will start drawing another line until the end of the IFF-file is reached. DR AF 9.8 9 PARTICLE_NUMBER ILAY XCRD. YCRD. ZCRD. TIME(YEARS) VELOCITY(M/DAY) IROW ICOL 1 1 0.5000000E-01 1 1 1 1 0.5000000E-01 1 1 1 2 0.5000000E-01 1 1 1 2 0.1024045E-01 1 1 1 3 0.1024045E-01 1 1 1 3 0.3189280E-02 1 1 1 4 0.3189280E-02 1 1 1 4 0.5000000E+00 1 1 2 1 0.1050000E+01 1 2 2 1 0.1050000E+01 1 2 2 2 0.1050000E+01 1 2 2 2 0.1000000E+01 1 1 2 2 0.2150384E+00 1 1 2 3 0.2150384E+00 1 1 536 of 812 0.5000000E-01 -0.9999871E-05 0.0000000E+00 0.0000000E+00 0.5000000E-01 -0.1000000E-01 0.5673637E-01 0.3333346E-05 0.5000000E-01 -0.2000000E-01 0.6494979E-01 0.3333346E-05 0.5000000E-01 -0.5000000E-01 0.7477629E-01 0.2234009E-01 0.5000000E-01 -0.6000000E-01 0.7639593E-01 0.2234009E-01 0.5000000E-01 -0.1000000E+00 0.8600117E-01 0.1724361E-01 0.5000000E-01 -0.1100000E+00 0.8977942E-01 0.1724361E-01 0.5000000E+00 -0.1300000E+00 0.8977942E-01 0.0000000E+00 0.5000000E-01 -0.9999871E-05 0.0000000E+00 0.0000000E+00 0.5000000E-01 -0.1000000E-01 0.5673701E-01 0.3333308E-05 0.5000000E-01 -0.2000000E-01 0.6495053E-01 0.3333308E-05 0.5000000E-01 -0.2037707E-01 0.6526318E-01 0.4339061E+00 0.5000000E-01 -0.5000000E-01 0.7478765E-01 0.4418139E+00 0.5000000E-01 -0.6000000E-01 0.7640729E-01 0.4418139E+00 Deltares iMOD Files 0.6697147E-01 0.5000000E-01 -0.1000000E+00 0.8601253E-01 0.7347348E-01 0.6697147E-01 0.5000000E-01 -0.1100000E+00 0.8979079E-01 0.7347348E-01 0.5000000E+00 0.5000000E+00 -0.1300000E+00 0.8979079E-01 0.0000000E+00 0.2050000E+01 0.5000000E-01 -0.9999871E-05 0.0000000E+00 0.0000000E+00 0.2050000E+01 0.5000000E-01 -0.1000000E-01 0.5673680E-01 0.3333321E-05 0.2050000E+01 0.5000000E-01 -0.2000000E-01 0.6495028E-01 0.3333321E-05 0.2000000E+01 0.5000000E-01 -0.2058719E-01 0.6543636E-01 0.2796153E+00 0.1000000E+01 0.5000000E-01 -0.2783243E-01 0.7310726E-01 0.2836847E+00 0.4154203E+00 0.5000000E-01 -0.5000000E-01 0.7855114E-01 0.4418535E+00 T 3 1 4 1 4 1 1 3 1 3 2 3 2 2 2 1 2 1 3 1 3 1 4 1 4 1 0.4154203E+00 0.5000000E-01 -0.6000000E-01 0.8017078E-01 0.4418535E+00 0.1293783E+00 0.5000000E-01 -0.1000000E+00 0.8977602E-01 0.1391620E+00 DR AF 2 1 2 1 2 1 3 1 3 1 3 1 3 1 3 1 3 1 3 1 3 1 3 1 3 1 0.1293783E+00 0.5000000E-01 -0.1100000E+00 0.9355428E-01 0.1391620E+00 0.5000000E+00 0.5000000E+00 -0.1300000E+00 0.9355428E-01 0.0000000E+00 Deltares 537 of 812 iMOD, User Manual ISG-files The ISG-file format is developed to capture all relevant information used by surface water elements in direct relation with groundwater. It stores stages, bottom heights, infiltration factors, resistances, and moreover, the actual outline of the surface water element. To store all these different types of information the ISG-file format consists of associated files that are connected by the ISG-file. This ISGfile is the one that will be actually read by iMOD, the other files will be opened by iMOD automatically. The syntax of the ISG-file format, and its associated files is as follows: Attribute Description First line add the following columns Number of segments. Usage of surface-flow routing (SFR) ability from the associated file *.ISD*. If ASFR=0, a default ISG file is used, if ASFR=1, a SFR compliant version of the ISG is used. Enter the name of the labels that are present in the ISD file, whenever ASFR=0 the following labels are present: LABEL Date The date of the entry; Water level T NSEG ASFR DR AF 9.9 The Waterlevel at the calculation node Bottom level The Bottom level at the calculation node; Resistance The Resistance at the calculation node; Inf.factor The Infiltration factor at the calculation node. whenever ASFR=1 the following labels are present: Date The date of the entry; For each segment add the following columns LABEL ISEG NSEG ICLC NCLC ICRS NCRS ISTW NSTW IQHR NQHR 538 of 812 Name of the segment, use quotes to distinguish names with empty spaces. Maximum size of each label is 52 characters. Record number that defines the first coordinate (node) in the associated ISP-file. Number of records in the ISP-file that describes the segment by coordinates. Record number that defines the first calculation points on the segment ISEG within the associated ISD1-file. Number of calculation points on segment ISEG. Record number that defines the first cross-section on the segment ISEG within the associated ISC1-file. Number of cross-sections on segment ISEG. Record number that defines the first weir/structure on the segment ISEG within the associated IST1-file. Number of weirs/structures on segment ISEG. Number of discharge-water level relationships. Record number that defines the first discharge-water level relationships on the segment ISEG within the associated ISQ1-file. Deltares iMOD Files DR AF Example of an ISG-file: T The structure of the ISG-file can be illustrated by the following figure: 16,0,"Date","Water level","Bottom level","Resistance","Inf.factor" "NOM_1",1,120,1,15,1,8,1,2,1,16 "NOM_2",121,18,16,7,9,3,3,2,17,8 "NOM_3",139,7,23,13,12,3,5,9,25,21 "NOM_4",146,6,36,4,15,1,14,2,46,5 "NOM_5",152,44,40,15,16,4,16,2,51,16 "NOM_6",196,16,55,8,20,3,18,2,67,9 "NOM_7",212,27,63,9,23,3,20,0,76,9 "NOM_8",239,31,72,12,26,4,20,4,85,16 "NOM_9",270,88,84,13,30,4,24,1,101,13 "NOM_10",358,10,97,6,34,1,25,1,114,6 "NOM_11",368,71,103,15,35,5,26,4,120,18 "NOM_12",439,11,118,32,40,10,30,0,138,31 "NOM_13",450,12,150,4,50,2,30,2,169,5 "NOM_14",462,30,154,6,52,2,32,1,174,6 "NOM_15",492,4,160,2,54,1,33,0,180,1 "NOM_16",496,15,162,5,55,2,33,1,181,5 Note: Warning: To maintain consistency do not edit a ISG-file outside iMOD. For nodes, calculations points, cross-section, structures a similar setup is used. A first reference is made from the *.ISG file to the record in the *.ISD1 file. From there another reference is made to the *ISD2 file that contains the specific configuration parameters. The files associated from the ISG-file (ISP-, ISD-, ISC-, IST- and ISQ-files) are all binary and indexed files and cannot be edited in regular text editors. In the following sections these file-types will be described in detail. 9.9.1 ISP fileformat The ISP-file is built with a record length of 8 bytes/2 words. The first record of the ISP is reserved to store the record length (2295). The ISEG variable in the ISG points to the record number that determines the first coordinate of the segment. Since the first record is reserved already, iMOD actually reads the ISEG+1 record instead. From each record two reals will be read that represent the x and y coordinate of the current node on the segment, see table below: Attributes for each record in an ISP-file: Deltares 539 of 812 iMOD, User Manual Attribute Width (bytes) X 4 (real) Y 4 (real) ISD1 and ISD2 fileformat The ISD1-file is built with a record length of 44 bytes/11 words. The first record is solely reserved to store the record length (11511). The ICLC variable in the ISG-file points to the record number that determines the first calculation point on the segment. Since the first record is reserved already, iMOD actually reads the ICLC+1 record instead. Each record contains the following attributes: Attributes for each record in an ISD1-file: IREF 4 (int) DIST 4 (real) CNAME Description Number of data records in the ISD2-file that describes the timeserie of the calculation point. Record number within the ISD2-file for the first data record that describes the timeserie for the calculation point. Distance (meters) measured from the beginning of the segment (node 1) that located the calculation point. Name of the calculation point. T Attribute Width (bytes) N 4 (int) DR AF 9.9.2 Description X-coordinate of node (meter) Y-coordinate of node (meter) 32 (char) Note: For the SFR-option, only two calculation points are allowed, one at the beginning of a segment and one at the end. It depends on the ASFR whether this file contains information for the RIV package (ASFR=0) or alternatively for the SFR package (ASFR=1). The ISD2-file is built with a record length of 20 bytes/5 words for ASFR=0. For ASFR=1, the record length is 44 bytes/13 words of 4 bytes each. The first record is solely reserved to store the record length (ASFR=0: 5367 and ASFR=1: 12535). The IREF variable in the ISD1-file points to the record number that determines the data for the calculation point on the segment. Since the first record is reserved already, iMOD actually reads the IREF+1 record instead. Each record contains the following attributes: Attributes for each record in an ISD2-file (ASFR=0): Attribute Width (bytes) IDATE 4 (int) WLVL 4 (int) BTML 4 (real) RESIS 4 (real) INFF 4 (real) Description Date representation as yyyymmdd. Waterlevel of the river (m+MSL) Bottom level of the riverbed (m+MSL). Resistance of the riverbed (days). Infiltration factor (-) Attributes for each record in an ISD2-file (ASFR=1): Attribute Width (bytes) IDATE 4 (int) CTIME 8 (char) BOTTOM- 4 (real) LEVEL THICKNESS HCFACT 540 of 812 Description Date representation as yyyymmdd. Time representation as hh:mm:ss. Bottom level of the riverbed (m+MSL). 4 (real) Thickness of the river bed (m). 4 (real) Conductivity of the river bed (md−1 ). Deltares iMOD Files IDOWNSEG 4 (int) An integer value of the downstream stream segment (-) that receives tributary inflow from the last downstream reach of this segment. IDOWNSEG > 0 If this segment feeds (or discharges into) an- 4 (int) An integer value of the upstream segment (-) from which water is diverted (or withdrawn) to supply inflow to this stream segment if this segment originates as a diversion from an upstream segment. DR AF IUPSEG T other downstream (tributary) segment, then enter the number of that stream; IDOWNSEG = 0 If this segment does not feed (or discharge into) another downstream (tributary) segment, then enter a value of 0 for this variable. If the segment ends within the modeled grid and IDOWNSEG = 0, outflow from the segment is not routed anywhere and is no longer part of the stream network. One may wish to use this if all flow in the stream gets diverted into a lined canal or into a pipe; IDOWNSEG < 0 If the flow out of this segment discharges into a lake, IDOWNSEG will be equal to the negative value of the lake identification number; where the minus sign is used as a flag to tell the model that flow enters a lake rather than a tributary stream segment. IUPSEG > 0 If this stream segment receives inflow as a diversion from an upstream segment, enter the stream number; IUPSEG < 0 If the source of a stream segment is discharge from a lake, set IUPSEG equal to the negative value of the lake identification number; where the minus sign is used as a flag to tell the model that streamflow into this segment is derived from a lake rather than a stream segment; IUPSEG = 0 If this stream segment does not receive inflow as a diversion from an upstream segment, then set IUPSEG = 0. CALCOPT 4 (int) Method determines how stream depth and width are calculated for each reach in a segment (-). CALCOPT=1 Stream depth in each reach is specified at the begin Deltares ning of a stress period and remains unchanged unless flow at the midpoint of a reach is zero, then depth is set to zero in that reach; CALCOPT=2 Stream depth is calculated and updated each iteration of the solver within a time step and is calculated from Manning’s equation assuming a wide rectangular channel; CALCOPT=3 Stream depth and width is calculated and updated each iteration of the solver within a time step and are calculated from Manning’s equation using an eight-point cross section; CALCOPT=4 Stream depth and width is calculated and updated each iteration of the solver within a time step and are calculated from a power function; CALCOPT=5 Stream depth and width is calculated and updated each iteration of the solver within a time step and are calculated from a table of values as entered in the Q-DEPTH/WIDTH relation ships. 541 of 812 iMOD, User Manual DIVOPT 4 (int) An integer value that only is specified if IUPSEG > 0 (do not specify a value in this field if IUPSEG = 0 or IUPSEG < 0). DIVOPT defines the prioritization system for diversion, such as when insufficient water is available to meet all diversion stipulations, and is used in conjunction with the value of QFLOW (specified below) (-). DIVOPT=1 then if the specified diversion flow (QFLOW) is greater DR AF T than the flow available in the stream segment from which the diversion is made, the diversion is reduced to the amount available, which will leave no flow available for tributary flow into a downstream tributary of segment IUPSEG; DIVOPT=2 then if the specified diversion flow (QFLOW) is greater than the flow available in the stream segment from which the diversion is made, no water is diverted from the stream. This approach assumes that once flow in the stream is sufficiently low, diversions from the stream cease, and is the ”priority“ algorithm that originally was programmed into the STR1 Package (Prudic, 1989); DIVOPT=3 then the amount of the diversion is computed as a fraction of the available flow in segment IUPSEG; in this case, 0.0 < QFLOW < 1.0; DIVOPT=4 then a diversion is made only if the streamflow leaving segment IUPSEG exceeds the value of QFLOW. If this occurs, then the quantity of water diverted is the excess flow and the quantity that flows from the last reach of segment IUPSEG into its downstream tributary (IDOWNSEG) is equal to QFLOW. This represents a flood-control type of diversion, as described by Danskin and Hanson (2002). Illustration of the diversion rates per DIVOPT category that is assigned to the red segment in the figure. 542 of 812 Deltares iMOD Files QFLOW 4 (real) Streamflow entering or leaving the upstream end of a stream segment (i.e. the first reach) (m3 s−1 ). iMOD will check whether you have entered a value larger than 100000.0, as this might indicate that the entered volume is m3 d−1 instead of m3 s−1 . Be aware of the fact that the meaning of QFLOW depends on the fact whether the stream is a If the stream is a headwater stream (IUPSEG = 0) which is the DR AF T first stream of a segment without any segment upstreams, QFLOW defines the total inflow to the first reach of the segment. The value can be any number ≥ 0.0; If the stream is a tributary stream (IUPSEG = 0) with an upstream dewatering stream, QFLOW defines additional specified inflow to or withdrawal from the first reach of the segment (that is, in addition to the discharge from the upstream segment of which this is a tributary). This additional flow does not interact with the groundwater system. For example, a positive number might be used to represent direct outflow into a stream from a sewage treatment plant, whereas a negative number might be used to represent pumpage directly from a stream into an intake pipe for a municipal water treatment plant; If the stream is a diversionary stream (IUPSEG 6= 0), and the diversion is from another stream segment, QFLOW defines the streamflow diverted from the last reach of stream segment IUPSEG into the first reach of this segment. The diversion is computed or adjusted according to the value of DIVOPT; If the stream is a diversionary stream (IUPSEG 6= 0), and the diversion is from a lake, QFLOW defines a fixed rate of discharge diverted from the lake into the first reach of this stream segment (unless the lake goes dry) and flow from the lake is not dependent on the value of ICALC. However, if QFLOW = 0, then the lake outflow into the first reach of this segment will be calculated on the basis of lake stage relative to the top of the streambed for the first reach using one of the methods defined by ICALC. QRUNOFF 4 (real) 9.9.3 PPTSW 4 (real) ETSW 4 (real) volumetric rate (m3 s−1 ) of the diffuse overland flow runoff that enters the stream segment, the rate is apportioned to each reach of the segment. precipitation (mmd−1 ) that is the volumetric rate per unit area of water added by precipitation directly on the stream channel (in units of length (millimeter) per time (day)). evaporation (mmd−1 ) that is the volumetric rate per unit area of water removed by evapotranspiration directly from the stream channel (in units of length (millimeter) per time (day)). ETSW is always defined as a positive value. ISC1 and ISC2 fileformat The ISC1-file is built with a record length of 44 bytes/11 words. The first record is solely reserved to store the record length (11511). The ICRS variable in the ISG-file points to the record number that determines the first calculation point on the segment. Since the first record is reserved already, iMOD actually reads the ICRS+1 record instead. Each record contains the following attributes: Attributes for each record in an ISC1-file: Attribute Width (bytes) N 4 (int) Deltares Description The meaning of this attribute is twofold: >0 Number of data records in the ISC2-file that describes the actual cross-section. 543 of 812 iMOD, User Manual <0 IREF 4 (int) DIST 4 (real) CNAME 32 (char) The absolute number of data records in the ISC2-file that describes the riverbed as a collection of x,y,z points including an extra record to describe the dimensions (DX,DY ) of the network that captured the x,y,z points. Record number within the ISC2-file for the first data record that describes the cross-section. Distance (meters) measured from the beginning of the segment (node 1) that locates the cross-section. Name of the cross-section. Attributes for each record in an ISC2-file: Width (bytes) 4 (real) Description Distance of the cross-section measured from the centre of the riverbed (minus to the left en positive to the right). Bottom level of the riverbed (meter), whereby zero will be assigned to the lowest riverbed level. Manning’s roughness coefficient (-). DR AF Attribute DISTANCE T The ISC2-file is built with a record length of 12 bytes/3 words. The first record is solely reserved to store the record length (3319). The IREF variable in the ISC1-file points to the record number that determines the data for the calculation point on the segment. Since the first record is reserved already, iMOD actually reads the IREF+1 record instead. Each record contains the following attributes whenever N>0: BOTTOM 4 (real) MRC 4 (real) Alternatively, the record can have a different meaning whenever N<0: Attribute Width (bytes) First record at IREF+1 DX 4 (real) DY HREF 4 (real) 4 bytes Description Absolute width kDX k in meters of the rectangular raster that follows. Absolute height kDY k in meters of the rectangular raster that follows. Reference Height in meters. Whenever specified (DX < 0.0 and DY < 0.0), the attribute Z (specified below) is organized differently. Following records starting at IREF+2 X 4 (real) X coordinate (meter) for a riverbed “pixel”, these coordinates need to be on a rectangular network with spatial distance of kDX k measured at the centre of the “pixel”. Y 4 (real) Y coordinate (meter) for a riverbed “pixel” , these coordinates need to be on a rectangular network with spatial distance of kDY k measured at the centre of the “pixel”. Following record is valid whenever DX > 0.0 and DY > 0.0 Z 4 (real) Bottom level of the riverbed (meter). Following record is valid whenever DX < 0.0 and DY < 0.0 Zm 2 (integer) Integer value of bottom level of the riverbed (integer of meters), e.g. bottom level is -23.43, Zm =-23. Zc 1 (integer) Integer value of remaining digits of bottom level of the riverbed (remaining centimeter), e.g. bottom level is -23.43, Zc =43 centimeters. 544 of 812 Deltares iMOD Files Zp 9.9.4 1 (integer) Integer value of area affected by HREF, e.g. areas with Zp < 0 will be inundated only whenever the current river stage is higher than the Reference Height (HREF) and the river stage is higher than the corresponding riverbed. Areas with Zp > 0, will be inundated whenever the river stage is higher than the current riverbed. The absolute value of Zp is used as a multiplication factor for the river bed resistances for the attribute RESIS in the ISD2-file (see 9.9.2). IST1 and IST2 fileformat Attributes for each record in an IST1-file: Width (bytes) 4 (int) Description Number of data records in the IST2-file that describes the actual timeserie for the weir/structure. Record number within the IST2-file for the first data record that describes the weirs/structure. Distance (meters) measured from the beginning of the segment (node 1) that locates the weir/structure. Name of the weir/structure. DR AF Attribute N T The IST1-file is built with a record length of 44 bytes/11 words. The first record is solely reserved to store the record length (11511). The ISTW variable in the ISG-file points to the record number that determines the first calculation point on the segment. Since the first record is reserved already, iMOD actually reads the ISTW+1 record instead. Each record contains the following attributes: IREF 4 (int) DIST 4 (real) CNAME 32 (char) The IST2-file is built with a record length of 12 bytes/3 words. The first record is solely reserved to store the record length (3319). The IREF variable in the IST1-file points to the record number that determines the data for the calculation point on the segment. Since the first record is reserved already, iMOD actually reads the IREF+1 record instead. Each record contains the following attributes: Attributes for each record in an IST2-file: 9.9.5 Attribute IDATE WLVL_UP Width (bytes) 4 (int) 4 (real) WLVL_DWN 4 (real) Description Date representation as yyyymmdd. Water level for the upstream side of the weir/structure (m+MSL). Water level for the downstream side of the weir/structure (m+MSL). ISQ1 and ISQ2 fileformat The ISQ1-file is built with a record length of 44 bytes/11 words. The first record is solely reserved to store the record length (11511). The IQHR variable in the ISG-file points to the record number that determines the first calculation point on the segment. Since the first record is reserved already, iMOD actually reads the IQHR+1 record instead. Each record contains the following attributes: Attributes for each record in an ISQ1-file: Attribute N Width (bytes) 4 (int) IREF 4 (int) DIST 4 (real) Deltares Description Number of data records in the ISQ2-file that describes the actual timeserie for the q-width/depth relation ship. Record number within the ISQ2-file for the first data record that describes the q-width/depth relation ship. Distance (meters) measured from the beginning of the segment (node 1) that locates the q-width/depth relation ship. 545 of 812 iMOD, User Manual CNAME 32 (char) Name of the q-width/depth relation ship. The ISQ2-file is built with a record length of 12 bytes/3 words. The first record is solely reserved to store the record length (3319). The IREF variable in the ISQ1-file points to the record number that determines the data for the calculation point on the segment. Since the first record is reserved already, iMOD actually reads the IREF+1 record instead. Each record contains the following attributes: Attributes for each record in an ISQ2-file: Width (bytes) 4 (int) 4 (real) 4 (real) 4 (real) Description Discharge in m3 d−1 . Width of the stream at the given discharge Q (m). Depth of the stream at the given discharge Q (m). obsolete factor at the given discharge Q (-). DR AF T Attribute Q WIDTH DEPTH FACTOR 546 of 812 Deltares iMOD Files 9.10 GEN-files In iMOD two types of GEN files are distinguished a) the standard GEN file format as developed by ESRI, maker of ArcINFO, ARCGIS, ArcView and b) the GEN file developed for iMOD to generate images from large GEN-files most efficiently. Standard GEN-files Creating a GEN-file can be done in ArcView3.x by means of the sample script shp2gen.ave (installdirectory \ESRI\AV_GIS30\ARCVIEW\Samples\scripts\shp2gen.ave). Within ArcGIS this can be performed only by a conversion of the ArcGIS shapefile to a ArcINFO coverage and finally using the command UNGENERATE to create a GEN-file. The syntax of a GEN-file should be as follows: ID1 , X1 , Y1 ID2 , X2 , Y2 .. IDn , Xn , Yn END Lines ID1 X1 ,Y1 X2 ,Y2 X3 ,Y3 ... Xn ,Yn END ID2 X1 ,Y1 X2 ,Y2 X3 ,Y3 ... Xn ,Yn END END T Points DR AF 9.10.1 Polygons ID1 X1 ,Y1 X2 ,Y2 X3 ,Y3 ... X1 ,Y1 END ID2 X1 ,Y1 X2 ,Y2 X3 ,Y3 ... X1 ,Y1 END END Deltares 547 of 812 iMOD, User Manual or 3-D representatives as ID1 X1 ,Y1 ,Z1 X2 ,Y2 ,Z2 X3 ,Y3 ,Z3 ... X1 ,Y1 ,Z1 END ID2 X1 ,Y1 ,Z1 X2 ,Y2 ,Z2 X3 ,Y3 ,Z3 ... X1 ,Y1 ,Z1 END END T 3-D Polygons Note: iMOD will display 3-D Polygons as filled surfaces in the 3-D tool. DR AF 3-D Lines ID1 X1 ,Y1 ,Z1 X2 ,Y2 ,Z2 X3 ,Y3 ,Z3 ... Xn ,Yn ,Zn END ID2 X1 ,Y1 ,Z1 X2 ,Y2 ,Z2 X3 ,Y3 ,Z3 ... Xn ,Yn ,Zn END END Note: The ID field is read by iMOD as a character-type, thus ID can be an integer, real or character, e.g. ID=1, or ID=3.22 or ID=Area1. Make sure that quotes are use for ID field with spaces or commas; such as ID=“Area 1”. 9.10.2 iMOD GEN-files The GEN file format for iMOD is optimized for usage in iMOD and to represent large GEN-files efficiently. The file format is a binary format and consists out of coordinates as well as attributes for existing labels. XMIN(real*8),YMIN(real*8),XMAX(real*8),YMAX(real*8) MAXPOL(integer*4),MAXCOL(integer*4) add following in case MAXCOL > 0 COLWIDTH(integer*4)[dimension MAXCOL] LABELS(character*11)[dimension MAXCOL] repeat following for MAXPOL NPOINTS(integer*4) 548 of 812 Deltares iMOD Files add following in case MAXCOL > 0 LABELS(character*COLWIDTH[dimension MAXCOL])[dimension MAXCOL] add these representing the point,polygon,lines XMIN(real*8),YMIN(real*8),XMAX(real*8),YMAX(real*8) X(real*8),Y(real*8))[dimension NPOINTS] DR AF T The above mentioned format is slightly different whenever labels are absent, some of the entries can be skipped for those cases. The size of the labels for the attributes is limited to 11 characters, this is similar are present in the DBF-files from ESRI-ArcGIS. Whenever NPOINTS=1, iMOD will display a points, whenever the first and last coordinates are similar a polygon will be plotted, in others cases a line. Deltares 549 of 812 iMOD, User Manual DAT-files DAT-files can be used to associate information to GEN-files (see section section 9.10.1). The DAT-file should have the same name as the GEN-file. The IDi number(s) for the polygons is used to relate to the proper ID in the DAT-file. The syntax of a DAT-file is simple. Header Header label for each column. The first column is reserved for the ID number to relate to the ID number of the associated GEN-file. Enter a value for each column for each unique ID value in the associated GEN-file. Values T Example of a DAT-file: DR AF 9.11 Note: It is possible, however, to relate more polygons with identical ID numbers, to the same ID in the DAT-file. Note: The different data for each field should be delimited by a single (or more) space(s), or a comma. Do not use tabs as delimiters! Entries that contain spaces should be encapsulated by quotes, e.g. Het Rif should be entered as ‘Het Rif’. 550 of 812 Deltares iMOD Files CSV-files Throughout the iMOD application it is possible to import or export data for and into a CSV-file format (comma-separated-values file). The syntax for those files is simple and straightforward and equal to a DAT-file format (see section 9.11). Header Values Header label for each column. Enter a value for each column, use quote for entry fields that contain spaces, comma’s, e.g. Klompen Plein should be noted as “Klompen Plein”. Whenever a CSV is imported in iMOD the Read CSV-file window is shown. For each parameter that needs to be assigned (depending on the calling interface, see section 6.10.3.9), this window links the parameter read from the CSV-file to the column in the CSV-file. T Read CSV-file: DR AF 9.12 Field in the Table: OK Click this checkbox to use the associated column for the corresponding column, e.g. the Distance parameter will be read from the column with the label X. Parameter The rows for this column will be filled in automatically based on the parameters needed from the calling interface. Column La- Select the appropriate column in the CSV-file to be assigned to the parameter listed bel in the Parameter column. Constant Enter a value to be used as a constant value for all rows in the CSV-file. Value OK Click this button to import the data from the CSV-file and use the read value for the appropriate Parameters. Help . . . Cancel Click this button the cancel the import from the selected CSV-file. Deltares 551 of 812 iMOD, User Manual ASC-files The format is relatively straight-forward: the first six lines indicate the reference of the grid, followed by the values listed in the order they would naturally appear (left-right, top-down). For example, consider a grid, shown to the left. This could be encoded into an ASCII grid file that would look like: T ESRI ASCII Format: DR AF 9.13 Variable # Ncols Nrows Xllcorner Yllcorner Cellsize NODATA_ value Format Integer Integer Real Real Real Real DataBlock Integer Real Description Comments Numbers of columns Numbers of rows The western (left) x-coordinate The southern (bottom) y-coordinate The length of one side of a square cell The value that is regarded as “missing” or “not applicable”; this line is optional, but highly recommended as iMOD will expect this line to be declared Listing of the raster values for each cell, starting at the upperleft corner (north-west). These number are delimited using a single (or more) space(s) character(s). Note: These ESRI ASCII rasters will be converted into IDF-files whenever they are read into iMOD. However, iMOD can export IDF-files into ESRI ASCII files again. 552 of 812 Deltares iMOD Files ARR-files The format is relatively straight-forward: it is a free-formatted file format generate by iMOD to create the input per package for iMODFLOW. For example, consider a grid with boundary conditions: -1,1,1,1,1,1,-1 0,0,0,1,1,1,-1 0,0,0,1,1,1,-1 0,0,0,1,1,1,-1 0,0,0,0,0,1,-1 -1 5*1 -1 3*0 3*1 -1 3*0 3*1 -1 3*0 3*1 -1 5*0, 1 -1 T This could be encoded into an ARR grid file that would look like: DR AF 9.14 At the end of the file, there is a list of the dimensions of the file with: DIMENSIONS 120 132 120000.0 298000.0 240000.0 430000.0 3.4028235E+38 0 1000.000 1000.000 Variable # Ncols Nrows Xllcorner Yllcorner Xurcorner Yurcorner NODATA_ value Format Integer Integer Real Real Real Real Real IEQ Cellsize_X Cellsize_Y Integer Real Real Deltares Description Comments Numbers of columns Numbers of rows The western (left) x-coordinate The southern (bottom) y-coordinate The eastern (right) x-coordinate The northern (top) y-coordinate The value that is regarded as “missing” or “not applicable”; this line is optional, but highly recommended as iMOD will expect this line to be declared Identifier to specify a uniform grid (IEQ=0) or a nonuniform grid (IEQ=1) The length of the x-side of a square cell The length of the y-side of a square cell 553 of 812 iMOD, User Manual LEG-files Each map file in iMOD (IDFs, IPFs, ISGs, GENs and IFFs) can be displayed by classes that are defined in a legend. The legend is stored internally, but can be saved to, and loaded from disk. The syntax of a *.LEG-file is as follows: ColourMarks Upper BND Lower BND IRED IGREEN IBLUE Label Example of a LEG-file: Number of classes. Bear in mind that legends that have NClass<=50, behave differently than legends that have 50 0 from Data Set 2 IPF_TS,IPFTYPE,IXCOL,IYCOL,ILCOL,IMCOL,IVCOL (all compulsory) Notification of an IPF filename that stores the location of measures to be monitored as time series throughout the simulation. Type of the IPF file 1 For a steady-state simulation the 5 attributes within the given IPF should be (in this order): X x coordinate Y y coordinate ILAY Model layer identification OBS Observed value (OBS=0.0 if no observation is available) VAR variance of the measurement σ 2 = Var(X) (VAR=1.0 if no observation is available) After the simulation the given IPF is copied to the folder [OUTPUTFOLDER]\[ipfname] and contains the additional records: COMP Computed values DIFF Difference (COMP-OBS) DR AF 10.4 Use this to specify artificial recharge to be read from an IPF file DIFFW √ Weighed difference (COMP-OBS)* σ2 −1 2 IXCOL IYCOL ILCOL IMCOL IVCOL For the transient simulation the attributes within the given IPF should be (in this order): X x coordinate Y y coordinate ILAY Model layer identification After the simulation the given IPF is copied to the folder [OUTPUTFOLDER]\[ipfname] and contains the additional record: ID Reference ID to the individual time series which are stored within the file [OUTPUTFOLDER]\timeseries\location_[i].txt. Whenever the IPF_TS consists of time series initially, those will be included in the final time series. Time series within the buffer zone (see Data Set 6) will be left out. Specify the column number in the IPF file (IPF_TS) that is representative for the X-coordinate of the measurement. Specify the column number in the IPF file (IPF_TS) that is representative for the Y-coordinate of the measurement. Specify the column number in the IPF file (IPF_TS) that is representative for the layer identification of the measurement. Specify the column number in the IPF file (IPF_TS) that is representative for the measurement value. Whenever the number of columns in the IPF file be less than 4, IMCOL=0 and no observations will be used. Whenever the number of columns in the IPF file be less than 5, IMCOL=0 and no observations will be used. >0 Specify the column number in the IPF file (IPF_TS) that is representative for the variance of the measurement Var(X). The variance of a random variable X is its second central moment, the expected value of the squared deviation from the mean µ = E[X], thus: Var(X) = E (X − µ)2 . This definition encompasses random variables that are discrete, continuous, neither, or mixed. The variance (σ 2 ) can also be thought of as the covariance of a random variable with itself: Var(X) = Cov(X, X) = σ 2 . <0 Whenever IVCOL is negative (e.g. IVCOL=-5), it means that instead of variances (σ 2 ), weight values w are entered. Weight values are computed as w = 568 of 812 √ σ2 −1 . Deltares Runfile Data Set 4: Simulation mode Data Set 4 NMULT IDEBUG IDOUBLE IPOSWEL ISCEN DR AF IBDG (optional) MINKD (optional) MINC (optional) 10.6 NMULT,IDEBUG,IDOUBLE,IPOSWEL,ISCEN,IBDG,MINKD,MINC The number of areas to be computed sequentially. The areas need to be defined in Data Set 6. NMULT need to be 0 in case NSCL=0. A flag indicating the output frequency during a simulation: 0 Default configuration whereby a solution of the simulation is saved on disk after convergence, or whenever the number of iteration exceeds MXITER (see Data Set 5) and the simulation terminates thereafter. 1 Debug configuration whereby both input for the activated packages and intermediate solutions during the iteration process are saved on disk. This option replaces the previous IEXPORT option which became obsolete since v3-series. By default IDOUBLE=0, which means that the results of the simulation will be single precision values. If IDOUBLE=1, the results will be double precision, keep in mind that in that case, all files will be doubles in size as well. Flag indicating the assignment of well onto the model network: 0 Assignment of the well onto the single model grid cell is based on the x and y coordinates of the well. 1 Not supported in iMOD 4.x releases. Flag indicating the usage of scenario definitions: 0 No usage of scenarios 1 Not supported in iMOD 4.x releases. Flag indicating the definition of budget computation for packages: T 10.5 0 Not supported in iMOD 4.x releases. 1 Fluxes from packages (except CHD) within one single model cell are (default) saved separately. As a result the output file name convention (see ILSAVE in Data Set 8) will include a system number, e.g. _sys1_; _sys12_. Minimal value for transmissivity (m2 /day). Use MINKD > 0 for reasons of stability in combination with horizontal anisotropy. Minimal value for the vertical resistance (days). Use MINC > 1 for reasons of stability and to avoid large contrasts between horizontal en vertical conductances. Especially whenever the cell size (CELLSIZE) increases, it could be advisable to specify MINC > 1. Data Set 5: Solver configuration Data Set 5 (optional PCG) (optional PKS) OUTER INNER Deltares OUTER,INNER,HCLOSE,QCLOSE,RELAX ,NPCOND,MAXWBALERROR ,PARTOPT,IDFMERGE Maximal number of “outer” iteration loops. The iterative procedure used in MODFLOW for solving nonlinear problems is commonly referred to as Picard iteration. It splits the solving process into an outer iteration loop, the equation that needs to be solved in the “inner” is (re)formulated. If OUTER < 0, the Parallel Krylov Solver (PKS) is activated instead of PCG, and for this solver OUTER = -OUTER is taken as the number of outer iterations. For PKS, the supported preconditioning is Incomplete LU-factorization only, which is automatically being set. Hence, you are not allowed to set NPCOND when PKS is activated. Maximal number of “inner” iteration loops. Within each inner iteration loop, the equation that was formulated in the outer iteration loop is (partly) solved. In common, it is more expensive to have much inner iteration though each iteration loop represents a temporary formulation of the equation. True linear systems can speed up drastically by increasing the number of inner iterations and RELAX = 1, however, most groundwater models are a mixture of linear and non-linear elements and therefore a fair trade-off between robustness and speed seems to be NITER = 20. 569 of 812 iMOD, User Manual QCLOSE RELAX NPCOND (optional, PCG only) PARTOPT (optional, PKS only) IDFMERGE (optional, PKS only) 10.7 Data Set 5a: RCB load pointer grid (optional) Data Set 5a LOADFILE 10.8 Closure criterion for the hydraulic head (state variable). Commonly it is practice to choose HCLOSE to be 2 orders of magnitude smaller than the desired accuracy to be obtained. m3 Closure criterion for the mass balance. This criterion depends on the grid size, since large grid cells produce larger errors in mass balances than smaller ones does. Relaxation factor that quantifies the amount of confidence for each solution obtained after an inner iteration loop, default value is 0.98. It influences the robustness and efficiency of convergence. For purely linear systems it can/must be 1.0, though non-linear system prefers lower values (e.g. 0.50-0.97). It is difficult to know the optimal value for RELAX beforehand. Use the adaptive damping (IDAMPING) instead. Pre-conditioning method. If the Preconditioning Method is set to Cholesky, the Relaxation parameter can be set. Although the default is 1, in some cases a value of 0.97-0.99 may reduce the number of iterations required for convergence. 1 Modified Incomplete Cholesky (for use on scalar computers) 2 Polynomial matrix conditioning method (for use on vector computers or to conserve computer memory) Maximal overall acceptable error for the water balance in percentage (the default value = 0.0% and the solver stops whenever the criterion of QCLOSE cannot be met). Whenever the external-iteration does not converge (due to numerical instability), the simulation will continue whenever the overall error in de the water balance is less than the given MAXWBALERROR criterion. Subdomain partition option. There are two methods supported: PARTOPT = 0 (default) for uniform partitioning in lateral x and y-direction; PARTOPT = 1 that enables the Recursive Coordinate Bisection partitioning method computes the subdomain dimensions according to a load pointer IDF grid. Note that each subdomain always includes all model layers. 0 Uniform subdomain partitioning (default) 1 Recursive Coordinate Bisection (RCB) subdomain partitioning Flag for merging parallel subdomain IDF output files. The default is IDFMERGE = 0, corresponding to no merging. In this case, each subdomain writes its output IDF files like " _p .idf", where " " is the iMOD output variable name, e.g. "head_steady-state_l1" and " " the three-digit subdomain MPI rank identifier. Note that enabling this option could slow down overall parallel computations. 0 No merging of subdomain IDF output files (default) 1 Merging of subdomain IDF output files DR AF MAXWBALERROR (optional, PCG only) m T HCLOSE LOADFILE IDF file that represents with weights to be used when PKS is enabled (Data Set 5: OUTER < 0) and the RCB subdomain partitioning option is enabled (Data Set 5: PARTOPT = 1). Only the absolute weights are being used for the subdomain partitioning. Data Set 6: Simulation window (optional) Data Set 6 IACT 570 of 812 Apply whenever NMULT=1 and NSCL=1 XMIN,YMIN,XMAX,YMAX,CSIZE,BUFFER Apply whenever NMULT>1 and NSCL=1 IACT,XMIN,YMIN,XMAX,YMAX,CSIZE,BUFFER,CSUB Apply whenever NMULT=1 and NSCL=2 XMIN,YMIN,XMAX,YMAX,CSIZE,MAXCSIZE,BUFFER,CSUB Apply whenever NMULT>1 and NSCL=2 IACT,XMIN,YMIN,XMAX,YMAX,CSIZE,MAXCSIZE,BUFFER,CSUB Flag that determines the whether a sub model need to be computed: Deltares Runfile -1 BUFFER CSUB (optional) Data Set 8: Active packages DR AF 10.9 T XMIN YMIN XMAX YMAX CSIZE MAXCSIZE Sub model will be computed only whenever the result folder does not exist 0 Sub model will not be computed 1 Sub model will be computed and overwrite existing results if available m Lower left X-coordinate of the area of interest m Lower left Y-coordinate of the area of interest m Upper right X-coordinate of the area of interest m Upper right Y-left coordinate of the area of interest m Grid cell size within the area of interest and within the buffer. m This is the maximum grid cell size within the buffer. Within the buffer the entered grid cell size CSIZE, will increase gradually up to MAXCSIZE. Apply whenever NMULT>1 and NSCL=2. m This represents the size of the buffer around the area of interest. The total simulation model will have a total width of (XMAXXMIN)+2*BUFFER and a total height of (YMAX-YMIN)+2*BUFFER. This is the name of the result folder for the current sub model, yielding [OUTPUTFOLDER]\[CSUB]\as result folder. Whenever no name is given, the default folder name will be submodel[i], where i represents the ith sub model within NMULT. Data Set 8 IPM Deltares IPM,NLSAVE,ILSAVE(NLSAVE),KEY This represents whether a specific time independent module (mod) / time dependent package (pck) is active in the current simulation. The following package are supported: Key Act Description (mod) CAP 0/1 Usage of the unsaturated zone package (mod) BND 0/1 (compulsory) Usage of boundary conditions (mod) SHD 0/1 (compulsory) Usage of starting heads (mod) KDW 0/1 Usage of hydraulic conductance (mod) VCW 0/1 Usage of vertical resistances (mod) KHV 0/1 Usage of horizontal permeabilities (mod) KVA 0/1 Usage of vertical anisotropy for aquifers (mod) KVV 0/1 Usage of vertical permeabilities (mod) STO 0/1 Usage of storage coefficients (mod) TOP 0/1 Usage of top of aquifers (mod) BOT 0/1 Usage of bottom of aquifers (mod) PST 0/1 Usage of parameter estimation (mod) PWT 0/1 Usage of the purge-water table package (mod) ANI 0/1 Usage of the horizontal anisotropy package (mod) HFB 0/1 Usage of the horizontal flow barrier package (mod) IBS 0/1 Usage of interbed storage/subsidence (mod) SFT 0/1 Usage of streamflow thickness (pck) WEL 0/1 Usage of the well package (pck) DRN 0/1 Usage of the drainage package (pck) RIV 0/1 Usage of the river package (pck) EVT 0/1 Usage of the evapotranspiration package (pck) GHB 0/1 Usage of the general-head-bound. Package (pck) RCH 0/1 Usage of the recharge package (pck) OLF 0/1 Usage of the overland flow package (pck) CHD 0/1 Usage of the constant-head package (pck) ISG 0/1 Usage of the segment package 571 of 812 iMOD, User Manual NLSAVE DR AF T ILSAVE It is easy to turn an IPM on or off by assigning 0 (off) or 1 (on). There is no need to adjust the Runfile for these adjustments. It is not necessary to include all the packages and/or packages in a runfile and the order you specify is irrelevant. Of course, the packages BND, SHD, (KDW or KHV), (VCW or KVV) are obliged for any (multi-layered) model! Determines the number of model layers for which output need to be saved on disk. NLSAVE may be larger than NLAY, however all layers that exceed the current simulation will be neglected. Important Note: the NLSAVE settings for BND/bdgbnd or STO/bdgsto determine the layers to be saved for all fluxes (bdgbnd, bdgsto, bdgflf, bdgfrf and bdgfff). This means that settings for only KHV or only KVV are always neglected and will be overruled by the settings given for BND or STO. Important Note 2: the NLSAVE settings for ISG/bdgisg determine the layers to be saved for the river fluxes (bdgriv). The NLSAVE settings for the RIV-package are overruled by the settings given for ISG. This parameter stores the model layers for each IPM keyword for ILSAVE model layers. The model layers may be given in any order, e.g. 4, 5, 1. Any layer that exceeds the current NLAY is neglected. Important Note: the ILSAVE settings for BND/bdgbnd or STO/bdgsto determine the layers to be saved for all fluxes (bdgbnd, bdgsto, bdgflf, bdgfrf and bdgfff). This means that settings for only KHV or only KVV are always neglected and will be overruled by the settings given for BND or STO. Important Note 2: the ILSAVE settings for ISG/bdgisg determine the layers to be saved for the river fluxes (bdgriv). In case ILSAVE settings are defined for RIV, these are overruled by the settings given for ISG. =0 Identifies all modellayers >0 Modellayer identification The following result will be saved: Key NAME Unit Description PST No output available CAP BDGCAP m3 /day Flux between the unsaturated zone and the saturated zone BND BDGBND m3 /day Flux for constant head boundaries SHD HEAD m Hydraulic head KDW BDGFRF m3 /day Flux over the eastern model faces BDGFFF m3 /day Flux over the southern model faces VCW BDGFLF m3 /day Flux over the lower model faces KHV BDGFRF m3 /day Flux over the eastern model faces BDGFFF m3 /day Flux over the southern model faces KVV BDGFLF m3 /day Flux over the lower model faces STO BDGSTO m3 /day Fluxes for storage TOP No output available BOT No output available PST \PEST No output available, other than *.txt and folder *.ipf files that write performance and residuals of optimalisation KVA No output available PWT No output available ANI BDGANI m3 /day Fluxes caused by anisotropy HFB No output available IBS BDGIBS m3 /day Fluxes for interbed storage SFT No output available WEL BDGWEL m3 /day Fluxes for wells DRN BDGDRN m3 /day Fluxes out drainage RIV BDGRIV m3 /day Fluxes for rivers EVT BDGEVT m3 /day Fluxes out evapotranspiration GHB BDGGHB m3 /day Fluxes for general head boundaries RCH BDGRCH m3 /day Fluxes for recharge OLF BDGDRN m3 /day Fluxes out overland flow. CHD BDGBND m3 /day Flux over constant head boundaries 572 of 812 Deltares Runfile KEY 10.10 Data Set 9: Boundary file BNDFILE 10.11 BNDFILE or XMIN,YMIN,XMAX,YMAX Enter the coordinates of the entire model at maximum extension (area of regional interest). Beyond these limits the model will give an error and below these limits constant head boundary conditions will be applied, automatically whenever the area of interest is smaller. IDF file that represents the entire model at maximum extension (area of regional interest). This file will be used differently for the following flag values for NSCL (see Data Set 2): NSCL=0 This file will be used to determine whether it extends the given area of local interest defined in Data Set 6. If so the area of local interest will be trimmed to fit the area of regional interest. On the other hand, whenever the area of local interest is smaller (in many cases), the boundary nodes along the cutting edges are transformed into “open”-boundaries. The starting heads (SHD) or constant-head (CHD) values fixate these boundaries. NSCL>0 The network as described in the given IDF file is used for the modeling simulation. Any network schematization is accepted as long as it will not exceed the maximum extension of the area of regional interest. DR AF Data Set 9 XMIN,YMIN, XMAX,YMAX T ISG BDGISG m3 /day Fluxes for rivers (fast SOBEK ) All fluxes that extract water from a specific model cell are negative. Therefore, seepage water values are negative, within the file BDGFLF. Identical elements within one single model cell are lumped together in the output file, e.g. fluxes from different drainage systems in a single model cell add together. The naming convention for all files is: DELT=0 [NAME]_[SNAME]_l[ILAY].idf; e.g. head_steadystate_l1.idf or bdgflf_quarter_l10.idf DELT>0 [NAME]_[yyyymmdd]_l[ILAY].idf; e.g. head_20101231_l1.idf or bdgdrn_20110814_l1.idf Whenever the option IBDG=1 (see Data Set 4), the naming convention will be including the system number of the package, e.g.: bdgriv_20110814_l1_sys1.idf The number of system(s) is defined by the NFILES parameter in Data Set 10. Packages should be specified between brackets: “(“and “)” so iMODFLOW can recognize the keyword. It will be used to compare this with the variable KEY in Data Set 10. Data Set 10: Number of files Data Set 10 NFILES Deltares NFILES,KEY This expresses the number of entries that will follow, zero entries can be defined by NFILES=0. It is possible the reuse the entries obtained in the previous stress period by assigning the value NFILES=-1. For several package a single entry consist of multiple files (parts). Moreover: each individual part of a package should be repeated NFILES times before entering the next part of a package; whenever a single nodata value is read for one of the individual parts of a package for a particular location, the package on that particular location will be turned off!; See table below for the individual parts (No.) of each package (they should be entered in this order!): Key No. Unit PST 1 Number of parameters to be estimated, see Data Set 14, 15, 16 and 17 for more specific input information. CAP n Number of input files (this is needed to determine the number of files to be copied, which equals this number – the 22 (or 21 whenever IARMWP=1) compulsory IDF/IPF files) 573 of 812 iMOD, User Manual BND 2 - LGN 3 cm RTZ 4 - SFU 5 - MET 6 7a m+MSL - SEV ART 7b - ART 8a - ARL Boundary setting, used to specify active MetaSWAP elements Landuse code, should be referred to by the file luse_svat.inp Rootzone thickness (min. value is 10 centimeter). Soil Physical Unit should be referred to by fact_svat.inp. Meteo Station number should be referred to by mete_svat.inp. Surface Elevation. (if IARMWP=0) Artificial Recharge (= Irrigation) Type, 0=no occurrence, ART>0 means present at current location whereby ART=1: from groundwater, ART=2: from surface water extraction (if IARMWP=1) Location of the actual Artificial Recharge, the value of each location refers to the attribute ID in the IPF-file (see dataset 8b) (if IARMWP=0) Artificial Recharge (= Irrigation) Location, number of model layer from which water is extracted. (if IARMWP=1) IPF with locations (X,Y) for Artificial Recharge (= Irrigation), the number of model layer (ILAY) from which water is extracted, the identification (ID) of the area on which the recharge is applied and the capacity (CAP) in mm/day. All of those as separate columns in the IPF file, thus the following fields: X,Y,ILAY,ID,CAP. Here, the source of the artificial recharge is always groundwater. (if IARMWP=0) Artificial Recharge (= Irrigation) Capacity. The capacity of the irrigation installation. The applied capacity depends on the duration of the irrigation (part of a day) as specified in the file luse_svat.inp Wetted Area specifies the total area occupied by surface water elements. Value will be truncated by maximum cellsize. Urban Area, specifies the total area occupied by urban area. Value will be truncated by maximum cellsize. Ponding Depth Urban Area, specifying the acceptable depth of the ponding of water on the surface in the urban area before surface runoff occurs Ponding Depth Rural Area. Same as above but for rural area. Runoff Resistance Urban Area, specifying the resistance surface flow encounters in the urban area. The minimum value is equal to the model time period. Runoff Resistance Rural Area. Same as above but for rural area. T - DR AF 1 574 of 812 8b - ARL 9 mm/d ARC 10 m2 WTA 11 m2 UBA 12 m PDU 13 m PDR 14 day OFU 15 day OFR Deltares Runfile 17 day 18 m/d 19 m/d 20 m+MSL 21 - ONU Runon Resistance Urban Area, specifying the resistance surface flow encounters to a model cell from an adjacent cell in the urban area. The minimum value is equal to the model time period. ONR Runon Resistance Rural Area. Same as above but for rural area. QIU QINFBASIC Urban Area, specifying the infiltration capacity of the soil surface in the urban area. The range is 0-1000 m/d. The NoDataValue -9999 indicates unlimited infiltration is possible. QIR QINFBASIC Rural Area. Same as above but for rural area. PWT Level of the Perched Water Table level. When groundwater falls below this level then the capillary rise becomes zero. SFC Soil Moisture Factor to adjust the soil moisture coefficient. This factor may be used during calibration. Default value is 1.0. CFC Conductivity Factor to adjust the vertical conductivity. This factor may be used during calibration. Default value is 1.0. Remaining files will be copied to the simulation folder as set by OUTPUTNAME (Data Set 1) IDF with boundary settings; 0 = inactive, >0 = active, <0 = fixed for each model layer IDF with starting heads for each model layer. Inactive cells will be transformed to nodata value 999.99 Transmissivity for each model layer (trimmed internally to be minimal 0 m2 /day) Vertical Resistance between model layers (trimmed internally for minimal 0.001 days). For reasons of scaling, it is important to assign the nodata value for VCW to be zero! Horizontal Permeability for each model layer. Vertical Permeability for each aquitard (in between modellayers!). KVV is assumed to be 1/3*KHV for the modellayers! Storage coefficient for each model layer, i.e. the specific storage coefficient multiplied with the thickness of the model layer, for the first unconfined model layer, enter the specific storage coefficient instead, e.g. 0.15. Top of the aquifer. Bottom of the aquifer. Vertical anisotropy for aquifers Layer identification of the PWT unit; elements with values <= 0 will be removed. Storage coefficient of the phreatic part underneath the PWT layer Top of the PWT layer Thickness of the PWT layer T day DR AF 16 22 - ..n BND 1 - SHD 1 m+MSL KDW 1 m2 /day VCW 1 days KHV KVV 1 1 m/day m/day STO 1 - TOP BOT KVA PWT 1 1 1 6 m+MSL m+MSL m+MSL m Deltares 575 of 812 iMOD, User Manual day ANI 2 - degrees 1 - DR AF HFB Thickness of layer of the aquifer above the PWT layer in which the transmissivity will be adjusted. Vertical resistance of the clay underlying the PWT unit. This should be larger or equal to the given C value of the PWT layer, otherwise the C value will be used given by the module VCW. The anisotropic factor perpendicular to the main principal axis (axis of highest permeability). Factor between 0.0 (full anisotropic) and 1.0 (full isotropic). Do not use a nodata value of 0.0 since this will deactivate the package! The angle along the main principal axis (highest permeability) measured in degrees from north (0), east (90), south (180) and west (270). Do not use a nodata value of 0.0 since this will deactivate the package! GEN file (*.gen) defining the location and FCT values of faults/horizontal barriers. When GEN files are assigned to layer number 0, iMOD will assign the fault to the appropriate model layers automatically; in that case the GEN file needs to be a 3D GEN (see section 9.10). When the TOP and BOT of the aquifer are defined in the runfile, the FCT value is assigned to a resistance r ; otherwise FCT is assigned to a factor f that is used to multiply the conductances between cells. When FCT (so factor f or the resistance r ) is zero the barrier is impermeable! See section 12.15 for details on how the conductance between cells is calculated. Preconsolidation head or preconsolidation stress in terms of head in the aquifer. Preconsolidation head is the previous minimum head value in the aquifer. For any model cells in which specified HC is greater than the corresponding value of starting head, value of HC will be set to that of starting head. The dimensionless elastic storage factor for interbeds present in model layer. The storage factor may be estimated as the sum of the products of elastic skeletal specific storage and thickness of all interbeds in a model layer. The dimensionless inelastic storage factor for interbeds present in model layer. The storage factor may be estimated as the sum of the products of inelastic skeletal specific storage and thickness of all interbeds in a model layer. The starting compaction in each layer with interbed storage. Compaction values computed by the package are added to values in this array so that printed or stored values of compaction and land subsidence may include previous components. Values in this array do not affect calculations of storage changes or resulting compaction. For simulations in which output values are to reflect compaction and subsidence since the start of the simulation, enter zero values for all elements of this array. Stream Flow Thickness Permeability An IPF file with: T m IBS 4 m+MSL - - m 576 of 812 SFT 2 WEL 1 m+MSL m/d m3 /day Deltares Runfile 1 DR AF T Three columns representing the x,y coordinate and the rate, e.g.: x,y,q,{z1,z2} 2 Two columns representing the x,y coordinate and a third column referring to associated files with time-variant rates, e.g. x,y,[id],{z1,z2} The parameters z1 and z2 express the screen of the well and are optional. Use these parameters in combination with ILAY=0 (see Data Set 11) DRN 2 m2 /day Conductance of the drainage system within a single model cell; elements with values <= 0 will be removed. m+MSL Elevation of the drainage system. RIV 4 m2 /day Conductance of the drainage system within a single model cell; values need to be ≥ 0. m+MSL Elevation of the water level. m+MSL Elevation of the bottom level. Whenever the elevation of the bottom level is higher than the entered elevation of the water level, iMODFLOW will adjust internally the elevation of the bottom level to be equal to the elevation of the water level. Any corrections made are listed by a negative system number in the *.LST file whenever the IDEBUG flag is set on 1. Infiltration factor: =0 No infiltration is allowed >0 Infiltration is allowed whenever the head is below the stage up to a maximum (stage minus bottom pressure) whenever the head is less than the bottom. Infiltration conductance is calculated as: river conductance * infiltration factor. EVT 3 mm/day This option can only be used in combination with ILAY=1 Evapotranspiration strength. m+MSL Top elevation for maximal evapotranspi-ration strength. m Thickness in which evapotranspiration strength reduced to zero. GHB 2 m2 /day Conductance of the general head system within a single model cell; elements with values <= 0 will be removed. m+MSL Elevation at the general head boundary. RCH 1 mm/day This option can only be used in combination with ILAY=1 Recharge strength. OLF 1 m+MSL Surface elevation where above overland flow takes place; elements with values equal to the nodata value will be removed. CHD 1 m+MSL Elevation of constant heads at the location where BND < 0 only. ISG 1 Specific segment file for the simulation of water systems directly from vectors. Text string that identifies the Key of the module/package listed by Data Set 10. KEY Deltares 577 of 812 iMOD, User Manual 10.12 Data Set 11: Input file assignment ILAY,FCT,IMP,FNAME This represents the model layer to which the input data assigns to. For the package: BND, SHD, KDW, VCW, STO, TOP, BOT and ANI, it is not sustained to assign more input data to identical model layers. However, multiple assignments to identical model layers are sustained for the other packages: PWT, HFB, WEL, DRN, RIV, EVT, GHB, RCH, OLF, CHD and ISG. ILAY can be used as follows: >0 Expresses the model layer number to which the module and/or package is assigned to =0 Automatic allocation of model layers to packages. It is compulsory to have included the TOP and BOT package (see Data Set 8). Only the following packages are affected by ILAY=0: HFB The given elevation in a 3-D GEN file (see section 9.10) will be used to determine the actual model layer, use the iMODBatch function GEN2GEN3D to construct those 3-D GEN files (see section 8.4.2) WEL Given IPF should contain the records, X,Y,Q,Z1,Z2. Z1 and Z2 will be used to assign well strength to the appropriate model layer(s) DRN The given elevation will be used to determine the actual model layer RIV Both, the given stage and bottom elevation will be used to determine the appropriate model layer(s) GHB The given elevation will be used to determine the model layer. OLF The given elevation will be used to determine the model layer. ISG Both, the given stage and bottom elevation will be used to determine the appropriate model layer(s). Moreover, the specified wetted perimeter will be used to adjust conductances. <0 Assign package to the highest active model cell with a BND-value > 0 (see Data Set 10, Key=BND). Every package (except the CHD package) can be affected by ILAY<0; package however, are not supported. FCT IMP FNAME 10.13 DR AF T Data Set 11 ILAY The multiplication factor for the input data (nodata values excluded). It is possible to use the FCT parameter to assign mean values, e.g. apply FCT=0.5 for conductance’s for rivers in summer and winter periods. Moreover, it is possible to compute a weighed mean of two periods within the package assigned to the identical model layer. Addition for the input data (nodata values excluded). Mathematical order is that multiplication (FCT) comes before the addition (IMP). The name of the input file, although it is sustained, it is preferable to note the FNAME with an absolute path (e.g. c:\fname) rather than a relative path (..\fname). The following format of these files are assigned to the existing package: Format Module/package IDF CAP,BND,SHD,KDW,VCW,KHV,KVV,STO,PWT,ANI,CHD, DRN,RIV,EVT,GHB,RCH,OLF,IBS,TOP,BOT,KVA IPF WEL GEN HFB ISG ISG In case the input parameters are constant over the entire modeling domain, a constant value can be given. An exception to this is made for the packages WEL,HFB and ISG packages Data Set 12: Time discretisation Data Set 12 KPER DELT SNAME 578 of 812 KPER,DELT,SNAME,ISAVE,ISUMSAVE The number of the stress period. It will be used solely to verify whether the current stress period matches the stress period read. If not a warning appears in the log file. day The length of the current stress period. The date or name for the current stress period. Deltares Runfile DELT=0 10.14 DR AF ISUMSAVE (optional) T ISAVE For steady-state simulations, it should state “steady-state”, mainly for reasons of compatibility with iMOD. DELT>0 For transient simulations it should state the date notated as: yyyymmdd; e.g. 20101231 to express the 31th of December 2010. Usage of these format is recommended strongly for compatibility with iMOD (e.g. time-series plotting). As a consequence, all result files will show the given date/name in their names, e.g. head_[yyyymmdd]_l1.idf or bdgflf_steady-state_l8.idf. This parameter defines whether output (as defined by Data Set 8) is generated for the current stress period. -1 Result will be saved with the buffer excluded 0 No results will be saved 1 Results will be save with the buffer included In case NMULT>1 (see Data Set 4), ISAVE will become abs(ISAVE) because the proper merging procedure will use the results in the buffer area. This optional parameter allows to sum all fluxes for each package per model layer. If more package entries are defined per model layers, those will be lumped into a single budget quantity. 0 Explicitly save all budget per package entry as a separate results file. 1 Sum all individual fluxes per model layer for the package entries. Data Set 14: Parameter Estimation – Main settings Data Set 14 PE_MXITER PE_STOP PE_SENS PE_NPERIOD PE_NBATCH PE_TARGET(.) Deltares PE_MXITER,PE_STOP,PE_SENS,PE_NPERIOD,PE_NBATCH, PE_TARGET(.),PE_SCALING,PE_PADJ,PE_DRES,PE_KTYPE MXITER can have different meanings: <0 iMODFLOW will be run a single run and adjust all parameters accordingly and than stop. =0 If PE_MXITER is equal to zero, a sensitivity matrix will be computed yielding Jacobian values (finite difference between the change in head and the parameter update) for the entire zones. Those values will be written to disk in .\head\head_{date}_l{i}_sens_{param}_ils{ils}.idf. Those values can be helpful to estimate the adjustment to a parameter to yield a desired improvement of the head and/or flux (assuming the model act linearly). The process will stop whenever all parameters are perturbed. >0 Maximum number of iterations. Stop criterion whenever decrease of objective function J becomes less or equal to the ratio Ji /Ji−1 . Entering a value of 0.1 means than the optimization stops whenever the objective function value Ji for the current optimization step i, is reduced less than 10% of the last objective function value Ji−1 . Enter the acceptable sensitivity for parameters to be included in the parameter upgrade vector, e.g. PE_SENS=0.5 mean that parameters that have less than 0.5% sensitivity will be left out until they achieve a higher sensitivity. Enter the number of periods. If PE_NPERIOD > 0, than repeat Data Set 15 for each period. Enter the number of batch files to be included during the parameter estimation. Each batch file can have its own fraction that determines the weigh for the total objective function value. Enter a fraction for each target: (1) The difference for each stress period between an available measurement and its corresponding observation (2) The difference between the measurement dynamics and the observational dynamics 579 of 812 iMOD, User Manual PE_PADJ (optional) PE_DRES (optional) 10.15 DR AF PE_KTYPE (optional) Data Set 15: Parameter Estimation – Period Settings Data Set 15 S_PERIOD [yyyymmdd] E_PERIOD [yyyymmdd] 10.16 Apply PE_NPERIOD times (see Date Set 14) S_PERIOD,E_PERIOD Enter the start date for the period for which observations from the entered IPF file (IPF_TS IN Data Set 3), need to be included, e.g. S_PERIOD=19890101 to express the 1th of January 1989. Enter the end date for the period for which observations from the entered IPF file (IPF_TS IN Data Set 3), need to be included, e.g. S_PERIOD=20120321 to express the 21th of March 2012. Data Set 16: Parameter Estimation – Batch Settings Data Set 16 B_FRACTION B_BATCHFILE B_OUTFILE 10.17 0 No use of scaling/Eigenvalue decomposition (SVD) 1 Only use of scaling 2 Use of scaling and Eigenvalue decomposition (SVD) 3 Only use of Eigenvalue decomposition (SVD) In case a SVD decomposition is used (PE_SCALING=2 and PE_SCALING=3), eigenvalues that explain at least 99% of variance are included. Enter the stopping criteria for Parameter ADJustment, e.g. PE_PADJ=0.05 means than whenever the parameter adjustment vector is less than 0.05, the optimization will stop. By default PE_PADJ=0.0 which means that the optimization will stop only whenever to parameters adjustment is applied. Enter the minimal acceptable absolute residual used for the objective function. Absolute residuals smaller that PE_DRES will not be included in the objective function and therefore not influence any parameter adjustment. By default PE_DRES=0.0 which means that all residuals will be included. Enter the type of Kriging to be used (whenever the PilotPoint concept is used). By default Simple Kriging is applied (PE_KTYPE=1), select PE_KTYPE=2 for Ordinary Kriging. The latter is used whenever a trend exists in the PilotPoints. T PE_SCALING (optional) The entered fraction should be entered relative to each other since iMODFLOW will recomputed the normalized values for the fraction. e.g. entering 1.0 and 2.0 will yield the fraction values 0.33 and 0.66, they will be summed equal to one. Whenever PE_NBATCH>0 (see Data Set 16), the entered weigh values for each batch file will be included in the final normalization of the fractions. Enter a scaling option: Apply PE_NBATCH times (see Date Set 14) B_FRACTION,B_BATCHFILE,B_OUTFILE Enter the fraction for the results from the current batch files. The entered fraction will be normalized together with the entered fraction for PE_TARGET(.) (see Data Set 14). Enter the name of the batch file to be executed after each simulation, e.g. C:\BATCHFILES\FLOWLINES.BAT Enter the name of the output file from the batch file (B_BATCHFILE), e.g. C:\BATCHFILES\OUTPUT\FLOWLINES.OUT. The syntax of the file should be as follows: N Enter the number of records, e.g. N=2. Z,V,H Enter for each record i to N the measurement (Z), variance (V) and computed value (H). They can be entered in “free”-format. These values will be added to the total objective function value and included in the determination of the gradient. Data Set 17: Parameter Estimation - Parameters Data Set 17 PACT 580 of 812 PACT,PPARAM,PILS,PIZONE,PINI,PDELTA,PMIN,PMAX,PINCREASE, PIGROUP,PLOG Activation of the current parameter. 0 Parameter is not adjusted, initial parameter value PINI remains unchanged during the estimation Deltares Runfile 1 Parameter is part of the estimation process Parameter type, choose from: Type Transf. KD LOG Transmissivity, equal to KDW KH LOG Horizontal permeability, equal to KHV KV LOG Vertical permeability, equal to KVV VC LOG Vertical resistance, equal to VCW SC LOG Storage coefficient equal to STO RC LOG River conductance as mentioned in RIV RI LOG River infiltration factor as mentioned in RIV DC LOG Drainage conductance as mentioned in DRN IC LOG River conductance as mentioned in ISG file II LOG River infiltration factor as mentioned in ISG file AH Angle of Anisotropy AF LOG Factor of Anisotropy VA LOG Vertical Anisotropy HF LOG Horizontal Barrier Factor MS LOG MetaSWAP storage coefficient (Theta) MC LOG MetaSWAP conductance (k) RE Recharge EX LOG External parameter, specify on the next line the batch file that need to be executed to modify any parameter. EP LOG Corey-Epsilon parameter for the UZF package. Enter the layer number or system number for the parameter PPARAM. In case KD,KH,KV,C,S,AH,AF,VA,EP are used apply a model layer number, for the other parameters apply the system number. Enter the zone number (integer value) for which the parameter PPARAM need to be adjusted. For the parameter type HF this is irrelevant since all lines from the HF module will be optimized together, not differentiation can be made along the line within the same system. You should enter a value but it will not be used! Enter the initial multiplication factor for the parameter PPARAM. Enter the step size to be used for the sensitivity computation. PDELTA should be larger than 1.0 Enter the minimum multiplication factor for the parameter PPARAM that might be applied during the optimization. Enter the maximum multiplication factor for the parameter PPARAM that might be applied during the optimization. Enter the maximum increase of the parameter factor. Enter the group number to which the parameters belongs, parameters within the same group will be estimated simultaneously. Enter whether the parameter need to be log transformed, e.g. set PLOG=1 to log transform the parameter, set PLOG=0 to use a linear relation. By default the settings will be applied as described by the PPARAM keyword. DR AF T PPARAM PILS PIZONE PINI PDELTA PMIN PMAX PINCREASE PIGROUP (optional) PLOG (optional) 10.18 Data Set 18: Parameter Estimation – Zones Data Set 18 NZONES 10.19 NZONES Enter the number of zones to be used. Data Set 19: Parameter Estimation – Zone Definition Data Set 19 IDF IPF Deltares IDF,IPF or CONSTANT Enter for NZONES an IDF file that contains the position of zones. The zone numbering should be equal to the value PIZONE from Data Set 16. You can specify PIZONE to be specified in more than one IDF. Enter an IPF file that contains the location of a pilot point. The content of the IPF should be x, y and zone. Within a single IPF more zones per point or more points per zone can be defined. 581 of 812 iMOD, User Manual CONSTANT Enter a constant value to specify one PIZONE for the entire model area, e.g. CONSTANT=2 A fraction can be added to specify a fraction that that parameter will be used for the parameter optimization, e.g. the value within the IDF will be 2.34, meaning that the parameter belong to zone number 2 and taken for 34% part of the optimization of that parameter. 10.20 10.20.1 Runfile history Upcoming additional runfile options 10.20.2 Updating from iMOD 4.2 to iMOD 4.2.1 T We are implementing additional runfile-options scheduled for a next iMOD release; in section 10.2 to section 10.18 these additional options are denoted as "This runfile-option is scheduled for a next iMOD release". You can re-use your existing iMOD 4.2-runfile in iMOD 4.2.1 without any changes. Updating from iMOD 4.1.1 to iMOD 4.2 DR AF 10.20.3 You can re-use your existing iMOD 4.1.1-runfile in iMOD 4.2 without any changes. 10.20.4 Updating from iMOD 4.1 to iMOD 4.1.1 You can re-use your existing iMOD 4.1-runfile in iMOD 4.1.1 without any changes. 10.20.5 Updating from iMOD 4.0 to iMOD 4.1 You can re-use your existing iMOD 4.0-runfile in iMOD 4.1 without any changes, except for the following issues: ISG definitions now must include FCT and IMP parameter specifications. The RCH and EVT package cannot be defined for ILAY=0 anymore. Note: The processing of FCT and IMP has been corrected, possibly yielding different results. Note: The use of the SFR-, LAK-, UZF- and MNW-packages in a runfile is not supported; these packages have to be configured in a so-called project (*.PRJ) file. 10.20.6 Updating from iMOD 3.6 to iMOD 4.0 You can re-use your existing iMOD 3.6-runfile in iMOD 4.0 without any changes using the default PCG solver. iMOD 4.0 contains the Parallel Krylov Solver package too, however, it is recommended always trying to run your model with the default PCG solver first. To run your model using the PKS-package - after installing the third party MPI-software (see iMOD installation instructions, section 2.3) - change the Solver Settings in Data Set 5 accordingly; see section 10.6 for details. An example of a runfile including PKS-solver settings is given in the figure below. 582 of 812 Deltares Runfile To define or change the PKS-solver settings via the iMOD-GUI see section 7.9. For instructions on how to run a model including the PKS-package, see section 10.21. Updating from iMOD 3.4 to iMOD 3.6 T 10.20.7 You can re-use your existing iMOD 3.4-runfile in iMOD 3.6 without any changes. 10.20.8 DR AF Note: The use of the SFR-, LAK-, UZF- and MNW-packages in a runfile is not supported; these packages have to be configured in a so-called project (*.PRJ) file. Updating from iMOD 3.3 to iMOD 3.4 You can re-use your existing iMOD 3.3-runfile in iMOD 3.4 without any changes. 10.20.9 Updating from iMOD 3.2.1 to iMOD 3.3 You can re-use your existing iMOD 3.2.1-runfile in iMOD 3.3 without any changes. 10.20.10 Updating from iMOD 3.2 to iMOD 3.2.1 The only difference between iMOD 3.2 and iMOD 3.2.1 is that in iMOD 3.2.1 it is possible to use folder- and filenames including spaces. As a consequence, to be able to re-use your iMOD 3.2-runfile in iMOD 3.2.1 utilizing spaces in folder- and/or filenames, the folder- and/or filenames have to be between double quotes. 10.20.11 Runfiles prior to iMOD 3.x iMOD became open source mid 2014 resulting in the release of iMOD 3.0. Compared to iMOD 2.x some runfile options are not supported in iMOD 3.x releases; in the tables of section 10.2 to section 10.18) these options are denoted as: "Not supported in iMOD 3.x releases". 10.21 Starting a Model Simulation There are 2 ways to start a model simulation: 1 Inside the iMOD-GUI: In section 7.9 detailed instructions are given on how to interactively configure the model location, model grid size and model output, including a description of how to specify necessary settings for either the PCG-solver or the Parallel Krylov Solver in the ’Solver settings’-tab of the ’Start Model Simulation’ window. 2 Outside the iMOD-GUI: By entering the appropriate command manually at the DOS-prompt in a ’Window Command Processor’-box; an example of such a command is: d:\iMOD\iMODFLOW_V4_3_METASWAP_SVN1233_X64R.exe model.run Deltares 583 of 812 iMOD, User Manual By specifying and storing such a command in a batch-file, e.g. run.bat, and double-clicking this run.bat file or typing run.bat at the DOS-prompt and pressing Enter. The content of such a batch file should have the following structure: On line one: [name of iMODFLOW-executable] [name of the model runfile] On line two: pause The Pause-statement causes the command tool to remain visible after the simulation has finished; this is handy for reasons of inspection in cases you invoke the run.bat file by doubleclicking it; omitting the ’Pause’-statement causes the ’Windows Commander Processor’-box to close immediately as soon as the model simulation has finished. When using the PKS-package: T Prior to using the PKS-package MPI software has to be installed, see section 2.3. Here’s an example of how to start a multi-core model simulation from outside the iMOD-GUI by entering the following command in a ’Windows Command Processer’-box: "C:\Program Files\MPICH2\bin\mpiexec.exe" -localonly 2 iMODFLOW.exe iMODFLOW.run DR AF In this example MPI launches two processes of iMODFLOW.exe instances on two computational cores, meaning that the model runs using two subdomains. The -localonly option ensures that you should not necessarily have to be connected to your network for running with MPI. 584 of 812 Deltares Runfile Example Output file T Example output written by iMODFLOW in the iMODFLOW.list-file: DR AF 10.22 Deltares 585 of 812 iMOD, User Manual DR AF T Example output written by iMODFLOW in the iMODFLOW.list-file (continued): 586 of 812 Deltares Runfile DR AF T Example output written by iMODFLOW in the iMODFLOW.list-file (continued): Deltares 587 of 812 iMOD, User Manual DR AF T Example output written by iMODFLOW in the iMODFLOW.list-file (continued): 588 of 812 Deltares Runfile DR AF T Example output written by iMODFLOW in the iMODFLOW.list-file (continued): Deltares 589 of 812 iMOD, User Manual DR AF T Example output written by iMODFLOW in the iMODFLOW.list-file (continued): 590 of 812 Deltares Runfile Example Output Folders The output folder (Data Set 1) is created during a model simulation and all selected results (Data Set 8) are stored in subfolders: Folder OUTPUTFOLDER Subfolder* File imodflow.list HEAD head_steady-state_l[ilay].idf head_[yyyymmdd]_l[ilay].idf bdg_steady-state_[ilay].idf bdg_[yyyymmdd]_[ilay].idf bdg_sys[i]_[yyyymmdd]_[ilay].idf [pck]_steady-state_[ilay].idf BDGFLF BDG[pck] * see for further details Data Set 8 Steady state [pck]-information Transient [pck]-information T [pck]_[yyyymmdd]_[ilay].idf Content Log file of the entire model simulation Steady-state Head Transient Head Steady-state flux Transient flux DR AF 10.23 Deltares 591 of 812 DR AF T iMOD, User Manual 592 of 812 Deltares 11 iMOD tutorials This chapter contains the following tutorials: 1 Tutorial 1: Map Display (section 11.1) with exercises on: Displaying an IDF-file and manipulate its associated legend; Displaying an IPF file and configure its presentation; Using the 3-D Tool; Saving your display configuration. 2 Tutorial 2: Map Operations (section 11.2) with exercises on: Calculate differences between two IDF-files; Assign values to an IDF-file, conditionally; Perform an up- and or downscaling of the cellsize for an IDF-file. T 3 Tutorial 3: Map Analyse (section 11.3) with exercises on: Creating cross-sections over several IDF-files (combined with an IPF file) and manipulate the configuration; Computing timeseries out of IDF-files (combined with an IPF file); Using the 3-D Tool. DR AF 4 Tutorial 4: Create your First Groundwater Flow Model (section 11.4) with exercises on: Creating the basic input files for a simple groundwater flow model; Enhancing the model with an extraction well to compute the drawdown caused by the well; Simulating flowlines that describe the catchment area of the well; Experiment with extraction rates to compute the maximum sustainable yield without extracting water from the sea. 5 Tutorial 5: Solid Tool (section 11.5) with exercises on: Visualizing the boreholes in 3D; Enhancing the subsoil characteristics based on the boreholes using the Solid Tool; Simulating the updated model to observe the consequences of an aquitard in-between two aquifers; Simulating flow of particles. 6 Tutorial 6: Model Simulation (section 11.6) with exercises on: Understanding the content of a model configuration file, i.e. a runfile; Simulating a groundwater flow model for different cell sizes and areas of interest; Understanding the resulting folder structure with results; Defining a simple model scenario and include such a configuration to an original model configuration. 7 Tutorial 7: Interactive Pathline Simulation (IPS) (section 11.7) with exercises on: Define the starting points interactively; Change the appearance of the particles; Start (and stop) the pathline simulation; Practice the interactive functionalities. 8 Tutorial 8: Surface Flow Routing (SFR) (section 11.8) with exercises on: Define the model and head- and flux boundaries using the FHB package; Define the outline of the stream network; Set the characteristics of each stream and define the connections within the stream network; Start the SFR simulation and examine the outcome. 9 Tutorial 9: Lake Package (LAK) (section 11.9) with exercises on: Interpolate a gradually declining interface for the first model layer; Define a simple, five layered, transient model and constant head boundaries along the model; Define the input for the LAK package; Start the model simulation and examine the outcome; Combine the LAK package with the SFR package. Deltares 593 of 812 iMOD, User Manual 10 Tutorial 10: Multi-Node Well- (MNW) and Horizontal Barrier Flow (HFB) Package (section 11.10) with exercises on: Load an existing modelling project and display the model in 3-D; Construct a quick and simple modelling project with the WEL package; Define the model as an unconfined model and simulate the model; Modify the modelling project with the MNW package and simulate the model; Inspect both results; Change some parameters in the MNW package to simulate well losses. Include the horizontal barrier flow package (HFB) and simulate the results for that configuration. 11 Tutorial 11: Unsaturated Zone Package (UZF) (section 11.11) with exercises on: T Create a transient PRJ file with TOP, BOT, KHV, RCH and EVT package; Simulate the RCH and EVT package for an unconfined model and examine the results; Modify the PRJ file with the UZF package; Simulate the UZF package and examine the results and compare it with the conventional RCH and EVT model; Modify the parameters of the UZF package to see the impact of parameters; DR AF The tutorials come with a Tutorial Data Set located in {installfolder } \tutorials; in this manual {installfolder } \tutorials refers to the full path of the sub-folder . \tutorials, see section 2.2. If the Tutorial Data Set subfolder . \tutorials is not present (anymore) on your computer, download it from oss.deltares.nl. and perform the following steps: 1 Locate the self-extracting archive iMOD_Tutorial_Data_Set_V4_3.exe on your system. If not available, please download it from http://oss.deltares.nl/web/imod/tutorials. 2 Double-click the archive iMOD_Tutorial_Data_Set_V4_3.exe, the following pop-up window appears: 3 In the pop-up window choose the destination-folder where you want to unzip the Tutorial Data Set: you can accept the default {path of installfolder} (e.g. D: \iMOD) by clicking the OK-button, or choose another location first; after clicking the OK-button the archive will be unzipped. After the archive has finished self-extracting (it may take a while to extract more than 6600 files...) a new sub-folder tutorials has been created in the above chosen destination-folder. Note: In this user manual {installfolder } \tutorials refers to the full path of the newly created tutorialssub-folder, e.g. to D: \iMOD \tutorials. The folder {installfolder } \tutorials contains a sub-folder for each individual tutorial: . . . . . . . . . . . \TUT_Map_Display; \TUT_Data_Map_Oper; \TUT_Map_Analyse; \TUT_Initial_Modeling; \TUT_Solid_Building; \TUT_Model_Simulation; \TUT_IPS; \TUT_SFR; \TUT_LAK; \TUT_MNW; \TUT_UZF. 594 of 812 Deltares iMOD tutorials Tutorial 1: Map Display This tutorial gives a brief introduction to several display options for IDF (rasters) and IPF (points) files. See for more detailed references chapter 6 and subsections. Outline This is what you will do: Displaying an IDF-file and manipulate its associated legend; Displaying an IPF file and configure its presentation; Using the 3D Tool; Saving your display configuration. Required Data T For this tutorial you need the following iMOD Data Files (IDF), iMOD Point Files (IPF) and TXT-files to which the IPF-files are directing: KR_TCC.IDF; KR_BCC.IDF; NAWO_TCC.IDF; NAWO_BCC.IDF; BOREHOLE.IPF; OBSERVATION.IPF; Folder BOREHOLE that contains seven folders called SUBSET{i} containing files called B{i}.TXT that represents borehole-logs; Folder OBSERVATIONS chat contains files called B{i}.TXT that contains values of the timeseries. DR AF 11.1 All these files are located in the folder: {path of installfolder} \TUTORIALS \TUT_MAP_DISPLAY. Getting Started 1 If iMOD is not yet installed, please follow the instructions as described in section 2.2. 2 Launch iMOD by double click on the {path of installfolder} \iMOD__V4_3_X64R.exe or {path of installfolder} \iMOD__V4_3_X32R.exe in the Windows Explorer. The IMOD_INIT.PRF is the only file that iMOD needs at the initial startup. If it does not exist, iMOD will create one. The file contains several keywords that are needed by a variety of functionalities in iMOD, however, the keyword USER is the only one that is obligatory. In the coming up tutorial you’ll notice that the content of the IMOD_INIT.PRF file will change. Let us examine the current content. 3 Click on the Preferences button. This displays the Preferences window. On default the keyword [USER] is selected and the path that is assigned to that keyword is displayed underneath the list box. Probably it shows the folder {path of installfolder} \IMOD_USER. Several folders will be created in the USER folder. Those folders might be used by iMOD for different purposes, moreover, during your iMOD sessions new folders could be created. However, the most important thing you need to remember about the USER folder is that it stores data created by iMOD, e.g. temporary files, model results and drawings. In this case you might interpret a USER folder as a project folder as well, e.g. USER D: \IMOD \PROJECT_X. Okay, let us continue with iMOD. 4 Click on the Apply button. 5 Select the option Create a new iMOD Project from the Start iMOD window and click the Start button. An empty graphical window will appear surrounded by a default axes and a scale bar. The initial Deltares 595 of 812 iMOD, User Manual position of the graphical window is (-1,-1) by (1,1). It is possible to turn off the axes and scale bar, so: 6 Go to View and then choose the option Layout and turn the options Show Scalebar and/or Show Axes on and off and observe what is happening. Display of an IDF-file An IDF-file stores rasterized data, let us open an IDF-file: 7 Go to View in the menu bar and select the iMOD Manager (or use the shortcut Ctrl+M). Select the Open Map button ( ) and select the IDF-file KR_TCC.IDF and click the button Open. If the file is not showing up, you might need to change the folder to the appropriate tutorial folder, {path of installfolder} \tutorials \TUT_MAP_DISPLAY. 8 Use the zoom buttons on the toolbar ( T Observe that the loaded IDF-file emerges in the iMOD Manager. iMOD will adjust the zoomlevel automatically to display the entire IDF. ) to familiarize with their behaviour. around ( DR AF Note: Please remember that a right-click of the mouse button is necessary to stop moving the map ). Figure 11.1: Example of a 2D IDF-view. Adjust the legend Each IDF-file that has been loaded into the iMOD Manager will be displayed by a legend with values that decline linearly between the maximum and minimum values of the IDF-file. A legend is connected to the IDF internally and can be changed easily. 9 Select the Map option from the main menu, choose the option Current Zoom Level and then choose the option Percentiles. By selecting the percentile option, iMOD will compute classes for a legend based on the distribution of the IDF values, like a duration curve. Since the option Current Zoom Level has been chosen, the legend will be computed for those values that are inside the current zoom level only. 10 Adjust the legend for the other options (Linear, Percentile and Unique Values) and observe their 596 of 812 Deltares iMOD tutorials differences in combination with the options Current Zoom Level and Entire Zoom Extent. 11 Click the Legend tab on the iMOD Manager to display the current legend colours and values. Adjusting a legend like this automatically, is extremely useful whenever the content of an IDF-file needs to be explored. However, legends can be constructed manually and/or loaded from disk. 12 Click the Legend button ( ) on the Legend tab of the iMOD Manager to display the Legend window (see section 6.6.1). Make sure you’ve selected the IDF on the Map tab to gain access to this particular Legend tab. 13 Deselect the numbered buttons on the left that indicate 2,3,4,5 and6 to turn off their appearance in the colours used by the legend. Click the Apply button and observe the renewed legend ranging linearly from dark brown to cyan (light-blue). DR AF T In this way it is easy to change the colour range of the legend. Figure 11.2: Example of a two-coloured legend. Let’s use more colours in the legend. 14 Reopen the Legend window (step 12) and change the dark brown colour into a red one by clicking on the coloured field. Include more colours in the legend by selecting the buttons that indicate a 2,3,4,5 and/or 6. See the effects for different legends by clicking the Apply button. iMOD distinguishes two types of legends: Stretched: a legend that consists of 255 colours and classes that can be specified for 7 levels only; Classes: a legend that consists of maximal 50 classes and colours that can be specified individually. Reopen the Legend window (step 12) again and let us create a legend with 10 classes: 15 Click the Classes tab on the Legend window and give in [10] classes in the Class Definition window that appears. Check the optionTake classes as-is and click the Ok button. 16 Each row in the table represents a class. Change the values in the first column (Upper ) for each row into [0.0; -5.0; -10.0; -15.0; -20.0; -25.0; -30.0; -35.0; -40.0; -45.0]. Observe that the second column (Lower ) will be adjusted automatically, except for row 10. Change the second column for Deltares 597 of 812 iMOD, User Manual row 10 into [–50.0] to specify the lowermost limit of the legend. 17 The column Label will not be updated automatically, this is the text that will be printed next to the legend. Click the Update Labels button to reflect the entered legend value correctly. Let’s look at another way of adjusting the legend, more convenient actually. 18 Click the Stretched tab to return to the 255 classes legend and then return back to the Classes tab. Given in [10] classes and deselect the option Take classes as-isand click the Ok button. iMOD will try to adjust the number of classes such that a legend is created with nicely legend classes, automatically. Select the Take classes as-is option whenever you do not want iMOD to create nice, round classes. Or, alternatively when you do want to have more control on the legends, select the option Fixed Interval and specify the interval, minimal and maximal values for the legend classes. Let us plot a legend on the map T 19 Click the Save button ( ) to save this legend on disk. Use the Open button ( ) to reload the legend (this is not necessary of course). 20 Click the OK button to observe the display of the IDF-file with this adjusted legend. DR AF 21 Click the Map option from the main menu, choose the Legend option and then choose Plot Legend on Map. 22 Click the left mouse button inside the legend to change the mouse cursor into a the legend can be moved to the desired position. – symbol. Now Select the canvas window with your left-mouse button and observe how the cursor changes when the mouse is moved to the boundary of the legend. 23 Drag around the legend and reshape its size. The text size of the legend will be adjusted automatically to fit the boundary box of the legend. Change the width or height of the legend box in case the label text is not readable. 24 Remove the legend by deselecting the Plot Legend on Map option. Let us open some more IDF-files. 25 Open the IDF-files: KR_BCC.IDF, NAWO_TCC.IDF, NAWO_BCC.IDF. 26 Select all IDF-files in the Maps tab of the iMOD Manager by dragging the mouse over all files. Or use the combination Ctrl-left mouse button to select the different IDF-files. Whenever more than one IDF-file is selected in the iMOD Manager the Legend button will become inactive. However, the following method can be used to adjust all legends simultaneously. 27 Click the Map option from the main menu, choose the option Legend and then choose the option Synchronize Legends to display the Synchronize Legends by: window. Select the first IDF (KR_TCC.IDF) and click the Apply button. 598 of 812 Deltares iMOD tutorials T Figure 11.3: Example of the ’Synchronize legend by:’ window. 28 Observe that all IDF-files have identical legends. Select in the iMOD Manager each file sequentially ). DR AF and click the Redraw button ( Display of an IPF file An IPF file stores pointwise information, such as boreholes and/or observation wells. Let us open such a file. 29 Click the Open Map button ( ) and select the file BOREHOLE.IPF. An IPF file is an iMOD-Point-File and see section 9.7 for more detailed information about the content of these IPF files. The IPF file that we’ve just opened in iMOD does contain the following information: X-CRD: X coordinate value of borehole in UTM coordinates; Y-CRD: Y coordinate value of borehole in UTM coordinates; ID: Identification name for borehole; SURFACELEVEL: Altitude of surfacelevel at borehole in m+MSL; Z_END: End depth of borehole in m+MSL; I_USED: Attribute specifying whether this particular borehole has been used in building the geological model. Be aware of the fact that all of these attributes do not have any direct meaning in iMOD or whatsoever. In the next steps we will show how these attributes can be used in iMOD. 30 Click the Zoom Full Extent button ( are displayed. ) on the tool bar to adjust the zoom level such that all points All points will be plotted as grey dots initially, however, it is easy to change that. 31 Click the Map option from the main menu, choose IPF-options and then choose IPF Configure to display the IPF Configure window. iMOD will use the first column of the IPF file (label is X-CRD) for the X coordinate (X-Crd.:) and the second column (label is Y-CRD) for the Y coordinate (Y-Crd.:). On default, the Z coordinate will be assigned to the first column, too, which is incorrect. 32 Select the label [SURFACELEVEL] from the dropdown menu at the menu field Z-Crd.:. iMOD is able to position points in 3D and/or in cross-sections when this Z-Crd.: is assigned properly. Deltares 599 of 812 iMOD, User Manual 33 Select the option Highlight and select the label [I_USED] in the dropdown menu to the right. iMOD will increase the symbol and applies a different colour to highlight each point that has values for the chosen label [I_USED] not equal to zero. This feature can be useful to emphasize specific points on a map. 34 Click the Pick Colour button to open the standard Windows Colour window. 35 Select the colour cyan (light-blue) from the Custom Colors field. 36 Click the Ok button. All points will be coloured as cyan (light-blue) in this manner, however, a legend can be used to colour the points as well, so: T 37 Select the option Apply to and choose the label [Z_END] in the dropdown menu. iMOD will create a legend initially, based on the minimum and maximum values of the label [Z_END]. The legend functionalities as described by step 12-18 can be applied to IPF files too. DR AF 38 Click the Colouring and Styles to change the Symbol No. to [21] and the Thickness to [2]. 39 Click the Apply button to apply the entered configuration. 40 Click the Close button to close the configuration window. iMOD will colour all points by their values for the label [Z_END] and highlight those that have values for [I_USED] that are not equal zero. iMOD will use an inversed colour (i.e. black becomes white, red becomes light-blue) of the colour used to emphasize the point by a disc around the original point. Let us adjust the zoomlevel such that we enter coordinates that are the centre of the current zoomlevel. 41 Zoom in onto a particular area by selecting the View option from the main menu and then choose the option Goto XY. Enter the coordinates [111000.0] and [456000.0] for the X- and Y coordinate, respectively. As we used Zoom (m) as [500.0], the zoomlevel will have a minimum width and/or height of about 2 x 500 meter. Let us measure that. 42 Click the Measurement tool ( ) from the tool bar to measure the distances of the current display. The measured distance can be found at the bottom of the screen in the grey-coloured bar. Breakoff with your right mouse button. The Measurement tool can be used to identify distances between objects on the map, use the left mouse button to include more points during the measuring of the distance. Since we’ve zoomed in, let us place some labels to the points to see the actual values for [Z_END]. 43 Click the Labels button on the IPF Configure window (see step 31) to open the Define Label to be Plotted window. Select the label [Z_END] in the list and turn off the option Use different colouring for each field. Select a Textsize of 6 and select the option Use Labelname. Notice that some labels will overlap other labels. iMOD does not support (yet) any advanced labeling to avoid overlapping. Use the zoom functionalities to avoid overlapping. 44 Try to add more labels, remember that it could be handy, in that case, to display the column names too, select therefore the option Use Labelname. 600 of 812 Deltares T iMOD tutorials DR AF Figure 11.4: Example of plotted labels using the ’Labels’ button of the IPF Configure window. 45 Turn off all labeling. Use the combination Ctrl-left mouse button to deselect the labels from the Define Label to be Plotted window (see step 43). You should select the BOREHOLE.IPF in the iMOD Manager solely to outgrey the IPF Configure option. (Note: before going to step 46 turn on all labeling again. This is needed for step 51.) 46 Click the 3D Tool ( ) from the tool bar to enter the 3D environment to observe the boreholes. By default the coloring used to display the boreholes is different than used in this dataset, so we will load the proper legend file used for displaying the lithology of the boreholes. 47 Click the Load ( ) button on the IPF’s tab on the 3D IDF Settings window and select the [BOREHOLES.DLF] from the . \TUT_Map_Display folder. iMOD will reload the IPF file and displays the boreholes according to the legend read from the DLF file. See section 9.17 for more detailed information about a DLF file. 48 Use your left mouse button to rotate the image and your right mouse button to zoom. The 3D Tool is simulated by OpenGL libraries and is very powerful; however, the display of borehole data can take a while to load since all boreholes are stored in individual text files that need to be processed sequentially. The associated IO consumes most of the time. 49 Check the options Boundary Box and Axes from the Miscellaneous tab in the 3D Plot Settings window to display the axes and a boundary box. Deltares 601 of 812 DR AF T iMOD, User Manual Figure 11.5: Example of a 3D-display of boreholes. Let us reshape the representation of the boreholes. As you can notice each borehole represents a lithology as displayed in the Legend for Boreholes table. This legend can be created inside and/or outside iMOD; however, the last column expresses the width that will be used to present the corresponding lithology. So, [Clay] is displayed by a smaller width (with=0.25) than [Sand] that has a width of 1.0. 50 Change the width for different lithologies and even change colours by clicking in the appropriate ) to update the 3D image for your inserted changes. For column(s). Click the redraw button ( example you might increase the width for Sand to 2.0 to distinguish the difference between clay and sand more. Use the Load ( ) button to restore the legend setting to the original values by selecting the . \TUT_Map_Display folder \boreholes.dlf file. 602 of 812 Deltares T iMOD tutorials DR AF Figure 11.6: Example of using different thickness’s when displaying lithology of boreholes in 3D. Alternatively we can change the 3D representation of the borehole. 51 Click the option Plot labels, use following colour to add to the boreholes the label selected in theDefine Labels to be plotted window. ) to enter the Define Labels to be plotted window, turn off the 52 Select the properties button ( checkbox Fancy and click the OK button. Observe what has happened. Check the option Fancy again and see the effects of the options Size, Number of Subdivisions and the option Shade. Often the number of boreholes is large and therefore we would like to concentrate on those with a particular bore depth. Let us select only those with a penetration depth of more than 100 meter. 53 In ‘3D Plot Settings‘ in the IPF‘s-tab click the ( ) icon to start the 3D IPF settings dialog. Check the option Hide boreholes with less penetration depth and enter the value of [100]. Click the Apply button and observe what happened. Extra: 54 Select the Identify tab and select the Map Value button ( ) and click on the borehole of interest in the 3D tool window. The Point Information tab gives an overview of the basic point characteristics of the selected borehole. The Borehole Information tab displays the specific drill information (including Lithology and sand-fraction) for each individual layer. Repeat this procedure for different boreholes by selecting the Map Value button again. 55 Close the 3D Tool by clicking the File option from the main menu and then choose Quit 3D Tool, or alternatively use the close button ( ). Let us combine in 3D the boreholes with the top and bottom IDF’s we’ve loaded into iMOD previously. 56 Select in the iMOD Manager all IDF-files together with the BOREHOLES.IPF and enter the 3D Tool. You’ll notice that prior to the 3D tool the 3D IDF Settings dialog appears. In this dialog the appearance of the IDF-files can be configured. For example, an IDF can be represented by planes (quads between mids of gridcells giving a smooth surface) and/or cubes (representing the gridcells as flat surfaces, like Lego-blocks). However, any adjustments in this dialog can be made while in the 3D environment as well, so let us accept the dialog as it is. 57 Click the Apply button. Deltares 603 of 812 DR AF T iMOD, User Manual Figure 11.7: Example of 3D image of a set of planes and boreholes; display depends on options chosen in the 3D IDF Settings-window. You’ll see the graphical representation of the surface for the different IDF’s. Another way to do that is by means of a cross-section (section 11.3). Since the IDF-files represent a clay-body, it is nice to draw them as solids. 58 Click the properties button ( ) to change the settings used to display the IDF-files. Each row defines how that particular IDF will be displayed. To make a solid of two IDF-files you should combine an IDF with another one. The next image shows how the settings should be configured. For example we combined the IDF-file KR_TCC.IDF (top of the KR-formation) with KR_BCC.IDF (bottom of the KR-formation) by selecting that file from the dropbox in the third column. Also we changed to Off the Type in the second column of the KR_BCC.IDF-file. Similarly we adjusted this for the NAWO formation. 604 of 812 Deltares DR AF T iMOD tutorials Figure 11.8: Example of a 3D IDF Settings window for displaying pairs of IDF’s as solids. 59 Adjust the 3D IDF Settings window as above, keep in mind that your order of files might be different yielding a slightly different configuration. Click the Apply button. Figure 11.9: Example of 3D-image of displaying pairs of IDF’s as solids. 60 Activate and deactivate files from the IDF’s tab on the 3D Plot Settings window. Experiment with the options Filled, Wireframes and Filled+Wireframes to see the effects and finally place a legend by checking the Legend checkbox. 61 Experiment with the functionalities on the 3D Plot Settings window. See what you could do with the Plot Original Window options from the Miscellaneous tab. 62 Close the 3D Tool window (see step 55) Let us open another IPF file. Deltares 605 of 812 iMOD, User Manual 63 Open the IPF file [OBSERVATION.IPF] and adjust the zoom level to display all points. All observation points are displayed by a grey circular dot, however, these points have timeseries associated. Let us look at these associated timeseries. 64 Select the Map option from the main menu, choose IPF-options and then IPF Configure to start the IPF Configure window. 65 Select the option Labels to start the Define Labels to be plotted window. 66 Place a label named ID at each point (see step 43) by selecting the attribute [ID] from the Select one or more labels from the menu field and select a Textsize of 6. By default any “ \” string will be deleted from the ID field, so the ID-string will shorten whenever it will be displayed on the graphical canvas. DR AF T 67 Click the OK button to close the Define Labels to be plotted window and click the Close button to close the IPF Configure window. Observe the results. You might want to change the number of labels by repeating steps 64 to 66 again. 68 Select the Map option from the main menu, choose IPF-options and then choose the IPF Analyse option to display the IPF Analyse window. 69 Click the option Select For in the dropdown menu when you right click your mouse button on the graphical window (see figure below). In the IPF Find window, select the label [ID] next to the menu field Attrib.:, check theUse following character expression button and enter the Search String: [*B31D011*]. Figure 11.10: Pop-up window with ’Select For’ option when right-clicking on canvas when IPF Analyse window is active. iMOD will find any point that satisfies this search string. Notice that the wildcard is necessary at the first portion of the search string, since all label IDs start with “observation \”. As a result 2 points will be selected and displayed in the table on the IPF Analyse window. Both points represent two different observation screens. Let us display the associated time series. 70 Click the IPF Figure button ( 606 of 812 ) in the IPF Analyse window to open the IPF Analyse Figure Deltares iMOD tutorials window (see section 6.8 for more information). Two figures are displayed. Whenever one figure is selected in the Select one/more to plot list, a table is presented with the actual values for the time series. 71 Select one of the items in the list Select one/more to plot and analyse the content of the table. 72 Select the checkbox Plot all figures in one frame and select both items in the listSelect one/more to plot. Use the zoom functionalities to analyse the figure in more detail ( 73 Quit the IPF Analyse Figure window by selecting the option File and then choose Quit. ). Let us look at another way of adding/deleting points from the selection table. 74 Move the mouse over the points and observe that the mouse symbol changes to . It indicates that when clicking the mouse the particular point will be added to the selection. If the mouse symbol T changes to , it indicates that the particular point will be deleted from the selection. 75 Explore the dropdown menu at your right mouse button to experiment with more options to (de)select points. DR AF Additionally to the display options of timeseries in the IPF Analyse Figure window, let us plot timeseries on the map. 76 Select the Settings tab on the IPF Analyse window and select the option [Simple] from the Graph dropdown menu and click the Apply button. Figure 11.11: Example of plotted timeseries next to selected points using the option ’Simple’ from the Graph dropdown menu in the Setting tab of IPF Analyse. For those points in the selection table on the Attributes tab, their associated timeseries will be plotted on the map. Each time another point is added or deleted the display is updated. 77 Use your left mouse button on the map to add and/or delete points from the selection table. Whenever a small crossed-out rectangle is displayed, it means that the associated timeseries for that point is missing. 78 Click the Close button to stop the IPF Analyse window. Deltares 607 of 812 iMOD, User Manual Whenever the IPF Analyse window is closed, timeseries cannot be plotted on the map anymore. Show a background image One of the first things one would like to display is an image of the underlying topography. Let’s do that. 79 Select the option View from the main menu and then select Add Background Image .. from the dropdown menu. This will start the Add Background Image dialog. 80 Select the option Add from the dialog and select the file {path of installfolder} \tutorials \TUT_Map_Display \wsrl.bmp from the Windows Explorer, see section 5.3 for more information about this dialog. 81 Select the Apply button that closes the dialog. ) on the main menu whenever the image does not appear. DR AF T 82 Click the Show Background Image ( Figure 11.12: Example of showing a topographical map (full extent, red dots represent the observation.ipf). Save /Open a Display Configuration The entire configuration of legends and settings for the files that are loaded in the iMOD Manager can be saved on disk. Whenever iMOD will be restarted, this file can be loaded to recover the iMOD session again. 83 Click the Save As Current Project button ( TUTORIAL1.IMF. ) on the tool bar and enter a name for the file, e.g. The filename entered will be saved in the {USER} \IMFILES folder on default, however, another location can be entered too. For reasons of efficiency and transferability, it is advisable to store these IMF files in that particular folder. Let us quit iMOD now. 84 Click the File option from the main menu and choose the option Quit and confirm this action. Let us restart iMOD. 85 Repeat step 2 in the beginning of this tutorial to launch iMOD. 86 Select TUTORIAL1 from the display list and select the Start button from the Start iMOD window. As expected, the original iMOD session has been restored. 608 of 812 Deltares iMOD tutorials Tutorial 2: Map Operations This tutorial gives an introduction to several map operations using IDF-files. See for more detailed references section 6.7. Outline This is what you will do: Calculate differences between two IDF-files; Assign values to an IDF-file, conditionally; Perform an up- and or downscaling of the cellsize for an IDF-file. Required Data TOP_LAYER3.IDF; BOTTOM_LAYER3.IDF; KD-VALUE_LAYER3.IDF. T For this tutorial you need the following iMOD Data Files (IDF): All these files are located in the folder:{path of installfolder} \tutorials \TUT_DATA_MAP_OPER. DR AF 11.2 Getting Started 1 Launch iMOD by double clicking the iMOD executable in the Windows Explorer, and start with Create a new iMOD Project. 2 Go to View in the menu bar and select the iMOD Manager (or use the shortcut Ctrl+M). Calculate Layer Thickness Quite often it is necessary to compute the difference between two maps. In this example we compute the thickness of a particular model layer. We start by opening the files: TOP_LAYER3.IDF, BOTTOM_LAYER3.IDF from disk. ) from the Maps tabs on the iMOD Manager. Select the above 3 Click the Open IDF button ( mentioned files in the Open File window and click the Open button. Go to the folder where the tutorial material has been installed. After the files have been opened, those files will be added to the list of opened iMOD files in the iMOD Manager. iMOD will draw the first IDF from the list and will zoom to the full extent of that IDF automatically. The latter will occur only whenever no maps were available in the iMOD Manager. Let us compute the thickness of model layer 3. 4 Click on the maps TOP_LAYER3.IDF and BOT_LAYER3.IDF as they appear in the iMOD Manager, while pressing the Ctrl button. Alternatively, you can select those files by left click your mouse and drag your mouse position over the files. If necessary, deselect those files that are undesired by clicking your left mouse button in combination with the Ctrl button. 5 Click on the iMOD Calculator button ( Map Operations window. ) on the Maps tab of the iMOD Manager to enter the The selected IDF-files (inputfiles) will be filled in, as well as the outputfile. On default the output file will be saved in the folder: {USER} \TMP \DIFF.IDF. The default equation (Formulae is [C=A-B]) subtracts the first IDF minus the second IDF, in the order in which those IDF-files will appear in the Deltares 609 of 812 iMOD, User Manual iMOD Manager. Whenever your BOT_LAYER3.IDF is mentioned before the TOP_LAYER3.IDF in the iMOD Manager, you have to change the Formulae into [C=B-A]. 6 Change the output file DIFF.IDF into THICKNESS3.IDF, so enter this name in the field specified behind Map C. 7 Select the option Map A. This allows the size of the THICKNESS3.IDF to be exactly the size of the first mentioned IDF. Whenever you need results for the current zoom extent only, click the option Window instead, this will speed up the calculation since only a part of the selected maps (Map A and Map B) will be subtracted. 8 Click the Compute button. Let us check the result. T The computed difference between the files TOP_LAYER3.IDF and BOT_LAYER3.IDF will be saved in the TMP folder of your USER environment by the name THICKNESS3.IDF. iMOD has added that file to the iMOD Manager, automatically. 9 Select the maps TOP_LAYER3.IDF, BOTTOM_LAYER3.IDF and THICKNESS3.IDF from the iMOD Manager. DR AF 10 Select the Map Value button ( ) on the Map tabs on the iMOD Manager window to start the Map Value window. Check the results by moving your mouse around the graphical display. Stop this inspection by rightclicking your mouse somewhere on the graphical display. Example of the use of the ’Map Value’ button when moving the mouse over the canvas. Since this kind of visual inspection is rather easy to use, it is recommended to use it frequently to check any computations. 11 Select the Map Info button ( ) to inspect some simple statistics for THICKNESS3.IDF. Observe that the history of the THICKNESS3.IDF is saved and that the content is shown in the Additional Information box. Moreover click the Statistical button ( of the data. 610 of 812 ) to get some statistical characteristics Deltares iMOD tutorials Calculating Permeability Each resulting IDF can be used subsequently for other map operations. 12 Open the T-VALUE_LAYER3.IDF (or KD-VALUE_LAYER3.IDF in older Tutorial sets) by clicking the ) and select this file from the {path of installfolder}\tutorials \TUT_DATA_MAP_OPER. Open IDF button ( 13 Select the maps T-VALUE_LAYER3.IDF (or KD-VALUE_LAYER3.IDF in older Tutorial sets) and the THICKNESS3.IDF from the iMOD Manager. 14 Select the IDF Calculator ( 15 Enter the formula: [C=A/B]. ) and change for Map C the IDF-file DIFF.IDF into K-VALUE_LAYER3.IDF. All values in Map A (will be KD-VALUE_LAYER3.IDF) will be divided by the values of Map B (THICKNESS3.IDF). If map A and map B are reversed, the equation can be entered as [C=B/A] without interchanging the IDF name next to the field Map A and Map B. T 16 Select the option Window and click the Compute button; in this manner we will compute the permeability only for the current zoom extent. DR AF To decrease computational times, map operations can be computed for the current zoomlevel on the graphical display only. The resulting IDF will have dimensions equal to the zoom level, however, cellsizes will be copied from the first mentioned IDF in the equation. 17 Check the result again with Map Value ( ). Bear in mind that the computed legend classes are initially based on the minimum and maximum values of the IDF-file(s). Whenever you do not see much detail on the map, those minimum and in maximum values might be far apart from each other. Use the Percentile legend (by clicking on: the Stretched tab) for more detail on the values of the data. Looking at this graph can provide you with more insight in the color distribution of your legend. Conditioned Map Operation IDF Edit is a tool in which map operations can be applied for a particular selection of cells. In this tutorial a simple example is demonstrated. Suppose a map is required that shows all areas of the third model layer that have a thickness of more than 25 meter. First we make an empty copy of THICKNESS3.IDF and name it THICKNESS3_25.IDF. 18 Enter the Map Calculator with THICKNESS3.IDF, enter the equation [C=0.0*A] and enter a filename for Map C to be THICKNESS3_25.IDF. By means of the Map Calculator it is easier to make copies of IDF-files, rather than using the Windows Explorer, since the content can be blanked out and/or the resulting IDF can be resized (use the option Window or the optionx1,y1,x2,y2 where you can specify specific coordinates yourself). Next step is to enter IDF Edit. 19 Select the option IDF Edit from the IDF Options menu from the Map menu. It is not relevant what IDF is (de)selected in the iMOD Manager, since all IDF-files that are inside the iMOD Manager can be manipulated in IDF Edit. Important is to specify an IDF that operates as a template. All mids of raster cells inside that particular IDF will be used to store any selection. Please be aware of the fact that a coarse IDF used as a template, will not make adjustments to a finer IDF. Deltares 611 of 812 iMOD, User Manual 20 Select THICKNESS3_25.IDF from the dropdown menu Use selected IDF to store selected cells. 21 Click the Select button to open the IDF Edit Select window. 22 Select the IDF-file THICKNESS3.IDF from the dropdown menu by Evaluate IDF A: and specify the Logic operator to be [>] and enter a Value to be [25]. 23 Click the Get Selection button and observe that 97088 cells are selected. The current selection will be displayed as filled rectangles. Especially whenever a large selection need to be displayed it can take a while. ) to turn the selection on or off. DR AF T 24 Click the option Show Selection ( Figure 11.13: Example of displaying the selected grid cells using the ’Show Selection’ button in the ’IDF Edit Select’ window. A selection is stored on disk in the {USER} \tmp folder. For iMOD-user a specific filename will be used, {USERNAME}_selected{i}.dat. These files will store the current (i) and previous selections (i-?). As long as these files exist, iMOD can undo a selection. 25 Click the Undo Selection ( ) button to reset the selection. Repeat step 20 to 22 again to restore the selection. 26 Close the IDF Edit Select window and click the Calculate button in the IDF Edit window to open theIDF Edit Calculation window. This window offers several functions to adjust values in IDF-files of the current selection. 27 Select the option Take From and select THICKNESS3.IDF from the dropdown menu. 28 Select the THICKNESS3_25.IDF from the dropdown menu at the menu field Assign Value TO. 29 Click the Calculate button. The iMOD Manager can be used whenever the IDF Edit Calculate window is active. Let us check whether the computation has been carried out correctly. 30 Select the maps THICKNESS3.IDF and THICKNESS3_25.IDF in the iMOD Manager, click the redraw button ( ) and click the Map Value button ( ). Inspect the values. As long as the IDF Edit Calculation window is active, any computation to any IDF can be undone. 612 of 812 Deltares iMOD tutorials 31 Click the Undo Calculation button ( ) in the IDF Edit Calculation window to undo the computation. Repeat step 29 to compute the values again. 32 Click the Close button and confirm the next window. Let us see what other method can be used to make a selection and/or calculation. 33 Clear the current selection by clicking the Clear button in the IDF Edit window. Accept the following window stating whether you’re sure to delete the selection. 34 Click the Trace button and select the option [Greater than selected value] in the Values should be option. Leave the option Search Criterium selected for [5 Point] which means that iMOD will search connecting cells that are connected on a five-point stencil. Use the option [9 Points] to use diagonal connected cells too. T This option allows you to make a selection that is determined by the location that you will select on the graphical window for all cells that have values greater than the value at the selected point. The selection should be connected to each other which makes it quite different from the previous selection method. Let us do that. DR AF 35 Select a cell from which a selection should be made that have greater values. Click your left mouse button. Please note that it may take a while to get the selection. Figure 11.14: Example of displaying selected cells using the Trace option. Finally we can adjust the current selection by means of a drawing functionality that allows you to interactively draw regions to add to the selection and/or remove from the current selection. 36 Select the Draw option in the IDF Edit window and choose option Remove Cells from the IDF Edit Draw window. Move over the cells you want to remove by holding down your left mouse button. Observe what is happening, try to add cells to the selection too. 37 Click the Close button and finally close the IDF Edit window by clicking its Close button too. Map Scaling One of the great options of iMOD is its ability to rescale data files. A variety of up- and downscaling algorithms have been implemented. In this example we will rescale the top elevation of a model layer from a cell size of 100 x 100 meter into a cell size of 1000 x 1000 meter. 38 Select the map TOP_LAYER3.IDF from the iMOD Manager. Deltares 613 of 812 iMOD, User Manual 39 Enter the Map Calculator ( ) and select the Scale/Size tab. On this particular tab, a variety of up- and downscaling options are available by the menu fields Upscale Formulae and Downscale Formulae. 40 The resulting IDF will be saved in the same folder as the TOP_LAYER3.IDF and will be called TOP_LAYER3_SCALED.IDF. We accept this default output name. 41 Enter a gridsize of 1000 meter in the Scale field. As a consequence, all resulting IDF-files from up- or downscaling will become IDF-files with equidistant cellsizes. 42 Select the option Arithmetic Mean from the Upscale Formulae menu. Click the Compute... button. T This formula takes the arithmetic mean for all values that lie inside a coarsened raster of the resulting IDF-file. 43 Observe the values of the TOP_LAYER3.IDF in relation to the scaled version TOP_ LAYER3_SCALED.IDF. Use Map Value ( ) and inspect the Additional Information in Map Info ). DR AF ( Experiment with different Formulae for up- and downscaling. Figure 11.15: Contour map of the original THICKNESS3.IDF-file (cell size 100x100 meter). 614 of 812 Deltares T iMOD tutorials DR AF Figure 11.16: Contour map of the upscaled THICKNESS3_SCALED.IDF-file (cell size 1000x1000 meter). Deltares 615 of 812 iMOD, User Manual Tutorial 3: Map Analyse This tutorial gives a brief introduction to several options to visualize and analyse the content of IDF (raster) files. See for more detailed references section 7.1 (Cross-Section Tool), section 7.2 (Timeseries Tool) and section 7.3 (3D Tool). Outline This is what you will do: Creating cross-sections over several IDF-files (combined with an IPF file) and manipulate the configuration; Required Data T Computing timeseries out of IDF-files (combined with an IPF file); Using the 3D Tool. For this tutorial you need the following iMOD Data Files (IDF): Folder HEAD that contains HEAD_*_L1.IDF-files that represent transient model results; Folder SUBSOILSYSTEM that contains SURFACE_LEVEL.IDF and HYDROLOGICAL_ BASE.IDF that represent the top and bottom elevation of the modeled hydrological system. Inbetween there are 6 aquitards distinguished that are described by their top and bottom elevations, called TOP_SDL{i} and BOT_SDL{i}, respectively for each of the 6 aquitards. Moreover, a subfolder called BOREHOLES containing borehole information stored in the file BOREHOLES.IPF Folder OBSERVATION that contains the file OBSERVATION.IPF representing several synthetic measurements. DR AF 11.3 All these files are located in the folder: {path of installfolder} \tutorials \TUT_MAP_ANALYSE. Getting Started 1 Launch iMOD by double click on the iMOD executable in the Windows Explorer, and start with Create a new iMOD Project. 2 Go to View in the menu bar and select the iMOD Manager (or use the shortcut Ctrl+M). Cross-Section Let us start by creating a cross-section that visualizes the subsoil system as described by the data stored in the folder SUBSOILSYSTEM. 3 Open all IDF-files that are located in the SUBSOILSYSTEM subfolder of the folder {path of install) from the Maps tabs on the folder} \tutorials \TUT_Map_Analyse. Click the Open IDF button ( iMOD Manager. Select the IDF-files in the Open File window and click the Open button. All files will appear in the iMOD Manager, they will be ordered similar to the order in which they appeared in the Windows Open File window. Whenever the Cross-Section Tool is used to visualize the subsoil system it is important that IDF-files are arranged such that internal values are higher for IDF-files that appear higher in the list. Let us change the order of the files in the iMOD Manager. 4 Select the file HYDROLOGICALBASE.IDF from the iMOD Manager and click the button ( ) sequentially until the file is at the bottom of the list. Select the file SURFACE_LEVEL.IDF and click the button ( ) sequentially to put the file on top of the list. Now we should arrange the TOP_SLD{i} and BOT_SLD{i} properly. 5 Select all TOP_SLD{i} files simultaneously in the iMOD Manager and press the button ( ) to move them all together direct below the SURFACE_LEVEL.IDF. Now deselect the file TOP_SLD1.IDF 616 of 812 Deltares iMOD tutorials by clicking the Ctrl-key and your left mouse button simultaneously. Now press the button ( move all files directly below the file BOT_SLD1.IDF. ) to It is important to place the IDF-files in the right order and to put together the top and bottom of each layer. Also, you can arrange files simultaneously by selecting them. It is faster to select multiple files and move them downwards to move the file underneath upwards. 6 Use the Map Value ( ) to inspect whether all files are arranged in the proper sequence. Let us now make a cross section of the subsoil. 7 Select all IDF-files from the iMOD Manager and select the option Toolbox and select the option ) from the main tool- T Cross-Section Tool, or, click alternatively, the Cross-Section Tool button ( bar. iMOD will display an empty graphical canvas, called the iMOD Cross-Section CHILD window, since no cross-section has defined yet. Let’s start drawing the location of the cross-section. DR AF 8 Click the Draw Line of the Cross-Section button ( ) and left click your mouse button somewhere in the Draw Cross-Section window. Now move your mouse and you’ll notice that the cross section will be built up automatically and will be refreshed each time you move your mouse. Right click somewhere else on the Draw Cross-Section window to store the line. Whenever you move your mouse in the iMOD Cross-Section CHILD window, you’ll notice a circle on the line of the cross-section that directs to the current location in the cross-section. Once a cross-section has been drawn, you can adjust/manipulate it, let’s do that. 9 Move your mouse in the neighbourhood of the cross-section line in the Draw Cross-Section window. Click your left mouse button whenever the mouse symbol changes to . You can drag the current location of the cross-section. 10 Release the left mouse button and move towards one of the ends of the cross-sectional line. Press the left mouse button as soon as the symbol changes to you can change the start- and/or end-location of the line. . Move the mouse and watch that Let’s change the configuration of the cross-section, so our aquitards will be filled by different colours and our aquifers will become yellow. 11 Click the Cross-Section Properties button ( ) on the Draw Cross-Section window to display the Cross-Section Properties window for a more detailed description of its functionalities. 12 Click the option Block Lines to display the cross-section with lines that represent the true values and extent of the grid cells, rather than connecting grid cell mids. Click the OK button to observe the effects. 13 Re-open the Cross-Section Properties window. 14 Click the checkbox of the fifth column (Line) in the first row (Label is Adjust all) twice. Once to select it and then to deselect it. All rows underneath will become unchecked. 15 Click the checkbox of the seventh column (Fill) in the first row to check all rows underneath. 16 Click the first inputfield of the fourth column (Colour ) and select a yellow colour from the default Colour window. All rows become yellow in this way. 17 Click the inputfield for the fourth column (Colour ) for the third row (Label=TOP_SLD1.IDF) and change the colour into, let’s say, green. Repeat this for TOP_SLD2.IDF, TOP_SLD3.IDF, TOP_SLD4.IDF, TOP_SLD5.IDF and TOP_SLD6.IDF. Give a grey colour to the HYDROLOGICALBASE.IDF. Click the OK button and observe the result. Since this can be quite laborious, iMOD facilitates several display configurations that configure the table assuming the IDF-files are ordered in a particular manner (see section 7.3.1). For this set of IDF files you might use the one below. Deltares 617 of 812 iMOD, User Manual 18 Choose the configuration Quasi 3D model (aquitard) from the dropdown menu. Turn off the Block Fills to have a smoother surface. Check the differences with or without this feature. 19 Click the OK button to close the Properties window. As you might observe, the cross-section gives a clear image of the subsurface. Moreover, the settings we just applied in the steps 11 until 19 are stored internally. Whenever you leave the Cross-Section Tool and re-enter it, these settings remain intact, except for the coordinates of the cross-section. Whenever you would like to re-use the same coordinates save them in the Miscellaneous tab on the Cross-Section Properties window, or alternatively save the last drawn cross-sections as a Demo-IMF (see section 7.1 for more information on this). Let us try it. 20 Leave the Cross-Section Tool by clicking the Close button on the Draw Cross-Section window, or ) on the top-right of theiMOD Cross-Section CHILD window. T press the symbol ( Let’s us include some boreholes in the cross-section of the subsoil. DR AF 21 Open the file BOREHOLES.IPF from the folder {path of installfolder} \tutorials \TUT_MAP_ ANALYSE \SUBSOILSYSTEMS \BOREHOLES 22 Select this file together with all other files before entering the Cross-Section Tool (step 7). 23 Draw a cross-section (step 8) and insert some extra points by clicking your left mouse button, while drawing the cross-sectional line. Observe that all settings are still intact and a vertical dashed line is drawn at the intermediate points. Moreover, all boreholes that are within a close range to the cross-sectional line, are projected perpendicular on the cross-section. We need to tell iMOD to use a different colour legend for plotting the boreholes, just like we did in 11.1. 24 Click the Properties button ( ) on the Draw Cross-Section window. 25 Select the tab Colouring on the Cross-Section Properties window and click the Open DLF button ( ). Select the [BOREHOLES.DLF] from the . \TUT_MAP_ANALYSE folder and click the Open button. iMOD will redraw the cross-section using this renewed legend and will use this legend during your iMOD session. 618 of 812 Deltares T iMOD tutorials DR AF Figure 11.17: Example of interactively generating a vertical cross-section of a 3D subsurface including boreholes. Note: Boreholes within a user-specified horizontal distance from the cross-section are projected on the vertical cross-section; this specified distance is visualised by the thickness of the trajectory of the cross-section (red line) in the ’Draw Cross-section’ window. While drawing the trajectory of the cross-section in the ’Draw Cross-section’ window, the vertical cross-section through the subsurface is updated in the ’Cross-Section CHILD’ window simultaneously; when dragging an existing trajectory, the cross-section is updated as soon as the left mouse button is released. 26 Try to apply the zoom functionalities on the right of the iMOD Cross-Section CHILD window, and those located on the Draw Cross-Section window. 27 Close the Cross-Section Tool (see step 20). You can use the flip button ( ) to rotate your cross-section clock-wise. Another option is to analyse the cross-section with the Movie button ( ). This option might be helpful if you would like to analyse e.g. the spatial variability of your vertical cross-section. 3D Tool The next step is to analyse these data in the 3D tool. 28 Click the 3D Tool icon in the menu bar. 29 Now you’re in the 3D IDF Settings dialog. Select the same display configuration from the configuration dropdown menu as you did in the Cross-Section tool (see step 18). 30 Observe the contents of the Display Configuration and try to understand what happened. Click the Apply button. You should see an image similar to the figure below. You can, of course, change all settings in the 3D IDF Settings window. Deltares 619 of 812 DR AF T iMOD, User Manual Figure 11.18: 3D Tool view of the subsurface and borehole data used in the previous 2D cross-section exercise. Let’s experiment with the fence-diagrams and clipping planes functionalities. First we switch to a 3D solid model. 31 32 33 34 35 36 Select the IDF’s tab from the 3D Tool window. Select the properties button ( ) to open the 3D IDF Settings window. Select the option [3D Model] from the dropdown menu at the field Configuration. Click the button to close the 3D IDF Settings window. Select the lower most IDF file called HYDROLOGICALBASE.IDF. Select the Fence Diagram tab from the 3D Tool window. 37 Select the option Draw button ( ). In this mode, you’re able to actually draw a line on the 3D graphical canvas. If you move your mouse into that area, a red vertical line appear and a red dot. The red dot is the actual position of your mouse on the 3D image (actually the HYDROLOGICALBASE.IDF) and the x-,y- and z-coordinates are presented in the window status bar. 38 Click your left mouse button somewhere left, in the deeper part of the HYDROLOGICALBASE.IDF. 39 Now move your mouse button to the right and observe that a red rectangle will be drawn showing the actual position of the fence diagram. 40 Click your left mouse button to insert an additional knick-point somewhere half-way the left- and right utmost boundaries of the image. 41 Click your left mouse button somewhere in the right. 42 Click your right mouse button to stop drawing, the fence diagram will be computed as displayed directly. Well, that’s no too bad. Try to add another fence-diagram, the following figure shows what the result might be. 620 of 812 Deltares DR AF T iMOD tutorials Figure 11.19: 3D Tool view of the subsurface and borehole data after drawing a fence diagram interactively. Note: The colours in the fence diagram are the colours assigned to the individual IDF files; you can each of them individually via the IDF’s tab. 43 Save all cross-section via the option Save As ( ) 44 Delete all cross-section via the option Delete ( ) 45 Click Yes to confirm to remove the cross-sections. 46 Load in again some of the cross-sections via the open Open Cross-section ( ). Remember that these cross-section file can be (re) used by the Solid Tool (see Tutorial 5, section 11.5). Let’s apply some clipping planes. 47 48 49 50 51 52 53 Deselect the option Effected by Clipping on the Fence Diagram tab from the 3D Tool window. Select the IDF’s tab again from the 3D Tool window. Select all the listed IDF files, except the last one called HYDROLOGICALBASE.IDF. Select the option Filled+Wireframes to emphasize the top of the IDF files. Select the Clipplanes tab from the 3D Tool window. Select the entry [ClippingPlane West] from the Available Clipplanes field. Use the slider at the entry field West to move the clipping plane from the western border to the eastern boundary. Observe that once the clipping is active the subsurface model is torn open and it is possible to look into it. To avoid that it is possible to fill those openings with a solid colour. This is called capping. 54 Select the option Capping from the Clipplanes tab. For each entry in the 3D Tool, it is possible to exclude clipping. Let us do that. Deltares 621 of 812 iMOD, User Manual Select the IDF’s tab one more time from the 3D Tool window. Select the IDF files 7 up to 13. Deselect the Clipping checkbox. Select all entries again (except the last one). DR AF T 55 56 57 58 Figure 11.20: 3D Tool view of the subsurface and borehole data after drawing a fence diagram interactively. That’s pretty fancy, so we can exclude the boreholes from the clipping as well. 59 60 61 62 Select the IPF’s tab from the 3D Tool window. Deselect the Effected by Clipping checkbox. Select the Clipplanes tab from the 3D Tool window. Move the West slider to see what happens. Note: iMOD uses a technique to count how many time pixels are drawn in order to decide whether that position need to be capped. If the number of IDF files is uneven, this might cause some undesired interferences. Also if you activate more than one clipping plane in combination with capping. Try that to see what happens. Okay, that is enough in 3D, let’s go back. 63 Close the 3D Tool by selecting File from the main menu and then Close 3D Tool. 64 Click the Save As Current Project button ( ) on the Map Menu bar and enter a name for the file, e.g. TUTORIAL3.IMF. All settings for the cross-section will be saved into the TUTORIAL3.IMF for later use. Timeseries Let’s draw some timeseries interactively. In iMOD you need to open just one IDF-file that contains specific information about a date in its name notation, such as *_20101231_* to express the 31th of 622 of 812 Deltares iMOD tutorials December 2010. Without having to open other files for other dates, iMOD searches for equivalent files, instead. Just as easy! 65 Open a single IDF-file located in the HEAD subfolder of the folder {path of installfolder} \tutorials \TUT_MAP_ANALYSE. Click the Open IDF button( ) from the Maps tabs on the iMOD Manager. 66 Click the option View from the main menu, choose Show IDF Features and select IDF Raster Lines. Choose to see the selected IDF. Observe that the current IDF has a non-equidistant network. T 67 Zoom in on a particular area in the highly detailed area to observe the network layout even better. 68 Click the option Toolbox from the main menu and the option Timeserie Tool to start drawing timeseries, interactively. Accept the Available Dates window for now. You could have specified a selection of the available IDF-files. iMOD will read/open all available IDF-files from the same folder as the IDF-files that you’ve opened in step 65. This could take several seconds, watch the progress in the status bar. Once this has finished the Draw Timeseries window will be displayed. DR AF 69 Move your mouse over the screen and watch how the timeseries will be updated for the adjusted location. Figure 11.21: Screen shot of the ’Draw Timeseries’- and ’Timeseries Tool’-windows while hovering with the mouse over a map of a series of IDF-files. Since iMOD will draw a timeserie that can be computed within one second only, you’ll notice that not the entire timeserie will be plotted. This can be seen in the progress bar on the bottom of the Draw Timeseries window. 70 Click your right mouse button to compute the entire timeserie and stop the hoover mode. As soon as the hovering has stopped you can examine the entire drawn timeserie. 71 Use the regular zoom buttons to navigate on the timeserie. 72 Explore the tab Preferences, to see what you can do and how it works. 73 Change the appearance of the timeserie by clicking the Legend button ( Deltares ) on the Graph tab. 623 of 812 iMOD, User Manual DR AF T Experiment with the options that are available in the Individual Colouring window. 624 of 812 Deltares iMOD tutorials Tutorial 4: Create your First Groundwater Flow Model This tutorial gives a short introduction in creating a groundwater flow model from scratch. It yields a preliminary model that will be enhanced even more in section 11.5. All steps in this tutorial were demonstrated during the first live iMOD webinar, recorded on May 2016. You can watch the recordings via the webinar page on the iMOD website (http://oss. deltares.nl/web/imod/webinars). (Be aware that some parts of the tutorial might be improved or edited in the mean time) Outline This is what you will do: Create the basic input files that are necessary to simulate a simple groundwater flow model; Enhance the model with an extraction well to compute the drawdown caused by the well; Simulate flowlines that describe the catchment area of the well; Experiment with extraction rates to compute the maximum sustainable yield without extracting water from the sea. Required Data T DR AF 11.4 For this tutorial you need the following iMOD Data Folders: island.png/island.pngw: this image sketches the outlines of the island This file is located in/below the folder: {path of installfolder} \tutorials \TUT_INITIAL_MODELING. Beside this data you will need the iMODFLOW executable to make the final model computations. Getting Started 1 Place the iMODFLOW executable somewhere on your disk (for instance next to the iMOD-GUI executable) and define the keyword MODFLOW in the IMOD_INIT.PRF. Figure 11.22: Example of a content of an iMOD_INIT.PRF file. See section 11.1 and chapter 9 for more information about the folder structure in iMOD and a description of IMOD_INIT.PRF (see section 9.1 for more information about this PRF file). Please restart iMOD after changing the IMOD_INIT.PRF file. 2 Launch iMOD by double clicking the iMOD executable in the Windows Explorer, and start by selecting the option Create a new iMOD Project. Click the Start button. Deltares 625 of 812 iMOD, User Manual Background Image One of the first things one would like to display is an image of the outline of our island that we’re going to model. Let’s do that. 3 Select the option View from the main menu and then select Add Background Image ... from the dropdown menu. This will start the Add Background Image dialog. 4 Select the option Add from the dialog and select the file {path of installfolder} \tutorials \TUT_INITIAL_MODELING \island.png from the Windows Explorer, see section 5.3 for more information about this window. 5 Select the Apply button that closes the window. ) on the main menu whenever the image does not appear. DR AF T 6 Click the Show Background Image ( Figure 11.23: Example of showing a topographical map using the main menu ’View’, ’Show Background Image(s)’ option. This island represents a small tropical island (3 x 3 km) somewhere in the Pacific. It is surrounded by shallow waters with crystal clear water (light blue), white beaches all around (yellow) and meadows (light green) with some bush areas (dark green). In the centre of the island there exists a small settlement with a few houses that use groundwater for watering their fields and cattle and use it as primary source for drinking water. They extract groundwater at the centre of the island (blue circle). Many people have discovered the beauty of this island and plans arise to build a resort on the island. This will increase the pressure on the natural water resource and the question to be answered is: “How much water can be sustainably extracted from the subsoil, without attracting seawater in the near future to the pumps?”. With this very simple example we will use iMOD to build a hypothetical model of this island. By means of this example we will illustrate the methodology in iMOD to create a groundwater flow model. At this stage we will ignore any effects of density-driven components caused by salt water. The following steps will be undertaken: build an IDF-file for the surface level of the island which will be our uppermost boundary of the system modeled; create an IDF-file that defines the boundary conditions of the model, for which part the groundwater head needs to be computed and for which part this is known beforehand; create an IPF file that describes the location and rate of the pumping well; create a runfile that describes the necessary files and values for the simulation; simulate the model using the runfile; 626 of 812 Deltares iMOD tutorials create startpoints for the particle tracking simulation and carry out this simulation; modify the extraction rate in order to search for the maximum sustainable yield. Okay, a lot of work needs to be done, so let’s go! Creating the topography Our model will describe the groundwater flow between the surface level and the bedrock in the subsoil. Our first task is to get a digital representation of the surface elevation. Often this is available in the form of a Digital Elevation Model (DEM), unfortunately, we’re lacking this DEM for our island, so we have to sketch it ourselves. T 7 Select the option Edit, Create Feature from the main menu, then select the option IDF’s from... and finally the option Polygons/Lines [GEN] to start the Create IDF window. DR AF With this functionality in iMOD we’re able to create simple features in the format that iMOD needs to perform a model simulation. In this case we would like to create the outline of the surface level and therefore we need to draw the contours of the surface level and assign appropriate levels to it. After that we can tell iMOD to interpolate from the contours. Okay, let’s start this by digitizing the shore of the island (i.e. 0.0 m+MSL contour). 8 Make sure you’ve shown the topographical image of the island (repeat step 3 upto 6 whenever you don’t see the image); 9 Click the Draw button ( ), this will start the Select window; 10 Select the option Polygon from the Shape types; 11 Click the Ok button. Your cursor has been changed into the following cursor symbol drawing a polygon. which means that you can start 12 Click your left mouse button on the graphical canvas at the location of the first point of the polygon to be drawn. Repeat clicking your left mouse button to insert more point of the polygon. Whenever you are satisfied click your right mouse button to stop this process. Note: if you are a left-handed person and you converted your mouse button settings, ’left mouse button’ should be ’right mouse button’ and vice versa in these tutorials. See section 4.5 for more details how to modify the polygon once you’ve created it. Deltares 627 of 812 T iMOD, User Manual DR AF Figure 11.24: Example of the polygon that you might have created. Now we have to assign a surface level of 0.0 m+MSL to the drawn polygon. ) to start the Content of File window. Click the Yes button when13 Click the Information button ( ever iMOD asks “Do you want to add additional data to the shapes?”. Figure 11.25: Example of the ’Content of file:’ window. With this Content of file window we can observe/change the attributes that can be added to the shapes (polygons, lines). We have to add a new attribute to the data to store the contour values of the surface level. Let’s do that. 14 Click the Add Attribute button ( 628 of 812 ) and enter the label [Level] in the Input window that arises. Deltares iMOD tutorials Figure 11.26: Example of the ’Input’ window to add an attribute. DR AF T 15 Click the OK button to return to the Content of file window. Observe that an extra column has been added to the table. 16 Enter the value [0.0] to the input field Level. 17 Select the option Use following column for gridding/interpolation and select the attribute [Level] from the dropdown menu. iMOD will use the values from this column during the interpolation. Figure 11.27: Example of the ’Content of file:’ window. 18 Click the Apply button. Similarly repeat steps 12 to 18 to sketch the other polygons and lines of the surface elevation of the island. Choose the corresponding elevation values from the table below. Please note that it is not necessary to add the attribute column named [Level] for each shape since this will be applicable for all shapes that are entered. Also use a [Line] feature to express the watershed on the more elevated parts of the island. Table 11.1: Elevation of the island elements Island level description Hills ridge (west and east) Hills feet (west and east) Border green area Island Boundary Shallow water Deep water Deltares elevation [m] 15 5 2 0 -1 -5 629 of 812 T iMOD, User Manual Figure 11.28: Example of a final result sketching the surface level for the island. DR AF 19 To save the set of shapes listed in the ’GENs-tab’ window click on the Save As button ( ) and save as ISLAND.GEN in the folder iMOD_USER \SHAPES. Please note that it does not matter whether only some of the shapes were selected, all shapes listed in the ’GENs’-tab will be saved as one set of shapes. The associated labels are saved to the file ISLAND.DAT at the same location. Both files (ISLAND.GEN and ISLAND.DAT) may be modified outside iMOD using a text-editor. Please note that the first column in the DAT file will be used to reference between the GEN and DAT file. Make sure that this connection remains intact! Once we’ve outlined the surface level, we will interpolate the contours to a grid (IDF) with rastersize of 10 meter. This will be accurate enough for our simulation. However, gridsizes at this stage will not be determined for the final simulation scale. See section 11.6 for more information on scaling issues for model simulations. 20 Click the button GEN-Extent to adjust the coordinate settings for the IDF to be created such that the entire GEN will be included in the gridding. 21 In the boxes for the Lower Left and Upper Right coordinates of the extent (XLLC, XURC etc), please remove the centimeter values and round down or up to meters. 22 Enter a cell size of 10 meter in the field Cellsize (m). 23 Select the option [PCG (Preconditioned Conjugate Gradient)] from the Method dropdown menu. This interpolation method will follow the given contours accurately giving a smooth representation of the entered contours. 24 Click the Apply button and save the gridded IDF-file in the folder iMOD_USER \DBASE as SURFACE_LEVEL.IDF. Probably you need to create this folder first! 630 of 812 Deltares T iMOD tutorials DR AF Figure 11.29: Example of a resulting topography of the island. It is completely irrelevant where files are saved actually; however, in order to keep your project organized well, it is advisable to create a clear structure in which you save all files that are related to the model. Note: Commonly, we use the foldername DBASE to store all model files. So whenever we refer to the folder DBASE in the coming parts of this tutorial we actually denote the IMOD_USER \DBASE folder. 25 Use your experience from the Tutorials 1, 2 and 3 to create a 3D image of the topography we just created. Figure 11.30: Example of a 3D image of your created island. Deltares 631 of 812 iMOD, User Manual Creating the boundary conditions Okay, now we’ve outlined the uppermost boundary of our model, we will specify those areas that are part of the model simulation (active areas) and areas that have fixed values (fixed or non-active areas) for the hydraulic heads. We will use IDF-Calc and IDF-Edit that you both have used in section 11.2 (we assume you finished section 11.2 before you moved on to section 11.4). Okay, we need to copy the SURFACE_LEVEL.IDF to an IDF that we can use for the definition of boundary conditions. T 26 Select the [SURFACE_LEVEL.IDF] from the iMOD Manager and Click the IDF Calculator button. 27 Enter the IDF-file [. \DBASE \BOUNDARY.IDF] in the Map C field on the Algebra tab on the Map Operations window. Make sure you use the same folder name as the one used for . \DBASE \SURFACE_LEVEL.IDF. 28 Make sure the entered formulae is [C=A]. 29 Select the option Map A to create an IDF that has the same dimensions as the IDF-file mentioned by Map A (i.e. SURFACE_LEVEL.IDF). 30 Click the Compute button. Please note that when we created the BOUNDARY.IDF and it is drawn and listed in the iMOD Manager, it is a copy of the SURFACE_LEVEL.IDF. Now we are going to determine the active areas of the simulation by selecting the area with surface level values above zero. Areas with values less than zero will be fixed areas. So let’s continue with that. DR AF 31 Select the [BOUNDARY.IDF] from the iMOD Manager and click the Map option from the main menu, select IDF Options and then IDF Edit option to start the IDF Edit window. 32 Click the Select button to start the IDF Edit Select window. 33 Select the option [>=] from the dropdown menu Logic in the groupbox Evaluate IDF A. 34 Click the Get Selection button to get a selection of all cells that have values greater and equal zero. Figure 11.31: Example of the selection of cells with values greater or equal to zero. 35 Click the option Close to return to the IDF Edit window again. 36 Click the Calculate option from the IDF Edit window to start the IDF Edit Calculation window. 37 Select the option New Value in the group Define Values by and enter the value [1] so it says New Value [=] [1.0]. 38 Click the Calculate button. 39 Click the Close button and click Yes on the appearing window asking you to be sure to leave this Edit environment. Repeat steps 32 upto 39 to adjust all values that have values less than zero and calculate those values 632 of 812 Deltares iMOD tutorials DR AF T to become -1.0. Figure 11.32: Example of assigned active and fixed head cells. Last thing we need to do is to create an IPF file (iMOD Point File) to represent the well in our model. We have a single well situated in the centre of the island, in the following steps we will create this simple file inside iMOD; however, it can be easily modified/created outside iMOD. For large datasets it is often more convenient to process these types of data in another program. 40 Deselect the BOUNDARY.IDF in the iMOD Manager. ) 41 Make sure you’ve switched the background image on, if not press Show Background Image ( again. 42 Select the option Show Transparent IDFs from the View menu, to be able to either see the background image and the IDF files to be analysed. 43 Select the option Edit from the main menu, then select the option Create Feature and then IPF’s to start the Create IPF’s window. 44 Click the Draw button ( ) and click your left mouse button when the cursor is on the location of the well. 45 Click your right mouse button to return to the Create IPF’s window. 46 Click the Information ( ) button and click the Yes button on the question “Do you want to add additional data to the shapes?”. 47 Select the third column and press the Rename button ( ). 48 Enter the name [Q] in the field Rename Attribute and click the OK button. 49 Enter a value of [-500.0] for the extraction rate in the first row, third column. Rates are entered in m3 /day and you cannot perturb the first two columns since these are used by iMOD for internal processes. Deltares 633 of 812 T iMOD, User Manual DR AF Figure 11.33: Example of a screen layout at the current step. 50 Click the Apply button to close this window and return to the Create IPFs window. 51 Click the Save As button ( ) to save this file in . \DBASE \WELL.IPF. For this hypothetical model, these three IDF-files (. \DBASE \SURFACE_LEVEL.IDF, . \ DBASE \BOUNDARY.IDF and . \DBASE \WELL.IPF) are the only spatial varying data sources. The other model input are constant values throughout the model domain and we will assign those values by creating a modeling project in the following section. In the next figure we’ve given a sketch of the subsoil and flow patterns that might occur. Figure 11.34: Sketch of a estimated flow pattern that might occur in our island model. 634 of 812 Deltares iMOD tutorials Creating a Modeling Project and defining a runfile iMOD arranges a model project by a project file, a so called PRJ file. This file stores all files that are assigned to particular phenomena in the model. From a project file (*.PRJ) you can generate a runfile (*.RUN) that will be used eventually to simulate groundwater heads for a specific configuration. We can imagine that you’ll need to simulate different scenarios (e.g. steady-state simulation versus transient simulations) that can be initiated by the Project-Manager. Well, probably it is better just to start with it. 52 Select the option View from the main menu and select the option Project Manager to start the Project Manager window. T This window shows all available packages that are supported by iMOD. Still many will come in future though. Okay, we have to fill in this project manager with our model configuration. In the table, shown below, we have outlined the requirements for this particular three-layered model. Note: the "Porosity Aquifer" and "Porosity Aquitard" values are only needed for the pathlines simulation from step 95 onwards. Table 11.2: Model requirements for a confined, steady-state three layered model. Parameter BND Boundary IDF/Constant Value . \DBASE \BOUNDARY.IDF 1 0.0 m+MSL . \DBASE \SURFACE_LEVEL.IDF . \DBASE \SURFACE_LEVEL.IDF - 1.0 m -15.0 m+MSL . \DBASE \SURFACE_LEVEL.IDF - 1.0 m -15.0 m+MSL -20.0 m+MSL 25.0 m/day 1.0 25.0 m/day . \DBASE \WELL.IPF 1.0 mm/day DR AF SHD Starting Heads TOP Top Elevation model layer 1 2,3 1,2,3 1 2 3 1 2 3 1,2,3 1,2,3 1,2 3 1 BOT Bottom Elevation KHV Horizontal Permeability KVA Vertical Anisotropy KVV Vertical Permeability WEL Wells RCH Net Recharge Okay let us fill in the boundary conditions in the Project Manager. 53 Select the option [(BND) Boundary Conditions] in the Project Definition list. 54 Click the Properties button ( ) to start the Define Characteristics for window. In the current window you can specify how the package (in this case the Boundary Condition) needs to be configured. Let us fill this dialog for the boundary condition for model layer 1. 55 Enter the value [1] in the Assign Parameter to model layer . . . field, if this is not the case by default. 56 Specify a Parameter Multiplication Factor of [1.0], if that is not the case by default. Any parameter can be multiplied with the associated factor during runtime. You can use this factor to easily perform some sensitivity analyses on parameters and their effect on the distribution of the groundwater head. 57 Specify a Parameter Addition Value of [0.0], if that is not the case by default. Any value can be added to or subtracted from a parameter. 58 Select the option Add File and click the Open File button. Select the file . \DBASE \BOUNDARY.IDF from the appropriate folder. This file we’ve created in step 39, remember? Deltares 635 of 812 T iMOD, User Manual DR AF Figure 11.35: Example of the ’Define Characteristics for:’ window, filled in for Recharge (RCH). 59 Click the Add New System button and this will return you to the Project Manager window. You’ll notice that the option [(BND) Boundary Conditions] has been altered. You can select the “plus” sign to expand the tree view. You’ll notice the entered fields in the presented string. Now let us fill in the remaining parameters from the table given. 60 Repeat the steps 53 upto 59 for the remaining parameters. Take care to select the parameter name in the Project Definition list each time you want to open the Define Characteristics for window to enter NEW parameters. Figure 11.36: Example of selecting a parameter in the ’Project Definition’ window: in this example firsts ’(BOT) Bottom Elevation’ is selected to expand the tree view by clicking the ’+’-sign. Whenever you select the expression under an expanded branch in the treeview in the Project Definition list, you’ll be able to edit an existing entered parameter; see the example below. 636 of 812 Deltares T iMOD tutorials DR AF Figure 11.37: In this example the exisiting (BOT) parameter set of layer 1 is selected. Click on the ’Properties’ button to open the ’Define Characteristics for:’ window to edit the Bottom Elevation parameters. As you may have noticed, we simulate this model with three model layers. The first model layer has a thickness of 1.0 meter (almost no horizontal flow in that model layer) to intercept the recharge. From there water will migrate to the deeper layers 2 and 3. The third model layer is the actual aquifer from which water is extracted via the well screen. Schematic, the model can be represented by the following figure: Figure 11.38: Schematic representation of the model. Deltares 637 of 812 DR AF T iMOD, User Manual Figure 11.39: Example of Project Manager window after filling in a model configuration. For the meaning and explanation of the available buttons on the Project Manager window go to section section 5.5. 61 Click the Save button ( ) to save this model configuration in a PRJ file. This file may be loaded again whenever we need to modify this project. The next step will be to create a runfile than can be used for a model simulation. 638 of 812 Deltares iMOD tutorials 62 Click the Save Runfile button ( ) to start the Define Simulation Configuration window. iMOD will fill this dialog depending on the definitions in the Project Manager. We are not able to create a transient runfile since we do not have any transient data. We will generate a runfile for a three-layered model. DR AF T 63 Click on Activate Packages... to select all packages in de pop-up window if this is not already the case. 64 Click the Apply button to accept the selection and close the Packages window. Figure 11.40: The Define Simulation Configuration window after entering the value ’3’ for the ’Number of layers’. 65 Click the Create ... button and save the runfile in the folder . \IMOD_USER \RUNFILES and call it ISLAND.RUN. iMOD will create a runfile for a steady-state simulation taking into account all active packages in the Project Manager. This runfile can be used to start the model simulation. 66 Click the OK button that says that the runfile has been written successfully. This will return you to the Project Manager. Click the Close button to close the Project Manager window. It remains active in the background and can be re-opened by selecting the option Project Manager from the View menu at the main menu. Deltares 639 of 812 iMOD, User Manual Running the Model 67 Select the option Toolbox from the main menu and then the option Start Model Simulation to start the Model Simulation window. 68 Select the [ISLAND.RUN] from the Runfiles (*.run) list. DR AF T iMOD will draw a hatched rectangle showing the maximum extent of the model described in the runfile. In section 11.6 we will demonstrate more functionalities in scaling and creating a submodel using the Model Simulation Tool. For now we will just skip most of the functionalities on this window and start running the model. Figure 11.41: Example of the ’Start Model Simulation’ window. 69 Select the Result Folder tab and enter the name [ISLANDQ500] in the Enter or Select Output Folder field. Figure 11.42: Example of the ’Result Folder’ tab in the ’Start Model Simulation’ window. 640 of 812 Deltares iMOD tutorials 70 Click the Start Model Simulation button to start the model simulation. The actual simulation will be carried out by the iMODFLOW executable and will run in the DOS box attached to iMOD. Please check whether you can find this window and examine the results, it will look more or like as follows: iMOD will create folder \IMOD_USER \MODELS \ISLANDQ500 in which the results of the model simulation will be saved. Moreover, a complete copy of the runfile, the used executable for the simulator (e.g. iMOD__V4_3_X64R.exe) and a batch script will be saved too. Double clicking this batch script (RUN.BAT) from Windows Explorer or Total Commander will re-run this model outside iMOD. This can be very convenient whenever some trial-and-error computations have to be carried out. For now, we will work purely within iMOD. DR AF T iMODFLOW produces standard output in the file iMODFLOW.list (always in the subfolder mf2005_tmp of the Result Folder you specified (in this example . \IMOD_USER \MODELS \ISLANDQ500 \mf2005_tmp); at the end of this file the overall volumetric budget is printed and can be checked for the resulting water balance error (IN - OUT): Figure 11.43: Example of the volumetric water balance as printed by MODFLOW in the iMODFLOW.list-file. So, in short, the iMODFLOW standard output file iMODFLOW.list contains info on: the model discretization the model time and length units the processed input packages the solver used and how the iteration process progressed the volumetric budget for the entire model, including the percent discrepancy elapsed run time Deltares 641 of 812 iMOD, User Manual Let’s have a look at some more results. 71 Close the Model Simulation window by selecting the Close button. 72 Select the option Map and then the option Quick Open to start the Quick Open window, see section 6.2. With this window it is easy to open and view results from a model simulation. 73 Select the option [HEAD] from the Topic dropdown menu. 74 Select the options [1], [2] and [3] from the Layer dropdown menu. 75 Click the Open button. iMOD will load the selected results files (HEAD for model layers 1, 2 and 3) into the iMOD Manager and displays the result on the graphical canvas. Use your experience learned from the previous Tutorials to display the computed heads as shown in the example on the next page. To show the IDF by ). DR AF T contourlines, open the Legend window and click the Contourlines button ( Figure 11.44: Isolines of the computed hydraulic heads of the island. As we can see by the computed hydraulic head, the gradient towards the well in the centre of the island tends to be such that no water is extracted from the ocean. To illustrate this even more we can compute pathlines that show the actual path through the subsoil that groundwater follows from the location of infiltration towards the location of extraction. We call that particle tracking. 642 of 812 Deltares iMOD tutorials Create Startpoints for a Pathline Simulation 76 Select the option Toolbox from the main menu and then the option Define Startpoints to open the Open/Create a Startpoint Definition window, see section 7.13 for more detailed information. 77 Enter the name [ISLAND] in the input field. 78 Click the Open and Continue button to open the Start Point Definition window. iMOD offers the possibility to define startpoints for any particle tracking independently of a model, modelsize and or cellsize. Startpoints will be defined by means of a polygon a line and/or points and startpoints are distributed within the limits of that/those polygon(s)/lines. So, let us define startpoints on the island. T 79 Click the Draw button ( ) and start drawing a polygon. We’ve done this before (see step 8) so you’ll manage to get this done. Make a polygon wide around the island, so we can observe whether seawater is flowing to the well too. 80 Select the right mouse button to stop drawing a polygon. 81 Select the Definition tab and enter a cellsize of [50] meter for the Distance X (m) and Distance Y (m), so each 50 meter we will have a particle starting. DR AF ) to select the computed hydraulic head of layer 1 to be used as 82 Select the Open IDF button ( Top Level, use the same IDF for the Bottom Level. Figure 11.45: The ’Start Points Definition’ window. 83 Click the Draw button to get an idea of the density of the particles to be started. 84 Click the Close button to close this Start Point Definition window. Whenever iMOD asks to overwrite the current [ISLAND.ISD], do so. So now we’re finished creating startpoints, let’s use them in the pathline simulator. Deltares 643 of 812 iMOD, User Manual Running the Pathline Simulator 85 Select the option Toolbox from the main menu and then the option Start Pathline Simulation. This will start the Pathlines Simulation window; see section 7.14 for more detailed information. 86 Select the model [ISLANDQ500] in the list at Existing Results under Models. iMOD will search in the appropriate folders to see whether all necessary files are available. For a particle tracking you need at least the budget terms in the x, y and z direction, these files are stored in the . \BDGFRF, . \BDGFFF and . \BDGFLF, respectively. iMOD will display the availability of those files whenever you select a model result. DR AF T The example shown here will only highlight the most important steps to perform the particle simulation; however, it is difficult to explain the results whenever one cannot fully understand the technique behind it. So please, read some documentation on particle tracking, done by D.W. Pollock (USGS OpenFile Report 94-464). Figure 11.46: The ’Pathline Simulation’ window. 87 Click the Input tab on the Pathlines Simulation window. On this tab we need to tell iMOD the specific information that is needed for the particle simulation. Most important are the top- and bottom interfaces for the two model layers, see section 7.14 for more detailed information on this topic. Let’s fill it in quickly. 88 Click the Properties button ( ) next to the Boundary Settings to display the Input Properties window. 89 Enter the [. \DBASE \BOUNDARY.IDF] in the first row and enter [1] for the second and third row. The particle tracking algorithm will use this information to exclude areas where the values in the IDF-files are less or equal to zero. 644 of 812 Deltares T iMOD tutorials Figure 11.47: The ’Input Properties’ window for the Boundary Conditions. 90 Click the Apply button to use the entered values as input. DR AF ) next to the Top- and bottom Files to display the Input Properties 91 Click the Properties button ( window. 92 Specify the tops and bottoms according to the table on page 635; the specification for the topand bottom files could look similar to the figure below. Please note that for the bottom of layer 1 (and the top of layer 2) we use an IDF which has an elevation 1 meter below the surface level IDF; you can create such an IDF e.g. by selecting the DBASE\SURFACE_LEVEL.IDF in the iMOD manager, and click on the IDF Calculator ( ) button, type the Formulae ’C=-1+A’ and assign e.g. the name DBASE\SURFACE_LEVEL_MINUS_ONE.IDF to Map C. Figure 11.48: The ’Input Properties’ window for the Top- and bottom Files. 93 Click the Apply button to use the entered values; iMOD will check the existence of the specified files. Deltares 645 of 812 iMOD, User Manual 94 Select the Properties button for the other input fields and fill in the Input Properties appropriately. Use the configuration as mentioned in the table on page 635 and adjust the following 2 parameters. Table 11.3: Adjust the following 2 parameters Parameter Porosity Aquifer Porosity Aquitard 95 Click the Save As button ( model layer 1,2,3 1,2,3 IDF/Constant Value 0.3 0.1 ) to save the input properties to an IPS file. Next time you can use the Load button ( ) to read the input properties from disk. Whenever you save the settings as [. \IMOD_USER \SETTINGS \IMODPATH.IPS], iMOD will read this file automatically each time you start the Particle Simulation window. T For now we will skip most of the configuration setting in the other tabs, but feel free to have a look in more detail at section 7.14. DR AF 96 Click the Result tab and make sure the Trace Direction is [Forward]. We compute the particles from the groundwater elevation upto the discharge location (a well and/or the ocean). 97 Select the option Save Entire Flowpath (*.IFF) so we will get a file that describes the entire flowpath of each particle. 98 Enter a name for the yielding flowfile, e.g. [ISLAND.IFF]. 99 Click the Start button. This can take a while, especially whenever you have a lot of particles. Bear in mind that whenever you have a lot of particles to examine, but you’re not actually interested in their paths but only in their age at interception, consider the IPF files as alternative to flowlines. Those files are much-much smaller and can be examined quicker. 100 Click the OK button on the Information summary that will be displayed after the particle tracking is completed. iMOD will load the computed IFF file and presents it like black lines. So let’s color it by their age, which makes more sense. 101 Click the Map option from the main menu, select the option IFF Options and then the option IFF Configure to display the IFF Configure window. See section 6.9.1 for more detailed information about the functionalities on this window. 102 Select the option Apply Legend to and select the [TIME (YEARS)] from the dropdown menu. One of the other items to be plotted is the velocity, that is computed as the flux (m3 /day) divided by the porosity (-) divided by the area (m2 ; width*model layer thickness). A change in porosity will change the velocity linearly and therefore the age of the flowline, but will, however, not affect the shape of the pathline. 103 Click the Close button to redraw the IFF with the assigned adjustments. 646 of 812 Deltares DR AF T iMOD tutorials Figure 11.49: Example of a two-dimensional image of pathlines. Figure 11.50: Example of a three-dimensional image of pathlines near the well. Please note that the vertical scale is always very much exaggerated! From the 3D image above, it is clear that most of the water penetrates vertically to the deeper subsoil and then flows to the well. Given that the material is highly permeable (25m/day) and homogeneous. In the next section 11.5 we will Deltares 647 of 812 iMOD, User Manual enhance this model to include more resistance in the subsoil which will affect the pathline behaviour. Finally, our major question is still unanswered. Sensitivities and sustainable yield So, now we know that an extraction of 500m3 /day will be sustainable, we’re still wondering what the maximum will be. It will be your task as hydraulic engineer to give an answer to that question by simulating a variety of model simulations for different extraction rates for the well. Use the next figure to monitor the behavior of the system for different rates. Moreover, you could vary the permeability too, since this parameter is often uncertain. It will be interesting to illustrate the accuracy of your sustainable yield estimation with a bandwidth that expresses the inaccuracy of the permeability too. T As stated above, after each model simulation you should check the total water balance of the model in the iMODFLOW.list file located in the model directory . \MODELS \ISLANDQ500 \mf2005_tmp), it shows the total summary of the model simulation. If you scroll down, you’ll see the total water balance for the model. DR AF In the example above shows the quantity of water flowing in from the sea is close to zero while the amount of water flowing out to the sea is 4081m3 /day. You could use these as evaluation criteria as well! 648 of 812 Deltares iMOD tutorials Tutorial 5: Solid Tool This tutorial gives a short introduction in enhancing the groundwater flow model from section 11.4 with an aquitard that has been characterized by several boreholes. See for a more detailed description of the Solid Tool section 7.4. Outline This is what you will do: Visualizing the boreholes in 3D; Enhancing the subsoil characteristics based on the boreholes using the Solid Tool; Simulate the updated model to observe the consequences of an aquitard in-between two aquifers; Simulate flow of particles. Required Data T For this tutorial you need the following iMOD Data Folders: SURFACE_LEVEL.IDF: describes the surface level of the model area; BOUNDARY.IDF: describes the boundary conditions; WELL.IPF: ipf file that describes the location and rate of the wells; ISLAND.PRJ: project file that describes the model configuration; BOREHOLES.IPF: ipf file that describes the location and actual borehole data. BEDROCK.IDF: idf file that describes the elevation of the bedrock layer. DR AF 11.5 All these files are located in/below the folder: {path of installfolder} \tutorials \TUT_ SOLID_BUILDING. Beside this data you will need the iMODFLOW executable to make the model computations, see step 1 in section 11.4. Getting Started 1 Launch iMOD by double click on the iMOD executable in the Windows Explorer, and start by selecting the option Create a new iMOD Project. 2 Open the SURFACE_LEVEL.IDF from by clicking the Open IDF ( file is located in . \TUT_SOLID_BUILDING \. ) from the main menu. The This file shows the surface level of a small island that we’ve been modeling in section 11.4. If you want you can add a sketch of the outline of the island by following the steps 3 upto 6 from section 11.4. Now we have an IDF of the uppermost interface of our model (the actual surface-level), we need to have an IDF for our lowermost interface as well (to start with; this can be modified later). So, we will copy the SURFACE_LEVEL.IDF and assign a default value of 20m-MSL and call it BEDROCK.IDF. We have done that for you, so please open this file in iMOD. 3 Open the BEDROCK.IDF from by clicking the Open IDF ( located in . \TUT_SOLID_BUILDING \. ) from the main menu. The file is These two files describe the vertical and horizontal limits of our model. In-between there exists an aquitard that has been identified by several boreholes, when they we’re installing the well. Deltares 649 of 812 T iMOD, User Manual DR AF Figure 11.51: Sketch of a flow pattern that might occur in our island model. Boreholes When they drilled the well in the early 80’s, the borehole company found some clays with low permeable material (less than 0.0001 m/day). Probably these are some ancient deposits, but they can interfere with the flowpath to the well screen and therefore might decrease the level of sustainability of the well. To this end, they decided to collect more information about the extent of this clay layer by drilling additional boreholes. A total of 5 boreholes were drilled, let’s start by loading these in iMOD. 4 Click the Open IDF button ( SOLID_BUILDING folder. ) and select the file BOREHOLES.IPF from the . \TUT_ The syntax of the file BOREHOLES.IPF is as described in more detail in section 9.7. For now, each location of the boreholes has an x- and y coordinate and a reference to an attached textfile that describes the actual borelog. Let’s see how the subsoil should look like whenever we include the boreholes. 5 Use your experience from the previous tutorials to produce the following figure, see steps 46 and further from the first tutorial whenever you need some assistance in this. Note: If not all labels are visible directly, go to the Clipplanes tab and select one direction a time until all labels are visible. 650 of 812 Deltares DR AF T iMOD tutorials Figure 11.52: Example of a 3D-image of boreholes of the hypothetical island. From the above given figure, it seems that our estimation of the bedrock depth is not accurate as the boreholes show an increasing bedrock depth from the west to the east. Moreover, we can clearly observe a clay layer (green) in-between the aquifer (yellow). This clay layer has its greatest thickness in the centre of the island (off course) and thins out to the side of the island. Probably eroded by some ancient seas. We are going to use the Solid Tool to construct the interfaces that describe the top- and bottom elevation of the aquitard, as well as adapting the bedrock level of the limestone. Create a Solid A solid is a representation of the subsoil divided into separate interfaces, such as clay and other loweror higher permeabilities. It contains a set of continuous interfaces that exist throughout the model domain and can be used in a groundwater flow model. 6 Click the Toolbox option from the main menu and then select the Solid Tool to start the Solid Tool window. 7 Click the New Solid button ( ) to start the Create New Solid window. 8 Select Enter single TOP and BOTTOM of SOLID. 9 Select the IDF-file [SURFACE_LEVEL.IDF] from the list mentioned by TOP-level and the IDF-file [BEDROCK.IDF] from the list mentioned by BOT-level. 10 Enter [ISLAND] in the Give the name for the Solid input field. Deltares 651 of 812 DR AF T iMOD, User Manual Figure 11.53: The ’Create New Solid’ window. iMOD will use the selected IDF-files (SURFACE_LEVEL.IDF and BEDROCK.IDF) as the uppermost and lowermost interfaces of our model. It is important that the files are selected in the right sequence (from the top to the bottom). iMOD can add extra interfaces whenever you specify that, so based on the two selected IDF-files iMOD can create extra interfaces in-between. In our modeling project, we need at least two model layers, one to describe the groundwater head above the aquitard, and one to describe the situation underneath. 11 12 13 14 Click the OK button Enter [4] for the Number of interfaces . Click the OK button Click the OK button on the Information window that mentions that the solid has been created successfully. This returns you to the Solid Tool window again. 15 Click the Information button ( files to be used for the solid. ) to display the content of the *.SOL file. This file describes the As you can see, the names for the top and bottom interfaces are changed into INT_L1.IDF and INT_L4.IDF. These are copied from the SURFACE_LEVEL.IDF and BEDROCK.IDF, respectively. The other interfaces INT_L2.IDF and INT_L3.IDF are interfaces that iMOD created and are by default the mids in-between the surface (L1) and the bedrock level (L4). All these files are located in the folder . \IMOD_USER \SOLIDS \ISLAND. 16 Close the Texteditor as this will return you to the Solid Tool window. 17 Select the [ISLAND] in the list on the Solid Tool window, if this is not selected yet. Click on Feed Selected SOL-file to the iMOD Manager. 18 Open the iMOD Manager and observe that there is a file called [ISLAND.MDF]. An MDF-file is a collection of IDF-files into a single file, see section 6.5 for more information about these MDF-files, how to create them and how to dissolve them again. 19 Select the BOREHOLES.IPF and the ISLAND.MDF in the iMOD Manager. 20 Click the 3D Tool button (on the Solid Tool window!) to start the 3D Tool (see for more information section 7.3 and step 46 in section 11.1). 652 of 812 Deltares DR AF T iMOD tutorials Figure 11.54: Example of the initial Solid. You can see how the current solid looks like, it contains a single aquifer on top of the (green) aquitard, and another aquifer beneath it. It is not very accurate though, compared to the boreholes. We are going to manipulate the green aquitard such that is resembles the boreholes more realistic. 21 Choose the option File from the main menu on the 3D Tool window and then select the Quit 3D Tool option, this returns you to the main screen again. ) on the Solid Tool window (again not the one on the main 22 Click the Cross-Section button ( menu!). This will start the Cross-Section Tool as you experienced in section 11.3, step 7. Read section 7.1 for more information about this tool. 23 Enlarge the Draw Cross-Section window such that you can see the boreholes more clearly. 24 Select the Snap option ( ) on the Draw Cross-Section window at the Location tab (caution: do not select the same option on the Cross-Sections tab!). 25 Click the Draw Cross-section button ( ) on the Draw Cross-Section window and start drawing a cross-section in the Draw Cross-Section window, start from the left borehole B7 via B1, B5 to B3. Click your right mouse button to stop this drawing. 26 Select the tab Cross-Sections on the Draw Cross-Section window and click the New Cross-section button ( ) on the Cross-Section window to start the Fit Interfaces window. Here, you can enter a name for the cross-section. We suggest that you enter the name [CROSSB7B1B5B3], so it will be clear, in future, what cross-section this is. Furthermore, this window offers the possibility to start your initial guess for the cross-section using the current values for those interfaces. Deltares 653 of 812 T iMOD, User Manual Figure 11.55: The ’Fit Interfaces’ window. DR AF iMOD will fit the interface along the cross-section on the values read from the appropriate IDF, so in this case iMOD will create a line for the [Top Layer 2] (third row in the table) on the content of the ISLAND \INT_L3.IDF. The accuracy of this fit is determined by the Tolerance, which is set to [1.0] meter, which is rather high for this case; however, it is fine for now. Feel free to change the tolerance values to see the impact. 27 Click the Apply button. iMOD will fit each line to the corresponding IDF-files, the result is presented below. Figure 11.56: Result of the initial guess for the cross-section based on the values entered in the previous ’Fit Interfaces’ window. Now we can do two things: We can manually edit the line such that it will fit the boreholes. You can easily move your cursor in the neighborhood of the (red) line. Whenever it changes in a red arrow you can click the left mouse button and drag the line to another position. Whenever it becomes a black arrow you can modify the existing node of the line. This behavior is similar to modifying polygons, see section 4.4 for an example. 654 of 812 Deltares iMOD tutorials We can tell iMOD to connect the lines through the boreholes. We will start with this. Note: iMOD will connect the interfaces through all boreholes in the cross-section. Bear in mind that boreholes might be projected on the cross-section over an undesired distance. To avoid that, decrease the Fade, view depth on the Misc. tab on Cross-Section Properties window. ) to adjust the nodes on each line such that the line crosses each borehole DR AF T 28 Click the Fit button ( at the right position. Figure 11.57: Result of adjusting the nodes on each line such that the line crosses each borehole at the right position using the ’Fit’ button. For now we will accept this cross-section. Okay, let us define the other cross-sections. Follow the steps 22 upto 26 for the different cross-sections. Simply press the New Cross-Section button ( ) again to start another cross-section. We suggest you draw the following cross-sections (you’re free to draw other combinations as well): [CROSSB7B1B5B3]: B7-B1-B5-B3 (you just did this one!) [CROSSB6B1B2]: B6-B1-B2 [CROSSB4B7B2B3]: B4-B7-B2-B3 [CROSSB4B6B3]: B4-B6-B3 29 Click the Close button on the Draw Cross-Section window. You’ll be asked to save the current cross-sections, click Yes. iMOD will save the current cross-sections into separate files, e.g. called CROSSB7B1B5B3.SPF in the . \IMOD_USER \SOLIDS \ISLAND folder. Also the ISLAND.SOL will be adjusted such that it includes a reference to this CROSSB7B1B5B3.SPF. Please have a look in the ISLAND.SOL by pressing the Information button ( Deltares ). 655 of 812 iMOD, User Manual DR AF T Your result might look like the following example. Figure 11.58: Example of the outline of the cross-sections. Bear in mind that the area outside the cross-sections will be extrapolated from the cross-sections. You’re allowed to define other cross-sections in those areas too, to direct the interpolation more. 30 Select the [BOREHOLE.IPF] in the iMOD Manager solely. 31 Click the 3D Tool button ( ) on the Solid Tool window. Figure 11.59: Example of a 3D image of the outline of the cross-sections. There is a Solid tab active now. On that tab you’ll find a list of all the cross-sections, you can select them all or select them individually. 32 Select the cross-section CROSSB7B1B5B3 from the list on the Solid tab in the 3D Plot Settings 656 of 812 Deltares iMOD tutorials DR AF T window. Figure 11.60: 3D image of the individual cross-section [CROSSB7B1B5B3]. 33 Click the File option from the 3D Tool menu and then select the optionQuit 3D Tool to return to the Solid Tool window. Our next step is to create a fully 3D interpretation of the interfaces by numerical interpolation. The interpolation is based on the cross-sections. 34 Click the Calculate button ( ) on the Solid Tool window to start the Compute Interfaces window. In this window you’ll be allowed to determine what elevations/interfaces need to be computed. Since the top elevation for our first model layer is the SURFACE_LEVEL.IDF (see step 2) we will not recompute that interface, so we turn it off. 35 Deselect the Calc option for [(1) Interface 1]. We will overwrite our initial elevations/interfaces since that will increase the performance of our next interpolations. Moreover, we will be able to see any update of our interfaces more easily. Deltares 657 of 812 DR AF T iMOD, User Manual Figure 11.61: Example of the ’Compute Interfaces’ window. iMOD uses as default Kriging interpolation. This is far-out the best suitable interpolation method for these interfaces. 36 Click the Kriging Properties button to display the settings for the Kriging interpolation, see for more details on the properties on this window Section ... Figure 11.62: Example of the used Kriging Settings. 37 Click the OK button to accept the default settings of the Kriging parameters. 38 Click the Compute button to start the interpolation process. 658 of 812 Deltares iMOD tutorials DR AF T 39 Click the OK button whenever the interpolation has been finished. 40 Select ISLAND in the Solid Tool and click the Cross-Section Tool button on the Solid Tool window and select the cross-section [CROSSB7B1B5B3.SPF] from theList of Available Cross-sections on the Cross-Sections window. Figure 11.63: Example of the cross-section CROSSB7B1B5B3 after interpolation. Pretty cool, but also a bit unrealistic. We can modify each cross-section easily to become more smooth. 41 Use your mouse cursor to move in the neighbourhood of the a line to be modified and whenever it becomes red, just press your left mouse button and drag the line. Try to create some detail, or even try to create a hole inside the aquitard. Figure 11.64: Editing the interfaces of cross-section CROSSB7B1B3B5. Deltares 659 of 812 T iMOD, User Manual DR AF Figure 11.65: Editing the interfaces of cross-section CROSSB6B1B2. Be aware of the fact that whenever you move a node into the neighbourhood of another node from another line, iMOD will try to snap it. Whenever the line turns green, lines will be overlapping each other perfectly, which means that there will be no thickness left for an aquitard. In this way, you can create a hole in the aquitard. 42 Click the Close button on the Cross-Sections window to close the Cross-Section Tool, click the Yes button whenever you are asked to save your adjustments. ) and deselect the Calc option for [(1) Interface 1] and click the 43 Click the Calculate button ( Compute button to start a new interpolation. 44 Click the OK button whenever the interpolation has finished and re-enter the Cross-Section Tool by clicking the Cross-Section Tool button ( [CROSSB6B1B2.SPF] from the list. ) again and select the cross-section Figure 11.66: The cross-section CROSSB6B1B2 after manual modification. 660 of 812 Deltares iMOD tutorials 45 Click the Close button on the Cross-Section window to leave the Cross-Section Tool, click No for the question whether you want to save the adjustments (well we did not adjust anything, did we?) DR AF T 46 Click the 3D Tool button ( ) and select the Quasi 3D Model (aquitard) configuration. This will organize the table for the Display Configuration such that iMOD will create a solid representation of aquitards. 47 Click the Apply button. Figure 11.67: 3D image of the computed elevations of cross-section CROSSB6B1B2 and one of the intersecting cross-sections. Figure 11.68: Same cross-sections as previous figure, but now seen from below using transparency view settings. Deltares 661 of 812 iMOD, User Manual DR AF T The Kriging algorithm generates the uncertainty of the estimate as a standard deviation (m). These files can be visualised per interface, they are save in the same folder as the computed interfaces and included the name _STDEV in the IDF file names. Figure 11.69: Example of the estimated standard deviation of the estimated interface. Okay, for now this looks quite nice, we’re done with our solid. 48 Click the option File from the 3D Tool main menu and then select the option Quit 3D Tool. 49 Click the Close button on the Solid Tool window. We will examine what the consequences are for the flow paths towards the well. In section 11.4 we’ve constructed a model from scratch and we will anticipate on your knowledge to do that again. We start with the requirements for this particular three-layered model. 50 Select the option View from the main menu and then select the option Project Manager to start the Project Manager window. We have used this Project Manager in section 11.4 in detail. Please refer to that section for more information. Here, we will create the necessary model configuration as outlined in Table 11.4. Table 11.4: Model requirements for a confined, steady-state three layered model. Parameter Boundary Starting Heads Top Elevation Bottom Elevation Horizontal Permeability Vertical Permeability Wells Net Recharge Porosity Aquifer Porosity Aquitard 662 of 812 model layer 1 2,3 1,2,3 1,2 3 1 2 3 1,2,3 1 2 3 1 1,2,3 1,2,3 IDF/Constant Value . \DBASE \BOUNDARY.IDF 1 0.0 m+MSL . \DBASE \SURFACE_LEVEL.IDF . \SOLIDS \ISLAND \INT_L3.IDF . \DBASE \SURFACE_LEVEL.IDF . \SOLIDS \ISLAND \INT_L2.IDF . \SOLIDS \ISLAND \INT_L4.IDF 25.0 m/day 25.0 m/day 0.0001 m/day (1000 days/m) . \DBASE \WELL.IPF 0.5 mm/day 0.3 0.1 Deltares iMOD tutorials So, the only difference with our previous model in section 11.4 is that we use different values for our Top- and Bottom elevations. Let’s start with the Project file we saved in section 11.4. 51 Click the Open PRJ button ( ) and select the PRJ file you’ve saved at step 61 of section 11.4. 52 Adjust the Top for model layer 3 and the Bottom elevations for model layer 2 and 3 by clicking the Properties button ( ) and change the parameter in the window accordingly. Don’t forget to change the constant value for the Vertical Permeability for model layer 2! DR AF T ) when you are finished and save the file as [ISLAND_SOLID.RUN] 53 Click the Save As Runfile button ( in the . \IMOD_USER \RUNFILES folder. 54 Click the Close button to hide the Project Manager window. 55 Select the option Toolbox from the main menu and then the option Start Model Simulation to start the Start Model Simulation window. 56 Select the [ISLAND_SOLID.RUN] from the list of available runfile. 57 Select the tab Results on the Model Simulation window and enter the name [ISLAND_SOLID] as the result name. 58 Click the Start Model Simulation button. 59 Close the Model Simulation window by selecting the Close button. 60 Use the Quick Open window to display the computed heads for the first model layer, see step 74 in section 11.4. Deltares 663 of 812 DR AF T iMOD, User Manual Figure 11.70: Example of the computed heads using the adjusted subsurface geometry. You can see what the effects are from the hole in the aquitard (denoted by the white arrow). So, let’s compute the flowlines towards the well. Instead of computing a forward tracing, we will compute a backward trace from the well back to its infiltration areas. 61 Click the Add Map button ( ) on the main menu and select the [WELL.IPF] which is situated in the . \TUTORIAL5_SOLID_BUILDING folder. So now we know where the well is actually. 62 Select the option Toolbox from the main menu and then choose the option Define Startpoints. 63 Enter [ISLAND_SOLID] in the input field and click the Open and Continue button. ), select the option Circle from the Select window and click OK. Now 64 Click the Draw button ( locate the well with your mouse cursor and left click your mouse on the well. Press the right mouse button to stop. 65 Select the Definition tab on the Start Point Definition window. 66 Enter [25] for the Radius and [5] for the Sampling. We will create startpoints every 5 meter on a circle which has a radius of 25 meter. 67 Click the Open IDF button ( ) to select the Top elevation of the second aquifer (actually the third model layer in which the well is located) as Top Level, so select the INT_L3.IDF from the . \IMOD_USER \SOLIDS \ISLAND folder. Repeat this for the Bottom Level and select the bottom elevation of the second aquifer (INT_L4.IDF). 68 Enter [10] for the Vertical Interval. We will have 10 particles starting in-between the top- and bottom elevation of the second aquifer (third model layer). 69 Click the Draw button to see the actual location of the start points. 664 of 812 Deltares DR AF T iMOD tutorials Figure 11.71: The ’Start Point Definition’ window. 70 Click the Close button to save and close the window. Click Yes if you will be asked to save the file to [ISLAND_SOLID.ISD]. 71 Select the option Toolbox from the main menu and the select the option Start Pathline Simulation... to start the Pathlines Simulation window. We’ve have used this functionality before (see section 11.4, steps 85 onwards), so we will be brief this time. 72 Select the model result [ISLAND_SOLID] from the list of Existing Results. 73 Select the Input tab and click the Open IPS File button ( have saved in section 11.4. ) and search for the IPF file that you If you did not save any IPF file, follow the steps 85 onwards mentioned in section 11.4, to fill in this window. Though we need to do a slight modification too. Since we’ve changed the interfaces of our model we should change the Pathline settings accordingly. So, . . . ) behind the Top- and Bottom files (second dropdown menu) and 74 Click the Properties button ( change the filenames in the list as shown in the next figure (SURFACE_LEVEL.IDF may be used instead of INT_L1.IDF). Deltares 665 of 812 T iMOD, User Manual 75 76 77 78 79 80 81 82 83 DR AF Figure 11.72: The ’Input Properties’ window that appears when choosing ’Start Pathline Simulation...’ from the main menu, followed by selecting the ’Input’ tab, and clicking the ’Properties’ button at the right of ’Top- and Bottom files’ field of the ’Pathline Simulation’ window. Click the Apply button to return to the Pathline Simulation window. Select the [ISLAND_SOLID.ISD] from the list withStart Point Definition files. Select the Results tab of the Pathline Simulation window. Select the Backward option from the Trace Direction. Select the option Save Entire Flowpath. Enter [ISLAND_SOLID.IFF] as the name to save the results to. Click the Start button. Click the OK button in the Information window that appears after the simulation finished. Click the Close button to quit the Pathline Simulation window. iMOD will display the results directly on screen. 84 Use step 101 upto 102 from section 11.4 to change the visualization such that the total travel times will be displayed. 85 Use the 3D Tool to visualize the flowlines in combination with the created solid in a single view. You should be able to figure this out by yourself. 666 of 812 Deltares iMOD tutorials DR AF T Finally, we complete this Tutorial with the results of our well capture zone in a 3D environment. Figure 11.73: The final pathlines representing the capture zone of the well; capture zone is here defined as that part of the groundwater flow system that contributes water to the pumped well. Deltares 667 of 812 iMOD, User Manual Tutorial 6: Model Simulation This tutorial gives a short introduction in starting a groundwater flow model simulation. See for more detailed references Model Scenarios and Model Simulation. Outline This is what you will do: Required Data For this tutorial you need the following iMOD Data Folders: T Understand the content of a model configuration file, i.e. a runfile; Simulating a groundwater flow model for different cell sizes and areas of interest; Understand the resulting folder structure with results; Computing and visualizing a waterbalance of the model; Defining a simple model scenario and include such a configuration to an original model configuration. Applying the new PKS-solver to simulated the model parallel. BND: IDF-files that describe the boundary conditions; DRN: IDF-files that describe drainage conditions; KDW: IDF-files that describe the horizontal transmissivity; OLF: IDF-files that describe the overland flow conditions; RCH: IDF-files that describe the natural recharge; RIV: IDF-files that describe the river conditions; SHD: IDF-files that describe the starting head conditions; VCW: IDF-files that describe the vertical resistance; WEL: IPF-files that describe the wells; TUT_MODEL.RUN: file that describes the model configuration and refers to the above mentioned folders; SCENARIO.GEN: file that describes the area that needs to be manipulated. DR AF 11.6 All these files are located in/below the folder: {path of installfolder} \tutorials \TUT_Model_Simulation. Beside this data you will need the iMODFLOW executable to make the model computations. Getting Started 1 Copy the TUT_MODEL.RUN into the . \IMOD_USER \RUNFILES folder. 2 Launch iMOD by double click on the iMOD executable in the Windows Explorer, and start by selecting the option Create a new iMOD Project. 3 Open the TUT_MODEL.RUN in a text editor (e.g. Notepad++) and observe the $DBASE$ keywords; as soon iMOD uses this runfile to perform a simulation this keyword will be replaced by the string as defined in the IMOD_INIT.PRF file which is in {installfolder}. Go to File–>Preferences... and click on to read the contents of the PRF-file; when you change and save the contents of the IMOD_INIT.PRF file in a text editor, click on to re-read the keyword settings for the current iMOD session. For more info on Preferences see section 2.7, for more info on available keywords see section 9.1. For information on the iMOD folder structure ee section 11.1 and chapter 9. 4 Go to View in the menu bar and select the iMOD Manager (or use the short-key Ctrl+M). 668 of 812 Deltares iMOD tutorials Model Parameters Let us first observe some model parameters and understand what this model might be up to. We use the Project Manager for that, so let start that one. 5 Click the option Project Manager from the View menu. iMOD simulates a groundwater flow model by means of a runfile. A runfile gives a full description of the use of all files needed for the simulation. The Project Manager is able to read the entire runfile and present the content in a treeview field. 6 Click the Open Runfile button ( USER} \RUNFILE folder. ) and select the TUT_MODEL.RUN file from the {IMOD_ T iMOD presents the content of the runfile in a treeview. Each branch represents a model parameter, and whenever a branch contains more information we can expand the branch to analyse its contents. Let us visualize the starting conditions for this particular model. 7 Make sure the iMOD Manager is also active (if not, press CTRL+M). 8 In the Project Manager expand the branch called (SHD) Starting Heads from the treeview field. ). If no image appears you DR AF Select this branch (not an individual IDF) and click the draw button ( may have to click the Zoom Full Extent button ( ). As a result iMOD will open all the files of the selected branch and adds them to the iMOD Manager. In this manner it is easy to explore the available model parameters for the model. In this model the starting condition of a model simulation is equal to a result of a previous simulation. Since IDF-files are geo-referenced, they can be easily (re)used for different modules and/or packages in a model configuration. 9 Analyse the starting condition by creating several cross-sections (see section 11.3) and compute the difference between the starting condition for model layer 1 and the one for model layer 2 (see section 11.2). This gives you insight in downward and upward fluxes. 10 Click the branch (RIV) Rivers (Cauchy conditions) and observe that this model has two river systems. One is connected to model layer 1 and the other one is connected to model layer 2. Furthermore each river system consists of 4 input grids, CONDUCTANCE, RIVER LEVEL, RIVERBOTTOM LEVEL and INFILTRATION FACTOR. Examine the content of these files. 11 Explore the content of the Project Manager, e.g. plot the elevation of the existing Rivers in the first system. Deltares 669 of 812 T iMOD, User Manual DR AF Figure 11.74: Difference between starting heads of model layers 1 and 2. In this particular model a river is discretized for two different model layers , i.e. model layer 1 and model layer 2. The number of river elements is unlimited, however, a single IDF can store one river for each cell, so you should define more IDF files in those cases you want to specify more river elements at the same location. In this particular case we specified river elements for model layer 2 that penetrate the first aquitard and connect to the first aquifer (i.e. the second model layer). Figure 11.75: Stages of the rivers of the first system. Model Simulation Let’s start the model simulation. 12 Select the option Start Model Simulation from the Toolbox option on the main menu. Whenever the Start Model Simulation window does not appear, check the keyword MODFLOW in the PRF file. 13 Select the TUT_MODEL.RUN from the Runfiles list. You should see a hatched area of the maximum extent of the model. If you do not see that, click the Zoom to Extent button ( 670 of 812 ). Click the Deltares iMOD tutorials Info ( ) to display the runfile in a texteditor. The first 15 lines of the runfile can be manipulated by the Start Model Simulation window. The rest refers to existing model input data, let’s check whether all these data is available. 14 Close the editor and click the CheckRun button ( ). iMOD will popup a summary file ({USER} \TMP \RUNFILE.LOG) of all files that cannot be found. Use step 6 to open a runfile to change pathnames if needed. If no files are listed, all files can be found and we can proceed. 15 Select the Result Folder tab and enter a name for the model results, e.g. MODEL25 and click the Start Model Simulation button. DR AF T iMOD will copy the selected runfile [TUT_MODEL.RUN] to the {IMOD_USER} \MODELS \ MODEL25 folder and renames it into IMODFLOW.RUN. Thereafter it will copy the simulation executable (e.g. iMODFLOW_V4_3_METASWAP_SVN1233_X64R.exe) to the same folder for archiving purposes, and it will start the simulation by the statement ’{installfolder}\iMODFLOW_V4_3_METASWAP_SVN1233_X64R.exe IMODFLOW.RUN’ in this example in the {installfolder}\IMOD_USER\MODEL25 folder. A DOS-command tool will open in which the simulation runs. You can proceed with iMOD or wait until the simulation finishes; it will take a very short time since the starting conditions are similar to the results. The model simulation is always logged in the file IMODFLOW.list located in the subfolder mf2005_tmp, so in this example located in the folder {IMOD_USER} \MODELS \MODEL25 \mf2005_tmp. You should check this file IMODFLOW.list first whenever there is a problem with the simulation; as mentioned above it contains info on: the model discretization the model time and length units the processed input packages the solver used and how the iteration process progressed the volumetric budget for the entire model, including the percent discrepancy elapsed run time 16 When the simulation has finished, choose Quick Open from the main menu option Map. 17 Select the Folder [MODELS], then the variant [MODEL25], then choose the Topic [HEAD], and choose Layer [1] and then click the Open button. Make sure the option Display is selected! If everything went well the only option to be selected is [STEADY-STATE] in the dropbox Time. For transient simulations, you might be able to select a specific date. 18 Compare the results to the starting conditions. Use tools experienced in section 11.1, 2 and 3 if desired. Let us simulate this model at a different resolution. 19 Start the Start Model Simulation (step 12) again and select the Model Dimensions tab and change the cellsize in Simulate model with cellsizes equal to = [100]. You can select a cellsize from the dropdown menu and/or enter a different cellsize in the input field to the right of the dropdown menu. 20 Go to the Result Folder tab and enter an output foldername [MODEL100] and click the Start Model Simulation button. 21 Open the resulting phreatic heads (model layer 1) with Quick Open (see step 74) and subtract the head calculated for MODEL100 from the head of MODEL25 using the Map Calculator ( the iMOD Manager and/or use the Cross-Section Tool ( differences caused by the different simulation cellsizes. ) on ) on the main toolbar to explore the When using the Cross-Section Tool with the Block Line option (see section 11.3 step 12), you may expect the width of 4 blocks of the MODEL25 line equal to the width of 1 block of the MODEL100 line. Deltares 671 of 812 iMOD, User Manual DR AF T But this is probably not what you observe in step 22 and 25 of this tutorial, because iMOD standard reduces the number of sampling points to speed up the calculations. To get the widths as expect, you have to increase the value of Maximum number of sampling points in the Cross-Section Properties window (see section 11.3 step 11 or section 7.1 to open this window), e.g. set Maximum number of sampling points to [1000]. Figure 11.76: Cross-section of heads of the 25x25 meter model (dark blue) and the corresponding 100x100 meter model (red). Let us simulate just a part of the model. 22 Start the Start Model Simulation (step 12) again and select the Model Dimensions tab and click the Draw Simulation Area of Interest button. You can interactively draw the area of interest within the hatched area. Click your left mouse button to set the first corner and give a second left mouse click to specify the opposite corner. You may drag the area of interest interactively by dragging the mouse while your inside the graphical display. Reset the cellsize to 25 meter and include a buffer-zone of 1500 meter. 672 of 812 Deltares DR AF T iMOD tutorials Figure 11.77: Example of interactively specifying a part of the total model domain (smallest rectangle with hatching-pattern) for a model simulation. Also the size of the surrounding buffer zone can be specified here. 23 Go to the Output Variables tab and select the option Save Result Variable including the given Buffer Size. 24 Go to the Result Folder tab and enter an output foldername [MODEL25PART] and click the Start Model Simulation button. 25 Open the resulting phreatic heads (model layer 1) with Quick Open (see step 74) and subtract the results using the Map Calculator ( ( ) on the iMOD Manager and/or use the Cross-Section Tool ) on the main toolbar to explore any differences. Water Balances An important aspect of groundwater flow modeling is the ability to compute water balances. In iMOD you can compute these too. It is important that you specify the appropriate output variables prior to your simulation, see tab Output Variables in the Start Model Simulation window. In this case the defaults for the output variables were used. 26 Select the option Water Balance and then Compute Water Balance from the Toolbox menu. 27 Select the model [MODEL25] from the list at Existing folder with Results available in the Models Folder. 28 Click the Modflow button to select all water balance term that are relevant to Modflow (saturated groundwater), automatically. The iMOD convention is that all flux related output files start with BDG*. The content of these files is always in m3 /day. 29 Select the Period and Layers tab from the Compute Waterbalance window. Here you can specify for what layers, and periods (in case of a transient model) need to be included in the water balance. For now we select all layers (which are selected by default), so we leave it like it is. 30 Click the Create TXT . . . button and save the water balance as WBAL.TXT. 31 iMOD will present the content of the WBAL.TXT file. Inspect the terminology and its content; more is explained below. Deltares 673 of 812 iMOD, User Manual T Figure 11.78: Example of a water balance TXT-file. In the above given example a water balance is presented for the entire model and for all model layers sequentially. In this case the water balance is given for a steady-state simulation and summed for the entire model area. There is only one zone used and the following terms are organized row wise: CONSTANT HEAD DR AF flux in or out across the boundary according the boundary condition specified around the model. FLUX LOWER FACE flux over the interface between model layer 1 and 2, along the z-direction downwards. FLUX RIGHT FACE flux over the interface between column interfaces between cells in model layer 1. along the xdirection eastwards. FLUX FRONT FACE flux over the interface between adjacent row interfaces in model layer 1, against the y-direction southwards. WELLS flux in the wells. DRAINAGE flux out the drainage systems. RIVERS flux in or out the river systems. There are two river systems presents, so therefore two lines are presented, though the second system is not active in the current model domain. OVERLAND FLOW flux in the overland flow drainage system. RECHARGE flux from the recharge. Especially the (Q_in and Q_out) percentages are interesting and can be used to observe the relationship between the different water balance terms. In the above example >45% of the groundwater is discharged to the surface water. 32 Close the water balance text file in order to continue. The file can be inspected any time by a regular text editor. There is another, more interactive manner, to examine water balances, let’s try that. 33 Select the Create CSV . . . button and save the water balance as WBAL.CSV. 34 iMOD asks to start the Waterbalance Analyser after finishing the creation of the WBAL.CSV, click Yes to start the Analyse Waterbalance window. Now you can see that iMOD read 8 records, 11 budget terms, 1 period, 8 layers and 1 zone. The Waterbalance Analyser can be used to aggregate budget terms and display them graphically. 35 Select the Budget Terms tab, here all available budget terms are listed from the WBAL.CSV. 674 of 812 Deltares iMOD tutorials 36 37 38 39 40 Select the option [STEADY-STATE] form the Timesteps list. Select the Aggregation tab, here all type of aggregation can be performed. Select the Select All button from the Model Layers list. Select the Select All button from the Zones list. Select the Graphics Output tab, here all types of output can be selected, we leave it for now like it is. 41 Select the Generate Preview button to display the current configuration (as set in the previous tabs) in a graphical display. DR AF T The following image might appear. Figure 11.79: Example of a water balance displayed from a CSV-file. From here you can zoom in or zoom out in the image, as well as select a different combination of model layer and zone number. If you have multiply zones nz and multiply layers nl, the list in the drop down menu is as long as nz × nl. Let us display another graphical presentation of the water balance. 42 Click the Close button to close the Graph window. 43 Select the option Graphical Representation. The water balance is presented as follows: Deltares 675 of 812 DR AF T iMOD, User Manual Figure 11.80: Example of a water balance displayed from a CSV-file. There will be a sequence of 8 figures passing by, since we have selected 8 model layers, so repeat the following step 8 times to close all the repeating windows. 44 Click the Close button to close the graphical image window. Let’s try a more complicated CSV file in this tool. 45 Click the Close button to close the Graph window. 46 Select the CSV-File tab from the Analyse Waterbalance window. 47 Click the Open CSV-File button ( ) and select the file {path of installfolder} \tutorials \TUT_Model_Simulation \DELTARES1994.CSV. It’s a pretty big water balance file and holds the results of a daily model simulation (365 periods) for 29 budget terms, 19 layers and 17 zones. 48 Select the Budget Terms tab. 676 of 812 Deltares iMOD tutorials 49 Click the Select All button from the Timesteps list. 50 Select the Aggregation tab. 51 Select the option Months, a single value per month, starting at the first month of the series. Although the original data is for a daily base, the Waterbalance Analyser can aggregate the budget terms on a monthly base automatically. 52 Click the Select All button from the Model layers list. 53 Select the option Sum Selected Layers from the Layer Aggregation input field. In this way, all fluxes as summed over the selected layers. 54 Click the zones 8, 9 and 13 from the Zones list. Use the Ctrl-Left mouse button to make that selection. 55 Select the Graphics Output tab. 56 Click the Generate Preview, make sure the option Time Series is still selected. 57 Select the option Layer [sum]; Zone 13 from the drop down list in the Graph window. DR AF T The following image appears. Figure 11.81: Example of a water balance aggregated on a monthly base from a CSV-file. There is a lot to try in this tool, all kind of different settings can be combined, see section section 7.16.2 for more detailed information. Feel free to experiment a bit more with all the possibilities. If you’re done, we would like to compute a water balance for a specific region. 58 Click the Close button on the Analyse Waterbalance window to close it. 59 If the Compute Waterbalance window is removed, restart it again by following the steps 26 up to 29. 60 Go to the Apply To tab and select the option Apply within shapes (*.gen). Select the pencil ( ) and start drawing a polygon on the graphical canvas (see section 4.5 for more information about the specific functionalities that you can use while drawing a polygon). 61 Click the Create TXT button and enter the name WBAL_PART.TXT and inspect the resulting water balance file. In the iMOD Manager you will notice the hNAME OF water balancei.IDF. This file reflects the position of the given polygon. You can reuse this file (e.g. after editing) in another water balance computation Deltares 677 of 812 iMOD, User Manual (Apply for NoDataValues in given IDF-file). 62 Close the water balance text file in order to continue. The file can be inspected any time by a regular text editor. Scenario Simulation Let’s build a scenario in which we will increase a river stage from the current model configuration. We can do that in two manners. One manner is to adjust the appropriate IDF-files that discretize the river system, e.g. RIV \RIV_STAGE_L1.IDF and RIV \RIV_STAGE_L2.IDF by means of IDF Edit (see section 6.7.4). 63 Click the Close button on the Model Simulation window, if needed. DR AF T ) 64 Select the file RIV \RIV_STAGE_L1.IDF in the iMOD Manager and click the Redraw button ( to (re)draw it. 65 Make a copy of RIV_STAGE_L1.IDF and RIV_STAGE_L2.IDF by using the Map Operation option. Fill in on tab Algebra in field Map C the directory+RIV_STAGE_L1_0.5.IDF, fill in ‘C=1.0*A’in the field Formulae and select Map A and click on Compute.... Now a copy of the selected file is made. 66 Repeat the previous step for RIV_STAGE_L2_0.5.IDF 67 Zoom in for the desired river segment at the coordinates [x=145000.0] and [y=448100]. You can use the option GotoXY from the View menu (see section 5.2) and use Zoom(m)=[1500m]. 68 Select RIV_STAGE_L1_0.5.IDF in the iMOD Manager and select the option IDF Edit from the Edit menu or with the right mouse click on the map. 69 Click the Open GEN button ( ) and open the file SCENARIO.GEN that is located at {path of installfolder} \tutorials \TUT_MODELSIMULATION. We’ve created a shape (polygon) to specify the area in which we will change the river stage. Let’s assign the measure to be attached to the polygon. 70 Select [SHAPE1] from the list (see figure below). Figure 11.82: The ’IDF Edit’ window in front of the area of interest. 71 Click on Select. . . at the selection tab of the IDF Edit window. 72 The IDF Edit Select window will be opened. Notice that the option Select for Polygon is checked! 73 Select ‘All’in the Logic dropdown menu and click on Get Selection at the bottom of the window. Now all river cells in the polygon ‘Shape 1’are selected. 74 Click on Close to close the IDF Edit Select window. 678 of 812 Deltares iMOD tutorials 75 Click on Calculate. . . on the IDF Edit window. 76 Select the option New Value on the IDF Edit Calculation window and choose ‘+’from the dropdown menu. 77 Fill in ‘0.5’in the field behind the dropdown menu and click on Calculate. 78 Click on Close and repeat step 68-77 for RIV_STAGE_L2_0.5.IDF. So, we’ve created a scenario definition that raises by 0.50m the stage of all river systems that penetrate model layer 1 and 2 inside the current polygon (SHAPE1), by making. use of the iMOD Edit option. Okay, let’s use this scenario definition in a model simulation. T 79 Create a new folder in your IMOD_USER_MODELS folder outside of iMOD (in the Windows Explorer), e.g. "C: \_iMOD_IMOD_USER_MODELS_RIVER_STAGE". This folder is needed later to store the results of the scenario simulation (step 89). 80 Select the option Start Model Simulation from the Toolbox option on the main menu. Select the TUT_MODEL.RUN from the Runfiles list. (Note: if TUT_Model.run is not available in the list copy the runfile from the Tutorial folder to your IMOD_USER/RUNFILE folder.) DR AF 81 Click on the Info button ( ) to open the runfile in the inbuild texteditor. 82 Find the lines with the filenames of the river stages, ] e.g. ‘1,1.0,0.0,D: \iMOD \tutorials \TUT_MODEL_SIMULATION \RIV \RIV_STAGE_L1.IDF and 2,1.0,0.0,D: \iMOD \tutorials \TUT_MODEL_SIMULATION \RIV \RIV_STAGE_L2.IDF. 83 Change the filenames into RIV_STAGE_L1_0.5.IDF and RIV_STAGE_L2_0.5.IDF. 84 Click on the save button and close the text editor window. As you might observe, the area of interest (within the shape) is smaller than the total extent of our model. Let’s decrease the size of our model (in order to speed up our simulation). 85 Select the Model Dimensions tab and click the Draw Simulation Area of Interest button. 86 Left click your mouse approximately 1,000m west of the south west corner of the polygon (SHAPE1) and left click on approximately 1,000m east of the north east corner of the polygon. This will be our area of interest. You can increase or decrease it by moving your mouse in the neighbourhood and . of the boundaries and drag your mouse as soon as the mouse cursor changes in 87 Select or enter a buffersize (Include a Buffer-zone of ) of [1500m]. 88 Select the Output Variables tab and select the option Save Result Variable inclusive the given Buffer Size. A buffer zone prevents that model results are affected by boundary conditions on the lateral model boundary. It depends on the scenario configuration, model configuration itself and the geohydrological subsoil what this buffersize should be. It is hard to determine beforehand, so it is wise to analyse the effects near the model boundaries to decide whether your simulation is affected by the lateral boundary conditions too. 89 Go back to iMOD and select the Result Folder tab on the Start Model Simulation window. 90 Select the folder you created and click the Start Model Simulation button to confirm the operation. Results of scenario computations will be stored in the folder you created yourself. 91 After the simulation ended, open the phreatic heads (HEAD_STEADY-STATE_L1.IDF) with Quick Open (see step 74). 92 Compute the differences in phreatic heads between the . \MODELS \MODEL25 and this scenario . \MODELS \RIVER_STAGE. Use step 14 and forward from section 11.2. 93 Analyse the differences in head for all model layers to observe whether the chosen buffersize was sufficient. Use Quick Open to load all files in the iMOD Manager. Deltares 679 of 812 T iMOD, User Manual DR AF Figure 11.83: Contour levels of the computed effect of a raised water level. In the example above it is clear that the boundaries of our submodel have been chosen appropriately since the change in head is not affected by the model boundary. You can also make a cross-section of the computed effect to judge whether the boundary has been chosen right. Figure 11.84: Cross-section of the computed effect of raised water level. 94 Finally try to answer the question: “Why are the head differences more than 0.50m at some locations (0.55 meter), although river stages are increased by 0.50 meter only?” Model simulation with the Parallel Krylov Solver (PKS) package So far we only used the single core PCG solver, now let’s switch to the multi core Parallel Krylov Solver. This requires that you have correctly installed the MPI software, see the iMOD Installation Instructions (section 2.3). 680 of 812 Deltares iMOD tutorials The PKS package solver settings can be configured in two ways: 1 In the iMOD-GUI: in the ’Solver Settings’ tab of the ’Model Simulation’ window of the ’Tools’ main menu option (see the figure below); we will practise this in a minute. 2 Manually: by editing Data Set 5 of a runfile according the specifications given in section 10.6; an example is given in section 10.20.6. DR AF T Note: The PKS package is not yet available in the Project Manager. Figure 11.85: The ’Solver Settings’ tab of the ’Model Simulation’ window. In this example the user has assigned more than one CPU; as a result the PKS solver is activated. When using the PKS package, the model domain is divided in sub-domains automatically ; the number of sub-domains is always equal to the number of computational cores the user assigns in the ’Solver Settings’ window. The overall computational model performance depends among others on how long it takes to solve each individual sub-domain; an iteration for the whole model domain can only be completed when all individual sub-domains have been solved. This means that load balancing is very important for the overall parallel performance. Ideally the actual work/load should be distributed as equally as possible over the multiple computational cores. PKS now supports two methods sub-domain partitioning methods: 1 Uniform sub-domain partitioning in x,y-direction; when e.g. using four CPU’s the model domain will be divided into four equally sized sub-domains. 2 The Recursive Coordinate Bisection (RCB) method. The RCB method incrementally partitions the model domain step by step and alternates the partitioning in the x- and y-direction until the number of sub-domains is equal to the number of assigned CPU’s. Simultaneously the sub-domains are automatically being re-sized such that ultimately the load of each sub-domain is the same. The load of a sub-domain is the summation of the user-defined weights (or load) of the model cells within the boundaries of that particular sub-domain. Figure 12.18 in section 12.32.3 shows an example of both methods for the Netherlands Hydrological Model (De Lange et al. (2014)) and 128 sub-domains. When assigning two CPU’s and selecting the uniform partitioning method, the model domain will be divided into two equal sub-domains. Deltares 681 of 812 iMOD, User Manual When using the RCB method, the user has to specify per model cell a weight representing an estimate of how much each cell contributes to the computational effort to be made to solve the set of equations. There is no partitioning in the z-direction, so ideally the specified weights should also take variations of the total number of active cells per x,y-location (a particular vertical column) into account. One should be aware of the fact that even with the RCB and irregular boundaries, finding an optimal weight distribution can be difficult and subject to trial-and-error. The spatial weight distribution depends on for example differences in the complexity of boundary conditions (stresses) and coupling concepts. In this tutorial we will exercise the use of the RCB method: you will run the groundwater flow model using two CPU’s applying a load balancing grid. This can be done by the following steps. T 95 Select the option Toolbox from the main menu and then the option Start Model Simulation to start the Start Model Simulation window. 96 Select the TUT_MODEL.RUN from the Runfiles list. 97 Select the Solver Settings tab. 98 Within this tab, select 2 for Preferred number of cpu’s to be used. 99 For Preferred method of subdomain partition select Recursive Coordinate Bisection. 100 For Load pointer select {installfolder}\TUTORIALS\TUT_MODEL_SIMULATION \PKS \LOAD.IDF. DR AF The following figure shows the specified loads of the LOAD.IDF grid: in the left part of the grid all cells have the value 1 and in the right part all cells have a value 2. So in this example we assign twice as much weight to approximately 20% of the model cells (note that this grid is just illustrative since for this model a uniform load of 1 for each computational cell would be most optimal). Figure 11.86: The values of the LOAD.IDF grid used to specify the weights to be used in the Recursive Coordinate Bisection partitioning method; in this example approximately 20% of the model cells were assigned weight values that are two times larger than the rest 80% of the model cells. 101 Turn on the checkbox for Merge IDF output files of subdomain. 102 Select the Result Folder tab and enter a name for the model results, e.g. MODEL25_PKS and click the Start Model Simulation button; the model will be run using two computational cores. Similar to a serial computations you can view the head results with Quick Open from the main menu option Map. We turned on the checkbox Merge IDF output files of subdomain: after the model-run the sub-domain-IDF’s will be merged to IDF’s covering the total model domain and the sub-domain-IDF’s are deleted. Of course we are also curious about how the total model domain was partitioned in two sub-domains automatically using our weight distribution grid. To see the partitioning-result of RCB 682 of 812 Deltares iMOD tutorials method we will re-run the model in parallel mode, however, now without turning on the Merge IDF output files of subdomain-option: 103 Select the Solver Settings tab. 104 Within this tab, turn off the checkbox for Merge IDF output files of subdomain. 105 Select the Result Folder tab and enter a name for the model results, e.g. MODEL25_PKS2 and click the Start Model Simulation button. 106 When the simulation is done, go to View in the menu bar and select the iMOD Manager (or use T the shortcut Ctrl+M). Select the Open Map button ( ) and click the button Open. Navigate to \IMOD_USER \MODELS \MODEL25_PKS2 \head and select the files head_steady-state_l1_p000.idf and head_steady-state_l1_p001.idf for the computed heads for the first model layer. Click the button Open. 107 Select the Map option from the main menu, choose the option Current Zoom Level and then choose the option Percentiles. 108 Select the View option from the main menu, choose the option Show IDF Features and then choose the option IDF Extent. DR AF These steps result into the following figure, where the left sub-domain is clearly larger than the right sub-domain due to the specified weights. As you may have noticed the partitioning is not equal to the weight distribution of the LOAD.IDF grid, in other words, by specifying this pointer grid, you are not enforcing a particular partitioning of the model domain. This is caused by the RCB method which results in two sub-domains that each have an equal computational load (based on your estimated weight distribution); as mentioned above, the load of each sub-domain is calculated as the sum of the user-assigned weights of all cells lying within the boundaries of that sub-domain. Suppose we would have taken the LOAD.IDF grid as a basis for partitioning, this would have resulted in a relative load for the left part of ’80’ and for the right part ’2 x 20 = 40’. The RCB automatically shifts the boundary between the sub-domains such that the two resulting sub-domains each have a fifty-fifty (50-50) computational burden; that’s why the right sub-domain also contains part of the model domain having cells with weight values equal to 1. Figure 11.87: The non-merged head-IDF’s of the two sub-domains using the RCB partitioning method. The partitioning is visible when choosing ’View’, ’Show IDF features’, ’IDF Extent’. For your own model, experiment with different weight distributions for finding optimal load balancing. Provided your machine has more than two CPU’s available experiment with using (almost) all of them and compare overall performance. Deltares 683 of 812 iMOD, User Manual Additional background questions The following questions are meant for extra training and get more insight in the concept of groundwater modeling. DR AF T 1 Make a second scenario: increase the stationary groundwater recharge (RCH_L1.IDF) in the entire model area by a factor 1.2 (Note: be sure that you use the equation C=1.2*A in the iMOD calculator), thus simulating a possible future climatic change. Follow the procedure analog to increasing the rivers stages. Again, compare computed groundwater levels with those in the default situation (’MODEL25’). 2 Explain the spatial pattern of the increase in groundwater levels. In which areas is it more and in which areas less? Examine this by exploring other IDFs e.g. RIV, DRN. 3 Why is a converged model not necessarily a correct model? 4 Consider a drain pipe, ending in a surface water channel. Will the drain pipe keep draining groundwater into the channel if the surface water stage rises above the drain pipe elevation? Figure 11.88: Drain pipe ending in a surface water channel. 5 In MODFLOW, each package treats an inflow or outflow, resulting from a boundary condition, as an external source or sink (Q_ext). It does not consider possible interactions with other packages / boundary conditions. Knowing this, what will happen in MODFLOW if the surface water stage (RIV) rises above the drain pipe elevation (DRN)? 6 How should DRN_LEVEL_L1.IDF be adjusted to prevent this? 7 OLF_L1.IDF represents the surface elevation, referenced to sea level. Using this OLF file and the simulated heads, calculate the (steady state) groundwater depth in the MODEL25 situation. 8 Subtract the drainage elevation from the surface elevation, and compare the resulting drainage depth map to e.g. Google Maps for the area South East of the city of Utrecht. What is the drainage depth that occurs most often in built-up areas? 9 Compare the drainage elevation in the built-up areas in the north east of the model to the groundwater head. What is the general picture? 10 Compare the drainage elevation in the built-up areas in the (south)west of the model to the groundwater head. What is the general picture? 11 With which of the statements below do you agree most? Motivate. This model is suitable to determine which model cells in built up areas have too high groundwater levels. This model is suitable to determine which towns and villages are dependent on drainage sys- 684 of 812 Deltares iMOD tutorials DR AF T tems to prevent too high groundwater levels. Deltares 685 of 812 iMOD, User Manual Tutorial 7: Interactive Pathline Simulation This tutorial gives a brief overview of the capabilities of the Interactive Pathline Simulation Tool (IPS). It allows the user to demonstrate and examine the flow behaviour of the groundwater system in an interactive manner. It is advised to get familiar with description of the IPS first, see section 7.15 that handles all the functionalities, for which a few are outlined in this tutorial. Outline This is what you will do: Load an existing model simulation into the IPS tool; Define starting points; Start a pathline simulation and represent them in different ways; Filter pathlines depending on their type of capture; Required Data T For this tutorial you need the following iMOD Data Files/folders: The entire folder (and subfolders) in {path of tutorialfolder} \TUT_IPS, containing: BOUNDARY.IDF – model boundary; SURFACE_LEVEL.IDF – uppermost elevation of the model; AQUITARD_TOP.IDF – top of the intermediate aquitard; AQUITARD_BOT.IDF – bottom of the intermediate aquitard; BEDROCK.IDF – bottom of the underlying aquifer; . \RESULTS \IMODPATH.RUN – imodpath runfile (see section 8.6.6) referring to all result files that are needed for the particle tracking simulation. DR AF 11.7 Getting Started 1 Open from {installfolder } \tutorials \TUT_IPS \RESULTS \head the file head_steady-state_l1.idf and display heads. 2 Select Interactive Pathline Simulation and Start IPS. 3 Select from {installfolder } \tutorials \TUT_IPS \RESULTS \the file IMODPATH.RUN. iMOD is reading the content of the RUN file and starts the 3-D tool. Define the Starting Points Position your Starting Points on the level of the calculated groundwater: 4 Select the option File. 5 Click the Open button and select from {installfolder } \tutorials \TUT_IPS \RESULTS \head \the file head_steady-state_l1.idf and click the OK button. 686 of 812 Deltares iMOD tutorials 6 Click the Properties button ( ) next the input field it displays: 8 9 10 Flux depending is incorrect here, but means that you can use the positive or negative values on the IDF to start particles. Leave it like this. Enter for the XY-Sampling 5 to decrease the number of particles (every 5 cells there will be a starting point). Leave the option Vertical Offset that can be used to position particles a bit higher or lower than the selected values in the IDF file. The option Randomize places the particles at random locations, activate that option. Click Apply. DR AF 7 T Figure 11.89: The ’IDF Settings’ window allows specifying starting positions of particles using an existing IDF (e.g. calculated groundwater heads) as a reference. To add this selection of particles to the simulation click the Plus button ( 11 Click the Plus button ( ), so: ), you’ll notice that 1813 particles are added. ) to display the particles in red. 12 Click the Glass button ( 13 Go to the tab IDF’s and select the BEDROCK IDF only than you’ll see the particles. Figure 11.90: Randomly generated particles (in red). Deltares 687 of 812 iMOD, User Manual Starting the Particle Tracking To start the particles simulation follow the next steps: 14 Select the tab Pathlines. 15 Select the option “Repeat when trapped” , in this way particles are restarted automatically whenever they might be captured by a weak or strong sink. 16 Click the Start button. Pretty nice, isn’t it? You can turn the particle start location on and off by clicking the Glass button T ) on and off. 17 Click the Glass button ( 18 You can rotate, zoom and pan during the simulation by the regular mouse functionalities for the 3-D tool, try it! You can pause the simulation by pressing the Pause button and restart it by clicking the Continue button, so: DR AF 19 Click the Pause button, notice that you can change all other settings in the 3-D tool as well, just experiment with that. 20 Click the Continue button to restart the particle simulation. Enhance the Appearance The appearance of the particle is given by lines or point, standard points are selected, these are the most efficient, but lines give a more realistic view, so: 21 Click the Lines option. We can configure the appearance and settings of the current particle set, so: 22 Click the Configure Particles. . . button. Figure 11.91: The ’Particle Settings’ window that appears after clicking the ’Configure Particles...’ button in the ’Pathlines’ tab of the 3D Tool. You are now in the Configure Particles settings window. We alter some settings such as activation, colour, size and direction of the particles. In fact it is possible to have different groups of particles that 688 of 812 Deltares iMOD tutorials go forward and backward. 23 Click the Colour (red) field and change the colour into blue and click OK. 24 Increase the size of the line by specifying a 3.0 in P-Size. 25 Click Apply. DR AF T The appearance of the particles is updated immediately. Figure 11.92: Screen shot of a particle simulation in the ’Pathline’ tab of the 3D Tool. Let us add another group of particles. 26 Select from the Start Point Definition the option Sink. 27 Click the Properties button ( Deltares ) associated with this Sink option. 689 of 812 DR AF T iMOD, User Manual Figure 11.93: The ’Sink settings’ window appears after selecting the ’Sink’ option and clicking the ’Properties’ button in the ’Start Point Definition’ part of the ’Pathlines’ tab in the 3D Tool. Starting Points around Sinks Here you can specify how the particles need to be positioned in combination with sinks (a sink is a source that takes water out of the model, can also be a river, drain of well). There is a single well in layer 3 that extract 500 m3 /d, so we would like to put particles around that well, so: 28 Enter a value of 5 for Radius, the cell size is 10 meter and we want to have the particles all in the strong sink. 29 Enter 10 for Vertical Sampling, so we have 10 intervals in the vertical and 10 per interval on a circle, so in total 10x10=100 particles. 30 Click the Apply button. If the Plus button has been greyed out, that means that there is a simulation active that need to be stopped first, so: 31 Click the Stop button. 32 Click the Plus button and notice that 2 groups of particles are now available and in total we have 1913 particles. 33 Click the Glass button to examine the particles. 690 of 812 Deltares iMOD tutorials Change of Particle Tracking Directions The particle from the well should migrate backwards, so let us change that: DR AF T 34 Click the Configure Particles. . . 35 Select the option Backward for the last group. Figure 11.94: Setting the direction of a group of particles to ’Backward’. 36 Click the Apply button. 37 Click the Start button. Figure 11.95: Simultaneous pathlines simulation for two groups of particles, each having its own colour. The blue particles can be turned off temporarily: Deltares 691 of 812 iMOD, User Manual 38 Click the Configure Particles. . . button. 39 Deactivate the first particles group. Note: The particles settings can be saved from this window using the Save As button, allowing complex particles settings to be re-used, also in a different extent. 40 Click the Apply button. 41 Click the Stop button to stop the current simulation. 42 Click the Start button to start with only the particles from the well. We can increase the density of the simulation by release more particles after each other, before they actually terminate, so: Click the Stop button to stop the current simulation. Deselect the option “Repeat when trapped” Select the option “Repeat Freq.” Click the Start button. T 43 44 45 46 You see that after a full length of a particle (in this case 10, namely the “tail length” ), another set of particles is released. You can try to see the effect of changing the “Release Freq.” DR AF ) next to the “Release Freq.” input field to see the effect of this. Bigger 47 Click the Spinner ( values will allow more time in between the next particles, as smaller values will release another particle quicker. Filtering of Particles The final thing we do it to filter out particles during a simulation. 48 49 50 51 52 53 54 55 Click the Configure Particles. . . button. Deselect the second particles group. Select the first set of particles again. Click the Apply button. Deselect the option “Release Freq.”. Select the “Repeat when trapped” again. Click the “Filter part. whenever captured by ” option and select the option “Strong Sink”. Click the Start button to start the simulation. Now, only the particles that are captured by a strong sink will be repeated. In this way a sense of a capture zone if created. Okay. That it for today, so close the IPS by: 56 Selecting the option “File” from the main menu and than “Close 3-D Tool.”. 692 of 812 Deltares iMOD tutorials Tutorial 8: Surface Flow Routing (SFR) and Flow Head Boundary (FHB) Package This tutorial gives an introduction to a steady-state, surface water routing package (see section 12.28, and Prudic et al. (2004)). See for more detailed references regarding ISG-Edit (see section 6.10.3) and the ISG-file format regarding the SFR package (section 9.9). The tutorial also outlines the use of the FHB package (section 12.26) which facilitates a combination of constant head- and constant flux boundaries. Outline This is what you will do: Define a simple, single-layer, steady-state model and head- and flux boundaries using the FHB package; T Define the outline of the stream network; Set the characteristics of each stream and define the connections within the stream network; Start the SFR simulation and examine the outcome. Required Data For this tutorial you need the following iMOD Data Files/folders: DR AF The entire folder (and subfolders) in {path of tutorialfolder}\TUT_SFR, containing: 11.8 .\DBASE\TOP.IDF – the uppermost elevation of the model; .\DBASE\BND.IDF – boundary conditions of the model (to be created in tutorial); .\DBASE\FHB.IDF – constant head and constant flow boundary of the model (to be created in tutorial); .\DBASE\SFR.ISG – ISG with surface flow routing information (to be created in tutorial); .\DBASE\CROSSSECTION.CSV – CSV file with a complex cross-section; .\MODEL.PRJ – model project file; Getting Started 1 2 3 4 Start iMOD. Select the option Create a New iMOD Project. Click the Start button. Go to View in the menu bar and select the iMOD Manager (or use the shortcut Ctrl+M), or click the iMOD Manager button ( ) from the main window to start the iMOD Manager window. 5 Click the Open IDF button ( ) from the Maps tabs on the iMOD Manager and open {path of tutorialfolder}\TUT_SFR\DBASE\TOP.IDF. This IDF describes the upper most elevation of the model, the top of our single layered aquifer that declines from 512 m+MSL in the west towards 505 m+MSL in the east. We use this IDF to create the boundary IDF. Creating the Boundary File BND.IDF 6 Click the Calculator ( ) on the iMOD Manager in the iMOD Manager window to start the Map Operations window. 7 Enter the output name “{path of installfolder}\IMOD_USER\DBASE\TUT_SFR\BND.IDF” at Map C. 8 Make sure the Formulae is “C=0*A”. 9 Select the option Map A at the section Select the extent for which the computation applies. 10 Click the Compute ... button. We will use this BND.IDF file to specify how the boundary conditions need to be. On the west we apply an open boundary condition with constant heads (511 m+MSL, that is 1 meter below the surface level Deltares 693 of 812 iMOD, User Manual TOP.IDF). On the east we apply an open boundary condition with a constant outflow flux boundary (-950 m3 /d; a negative number will be used to take water out of the groundwater system, use a positive number to insert water to the groundwater system instead). We will modify the BND.IDF via IDF-Edit, which has been part of Tutorial 2, make sure you have applied this tutorial already. 11 Click the menu option View, Show IDF features and then IDF Raster Lines to display the gridlines of the IDF files. 12 Click the right mouse button and the select from the dropfown menu, the option IDF Options and then the option IDF Edit ... to start the IDF-Edit window. 13 In the ’Selection’-tab click the Draw ...-button to start the IDF Edit Draw window. 14 Move your mouse in the graphical canvas (note that the cursor symbol changes) and drag, while holding your left-mouse button, all model cells in the left column of our model. DR AF T You can release the left mouse button to position the mouse on a different location without selecting the underlying cells. To continue selecting cells, you need to press the left mouse button again. If you need to remove some of the selected cells, click the Remove Cells from the IDF Edit Draw window. Restart selecting cells, click the Add Cells again from the IDF Edit Draw window. Below is an image of the final selected cells. Figure 11.96: Image after selecting all cells of the most left column of the model. Now we are going to change the values for those cells. 15 16 17 18 19 20 Click the Close button on the IDF Edit Draw window to leave the mode to select cells. Click the Calculate option from the IDF Edit window to start the IDF Edit Calculation window. Selection the option New Value and enter the value “-2” in the input field next the the “=” sign. Click the Calculate button to assign those values to the BND.IDF file. Click the Close button. Click Yes to leave the editing mode. A constant head boundary is specified by a negative number, so all values less than zero are appropriate. However, whenever the FHB package is used and a constant head boundary needs to be combined with a constant flux boundary, it is necessary to specify a -2 for constant head cells. For constant flux boundaries we need to specify a +2. Let’s do that for the right boundary. 21 Click the Clear button and agree to the question whether you are sure to delete the current selection. 22 Click the option Draw to start the IDF Edit Draw window. 23 Move your mouse in the graphical canvas and drag, while holding your left-mouse button, all 694 of 812 Deltares iMOD tutorials 24 25 26 27 28 29 model cells in the right column of our model. Click the Close button on the IDF Edit Draw window to leave the mode to select cells. Click the Calculate option from the IDF Edit window to start the IDF Edit Calculation window. Selection the option New Value and enter the value “2” in the input field next the the “=” sign. Click the Calculate button to assign those values to the BND.IDF file. Click the Close button. Click Yes to leave the editing mode. We’re almost done, we only need to change all the zero values in the BND.IDF to be 1. DR AF T 30 Click the Clear button and agree to the question whether you are sure to delete the current selection. 31 Click the option Select to start the IDF Edit Select window. 32 Select “BND.IDF” at IDF-File:; select “=” at Logic: and select “0.0” at Value:. 33 Click the Get Selection button and notice all rows are selected for column 2 up 14. 34 Click the Close button. 35 Click the Calculate option from the IDF Edit window to start the IDF Edit Calculation window. 36 Selection the option New Value and enter the value “1.0” in the input field next the the “=” sign. 37 Click the Calculate button to assign those values to the BND.IDF file. 38 Click the Close button to leave the IDF Edit Calculation window.. 39 Click Yes to leave the editing mode. 40 Click the Close button to leave the IDF Edit window. We’re finished ! Specify the characteristic of the boundary We need two other files that specify the actual constant head values and the constant flux rates. For this we need to copy the BND.IDF into a file called FHB_H.IDF, give the values that are -2 (in BND.IDF that represent a constant head boundary) the value 511 m+MSL. Note: To estimate the flux over the edge of model, apply Darcy’s Law. In our case we have a head gradient of ∆h = 7 m over distance d = 1500 m, a permeability of k = 60 m/d and an average thickness of T = 34 m, so the horizontal conductance c = k × T = 2040 m2 /d. Filling these in in Darcy’s Law we come up with: q = k × T ∆h d = 60 × 34 × 7 1500 (11.1) = 9.52m2 /d The cell width is 100 m, so the total volume of water is Q = 952 m3 /d. Secondly, we need to copy the BND.IDF to a file called FHB_Q.IDF and give the values that are +2 (in BND.IDF that represent a constant flux boundary) a value of -950 m3 /d (constant flux boundary). It is more-or-less a repetition of the previous steps, but let’s dot that together. 41 Click the Calculator ( ) on the iMOD Manager in the iMOD Manager window to start the Map Operations window. Make sure you have selected the BND.IDF in the iMOD Manager. 42 Enter the output name “{path of installfolder}\IMOD_USER\DBASE\TUT_SFR\FHB_H.IDF” at Map C. 43 Make sure the Formulae is “C=A”. 44 Select the option Map A at the section Select the extent for which the computation applies. 45 Click the Compute ... button. Let’s create the IDF file for the constant flux boundary as well. Deltares 695 of 812 iMOD, User Manual 46 Click the Calculator ( ) on the iMOD Manager in the iMOD Manager window to start the Map Operations window. Make sure you have selected the BND.IDF in the iMOD Manager. 47 Enter the output name “{path of installfolder}\IMOD_USER\DBASE\TUT_SFR\FHB_Q.IDF” at Map C. 48 Make sure the Formulae is “C=A”. 49 Select the option Map A at the section Select the extent for which the computation applies. 50 Click the Compute ... button. Enter the IDF Edit to change the values. DR AF T 51 Click the right mouse button and the select from the dropfown menu, the option IDF Options and then the option IDF Edit ... to start the IDF-Edit window. 52 Click the option Select to start the IDF Edit Select window. 53 Select “BND.IDF” at IDF-File:; select “=” at Logic: and select “-2.0” at Value:. 54 Click the Get Selection button and notice all rows are selected for column 1. 55 Click the Close button. 56 Click the Calculate option from the IDF Edit window to start the IDF Edit Calculation window. 57 Selection the option New Value and enter the value “511.0” in the input field next the the “=” sign. 58 Make sure the FHB_H.IDF is selected in the Available IDF Files at the Assign Value to section. 59 Click the Calculate button to assign those values to the FHB_H.IDF file. 60 Click Yes to leave the editing mode. 61 Click the Close button to leave the IDF Edit Calculation window. Now for the constant flux boundary on the right. 62 63 64 65 66 67 68 69 70 71 72 Click the option Select to start the IDF Edit Select window. Select “BND.IDF” at IDF-File:; select “=” at Logic: and select “2.0” at Value:. Click the Get Selection button and notice all rows are selected for column 15. Click the Close button. Click the Calculate option from the IDF Edit window to start the IDF Edit Calculation window. Selection the option New Value and enter the value “-950.0” in the input field next the the “=” sign. Make sure the FHB_Q.IDF is selected in the Available IDF Files at the Assign Value to section. Click the Calculate button to assign those values to the FHB_Q.IDF file. Click the Close button to leave the IDF Edit Calculation window. Click Yes to leave the editing mode. Click the Close button to leave the IDF Edit window. Done regarding the boundary definition. We need to add this to the model via the iMOD Project Manager. For the Tutorial we have done already a small amount of work to fill in an iMOD Model Project file (*.PRJ). We need to add the BND.IDF, FHB_H.IDF and FHB_Q.IDF to the current PRJ file. We will do this after we have created the input for the SFR package. Creating the SFR Package In our model a stream flows from the west towards the east and splits halfway into two separate streams (see Figure 11.97). We will model this stream in iMOD. First we need to create an ISG file that is capable of generating the SFR input. 73 Select from the main window, the option Edit, Create Feature, ISGs and then SFR Applicable .... 74 Enter the ISG file name “{path of installfolder}\IMOD_USER\DBASE\TUT_SFR\SFR.ISG” in the Save window. The entered ISG file will be added to your iMOD Manager, but since it will be completely empty, you’ll not see anything appearing on the screen. So, let us create the stream network and the corresponding characteristics. 75 In the iMOD Manager select and draw ( 696 of 812 ) the file FHB_H.IDF. Deltares iMOD tutorials 76 Select the Legend button ( ) from the iMOD Manager to start the Legend window. 77 Deselect the option ( ) to ignore the colouring of the FHB_H.IDF file. 78 Click the Apply button to leave the Legend window. 79 Select from the main window the option View, Show IDF Features and then the option IDF Indices to display the cell indices (row-column numbers) of the IDF file FHB_H.IDF. This is handy to produce the ISG file in the next steps. 80 Add the created SFR.ISG file in the iMOD Manager to the current selection of files: use the key “Ctrl” and click your left mouse button on the SFR.ISG file to this file to the selection. So both SFR.ISG and FHB_H.IDF should be selected now. 81 Select from the main window, the option Map, ISG options and then ISG Edit ... to start the ISG Edit window. Drawing the Stream Network DR AF We are ready now to start drawing our stream network. T So because we cannot visualize the file SFR.IDF yet (it is still completely empty) we also selected the FHB_H.IDF in the iMOD Manager to use it as a guide to draw the stream network in the next steps. 82 Select the Draw option ( ) from the ISG Edit window. 83 Start drawing the first stream from west to east, we start by clicking the left mouse button at the cell (8-1) (row are numbered from top to bottom); and then make a straight line and click the left mouse button at cell (8-7). 84 Right mouse click to stop drawing. You’ll notice that a stream has been created in the menu field on the ISG Edit window called “Segment_1”. This was our first stream, let’s create another one. 85 Select the Draw option ( ) from the ISG Edit window. 86 Start drawing the second stream by clicking your left mouse button at cell (8-7), towards the north and click the left mouse button at cell (4-7), further up north-east click at cell (3-10) and finally towards the east, mouse click at cell (3-15). 87 Right mouse click to stop drawing. and the final one: 88 Select the Draw option ( ) from the ISG Edit window. 89 Start drawing the second stream from cell and click the left mouse button at cell (8-7), towards the south and click at cell (12-7 , further down south-east click at cell (13-10) and finally towards the east click at cell (13-15). 90 Right mouse click to stop drawing. 91 Select all stream from the menu field, i.e. “Segment_1”; “Segment_2” and “Segment_3”. 92 Check the options Nodes; C.Section; Seg.Nodes; Clc.Pnts. and Direction in the Show section at the bottom of the ISG edit window. 93 Click the Update button. Deltares 697 of 812 iMOD, User Manual DR AF T When you did it right (I’m sure you did), the following stream network should be displayed on your graphical canvas. Figure 11.97: Image of the 3 added ISG segments after turning on the labels Nodes, C.Section, Seg.Nodes, Clc.Pnts. and Direction. So, what do we see? First of all, each stream consists of segment nodes (red dots, Seg.Nodes). Each stream contains a single cross-section (green polygons, C.Section), and a calculation point at the beginning and end of a stream (blue rectangle with a cross, Clc.Pnts. and the start and end of a stream (blue dot, Nodes). Furthermore, as we draw the stream, the order in which the coordinates of each stream are entered by clicking the left mouse button, determines the direction of the flow (black arrow, Direction). In our case, the order of the coordinates is such that water is flowing from the west to the east and splits at the bifurcation in a north- and south branch. Finally, all segments are selected and therefore those are highlighted in cyan. Characterizing the Stream Network The next thing to do is to characterise the stream with appropriate water levels, bottom height, crosssections and so on. 94 Select “Segment_1” in the ’Segment’-TAB of the ’ISG EDit: SFR.ISG’ window. 95 Click the Attributes button ( that the entire table is visible. ) to open the ISG Attributes window, stretch the window a bit such We will enter some data in the table. First of all, we will apply this SFR to a steady-state model, so the date and time are irrelevant in this case. We will leave it as it is. 96 97 98 99 100 101 Enter “511” for the Water Level (column 3). Enter “510” for the Bottom level (column 4). Enter “20” for the Stream width (column 5). Enter “1” for the Bed thickness (column 6). Enter “1” for the Bed Permeability (column 7). We will define a rectangular cross-section: select “1” from the drop down menu for Calc Opt. (column 10). 102 Enter “13.9” for the Q flow (column 12). There is a flow rate entering from the west into the stream of 13.9 m3 /s, that is 1.2 million m3 /day. 698 of 812 Deltares iMOD tutorials T We accept the default values for the remaining columns; the table should look similar to the figure below. DR AF Figure 11.98: The ’Waterlevels’-tab in the ’ISG Attributes’ window for the Calculation point ’FROM’ for segment 1. The next thing is to enter data for the downstream node. 103 104 105 106 107 108 Select the “CalcPnt TO” from the drop down menu Calculation Point:. Enter “508” for the Water Level (column 3). Enter “507” for the Bottom level (column 4). Enter “20” for the Stream width (column 5). Enter “1” for the Bed thickness (column 6). Enter “1” for the Bed Permeability (column 7). We accept the default values for the remaining columns. Even though we specified the width and depth of the stream already on the tab Waterlevels, we need to specify the Manning’s Resistance Coefficient MRC for the cross-section. In case you need to use a more sophisticated cross-section, you can specify that in the table on the tab Crosssections. We modify the table such that it will align with our entered width (w = 20 m) and maximal depth (d = 2 m), and assign a Manning’s Resistance Coefficient n = 0.03. Note: Manning’s Resistance Coefficients n range roughly from n=0.01-0.06; some important values are given in table Table 11.5. Resistance Coefficients n (source: http://www. engineeringtoolbox.com/mannings-roughness-d_799. html) Table 11.5: Manning’s Surface Material Asphalt Clay tile Earth - clean Floodplains - pasture Metal - corrugated Natural streams - major rivers 109 110 111 112 113 Coefficient n 0.016 0.014 0.022 0.035 0.022 0.035 Surface Material Brick Concrete (Cement) Earth channel - weedy Floodplains - heavy brush Natural streams - clean / straight Natural channels, poor condition Coefficient n 0.015 0.012 0.030 0.075 0.030 0.060 Select the tab Crosssections from the ISG Attributes window. Enter “-20” in column=1 and row=1 and 2 (Distance). Enter “+20” in column=1 and row=3 and 4 (Distance). Enter “2.0” in column=2 and row=1 and 4 (Z ). Enter “0.0” in column=2 and row=2 and 3 (Z ). Deltares 699 of 812 iMOD, User Manual 114 Enter “0.03” in column=3 for all rows (MRC). 115 Click the Redraw button ( ) to update the display with your modified cross-section. DR AF T After you did it correctly, the ISG Attributes window should look like the figure below. Figure 11.99: The ’ISG Attributes’ window after entering the Manning’s Resistance Coefficient in the ’Crosssection’-tab for segment 1. Bear in mind that iMOD stores all modifications in memory. To actually save your modification on disk, you need to save your data explicitly, let’s do that. 116 Click the Save button to store our adjusted stream data and return to the ISG Edit window. 117 Click the Save button on the ISG Edit window to save your adjusted SFR.ISG to disk. 118 Click the Yes button to accept overwriting the existing SFR.ISG file. Okay, one third done! You need to apply the modifications to the other segments by applying the previous steps (76 to 91) using the data from Table 11.6. Table 11.6: Parameters per Stream Segment. Up stream 1 Down stream - 1 2 2 3 3 Water Level m+MSL 511.0 508.0 508.0 504.0 508.0 504.0 Bottom Level m+MSL 510.0 507.0 507.0 503.0 507.0 503.0 Stream Width m 20 20 15 15 5 5 Bed Thickness m 1.0 1.0 1.0 1.0 1.0 1.0 Bed Permeability m/d 1.0 1.0 1.0 1.0 1.0 1.0 Q Inflow m3 /s 13.9 0.0 0.0 0.0 0.0 0.0 Note: To compute the total steady-state influx of 13.9 m3 /s, we apply the simplified Manning’s Equation for a rectangular stream. The gradient of Segment_1 is S = ∆h = 7 m over d = 1500 m; its width is w = 20 m, its depth is d = 1 m and its roughness is n = 0.03. Filling these in in the simplified 700 of 812 Deltares iMOD tutorials Mannings’ Equation: Q = 1.0 n 5 1 × w × y3 × S2 5 = 45.5 × 20.0 × 1.0 3 × 7.0 1500.0 12 (11.2) = 1239393 m3 /d = 13.9 m3 /s Note: A nice functionality to check whether you didn’t make any typo’s entering the data is the profile option; this functionality is also very handy when you need to inspect the result of the simulation (more on that later). Let’s do that. DR AF T ) on the ISG Edit window (not the same icon on the main iMOD 119 Click the Profile button ( window) to start the ISG Profile window. 120 Select “Segment_1” and “Segment_2” from the menu field at Profile Along Selected Segments. 121 Select “Bottom Level” from the drop down menu Parameter A: window. 122 Check the checkbox at Parameter B: and select “Water Level” from the drop down menu Parameter B: window. Figure 11.100: The ISG Profile window facilitates inspecting ISG-variables of selected segments. 123 Click the Close button to return to the ISG Edit window. 124 Click the Save button in the ISG Edit window to save your adjusted stream data to disk. 125 Click the Yes button to accept overwriting the existing SFR.ISG file. Connecting the Stream Network Now that we have given all streams their appropriate characteristics, the streams need to be connected. This can be done manually or automatically. When many streams are to be connected, this automatic option is very handy, it connects streams within a certain distance automatically. To give an idea of how easy streams can be connected manually, we will practice that right now. 126 Select the stream “Segment_1” on the graphical canvas by clicking your left mouse button near a node or in between two nodes. If the stream is selected it turns into a cyan-coloured line. Deltares 701 of 812 iMOD, User Manual 127 Click the option Show Selected to draw features on the selected stream only, just for reasons of simplification of the image on the graphical canvas. 128 Click the Connect To button ( ) and move your mouse toward “Segment_2” until it becomes a red line. 129 Click the left mouse button to indicate that this stream “Segment_1” will be connected to “Segment_2”. If you click next to a line (so no segment is selected), the connection will be removed. 130 Click the right mouse button to stop this selection process and return to the ISG Edit window. 131 Click the option Connections on the ISG Edit window to display the connection as a grey arrow. 132 Click the Update button to refresh the graphical canvas. DR AF T When you did it right (I’m sure you did), the your display should look similar to the figure below. Figure 11.101: Showing the connection (light grey arrow) to Segment 2 from Segment 1 (cyan line) by selecting the ’Connection’-option in the ’Show’-part of the ’ISG Edit’-window. So, “Segment_1” flow into “Segment_2” , but in fact it also flows towards “Segment_3”. We call this a diversion. In order to achieve this, we need to define for “Segment_3” that its inflow is diverted from “Segment_1”. We can do that interactively using the Connect From button ( explicitly in ISG Attributed window. ), or specifying this 133 Select “Segment_3” from the menu field on the ISG Edit window. 134 Click the Attributes button ( ) to start the ISG Attribute window. 135 Make sure the “ClcPnt FROM” from the menu field Attributes for:. 136 Enter the stream number “1” in column Iup Seg. This specifies the model to divert from segment Segment_1 (first in the segment list). 137 Select the option “-2” in column Div. Opt. This specifies the model to divert from Segment_1 as a fraction of the total inflow. 138 Enter the value “0.30” in column Q Flow. This specifies that the fraction of diversion is 0.30 of the outflow of Segment_1. 139 Click the Save button to store your modification in memory and return to the ISG Edit window. It is not necessary to specify a diversion for Segment_2 as it automatically receives 100-30=70% of the outflow of Segment_1. I think we’re done with this ISG, let’s quit the ISG Edit window. 702 of 812 Deltares iMOD tutorials 140 Click the Save button in the ISG Edit window to save your adjusted stream data to disk. 141 Click the Yes button to accept overwriting the existing SFR.ISG file. Defining the Model Project Now that we have created all necessary packages for our model, let’s get them together in a Model Project. 142 Select from the main menu the option View and then Project Manager to start the Project Manager window. 143 Click the Open Projectfile button ( 144 Click OK. ) and select the file {path of tutorialfolder} \TUT_SFR\MODEL.PRJ. DR AF The Project Manager will look as follows: T For a detailed exercise on how to create a Project-file from scratch, see Tutorial 4: Create your First Groundwater Flow Model, we will not exercise that here. The opened project file MODEL.PRJ contains all necessary parameter definitions. Figure 11.102: The Project Manager after loading the project file MODEL.PRJ. We have a permeability of KHV=60 m/d, a bottom height of our aquifer of BOT=470 m+MSL, a uniform starting head of SHD=510 m+MSL, a uniform recharge of RCH=1 mm/d. Notice that we filled in the FHB- and SFR package for you. Deltares 703 of 812 iMOD, User Manual Running the Model Let’s run this model. 145 Click the Save As Run button ( ) to start the Define Simulation Configuration window. 146 Select the option MODFLOW2005. 147 Click the Simulate button and enter the following *.NAM file “{path of installfolder}\IMOD_USER\MODELS \TUT_SFR\TUT_SFR.NAM to export the model to Modflow2005 files and start the simulation. Note, that you need to create the folder TUT_SFR yourself first. T Note: There is an option to start a model simulation in the background so that you can continue working with iMOD once the model has been started. As this model is very, very small, we will run the model in the foreground and we have to wait until it has finished before we can continue working with iMOD - probably, reading this sentence was enough time for the model to be finished. DR AF Once iMOD converts your model to MF2005 files, it creates a conventional ISG-file that can be used to transfer the results of the SFR package into iMOD. In this way we can use the existing functionalities in ISG-Edit (such as displaying time series, profiles) for the output of the model. Four items are converted to iMOD after the simulation has finished using the iMOD Batch function SFRTOISG (see section 8.3.8). This iMOD Batch function is part of the run-script (. \TUT_SFR \run.bat) and has been carried out already, so let’s see some results. 148 Click the OK button once the simulation has been finished. 149 Click the Close button on the iMOD Project Manager window to close it. 150 Select from the main menu the option Map, Add Map ... and select the ISG file {path of installfolder} \MOD_USER \MODELS \TUT_SFR \BDGSFR \ISG \SFR.ISG. 151 Select from the main menu the option Map, ISG Options and than ISG Edit ... to start the ISG Edit window. You probably notice that instead of three segments, we have now 35 segments. 152 Check Seg. Nodes whenever it has not been checked yet. 153 Click on the Update button. The names of the individual segments still contain the original segment name, so it is easy to select all streams that belong to the same original stream. 154 In the ’ISG Edit’ window select all items from the menu field that belong to the original Segment_1 and Segment_2. 704 of 812 Deltares T iMOD tutorials DR AF Figure 11.103: Image after selecting all Segment 1 and 2 streams of SFR.ISG in the ISG Edit window. Now we want to see the decline of the water level, or change in discharge per segment. 155 Click the Profile button ( ) to start the Profile window. In this picture we observe that the computed surface water level is declining from west to east. We can see how the discharge distribution aligns with our predefined diversion fractions. Figure 11.104: Stream levels in the ISG Profile window. 156 Select the option “Stream Discharge“ from the drop down menu Parameter A:. 157 In the ’ISG Profile’ window (not the ’ISG Edit’ window) select all segments from the menu field. 158 Try the other options from the drop down menu Parameter A:. Deltares 705 of 812 T iMOD, User Manual DR AF Figure 11.105: Stream discharges along segments 1 to 3. In the graph we see that the inflow volume in “Segment_1” is 14 m3 /s, and the volumes for the “Segment_2” and “Segment_3” are 10 m3 /s (≈ 70%) and 4.25 m3 /s (≈ 30%), respectively. 706 of 812 Deltares DR AF T iMOD tutorials Figure 11.106: Stream width and stream depth along segments 1 to 3. Another (fancy) way to look at your results is to use a legend to colour the lines for a selected output item, such as water levels, discharges. 159 Click the Close button to return to the ISG Edit window. 160 Select the Legend button ( ) to start the ISG Colouring window. 161 Select the option Current window to colour all segments within the current graphical window. 162 Increase the line-thickness to 5. Deltares 707 of 812 iMOD, User Manual DR AF T In this visual we observe that the surface water is indeed declining from west to east. Figure 11.107: Stream levels visualised when using a colour legend. It is easy to visualize the other model outcomes as well: 163 Select “StreamDepth” ,“StreamWidth” and “StreamDischarge” as well. The legend is computed automatically based on the data of the ISG file. Each stream characteristic in the ISG file has its own legend. This can be modified by using the default Legend window that ) from the ISG Colouring window. For any transient starts whenever you select the option Legend ( simulation you might do in future, you can drag the slider in the ’Period’ part of the of the ’ISG colouring’window to visualise stream characteristics for different periods. Now it’s time to visualise the total exchange flux between the surface water and groundwater. 164 Click the Close button on the ISG Edit window to close the ISG Edit window and ISG Colouring window, accept the question upon closing. 165 Select from the main menu the option Map, Add Map ... and select the ISG file {path of installfolder} \IMOD_USER \MODELS \TUT_SFR \BDGSFR \BDGSFR_STEADY-STATE_L1.IDF. 166 Click the Adjust Legend button ( ) from the iMOD Manager to start the Legend window. If the iMOD Manager is not visible, display it again by selecting the iMOD Manager button ( ) from the main iMOD window. 167 Use your skills to create the legend as displayed in the next figure. If you find difficulties reproducing this legend, have a look again at Tutorial 1: Map Display. 708 of 812 Deltares T iMOD tutorials DR AF Figure 11.108: Visualising the computed fluxes between surface water and groundwater. Regarding practising the visualisation of ISG’s it’s OK for now. 168 Click the Close button to stop ISG Edit window. It would be nice if you try experimenting with different parameters of the SFR package, such as stream width, Manning’s Resistant Coefficients and/or implement an extraction in the model to see whether that effects the surface water level. To estimate the extraction rate, such that the surface water level might change with 0.10 m, use the following equation of the re-organised Manning’s Equation: y= 53 Q×n 1 C ×w ×S2 (11.3) If you apply this for stream “Segment_2” , the extraction need to be at least 3.3 m3 /s=285,000 m3 /d. Enhance the model by an Eight Point Cross-Section In the coming few steps we will enhance the model a bit more, adding a more complex cross-section and apply a q-width/depth relationship for a segment. 169 Select the option ISG Options and then ISG Edit to start the ISG Edit window. 170 Select “Segment_1” from the menu list of segment names. 171 Click the Attributes button ( ) to start the ISG Attributes window. 172 Select the tab Cross-sections from the ISG Attributes window. 173 Select the Open button ( ) and select the file {path of tutorialfolder} \TUT_SFR \DBASE \CROSSSECTION.CSV. 174 Click OK to read the selected file. iMOD will open the Read CSV file window. Here you can specify what column from the CSV-file you want to use for each of the columns of the cross-section, such as “Distance” , “BottomLevel” and “MRC”. We leave the default values as shown below. Deltares 709 of 812 iMOD, User Manual Figure 11.109: The ’Read CSV file’ window. T 175 Click Ok to accept the column definitions and return to tab Cross-sections on the ISG Attributes window. 176 Click the checkbox Simplified to observe a simplified cross-section. DR AF The SFR Package has the limitation that only eight-point cross section geometries can be assumed. Eight values each for the horizontal and vertical distances are specified for the segment. Vertical walls are assumed at the end of each cross section. Stream depth, width, and wetted perimeter (hydraulic radius) are computed from the cross section for a given flow using Manning’s equation and by dividing the cross section into three parts, one part for the points 1-2-3, a second part for the points 3-4-5-6 and a third part for the points 6-7-8. All those together form the total wetted perimeter and the area. As this can be rather complex, the SFR package uses an iterative procedure to estimate the total discharge (sum of the three parts) until the computed flow is more-or-less equal to the stream flow. This method may not solve for all geometries, especially wide, flat bottom geometries might cause problems, in those case an other option is advised to be used for computing the stream depth. Figure 11.110: The cross-section as read from the CSV file (black dots) and the 8-points simplified cross-section (blue dots) after selecting ’Simplified’ in the ’ISG Attributes’-window, including the corresponding areas of the original and simplified cross-section. 710 of 812 Deltares iMOD tutorials From the figure above, it seems that the simplified cross-section has a more-or-less similar wetted area (108.46 m2 ) compared to the original one (109.80 m2 ). Actually, this simplification is done once the model is exported to the SFR package of MODFLOW2005, automatically. Next thing is to modify the ISG file a little bit more such that it knowns to use this eight-point crosssection. Select the tab Water Levels on the ISG Attributes window. Select the option “2 Eight Point” from column 10 with label Calc Opt.. Click the Save button to save the modification in memory and return to the ISG Edit window. Click the Save As button to save the modification on disk in another name, enter the file name {path of installfolder} \IMOD_USER\DBASE\TUT_SFR\SFR2.ISG. 181 Click the Close button to leave to the ISG Edit window. 182 Accept the question by clicking the Yes button. DR AF T 177 178 179 180 Deltares 711 of 812 iMOD, User Manual Tutorial 9: Lake Package This tutorial gives an introduction to a transient implementation of the Lake package (LAK), see section 12.29. Outline This is what you will do: Define a simple, five layered, transient model and constant head boundaries along the model; Define the input for the LAK package; Start the model simulation and examine the outcome; Combine the LAK package with the SFR package. Required Data T For this tutorial you need the following iMOD Data Files/folders: The entire folder (and subfolders) in {path of tutorialfolder} \TUT_LAK \DBASE, containing: BND.IDF – boundary conditions of the model (to be created); TOP.IDF – uppermost interface of the model (to be created); LAK_ID.IDF – lake identification number (to be created); LAK_BATHYMETRY.IDF – lake bathymetry number (to be created); DR AF 11.9 MODEL.PRJ – initial model project file; MODEL_LAK.PRJ – model project file with the LAK package (to be created); Getting Started 1 Start iMOD. 2 Select the option Create a New iMOD Project. 3 Click the Start button. Create the boundary conditions We start to create our first IDF file. 4 Select the main menu option Edit Create Feature, IDFs from ... and then Scratch ... to start the Create IDF window; 5 Enter the following values: XLLC / XURC (ft) : “0.00” and “8500.0”; YLLC / YURC (ft) : “0.00” and “8500.0”; CellSize (ft) : “250.0”. 6 Activate the iMOD Manager (Ctrl+M) (if not active already); the map BND should be selected now. 7 Select the option Apply ... and enter the file name {path of installfolder}\IMOD_USER\DBASE\TUT_LAK\BND.IDF. 8 Select the menu option View, Show IDF Features and then IDF Raster Lines to display the rasterlines of the IDF just created. Now we copy the geometry of this BND file to a to be created TOP file. 9 Select the main menu option Map, IDF Option and then IDF Calculate ... to start the Map Operations window; 10 Enter at Map C the output file {path of installfolder}\IMOD_USER\DBASE\TUT_LAK\TOP.IDF; 11 Select the option Map A to determine the extent for which the computation applies; 12 Click the Compute ... button. 712 of 812 Deltares iMOD tutorials We will assign the IBOUND value ’-1’ (fixed heads) to all cells of columns and rows 1 and 34. There are a number of possibilities to select the appropriate cells; we will now select them by dragging the mouse of the cells, similar to step 14 of Tutorial 8: Surface Flow Routing (SFR) and Flow Head Boundary (FHB) Package: T 13 Select the main menu option Map, IDF Option and then IDF Edit ... to start the IDF Edit window; 14 Click the option Draw to start the IDF Edit Draw window. 15 Move your mouse in the graphical canvas and drag, while holding your left-mouse button, all model cells in the first row, the right column, the last row and the first column of our model; it should result in 132 selected cells. 16 Click the Close button on the IDF Edit Draw window to leave the mode to select cells. 17 Click the Calculate ... button to start the IDF Edit Calculation window; 18 Select the option New Value and enter the value “-1” at the utter most right input field; 19 Select the IDF file “BND.IDF” from the dropdown menu at Available IDF-file; 20 Click the Calculate button to adjust the selected cells in the IDF file. 21 Click the Close button to close this window; 22 Click the Yes button to confirm the question whether you want to leave this window. Now we need to define the active area in the boundary conditions. Click the Select ... button to start the IDF Edit Select window; Select the option “BND.IDF” from the IDF-file: dropdown menu; Select the option “NodataValue” from the Logic dropdown menu; Click the Get Selection button, 1024 cells are selected; Click the Close button to leave the IDF Edit Select window; Click the Calculate ... button to start the IDF Edit Calculation window; Select the option New Value and enter the value “1” at the utter most right input field; Select the IDF file “BND.IDF” from the dropdown menu at Available IDF-file; Click the Calculate button to adjust the selected cells in the IDF file. Click the Close button to close this window and return to the IDF Edit window; Click the Yes button to confirm the question whether you want to leave this window. . DR AF 23 24 25 26 27 28 29 30 31 32 33 Now, we will create the surface level. The surface level declines gradually from west to east, starting at 160 m and ending at 140 m. ) and draw a polygon around all cells of the first column. iMOD will 34 Select the Draw Polygon ( select IDF cells that are in a polygon with their midpoint; 35 Click the Select ... button to start the IDF Edit Select window; 36 Select the IDF file “TOP.IDF” from the IDF-file dropdown menu; 37 Select the option “All” from the Logic dropdown menu; 38 Click the Get Selection button and 34 cells are selected; Deltares 713 of 812 T iMOD, User Manual 39 40 41 42 43 44 DR AF Figure 11.111: 34 cells selected after clicking the ’Get selection’ button. Click the Close button to leave the IDF Edit Select window; Click the Calculate button to start the IDF Edit Calculation window; Enter a value of “160” in the input field right of the option New Value; Click the Calculate button to adjust the selected cells in the IDF file. Click the Close button to close this window and return to the IDF Edit window; Click the Yes button to confirm the question whether you want to leave this window. . Now we compute the right in a similar manner and give the east side of the model the value 140.0. Note: It is easy to just move the drawn polygon to the right and than follow the steps 25-30 again. Let’s interpolate the surface level. 45 46 47 48 49 50 51 52 53 Click the Select ... button to start the IDF Edit Select window; Select the IDF file “TOP.IDF” from the IDF-file dropdown menu; Select the option “NodataValue” from the Logic dropdown menu; Uncheck the option Select for Polygon; Click the Get Selection button and 1088 cells are selected in between column 1 and column 34; Click the Calculate button to start the IDF Edit Calculation window; Select the option Interpolate; Select the option PCG to use a linear interpolation; Click the Calculate button to adjust the selected cells in the IDF file. iMOD will start the Solver Settings window in which you can specify the accuracy of the interpolation. We will accept all the default settings. 714 of 812 Deltares iMOD tutorials Figure 11.112: The Solver Settings window. Click the OK button to close the Solver Settings window and start the interpolation; Click the Close button to close the IDF Edit Calculation window and return to the IDF Edit window; Click the Yes button to confirm the question whether you want to leave this window. Click the Close button to close the IDF Edit window. DR AF Let’s see how the interpolation looks like. T 54 55 56 57 58 Right mouse click on the graphical canvas and select the option Current Zoom Level and then Linear to display the top of our system than gradually declines from west to east. Figure 11.113: The interpolated surface level. Create the Lake We would like to introduce a lake in the middle of our model. We need an IDF file that describes the maximal extent of the lake, and another IDF file that describes the bathymetry of the lake. 59 Create the following two IDF files; apply the Formulae “C=0.0*A”in Map Operations when copying the geometry of the map BND: {path of installfolder}\IMOD_USER\DBASE\TUT_LAK\LAK_ID.IDF - this file will store the location of the Lake; {path of installfolder}\IMOD_USER\DBASE\TUT_LAK\LAK_BATHYMETRY.IDF - this file will Deltares 715 of 812 iMOD, User Manual store the depth (bathymetry) of the lake. I’m sure you know by now how IDF Edit works, so: 60 Start IDF Edit and modify the files as follows: fill in the LAK_ID.IDF file such that it contains a value of “1” for the rectangle given by the cell indices (row=12,column=15) and (row=18,column=21); fill in the LAK_BATHYMETRY.IDF file such that it contains a value of “107” for the rectangle given by the cell indices (row=12,column=15) and (row=18,column=21), and a value of “97” for the rectangle given by the cell indices (row=14,column=17) and (row=16,column=19). 61 Turn on the cell-indices via View, Show IDF Features and than Cell Indices. We have done this before in step 79 in section 11.8. T You can configure your IDF files to display the actual IDF values as follows: 62 Select the file LAK_BATHYMETRY.IDF in the iMOD Manager (if not visible select from the main window, the menu option View and than iMOD Manager or click Ctrl+M alternatively); 63 Select the Legend button ( window; ) to display the IDF values; Select the option Data Numbers ( Increase the textsize by entering a “3” underneath the Data Numbers option; Click the Apply button to close the Adjust Legend window and redraw the graphical canvas. Select the option Map, Entire Extent and than Unique Values to display the content of the IDF files with a colouring legend for unique values only. DR AF 64 65 66 67 ) from the iMOD Manager window to start the Adjust Legend You should have the following IDF files created: Figure 11.114: Lake Identification. 716 of 812 Deltares T iMOD tutorials DR AF Figure 11.115: Lake Bathymetry. Add the Lake to the Modelling Project Now, we will add the parameters for the Lake Package in our modelling project. 68 Select the option View and then select Project Manager to start the iMOD Project Manager window; 69 Click the Open Projectfile button ( 70 Click the Open button. ) and select the file {path of tutorialfolder}\TUT_LAK\MODEL.PRJ; The entire model has been filled in already. Notice that this MODEL.PRJ file refers to the prepared IDF files given with the iMOD install in the folder {path of tutorialfolder}\TUT_LAK\DBASE instead of the files you created yourself and saved in the folder {path of installfolder}\IMOD_USER\DBASE\TUT_LAK. With the Define Characteristics button on the Project Manager window you can change the file reference if you like (see also section 5.5.1). You may inspect the model for a while and you will notice that it is a model with 5 model layers. The BND.IDF and TOP.IDF are filled in as well. The BND.IDF is used to define the boundary types for all model layers and the TOP.IDF is used at the module (TOP) for the first model layer. That file is also used for the Surface Elevation used by the (EVT) module. We will now enter the parameters for the (LAK) module. 71 Select the option (LAK) in the tree view Project Definition; 72 Click Properties button ( ) to start the Define Characteristics for window. 73 Select the option Transient, start from and enter the date “1 December 2016” in the date entry fields. All the other packages (RCH and EVT) start at that period as well; Deltares 717 of 812 DR AF T iMOD, User Manual Figure 11.116: Example of the ’Define Characteristisc for: (LAK) Lake Package’ window; the part ’Define Specific Characteristics’ contains a pull-down Parameter list which should be parameterized according to the values given in Table Table 11.7. 74 We will enter the following values for the different input parameters by selecting the appropriate parameter from the Parameter dropdown list sequentially, see Table 11.7. 75 Click the Add New System button to add the parameter to the modeling project. Table 11.7: Modeling Parameters for the Lake Package. 1 2 3 4 5 6 7 8 9 10 Parameter Lake Identifications Lake Bathymetry Initial Lake Levels Minimal Lake Levels Maximal Lake Levels Lakebed Resistance Precipitation at surface Lake Evaporation at surface Lake Total Overland runoff Total Lake Withdrawall Entry LAK_ID.IDF LAK_BATHYMETRY.IDF 110.0 97.0 145.0 10.0 0.0116 0.0103 0.0 0.0 Units m+MSL m+MSl m+MSl m+MSL days m/d m/d m3 /d m3 /d So, let’s first save our configuration in a new project file. 76 Close the Define Characteristics for window by selecting the Add System button. 77 Click the Save As button ( ) and save a new modeling project file at {path of installfolder} \IMOD_USER \RUNFILE \MODEL_LAK.PRJ. 718 of 812 Deltares iMOD tutorials Start the model simulation With this project file we can generate a Runfile and/or a standard MODFLOW2005 model. As we use the LAK-package and this is not supported by a Runfile we need to create standard MODFLOW2005 files, let’s do that. ) to start the Define Simulation Configuration window. DR AF T 78 Click the Save Model button ( Figure 11.117: Example of the iMOD Define Simulation Configuration window. 79 Enter “2050” at the End Date input field. 80 Select the option “Yearly” from the TimeSteps: dropdown menu field. 81 Select the option “MODFLOW2005” at the File Format: radio button. So, we will create a model that is transient, starts at the 1st of December 2016 00:00:00 and ends at the 1st of December 2050 00:00:00. The model will generate output after each year. 82 Click the Simulate button and enter the following *.NAM file {path of installfolder} \IMOD_USER \MODELS \TUT_LAK \TUT_LAK.NAM to export the model to MODFLOW2005 files and start the simulation. Note, that you need to create the folder TUT_LAK yourself first, use the option New Folder in your current Save window. 83 Click the Save button. iMOD will now first create the necessary MODFLOW2005 file; as the model is tiny, this will be finished rapidly, then the simulation will start immediately. You’ll see that the model start in a separate DOScommand window and it will echo the simulation progress. As it is a transient simulation with 34 stress periods, it will consume probably 30 seconds to accomplish. Deltares 719 of 812 iMOD, User Manual Inspect the result of lake simulation The lake levels will be part of the saved hydraulic heads, so we only have to open, e.g. the hydraulic of the first stress-period to generate time series. The lake exchange with groundwater will be saved in a separate budget file, we will open that as well. T 84 Select the option Map and then the option Quick Open to start the Quick Open window, see section 6.2. With this window it is easy to open and view results from a model simulation. 85 Select the option “HEAD” from the Topic dropdown menu. 86 Select the option “20171201” from the Time: dropdown menu. 87 Select the options “1 2 3 4 5” from the Layer dropdown menu. Tip: drag your mouse to select all layers. 88 Click the Open button. 89 Repeat the above mentioned steps to open the results for BDGLAK as well, do this for model layers 1,2 and 3. DR AF iMOD will load all selected results files into the iMOD Manager and displays the result on the graphical canvas. Use your experience learned from the previous Tutorials to display the computed heads as time series as shown in the following figure. Figure 11.118: Time Series of lake levels. The lake package simulates the exchange of groundwater and surface water such that the water balance of the lake equals (more-or-less). So, in the end it finds a water level of 133.47 m+MSL. At this lake level there is an equilibrium between the nett recharge of the lake (precipitation minus evaporation) and the drainage to the lake. Note: The total volumes can be found, per stress-period, in the list file after the simulation. You can find the file here: {path of installfolder} \IMOD_USER \MODELS \TUT_LAK \TUT_LAK.LIST. To get this water balance, search for a part of the string “HYDROLOGIC BUDGET SUMMARIES FOR SIMULATED LAKES”. For the first year, the total inflow to the lake is 2.7264E+07 m3 /year (we have time step lengths of one year). This is equal to 74695 m3 /d, that is the sum of all fluxes from the BDGLAK-files. You can find the total fluxes per BDGLAK-file via the Map Info option ( select the Statistic button ( 720 of 812 ) and then ) you can read the Sum of the individual flux file. Deltares iMOD tutorials Let’s look at the lake spatial exchange volumes. 90 Select the file “BDGLAK_20171201_L1.IDF” from the iMOD Manager and redraw the canvas by clicking the Redraw button ( ). 91 Add to the selection of files in the iMOD Manager, the files “LAK_ID.IDF”, “BDGLAK_20171201_L2.IDF” and “BDGLAK_20171201_L3.IDF”. Use your Ctrl-Left mouse button to select multiply files. DR AF T 92 Click the Map Value button ( ) to start the Map Value window. 93 Mouse your mouse over the image and observe the values of the selected maps. Figure 11.119: Computed spatial Lake fluxes. The fluxes to- and from the lake are given by the BDGLAK-files. These fluxes are stored within the first model cell next to the lake. So whenever you hoover your mouse, you’ll notice that the fluxes are all zero at the location of the lake for the first model layer. As the lake connects for only a part to the second model layer, you’ll notice that lake fluxes appear in the second layer only underneath the lake and even for model layer 3, the bottom of the lake. Try to understand the pattern of the fluxes. Having a look at the head differences between layer 1 and 5 in a cross-section (utilizing the Cross-Section Tool) may also shed some extra light on how the flux pattern looks like. Connect the Lake with the SFR package In this final step, we will connect the lake with the surface water model as described by the SFR package. The implementation of this package is explained in section 11.8. We have created the SFR layout and stored the file in {path of tutorialfolder} \TUT_LAK \DBASE \SFR.ISG. Let us open the file. ) and select the file {path of tutorialfolder} \TUT_LAK \DBASE 94 Select the Map Open button ( \SFR.ISG. 95 Select the file “LAK_ID.IDF” from the iMOD Manager. 96 Click the redraw button ( ) to refresh the graphical canvas. 97 Select from the main menu the option Map, ISG Options and then ISG Edit ... to start the ISG Edit window. 98 Select “Segment 1” from the list of segments. Deltares 721 of 812 T iMOD, User Manual DR AF Figure 11.120: Current layout of the SFR and LAK maps. In the figure you can see that the streams are connected to the lake on the south and north sides. From the south, the stream feeds the lake, from the north, it drains the lake. To connect the lake (LAK) to the stream (SFR), we need to specify a negative lake number in the SFR.ISG, let’s do that. 99 Click the Attributes button ( ) to open the ISG Attributes window for ’Segment 2’ (’Segment 2’ should be selected in the previous step). 100 Select the “CalPnt TO” from the Calculation Point: dropdown menu. 101 Enter the Lake number at “-1” Idown Seg. (column 9). Use a minus to indicate that the connection is a lake number and not a stream number. 102 Click the Save button to store the modification in memory. Now we need to connect the upstream segment 2, such that it can receive water from the lake. 103 Select “Segment 2” from the list of segments. 104 Click the Attributes button ( ) to open the ISG Attributes window. 105 Enter the Lake number at “-1” Iup Seg. (column 8). Use a minus-sign to indicate that the connection is a lake number and not a stream number. 106 Click the Save button to store the modification in memory. That’s all, we need to add this ISG file to our project. 107 Click the Save button to save the modification in your model database as file {path of installfolder} \IMOD_USER \DBASE \TUT_LAK\SFR.ISG. 108 Select the option View and then select Project Manager to pop-up the iMOD Project Manager window; 109 Select the option (SFR) in the tree view Project Definition. 110 Click Properties button ( ) to start the Define Characteristics for window. 111 Select the option Transient, start from and enter the date “1 December 2016” in the date entry fields. 112 Click the Open button ( ) and select the file you just created {path of installfolder} \IMOD_USER \DBASE \TUT_LAK \SFR.ISG. 113 Click the Add New System button to add the parameter to the modeling project and close the Define Characteristics for window. 722 of 812 Deltares iMOD tutorials 114 Click the Save As button ( ) and save a new modeling project file at {path of installfolder} \IMOD_USER \RUNFILE \MODEL_LAK_SFR.PRJ. Simulate the enhanced model As we use the LAK-package in combination with the SFR we need to create standard MODFLOW2005 files, let’s do that. Click the Save Model button ( ) to start the Define Simulation Configuration window. Enter “2036” at the End Date input field. Select the option “Yearly” from the TimeSteps: dropdown menu field. Select the option “MODFLOW2005” at the File Format: radio button. Click the Simulate button and enter the following *.NAM file {path of installfolder} \IMOD_USER \MODELS \TUT_LAK_SFR \TUT_LAK.NAM to export the model to MODFLOW2005 files and start the simulation. Note, that you need to create the folder TUT_LAK_SFR yourself first, use the option New Folder in your current Save window. 120 Click the Save button. T 115 116 117 118 119 DR AF Inspect the result of the enhanced model simulation Use the steps from 84 to open the result files from the the folder {path of installfolder} \IMOD_USER \MODELS \TUT_LAK_SFR. Use yor skills to observe that the steady-state lake level becomes 112.10 m+MSL and the stream stage up- and downstream of the lake are 118.63 and 111.57, respectively. Note: Use ISG Edit to explore the results of the results of the SFR package, see section 11.8, step 148 onwards. Figure 11.121: Current result of the groundwater levels for 31st of December 2037. Use the {path of installfolder} \IMOD_USER \MODELS \TUT_LAK \TUT_LAK.LIST to explore the water balance for the lake at the last stress period. Deltares 723 of 812 iMOD, User Manual It follows that: Table 11.8: Summary of Lake Water balance. Parameter Lake Stage Lake Volume Precipitation Evaporation Groundwater Inflow Groundwater Outflow Surface Water Inflow Surface Water Outflow Value 112.09 2.121050E+07 1.300215E+07 1.154501E+07 5.7897E+07 0.0000E+00 2.5738E+08 3.1528E+08 Unit m+MSL m3 3 m /year m3 /year m3 /year m3 /year m3 /year m3 /year DR AF T Okay, please feel free to experiment more with several parameters for the LAK package. 724 of 812 Deltares iMOD tutorials Tutorial 10: Multi-Node Well- and HFB Package This tutorial gives an introduction to the Multi-Node Well Package (MNW, see section 12.30) by using it in an unconfined quasi 3-D transient model. It also compares the MNW package with the conventional WEL package. We also add the HFB package to block the horizontal flow from a particular direction. Outline This is what you will do: Load an existing model project and display the model in 3-D; Construct a quick and simple model project with the WEL package; Define the model as an unconfined model and simulate the model; Modify the model project with the MNW package and simulate the model; Inspect both results; Change some parameters in the MNW package to simulate well losses; Include the horizontal barrier flow package (HFB) and simulate the results for that configuration. T Required Data For this tutorial you need the following iMOD Data Files/folders: DR AF The entire folder (and subfolders) in {path of tutorialfolder} \TUT_MNW \DBASE, containing: 11.10 BND \BND.IDF – boundary conditions of the model; TOP \TOP.IDF – top elevation of each model layer; BOT \BOT.IDF – bottom elevation of each model layer; HFB \SHEET_PILE.GEN – location of the sheet piling (to be created); WEL \WEL.IPF – location of the extraction well; WEL \WEL.TXT – time series of the extraction rate of the well; MNW \WEL_THIEM.IPF – location of the extraction well configured for a well loss based on Thiem equation; MNW \WEL.TXT – time series of the extraction rate of the well; MODEL_WEL.PRJ – initial model project file; MODEL_MNW.PRJ – model project file with the MNW package (to be created); MODEL_HFB.PRJ – model project file with the HFB package (to be created); Getting Started 1 2 3 4 Start iMOD. Select the option Create a New iMOD Project. Click the Start button; Activate the iMOD Manager (short-cut is Ctrl+M) Load the Modelling Project in 3-D We will load the modelling project and generate a 3-D image of our model. 5 Select the option View and then select Project Manager to start the iMOD Project Manager window; ) and select the file {path of tutorialfolder} \TUT_MNW 6 Click the Open Projectfile button ( \MODEL_WEL.PRJ; 7 Click the Open button; 8 Select the option (WEL) in the tree view Project Definition; 9 Click the Draw button ( 10 Click the Zoom All button ( Deltares ) to add the well file to the iMOD Manager ; ) to view the location of the well. 725 of 812 iMOD, User Manual We want to display the well in 3-D together with the modellayers, so we need to configure the Z-settings of the well via IPF Configure, let’s do that. 11 Right click your mouse button and select the option IPF Options and than IPF Configure to start the IPF Configure window; 12 Select “Z1” at the dropdown menu at Z-coordinate. (top elevation of the screen); 13 Check the option Sec.Z-Crd to define the secondary Z-coordinate. (botom elevation of the screen); 14 Select “Z2” at the dropdown menu at Sec.Z-Crd; 15 Click the button Pick Colour ; 16 Select a red colour from the Colour window; 17 Click the Ok button to leave the Colour window; 18 Click the Close button to leave the IPF Configure window. T We will now load the upper- and lower elevations per model layer, we use the Special Open option from the Project Manager. This option allows you to quickly read a selection of IDF files in a particular order from the current model project to the iMOD Manager. In that way, it is easy to port the files in the right order to the Profile Tool and/or 3-D Tool. ) to start the Special Open DR AF 19 In the Project Manager window click the Special Open button ( window. Figure 11.122: Example of the Special Open window. 20 Click the OK button to load the selected files to the Project Manger and leave the Special Open window; ) to set the graphical display to the extent of the IDF files loaded in 21 Click the Zoom All button ( the iMOD Manager ; 22 Select in the iMOD Manager all IDF-files together with the WEL.IPF; 23 Click the 3-D button ( ) from the iMOD Main window; You’ll notice that prior to the 3D tool the 3D IDF Settings dialog appears. In this dialog the appearance of the IDF-files can be configured. For example, an IDF can be represented by planes (quads between mids of gridcells giving a smooth surface) and/or cubes (representing the grid cells as flat surfaces, like Lego-blocks). To visualize aquitards as solids we will combine each bottom of an aquifer with the top of the aquifer lying underneath it. 24 Select the option “Quasi 3D Model (aquitard)” from the Configuration dropdown menu; 25 Click the Apply button. To show the well we need to instruct iMOD to ignore the associated txt file temporarily and use the Z and Sec.Z-Crd as set previously. Therefore do the following: 26 Select the tab IPF’s from the 3-D Tool window; 27 Select the option Deact. Associated Files. Now we see our well. 726 of 812 Deltares iMOD tutorials 28 Select the tab IDFs from the 3-D Tool window; 29 Select the option Transparancy to create translucent blocks in order to see the well clearly; 30 Rotate the image with your left mouse button. DR AF T The image might look like this: Figure 11.123: 3-D image of our model. The 3D-image allows you to observe that the well is penetrating all model layers; in fact the well screen is for a length of 1.0 meter in model layer 1, model layer 2 is fully penetrated and layer 3 contains 5 meters (half of the thickness of that aquifer) of the well screen. The well extracts from all three model layers, proportional to the respective length of the well screen in each layer; this will be computed by iMOD when the model definition is translated to the MF2005 WEL package. The total strength of the well is 10,000.0 m3 /d from December 1st 2016 up to December 1st 2040. Starting from December 1st 2040 the well is turned off (0.0 m3 /d). This is specified in the WEL.TXT file associated to the WEL.IPF. Below is the content of that file. 2 2 DATE , -9999.0 Q , -9999.0 20161201,-10000.0 20401201, 0.0 31 Quit the 3-D Tool window by clicking the option File and then Quit 3-D Tool; Deltares 727 of 812 iMOD, User Manual Run the Model Because we want to be able to simulate layers falling dry we apply a model with unconfined model layers. In that way the areas that fall dry are no part of the simulation until these model cells are rewetted again. When unconfined model layers are applied in iMOD, iMOD includes the wetting option of MF2005 automatically. 32 Whenever the Project Manager may have disappeared, pop-it-up by selecting the menu option View and than Project Manager ; DR AF T 33 Click the Save Model button ( ) to start the Define Simulation Configuration window; 34 Click on the button Define 3 Layer Types to start the Layer Types window. Figure 11.124: Example of the Layer Types window: assigning layer type ’Convertible (HNEW-BOT)’ to all layers. 35 Select the option Convertible (HNEW-BOT) for model layer 1, 2 and 3. In this way all model layers will be unconfined and the transmissivity is a function of the computed head (HNEW) minus the bottom of each model layer (BOT). It is important to know that MF2005 includes the option to simulate model cells becoming dry when the hydraulic head of that cell drops below the bottom of that model cell. To ensure that dry cells can become part of the simulation again, iMOD includes the wetdry-option in the LPF-package automatically: it is not needed to specify extra input for this option. iMOD defines the wetdry-option to all active model cells that are part of an unconfined model layer. Whenever the head underneath the dry cell (hn ) is higher than 0.1 meter above the bottom of the model layer (BOT), it becomes wet again. Using this option, is more stable than using all four adjacent model cells as well. In the iteration, the head at 728 of 812 Deltares iMOD tutorials that cell is than initially set to by following equation: h = BOT + WETFCT (hn − BOT) , (11.4) whereby WETFCT=0.1. These are programmed internally in iMOD as they give the most robust approach. However, whenever it is still needed to modify this, the (advanced) model user can modify the exported MF2005-files outside iMOD themselves. 36 Click the OK button; From the PRJ-file iMOD has read the transient characteristics of your model; it starts at 1st of December 2017 00:00:00 and ends at the same date. More input was not yet given to the model, but we can extent the simulation period of the model by simply defining another end date, let’s do that. DR AF T 37 Enter the year “2050” at the Enddate; 38 Enter “Monthly” at the TimeSteps; 39 Select the option “MODFLOW 2005” at the File Format: radio button. Figure 11.125: Example of the iMOD Define Simulation Configuration window. After step 39 the Define Simulation Configuration window should look like in Figure 11.125. The model will generate results on a monthly time step which is based on the definition of the input data, we can inspect this. 40 Click the Simulate button and enter the following *.NAM file {path of installfolder} \IMOD_USER \MODELS \TUT_WEL \TUT_WEL.NAM to export the model to MODFLOW2005 files and start the simulation immediately. Note, that you need to create the folder TUT_WEL yourself first, use the option New Folder in your current Save window. Deltares 729 of 812 iMOD, User Manual iMOD will now first create the necessary MODFLOW2005 files; as the model is tiny this will be will finished quickly. Immediately thereafter the simulation starts. You’ll see that the model starts in a separate DOS-command window and it will echo the simulation progress. It is a transient simulation of 408 stress periods, it probably will take something like 20 seconds of runtime (e.g. on a computer with a 2.6 GHz processor). Inspect the result of simulation Let’s inspect the hydraulic head of the first model layer and the well rates and generate time series. T 41 Select the option Map and then the option Quick Open to start the Quick Open window, see section 6.2. With this window it is easy to open and view results from a model simulation. 42 Select the option “HEAD” from the Topic dropdown menu. 43 Select the option “20171201” from the Time: dropdown menu. 44 Select the options “1”, “2” and “3” from the Layer dropdown menu. Tip: drag your mouse to select multiply entries of the menu field. 45 Click the Open button; the specified head maps are added to the iMOD Manager ; 46 Repeat the above mentioned steps to open the results for BDGWEL as well; 47 Click the Close button to leave the Quick Open window. DR AF iMOD will load all selected result files into the iMOD Manager and displays the result on the graphical canvas. Use your experience learned from the previous Tutorials to display the computed heads (HEAD) and the extraction rate (BDGWEL) as time series as shown in the following figure. Be aware that it can take a few seconds, as iMOD needs to open 1224 files. Figure 11.126: Time Series of computed hydraulic heads and abstraction rates at the location of the well using the WEL package: heads in layer 1 (blue line), layer 2 (turquoise line) and layer 3 (cyan line), abstraction rates [m3/day] in layer 1 (red line), layer 2 (green line) and layer 3 (yellow line). Note: The extraction in model layer 1 is inactive as soon as the layer becomes dry. Also observe that the layer is re-wetted and the extraction of layer 1 is re-activated again as a result of deactivation of the extractions in the other model layers. The total extraction for the entire duration of the model is less than was assigned to the model. So, instead of taking out 87.8E6 m3 /d, the amount of extracted water was 86.8E6 m3 /d. One of the advantages of the MNW package is that the total extracted amount remains intact once a model layer falls dry. Another improvement is that the extraction rate declines gradually as a model layers tends to dry, instead of abrupt as with the WEL package. The other layers will get an increased extraction for those case. Let’s observe that in the coming part of this tutorial. 730 of 812 Deltares iMOD tutorials Creating the Multi-Node Well (MNW) input 48 Select the option View and then select Project Manager to start the iMOD Project Manager window; 49 Click the Open Projectfile button ( ) and select the file {path of tutorialfolder} \TUT_MNW \IMOD_USER \RUNFILE \MODEL_MNW.PRJ; 50 Click the Open button; This will clean the entire Project Manager first before loading in the selected PRJ file. 51 Select the option (MNW) in the tree view Project Definition; T ) to add the well file to the iMOD Manager ; 52 Click the Draw button ( 53 Select the option Map, IPF Options and than IPF Analyse ... to start the IPF Analyse window. 54 Click your right mouse button on the graphical canvas and select the option Select the Entire Domain. DR AF Now we have selected our MNW-well and the values for the different attributes are presented in the table. We can see that that screens of the well starts at 96.0 m+MSL and ends at 70.0 m+MSL. This is similar to our previous well modelled by the conventional WEL package. You can also see that the methodology of computing well loss is given by the keyword THIEM and the appropriate parameter relevant to that is the RADUIS (rw = 0.25 m), see section section 12.30 for more detailed information about the MNW package. Figure 11.127: Attribute values for the MNW-well. MNW computes a hydraulic head in the cell hn such that it equals the computed hydraulic head at the well minus a head loss term (e.g. the Thiem equation, see Konikow et al. (2009)). Here we neglect head loss due to skin and local turbulence effects for that particular cell, so: hWELL − hn = Qn r0 ln , 2πT rw (11.5) is the effective where Qn is the well rate (m3 /d), T is transmissivity of the aquifer (m2 /d) at the well, r0p radius of a finite-difference cell (m), this is assumed for isotropic conditions as r0 = 0.14 ∆x2 + ∆y 2 ; and rw is the actual radius of the well. Note: Because r0 is typically much larger than rw , the head in a pumping well will be lower than the model-computed head. The head in the pumping well is not equal to the hydraulic head saved by the model. Okay, let’s run the model with the MNW package. Deltares 731 of 812 iMOD, User Manual 55 Apply steps 32 and further; 56 Click the Simulate button and enter the following *.NAM file {path of installfolder} \IMOD_USER \MODELS \TUT_MNW \TUT_MNW.NAM to export the model to MODFLOW2005 files and start the simulation. Note, that you need to create the folder TUT_MNW yourself first, use the option New Folder in your current Save window. Again, iMOD will first create the necessary MODFLOW2005 files and start the simulation immediately. Similar to the model using the WEL package, this model including the MNW package will also probably take no more than something like 20 seconds to run. Compare the result of WEL and MNW simulation T Let’s inspect the hydraulic head of the first model layer and the computed distribution of extraction rates and generate time series. DR AF 57 Select the option Map and then the option Quick Open to start the Quick Open window, see section 6.2. With this window it is easy to open and view results from a model simulation. 58 Select the option “TUT_MNW” from the Variant dropdown menu. 59 Select the option “HEAD” from the Topic dropdown menu. 60 Select the option “20171201” from the Time: dropdown menu. 61 Select the options “1”, “2” and “3” from the Layer dropdown menu. Tip: drag your mouse to select multiply entries of the menu field. 62 Click the Open button; 63 Repeat the above mentioned steps to open the results for BDGMNW as well; 64 Click the Close button to leave the Quick Open window. iMOD will load all selected result files into the iMOD Manager and displays the result on the graphical canvas. 65 Use your experience learned from the previous Tutorials to display the extraction rate (BDGMNW) as time series as shown in the following figure. Be aware that it can take a few seconds, as iMOD needs to open 1224 files. 732 of 812 Deltares DR AF T iMOD tutorials Figure 11.128: Time Series of computed extraction rates using the MNW package in layer 1 (red), layer 2 (orange) and layer 3 (violet); total time series (above) and zoomed in from 2040 onwards (below). As expected, you might observe that the total extraction rate varies and that the extraction rate for the first model layer slowly decrease to zero. At the same time the extraction of the deeper aquifers, increases to sum up to 10,000 m3 /d. If we look at the zoomed in image (bottom) for the period after 2040, where we turned off the well, we observe that the well rates vary although there is no external rate specified. So, what is happening? Well, one of the features of the MNW package is the capability of simulating intra borehole flow, actually water can move from one aquifer - through the borehole - to another aquifer. Due to the stopping of the pumping, the deeper aquifers recover quicker from the computed draw down than the unconfined aquifer, mainly due to the low storage coefficient. This causes an overpressure from the deep aquifers to the shallow one and generates a groundwater flow that migrates directly through the borehole into the first aquifer. 66 Use your experience learned from the previous Tutorials to display the hydraulic head (HEAD) for our model with the WEL- and MNW package as time series as shown in the following figure. Be aware that it can take a few seconds, as iMOD need to open 1632 files. Deltares 733 of 812 iMOD, User Manual T Figure 11.129: Time Series of computed hydraulic heads at the location of the abstraction well: in layer 1 using the WEL package (red line), and heads in layers 1 to 3 using the MNW package (blue, turquoise and cyan lines respectively). DR AF The figure of timeseries of computer hydraulic heads at the location of the well clearly shows that there is an overpressure that causes this intra borehole flow. Moreover, when comparing the hydraulic heads in layer 1 cells at the well location, in the model with the MNW package the cell remains wet for a longer period of time compared to the model with the WEL package. This is caused by the MNW package decreasing the extraction amount gradually and therefore decreases the draw down rate of the ground water head. Due to the early mentioned intra borehole flow, the heads in the model with an MNW package recover more quickly than in the model with the WEL package. So the MNW package can really add some extra features concerning the behaviour of a well in your model. Speaking of more detail, it seems that there is a horizontal barrier (sheet pile wall) blocking the flow to our well. Let’s see how to incorporate this with iMOD into our model. Enhancing the model with a Horizontal Flow Barrier (HFB) input Let’s create our sheet pile wall. 67 Select from the main menu the option Edit, Create Features and then GENs ... to start the Create GENs window. ), this will start the Select window; Click the Draw button ( Select the option Line from the Shape types; Click the Ok button. Start drawing a line at the west side of the well. Click your left mouse button to position the first point of the line. Each left mouse click will insert another point. 72 Click your right mouse button to finish the drawing. 68 69 70 71 734 of 812 Deltares iMOD tutorials DR AF T The following line could be on your screen. Figure 11.130: Outline of our sheet pile. Let’s save the sheet pile wall. 73 Click the Save As button ( ) and save the sheet pile at {path of installfolder} \IMOD_USER \DBASE \TUT_MNW \SHEET_PILE.GEN. 74 Click the Save button. 75 Click the Close button to close the Create GENs window. Now we have to add this sheet pile to our modelling project. 76 Select the option View and then select Project Manager to start the iMOD Project Manager window; 77 Select the option (HFB) in the tree view Project Definition; 78 Click Properties button ( ) to start the Define Characteristics for window. 79 Enter a value of “2”at the Assign Parameter to model layer ..., our pile sheet wall will act as barrier for the second model layer only; 80 Enter a value of “1000.0”at the Assign Parameter Addition Value, our pile sheet wall will have a resistance of 1000.0 days; 81 Click the Add File button ( ) and select the file we just created: {path of installfolder} \IMOD_USER \DBASE \TUT_MNW \SHEET_PILE.GEN. Deltares 735 of 812 DR AF T iMOD, User Manual Figure 11.131: Example of the iMOD Project Manager window. 82 Click the Add New System button to add the parameter to the modeling project; the Define Characteristics for window will be closed. 83 Click the Draw button ( ) to open the sheet pile to the iMOD Manager ; ) and save a new modeling project file at {path of installfolder} 84 Click the Save As button ( \IMOD_USER \RUNFILES \MODEL_HFB.PRJ. So, we’re ready to run this model. 85 Apply steps 32 and further; 86 Click the Simulate button and enter the following *.NAM file {path of installfolder} \IMOD_USER \MODELS \TUT_HFB\TUT_HFB.NAM to export the model to MODFLOW2005 files and start the simulation. Note, that you need to create the folder TUT_HFB yourself first, use the option New Folder in your current Save window. Also here again iMOD will first create the necessary MODFLOW2005 files and starts the simulation. Similar to the previous 2 models, this model including the MNW + HFB package will also probably take no more than something like 20 seconds to run. Compare the results of the MNW and HFB simulation Let’s inspect the hydraulic head of the first model layer and generate time series. 87 Click the Close button to leave the Define Simulation Configuration window; 88 Select the option Map and then the option Quick Open to start the Quick Open window, see section 6.2. With this window it is easy to open and view results from a model simulation. 89 Select the option “TUT_HFB” from the Variant dropdown menu. 736 of 812 Deltares iMOD tutorials 90 91 92 93 94 Select the option “HEAD” from the Topic dropdown menu. Select the option “20171201” from the Time: dropdown menu. Select the options “2” from the Layer dropdown menu. Click the Open button; Click the Close button to leave the Quick Open window. iMOD will load all selected result files into the iMOD Manager and displays the result on the graphical canvas. During the simulation iMOD translates the manually drawn sheet pile wall - which we saved earlier as SHEET_PILE.GEN - to a continuous (kinked) line coinciding exactly with the lateral cell faces it intersects; when utilizing the HFB package the specified resistance is assigned to these cell faces. It is always a good idea to examine the result of such a translation, e.g. to check whether the discretization has resulted in a sheet pile wall that is fully continuous and thus behaving like a true barrier. Let’s open that file. T 95 Click the Add File button ( ) from the main toolbar and select the file {path of installfolder} \IMOD_USER \MODELS \TUT_HFB\MODELINPPUT \TUT_HFB_L2.GEN. 96 Select the file SHEET_PILE.GEN and HEAD_20171201_L2.IDF from the iMOD Manager window. DR AF 97 Click the Redraw button ( ). 98 Use your experience to change the colour of the lines. You should see, more-or-less, the following image. In white is the actual position of the sheet pile in the model. Due to the chosen grid size, it is a little bit shifted and crenelated due to the rectangular simulation network. Figure 11.132: Display of the possible outcome of our HFB model. You could try to experiment with more complex shapes for the HFB and/or modify the resistance of the sheet pile. Deltares 737 of 812 iMOD, User Manual Tutorial 11: Unsaturated Zone Package This tutorial gives an introduction to a transient implementation of the Unsaturated Zone package (UZF), see section 12.31. Outline This is what you will do: Required Data T Create a transient PRJ file with TOP, BOT, KHV, RCH and EVT package; Simulate the RCH and EVT package for an unconfined model and examine the results; Modify the PRJ file with the UZF package; Simulate the UZF package and examine the results and compare it with the conventional RCH and EVT model; Modify the parameters of the UZF package to see the impact of parameters; For this tutorial you need the following iMOD Data Files/folders: The entire folder (and subfolders) in {path of tutorialfolder} \TUT_UZF \DBASE, containing: . \TOP \TOP_L*.IDF – IDF files with top of model layers (3); . \BOT \BOT_l*.IDF – IDF files with bottom of model layers (3); . \PREC \PREC_*.IDF – IDF files with precipitation on a daily base; DR AF 11.11 MODEL_RCH_EVT.PRJ – model project file with RCH and EVT package (to be created); MODEL_UZF.PRJ – model project file with UZF package (to be created); Getting Started 1 Start iMOD. 2 Select the option Create a New iMOD Project. 3 Click the Start button; Create a PRJ file We will quickly generate a PRJ file using the auto fill option of the Project Manager. 4 Select the option View and then select Project Manager to start the iMOD Project Manager window; 5 Select the option (TOP) in the tree view Project Definition; 6 Click Define Characteristics Automatically button ( ) to start the Define Characteristics for window. 7 Add the following string to the second column in the table “{path of tutorialfolder} \TUT_UZF \DBASE \TOP \TOP_L*.IDF”; 8 Select the option Select files within Given Layer Range and enter “1” and“3” in the input fields to the right. 738 of 812 Deltares iMOD tutorials DR AF T Your window should look as follows: Figure 11.133: Example of the Define Characteristics Automatically window. In this manner we tell iMOD to add the given files for model layer 1,2 and 3 automatically. Let’s see how that works. 9 Click the Allocate Files ... button. iMOD will pop-up a window with the files found in the Automatic Package Allocation window. Figure 11.134: Example of the Automatic Package Allocation window. Here we can inspect the results, or even modify this. We leave it like this as it is correct and continue. 10 Click the Add System button, this will add the files to our modelling project and closes the Automatic Package Allocation window. 11 Repeat the steps 5 up to 10 for the bottom of the model layers (keyword is BOT), these are stored in “{path of tutorialfolder} \TUT_UZF \DBASE \BOT \BOT_L*.IDF”. Deltares 739 of 812 iMOD, User Manual Also constant values for a package or modules can be inserted in this manner, as the boundary conditions of our three-layered model are all equal one, we insert this information as follows: 12 Select the option (BND) in the tree view Project Definition; ) to start the Define Characteristics for 13 Click Define Characteristics Automatically button ( window. 14 Add the following string to the second column in the table “1”; 15 Select the option Select files within Given Layer Range and enter “1” and“3” in the input fields to the right. 16 Click the Allocate Files ... button. 17 Click the Add System button, this will add the files to our modelling project and closes the Automatic Package Allocation window. T That’s convenient, right? Let’s add the constant information for the other packages repeating the steps 12 up to 17. DR AF 18 Add a constant starting head of “95.0” m+MSL for the SHD package (starting heads) for the model layers 1,2 and 3; 19 Add a constant starting head of “10.0” m/d for the KHV package (horizontal permeability) for the model layers 1,2 and 3; 20 Add a constant starting head of “1.0” for the KVA package (vertical anisotropy) for the model layers 1,2 and 3; 21 Add a constant starting head of “0.3” for the SPY package (specific yield) for the model layers 1,2 and 3. Next thing is to add the confined storage coefficients (STO). 22 Select the option (STO) in the tree view Project Definition; 23 Click Define Characteristics Automatically button ( ) to start the Define Characteristics for window. 24 Add the following string to the second column in the table “0.2E-03”; 25 Select the option Select files within Given Layer Range and enter “1” and“3” in the input fields to the right. 26 Click the Allocate Files ... button. 27 Modify the value “0.2E-03” for model layer 1 into “1.0”; 28 Click the Add System button, this will add the files to our modelling project and closes the Automatic Package Allocation window. Almost done, we will add the Evaporation package (EVT) on the conventional way as it will be defined for our first stress period only. 29 Select the option (EVT) in the tree view Project Definition; 30 31 32 33 Click Properties button ( ) to start the Define Characteristics for window. Select the option Transient, start from and enter the date “6 October 2013” in the date entry fields; Select the option Add constant value; We will enter the following values for the different input parameters by selecting the appropriate parameter from the Parameter dropdown list sequentially: (EVA) Evapotranspiration Rate (IDF) = “10.0” mm/day; (SUR) Surface Level (IDF) = “100.0” m+MSL; (EXD) Extinction Depth (IDF) = “8.0” m. 34 Click the Add New System button to add the parameter to the modelling project and close the Define Characteristics for window. Note: By defining a surface level (SUR) of 100.0 m+MSL and an extinction depth (EXD) of 8.0, there will be a linear reduction of evaporation with depth. At a depth of 8 m+MSL (2 meter above the bottom of model layer 1), the evaporation is 0.0. 740 of 812 Deltares iMOD tutorials Precipitation is the input parameter that varies per stress period. We will add that parameter with the automatic package allocation. 35 Select the option (RCH) in the tree view Project Definition; ) to start the Define Characteristics for 36 Click Define Characteristics Automatically button ( window. 37 Add the following string to the second column in the table “{path of tutorialfolder} \TUT_UZF \DBASE \PREC \PREC_*.IDF”.; 38 Select the option iMOD will look for unique TIME STEPS ...; 39 Click the Allocate Files ... button. 40 Click the Add System button, this will add the files to our modelling project and closes the Automatic Package Allocation window. T We have add now 459 definitions for precipitation in a single mouse click, that’s awesome isn’t it. Final thing to do is to add the configuration for the PCG solver. 41 Select the option (PCG) in the tree view Project Definition; DR AF 42 Click Properties button ( ) to start the PCG settings window. 43 Click the Apply button to add the parameter to the modelling project and close the PCG settings window. Okay, we’re done, let’s save the modelling project. 44 Click the Save As button ( ) and save a new modeling project file at {path of installfolder} \IMOD_USER \RUNFILE \MODEL_RCH_EVT.PRJ. Simulate the model With this project file we generate a standard MODFLOW2005 model, let’s do that. 45 Click the Save Model button ( ) to start the Define Simulation Configuration window; 46 Click on the button Define 3 Layer Types to start the Layer Types window. Deltares 741 of 812 DR AF T iMOD, User Manual Figure 11.135: Example of the Layer Types window: assigning layer type ’Convertible (HNEW-BOT)’ to layer 1. 47 Select the option Convertible (HNEW-BOT) for model layer 1 by clicking on the cell of the second column. In this way the first model layer will be unconfined and the transmissivity is a function of the computed head (HNEW) minus the bottom of the model layer (BOT); 48 Click the OK button; 49 Select the option “MODFLOW 2005” at the File Format: radio button. iMOD has found out what the transient content of your model is, it starts at 6st of October 2013 00:00:00 and ends at the 7st of January 2015 00:00:00. based on the entered precipitation (RCH) and evaporation (EVT) data. 742 of 812 Deltares DR AF T iMOD tutorials Figure 11.136: Example of the iMOD Define Simulation Configuration window. The model will generate results on a daily time step which is based on the occurrence of the input data, we can inspect this. 50 Click the option Customize ... (on the Define Simulation Configuration window at the Temporal Configuration settings) to start the Time Discretization Manager for Simulation window. Deltares 743 of 812 DR AF T iMOD, User Manual Figure 11.137: Example of the iMOD Time Discretization Manager for Simulation window. We will leave the definition of the stress-periods for now. 51 Click the OK button to close the Time Discretization Manager for Simulation window. 52 Click the Simulate button and enter the following *.NAM file {path of installfolder} \IMOD_USER \MODELS \TUT_RCH_EVT \TUT_RCH_EVT.NAM to export the model to MODFLOW2005 files and start the simulation. Note, that you need to create the folder TUT_RCH_EVT yourself first, use the option New Folder in your current Save window. 53 Click the Save button. iMOD will now create the necessary MODFLOW2005 file and runs the model, as the model is tiny, this will be finished rapidly. It will start the simulation directly thereafter. You’ll see that the model start in a separate DOS-command window and it will echo the simulation progress. As it is a transient simulation with 458 stress periods, it will consume probably 10 seconds to accomplish. Inspect the result of simulation Let’s inspect the hydraulic head of the first model layer and the computed recharge (equal to the input in fact) and generate time series. 54 Select the option Map and then the option Quick Open to start the Quick Open window, see section 6.2. With this window it is easy to open and view results from a model simulation. 55 Select the option “HEAD” from the Topic dropdown menu. 56 Select the option “20131006” from the Time: dropdown menu. 744 of 812 Deltares iMOD tutorials 57 Select the option “1” from the Layer menu. 58 Click the Open button. 59 Repeat the above mentioned steps to open the results for BDGRCH as well. DR AF T iMOD will load all selected results files into the iMOD Manager and displays the result on the graphical canvas. Use your experience learned from the previous Tutorials to display the computed heads as time series as shown in the following figure. Figure 11.138: Time Series of computed groundwater levels and precipitation. Note: Modify the settings of the time series to assign the recharge from the BDGRCH on the second y-axes and use “BlockLines” as LineStyle. As you may have noticed, the groundwater levels respond directly to the net-recharge. This is often, especially by these deep groundwater levels (> 2 meter depth) unrealistic. A delay of recharge through the unsaturated zone is a process that is taken care of by the UZF package. Creating the UZF input So, this tutorial is called UZF Package, but up to now we didn’t do anything with that. Well, most of the preparation we have done and running the model with the RCH and EVT packages, gives us a nice comparison of two different commonly used concepts. First we will delete the RCH and EVT packages. 60 61 62 63 Select the option (RCH) in the tree view Project Definition; Click the Delete option and confirm that you really want to remove the package content; Select the option (EVT) in the tree view Project Definition; Click the Delete option and confirm that you really want to remove the package content; Now we will add the input for the UZF package which is more-or-less a combination of the RCH and EVT package input. 64 Select the option (UZF) in the tree view Project Definition; Deltares 745 of 812 iMOD, User Manual 65 Click Define Characteristics Automatically button ( ) to start the Define Characteristics for window. 66 Add the following strings to the second column in the table: (AEA) Areal Extent of Active Model (IDF) = “1”; (BCE) Brooks-Corey Epsilon (IDF) = “4”; (SWC) Saturated Water Content of Unsat. Zone (IDF) = “0.3”; (IWC) Initial Water Content (IDF) = “0.05”; (INF) Infiltration Rates at Land Surface (IDF) = “{path of tutorialfolder} \TUT_UZF \DBASE \PREC \PREC_*.IDF”; (EVA) Evaporation Demands (IDF) = “10.0”; (EXD) Extinction Depth (IDF) = “8” (EWC) Extinction Water Content (IDF) = “0.01”; DR AF T Below is an example of your current window. Figure 11.139: Example of the Define Characteristics Automatically window. Let’s gather the appropriate files. 67 Select the option iMOD will look for unique TIME STEPS ...; 68 Click the Allocate Files ... button. iMOD will combine the constant given values with the wild cards. At those location where the “inherent” is mentioned, iMOD will use the previous mentioned value/file. 746 of 812 Deltares iMOD tutorials We will leave it like it is. T Figure 11.140: Example of the Define Characteristics Automatically window. 69 Click the Add System button, this will add the files to our modelling project and closes the Automatic Package Allocation window. DR AF It can take a little bit longer to refill the Project Manager. But once it is finished, we’re ready to start the model. Model Simulation 70 Click the Save Model button ( ) to start the Define Simulation Configuration window; 71 Select the option “MODFLOW 2005” at the File Format: radio button. 72 Click the Simulate button and enter the following *.NAM file {path of installfolder} \IMOD_USER \MODELS \TUT_UZF \TUT_UZF.NAM to export the model to MODFLOW2005 files and start the simulation. Note, that you need to create the folder TUT_UZF yourself first, use the option New Folder in your current Save window. 73 Click the Save button. iMOD will now create the necessary MODFLOW2005 file and runs the model, it will consume probably a little bit longer than our previous model to accomplish. Inspect the result of simulation Let’s inspect the hydraulic head of the first model layer, the computed groundwater recharge, the precipitation and evaporation and generate time series. 74 Select the option Map and then the option Quick Open to start the Quick Open window, see section 6.2. With this window it is easy to open and view results from a model simulation. 75 Select the option “TUT_UZF” from the Varient dropdown menu. 76 Select the option “HEAD” from the Topic dropdown menu. 77 Select the option “20131006” from the Time: dropdown menu. 78 Select the options “1” from the Layer menu. 79 Click the Open button. 80 Repeat the above mentioned steps up to to open the results for: BDGGET = the amount of computed evapotranspiration (m3 /d); BDGGRC = the amount of computed groundwater recharge (m3 /d); UZFET = the amount of computed evapotranspiration in the unsaturated zone (m3 /d); UZFINF = the amount of precipitation (infiltration) in the unsaturated zone (m3 /d). iMOD will load all selected results files into the iMOD Manager and displays the result on the graphical Deltares 747 of 812 iMOD, User Manual canvas. DR AF T 81 Select the files HEAD_20131006_L1.IDF for both the model TUT_RCH_EVT and TUT_UZF from the iMOD Manager window; 82 Add to the current selection of files the files BDGGET, BDGGRC, UZFINF and UZFET; 83 Use your experience learned from the previous Tutorials to display the selected files as time series as shown in the following figure. Figure 11.141: Time Series of computed groundwater levels with the RCH and EVT and the UZF package. Modify the parameters of the UZF package As you may have noticed, the UZF package generates some ground water recharge whenever multiply rainfall events appear on a short notice (dark green line). Short, heavy rainfall events, may not even feed the groundwater due to the strong evaporation or instant surface runoff. The evaporation has been modelled with an extinction depth of 8 meter, this may be a bit unrealistic and deplete the groundwater more than it should; let us change some parameters to see the effect of this. First we should know what the Brooks-Corey Exponent () represents. The Brooks-Corey Exponent is used to compute the unsaturated hydraulic conductivity K(θ) as a function of the moisture content θ . K (θ) = Ks θ − θr θs − θr , (11.6) whereby Ks is the saturated hydraulic conductivity; θr is the residual water content; θs is the saturated water content; and is the Brooks-Corey exponent. This function describes how the hydraulic conductivity approaches the saturated conductivity as the water content θ increases. This can be a linear relation ship ( = 1.0), or a non-linear whereby the hydraulic conductivity increases more slow than the water content increases ( > 1.0) or faster than the water content increases ( < 1.0). The next figure shows the relation ship for different values of and the effect on the hydraulic conductivity K(). 748 of 812 Deltares T iMOD tutorials DR AF Figure 11.142: Empirical relation between water content (θ ) and hydraulic conductivity K(θ) for different values for the Brooks-Corey Exponent (). In our case, it seems that our model has too less amount of recharge. In order to increase the recharge we need to decrease the Brooks-Corey Exponent (). The hydraulic conductivity will increase more rapid for a slight increase of the water content, allowing precipitation seeps through the subsoil more quicker. The easiest way to modify the parameters for the UZF package is to re-read the input, let’s do that: 84 Repeat the steps 60 up to 66, but use the value 2.0 for the Brooks-Corey Exponent; 85 Repeat the steps 70 up to 73 to run the adjusted model, save the results in the folder {path of installfolder}\IMOD_USER \MODELS \TUT_UZF2; 86 Repeat the steps starting from 74 to load the results into iMOD and generate time series; Deltares 749 of 812 iMOD, User Manual DR AF T If you have successfully carried out the above mentioned steps, the time series should like the figure below. Figure 11.143: Time Series of computed groundwater levels for the combination RCHEVT and the two variants with the UZF package. With a Brooks-Corey (=2.0) the computed hydraulic head is significantly different and almost align (though more smooth) with the RCH-EVT combination. If you examine the water balance in the output files (*.LST-files), the following tables can be derived to clearly show the influence of the UZF package on the net recharge of the aquifer. Table 11.9: Summary of water balance for the different model configurations for the unsaturated zone (uz ) and saturated zone (sz ). Parameter Precipitationuz Evaporationuz Seepageuz Net Storageuz Totaluz Rechargesz Evaporationsz Net Storagesz Totalsz RCH-EVT 2365470 2075648 290137 -315 UZF(=4) 2365470 -2053611 -403764 -86867 -5038 403764 -878899 475197 62 UZF(=2) 2365470 -285329 -2311417 201259 -954 2311417 -2107888 203549 -20 The UZF package is able to reduce the net recharge significantly, the Brooks-Corey Exponent () is very sensitive in the amount of ground water recharge that seeps through the unsaturated zone and influences the behaviour of the groundwater level. Feel free to experiment more with the UZF parameters and observe how the influence the model outcomes. If you decrease the (SWC) Saturated Water Content of Unsat. Zone (IDF), the yielding hydraulic heads will be almost similar to the RCHEVT combination. It is also interesting to start with a very wet subsoil (IWC) Initial Water Content (IDF), and see how the model responds on that. Note: It is possible to examine per cell the moisture content in more detail, especially during the 750 of 812 Deltares iMOD tutorials model building phase this could be desirable. This functionality is not steered via iMOD, but can be easily added to the MF2005 file directly, please visit the website of the USGS for this adjustments. DR AF T Note: It is possible to examine per cell the moisture content in more detail, especially during the model building phase this could be desirable. This functionality is not steered via iMOD, but can be easily added to the MF2005 file directly, please visit the website of the USGS for this adjustments. Deltares 751 of 812 DR AF T iMOD, User Manual 752 of 812 Deltares 12 Theoretical background In this chapter the iMOD-packages are described in detail. In the table below these iMOD-packages are listed by their acronyms including their MODFLOW-equivalent (if available). Also any differences between an iMOD-package and its MODFLOW-equivalent is described. 12.1 x x Unsaturated zone package Boundary conditions (compulsory) Starting heads (compulsory) Transmissivity Vertical resistances Horizontal permeabilities Vertical anisotropy for aquifers Vertical permeabilities Storage coefficients Specific storage coefficients Top of aquifers Bottom of aquifers Perched-water table package Horizontal anisotropy package Horizontal flow barrier package Interbed Storage package Streamflow thickness package Well package Drainage package River package Evapotranspiration package General-head-boundary package Recharge package Overland flow package Constant-head package Flow Head Boundary package Segment package Surface water Flow Routing package Lake package Parameter estimation package Multi-Node Well package Unsaturated Zone package Parallel Krylov Solver section nr section 12.1 section 12.2 section 12.3 section 12.4 section 12.5 section 12.6 section 12.7 section 12.8 section 12.9 section 12.10 section 12.11 section 12.12 section 12.13 section 12.14 section 12.15 section 12.16 section 12.17 section 12.18 section 12.19 section 12.20 section 12.21 section 12.22 section 12.23 section 12.24 section 12.25 section 12.26 section 12.27 section 12.28 section 12.29 section 12.33 section 12.30 section 12.31 section 12.32 DR AF CAP BND SHD KDW VCW KHV KVA KVV STO SSC TOP BOT PWT ANI HFB IBS SFT WEL DRN RIV EVT GHB RCH OLF CHD FHB ISG SFR LAK PST MNW UZF PKS Req. Description Equivalent MODFLOW package n.a. BAS BAS LPF/BCF LPF/BCF LPF/BCF LPF/BCF LPF/BCF LPF/BCF LPF/BCF DIS DIS n.a. LPF HFB IBS n.a. WEL DRN RIV EVT GHB RCH n.a. CHD/BAS FHB RIV/DRN SFR LAK n.a. MNW UZF n.a. T iMOD Key CAP MetaSWAP Unsaturated zone module The process of groundwater recharge and discharge through the unsaturated zone is simulated in iMODFLOW with the MetaSWAP concept (see Annex 1). MetaSWAP is developed by Alterra, Wageningen as part of the SIMGRO model code (Van Walsum, 2017b), (Van Walsum, 2017a). The SIMGRO framework is intended for regions with an undulating topography and unconsolidated sediments in the (shallow) subsoil. Both shallow and deep groundwater levels can be modelled by MetaSWAP. This model is based on a simplification of ‘straight Richards’, meaning that no special processes like hysteresis, preferential flow and bypass flow are modelled. Snow is not modelled, and neither the influence of frost on the soil water conductivity. A perched watertable can be present in the SVAT column model, but interflow is not modelled. There are plans for including the mentioned special processes in MetaSWAP Inundation water can be modelled as belonging to both groundwater and surface water at the same time. Processes that are typical for steep slopes are not included. The code contains several parameterized water management schemes, including irrigation and water level management. The input data required for MetaSWAP are (Van Walsum et al., 2016): Deltares 753 of 812 iMOD, User Manual DR AF T BND: Boundary setting, used to specify active MetaSWAP elements LGN: Landuse code, should be referred to by the file luse_mswp.inp RTZ: Rootzone thickness in cm (min. value is 10 centimeter). SFU: Soil Fysical Unit should be referred to by fact_mswp.inp. MET: Meteo Station number, should be referred to by mete_mswp.inp. SEV: Surface Elevation (m+MSL). ART: Artificial Recharge Type, 0=no occurrence, ART>0 means present at current location whereby ART=1: from groundwater, ART=2: from surface water extraction ARL: Artificial Recharge Location, number of modellayer from which water is extracted. ARC: Artificial Recharge Capacity (mm/d). WA: Wetted Area (m2 ) specifies the total area occupied by surface water elements. Value will be truncated by maximum cellsize. UA: Urban Area (m2 ) specifies the total area occupied by urban area. Value will be truncated by maximum cellsize. PD: Ponding Depth (m) PWT: Depth of the perched water table level (m-SL) Figure 12.1: Unsaturated zone with Pn = nett precipitation, Ps = irrigation, E = evapotranspiration, V = soil moisture, Veq = soil moistureat equilibrium and Qc = rising flux. 12.2 BND Boundary conditions The boundary conditions (-) consist of one IDF (or a constant value) for each modellayer specifying for each cell whether Boundary value < 0 Those values denote areas that fixated head. The model will not change these values and they act as a fix boundary condition; Boundary value = 0 Those values denote areas that are excluded for the simulation. No groundwater flow will go through those areas; Boundary value > 0 Those values denote areas that take part of the simulation, groundwater flow goes through them and the head are computed. An important constraint to those locations is that need to be connected to at least a single fixed boundary condition, e.g. a boundary condition < 0 or one of the other packages that are head-dependent, such as the RIV, GHB, DRN package. The latter could be risky since that boundary condition might be removed whenever the head is below the drainage base. The cell values correspond with the IBOUND values specified in the MODFLOW BAS package. 754 of 812 Deltares Theoretical background 12.2.1 Scaling T Figure 12.2: Example of the boundary conditions for a single layer (source McDonald and Harbaugh, 1988) DR AF For different grid resolutions the boundary is scaled internally via iMOD or iMODFLOW. For downscaling (e.g. from an input of 100 x 100 meter to a finer resolution of 10 x 10 meter) all finer grid cells obtain the identical value of the original cell. No interpolation of boundary conditions is performed. That means that the image looks identical to the original dataset but then at a finer resolution. For upscaling on the other hand, a different approach is used, which can be described best by the following rules that lists the steps to come from local values (the original values of the fine grid) to the global value (the upscaled courser grid): 1 If the local value is equal to its NodataValue it is set to zero, it becomes inactivated; 2 If the (corrected) local value is less than 0.0 (fix boundary condition) the global value becomes equal to the local value; 3 If the global value is equal to zero and the local value is greater than zero, the global value becomes equal to the local value. To summarize the above, fix boundary conditions goes before variable locations, which go before inactive locations. As a consequence, an up-scaled model is always equal or larger in size than its finer representation, as well as the total size of fix boundary conditions. To compare an up-scaled model with its finer representation might yield differences in fluxes from boundary conditions as well as differences in RCH, EVT, UZF packages. 12.3 SHD Starting Heads The starting head (L) consists of one IDF (or a constant value) for each modellayer specifying for each cell the initial head to start the model simulation. The starting heads correspond with the initial heads specified in the MODFLOW BAS package. 12.3.1 Scaling For different grid resolutions the starting head is scaled internally via iMOD or iMODFLOW. For downscaling (e.g. from an input of 100 x 100 meter to a finer resolution of 10 x 10 meter) all finer grid cells obtain an interpolated value of the original cell. A four-point polynomial interpolation is used for this, which gives a smooth interpolation based upon the direct neighbouring grid cell centres that are not equal to the NodataValue. If none is found, the up-scaled value remains equal to the NodataValue. It might be advisable to store starting head conditions on a coarse scale, as they will be smoothed anyhow, prior to the simulation. For up-scaling, a simple approach is applied by computing the average value of all finer grid cells inside the coarse cell. Values that are equal to the NodataValue are excluded and if they all appear to be equal to the NodataValue, the up-scaled value becomes NodataValue as well. Bear in mind that iMOD does not take into account whether grid cells are partially overlapping cells. It simply uses grid cells that are inside a coarse grid cell based upon their grid centres. Deltares 755 of 812 iMOD, User Manual 12.4 KDW Transmissivity The transmissivity (L2 /T) of each modellayer is defined by one IDF (or a constant value). Alternatively the transmissivity of a modellayer may be defined by the product of the horizontal permeability defined in the KHV package and the layer thickness derived from the TOP and BOT package (see Figure 12.3). The KDW transmissivity corresponds with the TRAN variable specified in the MODFLOW BCF package. 12.5 VCW Vertical resistances 12.6 KHV Horizontal permeabilities T The vertical resistance (T) of each modellayer is defined by one IDF (or a constant value). Alternatively the vertical resistance of a model layer may be defined indirectly by the layer thicknesses derived from the TOP and BOT package, the vertical permeability defined in the KVV package, the horizontal permeability defined in the KHV package and the vertical anisotropy defined in the KVA package (see Figure 12.3). The VCW vertical resistance corresponds with the reciprocal of the VCONT variable 1 specified in the MODFLOW BCF package, so V CW = V CON T. 12.7 DR AF The horizontal permeability (L/T) of each modellayer is defined by one IDF (or a constant value). The horizontal permeability is used in combination with the layer thickness to calculate the transmissivity of a modellayer (see Figure 12.3). The KHV horizontal permeability corresponds with the HY variable specified in the MODFLOW BCF package and the HK variable specified in the MODFLOW LPF package. KVA Vertical anisotropy for aquifers The vertical anisotropy (-) of each modellayer is defined by one IDF (or a constant value). The vertical anisotropy is multiplied with the horizontal permeability to calculate the vertical permeability in the permeable part of a modellayer (see Figure 12.3). The KVA vertical anisotropy corresponds with the VKA variable specified in the MODFLOW LPF package. 12.8 KVV Vertical permeabilities The vertical permeability (L/T) of the resistance layer between two modellayers is defined by one IDF (or a constant value). The vertical permeability is used in combination with the thickness of the resistance layer to calculate the vertical resistance between two modellayers (see Figure 12.3). The KVV vertical permeability corresponds with the HY variable specified in the MODFLOW BCF package and the VKCB variable specified in the MODFLOW LPF package. Figure 12.3: Hydraulic layer parameters used in iMODFLOW 756 of 812 Deltares Theoretical background 12.9 STO Storage coefficients The storage coefficient (for confined conditions) or specific yield (for unconfined conditions) of each modellayer is defined by one IDF (or a constant value). The value depends on the lithology of the modellayer. The storage coefficient in confined aquifers varies between 1x10−5 to 1x10−3 . The specific yield ranges between 0.02 for clay to 0.25 for gravel. The STO storage coefficient corresponds with the SF1 variable specified in the MODFLOW BCF package and the SS and SY variable specified in the MODFLOW LPF package. 12.10 SSC Specific storage coefficients T The storage coefficient for modellayers which can change from confined to unconfined conditions is defined by two IDFs (or constant values) for each modellayer. The SSC storage coefficient corresponds with the SF2 variable specified in the MODFLOW BCF package and the SS and SY variable specified in the MODFLOW LPF package. porosity is sum of void spaces as specific yield is drainable volume (always les then porosity as some pores are undrainable due to capillary suction forces) 12.11 TOP Top of aquifers 12.12 DR AF The top level of the permeable part of each modellayer (see Figure 12.3) is defined by one IDF (or a constant value). The TOP level corresponds with the TOP variable specified in the MODFLOW DIS package. BOT Bottom of aquifers The bottom level of the permeable part of each modellayer (see Figure 12.3) is defined by one IDF (or a constant value). The BOT level corresponds with the BOTM variable specified in the MODFLOW DIS package. 12.13 PWT Perched water table package A perched water table (or perched aquifer) is a (temporary) water table that occurs above the regional groundwater table in the unsaturated zone. This occurs when there is a (relatively) impermeable layer above the regional groundwater table in the unsaturated zone. With the PWT-package a perched water table can be schematized in iMOD, the perched water table concept is given in Figure 12.4. Figure 12.4: Conceptual schematization of a perched water table. In the following pages the concept of the perched water table package is described and illustrated by several hydrologic situations. Hereby, the following figure (Figure 12.5) is used which that represents the perched water table in terms of model parameters. Important to understand is that there can be only a single perched water table in each vertical column. Once a perched water table exists, both the Deltares 757 of 812 iMOD, User Manual DR AF T horizontal and vertical flow component will be reduced up to zero when the pressure head above the perched water table drops below the top of the aquitard that creates the perched water table. Figure 12.5: Conceptual schematization of a perched water table in a groundwater model. The PWT package is applied using the following assumptions, these are described in the following table in more detail. 758 of 812 Deltares Theoretical background I. There is no storage in the PWT aquitard and the driving force for vertical flow equals the pressure head of layer x minus the top of the PWT-aquitard. There are two situations to distinguish No Perched Water table This situation is depicted on the left figure, the perched water table is below the top of the aquitard yielding a zero flux through the aquitard Thickness of a perched water table This situation is show on the right figure, in this particular case the vertical flux through the aquitard is computed as: (12.1) DR AF T dH/(Hi − Hi+1 ) whereby dH = Hi − T : thickness of the perched water table T : top of the aquitard Hi : pressure head of modellayer i Schematization of vertical fluxes using the PWT-Package Deltares 759 of 812 iMOD, User Manual II. The model cells with the PWT-package are considered to be the top most layer with saturated groundwater. DR AF T If the PWT cells are not within the first model layer the transmissivity above the PWT cells is recalculated. On the figure left, the transmissivities are 10 and 10 for the first two modellayer above the PWT. Since the PWT package will compute the transmissivity only for the first modellayer above the PWT layer, iMODFLOW will redistribute the transmissivities such that they all are lumped in the first modellayer above the PWT layer. This is shown in the figure right. Now, the transmissivitiy of the first modellayer is 0.01 (actually this is equal to the parameter MINKD in the runfile) and the first modellayer above the PWT layer has 20. Schematization of transmissivity when the PWT-Package is used in second model layer III. The model cells with the PWT-package are considered to be unconfined and thus also have a phreatic storage coefficient. In order to compute the effective transmissivity Te , the permeability is computed initially by k = T /(T OPaquifer − T OPaquitard ). This permeability is used to compute the transmissivity Te as function of the pressure head as Te (h) = k(h − T OPaquitard ). 760 of 812 Deltares Theoretical background IV. The model cells in layer i + 1 have a phreatic storage coefficient, unless the pressure Head of layer i + 1 is greater than the bottom of the PWT aquitard. In this case an elastic storage coefficient is used. underlying aquifer becomes coefficient is used, this is unconfined, and illustrated in the therefore the figures below. DR AF T In case the elastic storage Schematization of transmissivity when the PWT-Package is used in second model layer The numerical implementation is such that the horizontal conductances and the vertical resistances are calculated on the heads of timestep t − 1. This is in order to avoid numeric instability. 12.14 12.14.1 ANI Horizontal anisotropy module Introduction Anisotropy is a phenomenon for which the permeability k is not equal along the x- and y Cartesian axis, kxx and ky y , respectively. It can be notated that for isotropic conditions kxx = ky y (see Figure 12.6a), and for anisotropic conditions kxx 6= k y y (see Figure 12.6b). (a) Isotropic conditions, flow [q] perpendicular (b) Anisotropic conditions, flow [q] non perto piezometric head [h] pendicular to piezometric head [h] Figure 12.6: Example of groundwater flow [q] for (a) isotropic and (b) anisotropic flow conditions. To express the amount of flow along the x- and y-axes of a Cartesian coordinate system, the following equations are valid to compute the flow along these direction; qx and qy , respectively (Strack ODL Deltares 761 of 812 iMOD, User Manual (1989), Groundwater Mechanics, Princeton Hall, Inc., Englewood Cliffs, New-Jersey): qx qy = −kxx −kyx −kxy −kyy " ∂hx ∂x ∂hy ∂y # (12.2) From equation (12.2), it can be seen that in anisotropic conditions (kxx 6= k y y ), flow along the xdirection is not influenced solely by the hydraulic gradient along this x-axis, but also by a hydraulic gradient along the y-axis. The permeability’s kxy and kxy are equal to each other and depend on the angle ϕ of the principal axis to the x-axis: kxx = f × T × cos(ϕ)2 + T × sin(ϕ)2 kxy = kyx = ((f × T ) − T ) × cos(ϕ) × sin(ϕ) kyy = f × T × sin(ϕ)2 + T × cos(ϕ)2 T (12.3) For values ϕ=0.0; ϕ=90.0; ϕ=180.0; ϕ=270.0, kxy and kxy become 0.0. Parameterisation Anisotropy is expressed by an angle ϕ and anisotropic factor f. The angle ϕ denotes the angle along the main principal axis (highest permeability k ) measured in degrees from north (0◦ ), east (90◦ ), south (180◦ ) and west (270◦ ). The anisotropic factor f is perpendicular to the main principal axis. The factor is between 0.0 (full anisotropic) and 1.0 (full isotropic), see Figure 12.7. DR AF 12.14.2 Figure 12.7: Anisotropy expressed by angle ϕ and anisotropic factor f Most optimally, the model discretisation should follow the configuration of the anisotropy, see Figure 12.8a. However, anisotropy could be folded in many different directions (principal directions), which probably yield for anisotropy in many angles throughout the modeling domain. With the chosen mathematical method (finite-differences) in iMODFLOW, it is impossible to fold the model network according to the anisotropy, see Figure 12.8b. 762 of 812 Deltares Theoretical background (a) Kx < Ky ; ϕ = 120.0◦ (b) Kx < Ky ; ϕ = 120.0◦ Figure 12.8: Example of (a) anisotropy aligned to the model network and (b) anisotropy non-aligned to the model network. DR AF T Since the principal direction of the permeability is not aligned to the axes of the modeling network, it is necessary to add extra flow terms to the finite difference equation to take into account the diagonal flow, caused by the anisotropy, see Figure 12.9. (a) Isotropic conditions (b) Anisotropic conditions Figure 12.9: Example of (a) flow terms in isotropic flow conditions and (b) flow terms in anisotropic flow conditions. For more detailed explanation on the computation of these extra flow terms, see Vermeulen PTM (2006) et al. Limitation to Upscaling of Groundwater Flow Models dominated by Surface Water Interaction, Water Resources Research 42, W10406, doi:10.1029/2005WR004620. For each cell in the model network, anisotropic angles ϕ and factors f can be specified. For those situations where a single model cell contains more than one of these anisotropic parameters, they will be up-scaled to the model cell. For the anisotropic angle, the most frequent occurrence will be used, as for the anisotropic factor, a mean value will be computed. This seems to be the most robust and fair trade-off between a coarsened model network and loss in detail. The ANI horizontal anisotropy corresponds with the TRPY variable specified in the MODFLOW BCF package and the HANI variable specified in the MODFLOW LPF package. Deltares 763 of 812 iMOD, User Manual HFB Horizontal flow barrier module Horizontal barriers obstructing flow such as semi- or impermeable fault zone or a sheet pile wall are defined for each model layer by a *.GEN line file. The behaviour of this is twofold: Factor f This is used automatically whenever the packages TOP and BOT are omitted in the runfile. By lines that obstruct groundwater with a particular reduction factor f for the hydraulic conductance or permeability, see Figure 12.9a, resulting in variable resistances along the line. The factor f is applied to the computed harmonic conductances in between cells i (icol index) and j (irow index). 2T T DY j CRi,j = f (T1 DXi2+T1 2 DX i−1 ) (12.4) 2T2 T1 DXi CCi,j = f (T1 DY j +T2 DXj−1 ) T Resistance r This is used automatically whenever the packages TOP and BOT are included in the runfile. By lines that obstruct groundwater flow with a variable resistance r in days for that line, see 0 0 Figure 12.9b, resulting in variable resistances C along that line. This combined resistance C (as a sum of the original resistance and the additional fault resistance) is computed internally as: CRi,j = 2T2 T1 DYj (T1 DXi +T2 DXi−1 ) DR AF 12.15 DZi,j = 12 (T OPi,j − BOTi,j ) + 21 (T OPi+1,j − BOTi+1,j ) CR i,j Ci,j = 21 DXi DXi+1 DZi,j (12.5) 0 Ci,j = r + Ci,j 0 2T T DY j CRi,j = Ci,j (T1 DXi2+T1 2 DX i−1 ) 0 Whenever r is negative, the resulting resistance C is equal to abs(r ). In that way the resistance between cells can become less than the resistance that is based on the permeability of the geological material. Note: A Factor f or Resistance r of 0.0, means that the fault is completely impermeable. 764 of 812 Deltares Theoretical background T In iMOD faults can be simulated by entering GEN files in the runfile directly. iMOD will define automatically at which cell faces the permeabilities need to be adjusted based on the specifications of the fault. DR AF Figure 12.10: Example of a horizontal flow barrier parameterization in case of a uniform model network consisting of model cells of 25 x 25 m. Based on the location of an irregular shaped fault line (white line) the cell faces (thick black lines) are identified where the conductance between the cells is adjusted using the parameter values of the fault line. The computed hydraulic heads (thin black contour lines) illustrate the local effects of the barriers on groundwater flow. Figure 12.11: The same example as above, but now for a uniform model network consisting of model cells of 100 x 100 m. The line *.GEN file defines the location of the barrier. The multiplication factor is used to create the obstruction by reducing the conductance between model cells. The HFB module corresponds with the MODFLOW HFB package. Deltares 765 of 812 iMOD, User Manual Whenever GEN files are assigned to layer number 0, iMOD will assign the fault to the appropriate model layers automatically. In that case the GEN file needs to be a 3D GEN (see section 9.10). Based on the elevation in the 3D GEN file and the TOP and BOT elevations of each model layer, the fault and the nett resistance will be assigned according the following method: Whenever the thickness of the model layer is < 0.5 meter: Compute the nett resistance r or factor f of the fault as a weighted arithmetic mean for the thickness of each individual fault along that particular cell. Each grid cell interface will be filled in until no space is available that can be occupied by a fault line; Each contribution of an individual fault is harmonic (c−1 ); The system number as used in the model, is equal to the fault that contributed mostly to the nett resistance; The final nett resistance is the harmonic mean between: T Whenever the thickness of the model layer is > 0.5 meter: 1 the summed resistance weighted to the level of occupation index (i = 0.0 − 1.0), and 2 a resistance of 1 day for the remaining part of the model layer (1.0 − i). DR AF Be aware that whenever the occupation index is 90 %, the resistance will be already significantly less. An example is demonstrating what the nett resistance are for different settings. Total thickness m Thickness Resistance m 2.5 2.5 5.0 2.0 2.0 4.0 d 100 1, 000 5.0 5.0 12.16 100 1, 000 Weighted harmonic md−1 0.025 0.0025 0.0275 0.02 0.002 0.022 Nett Resistance c Confined Resistance c 181.82 181.82 227.27 4.89 (12.6) IBS Interbed Storage package The compaction of modellayers by a reduction in water pressure is calculated using four IDFs (or constant values): preconsolidation head or preconsolidation stress in terms of head in the aquifer (L); dimensionless elastic storage factor for interbeds present in the modellayer; dimensionless inelastic storage factor for interbeds present in the modellayer; starting compaction in each layer with interbed storage (m). The IBS package is comparable to the IBS package of MODFLOW. 12.17 SFT Streamflow thickness package The streamflow thickness is defined by two IDFs (or constant values): the streamflow thickness (L) and the permeability (L/T). 12.18 WEL Well package The well package defines the groundwater abstractions for each modellayer from wells by IPF-files. The IPF-files contain the coordinates of the well locations and may contain an average abstraction rate (L3 /T) or a link to a text-file with abstraction time series (L3 /T). The screen depth may be added to assign automatically the modellayer from which the abstraction takes place. The WEL package is comparable to the WEL package of MODFLOW. 766 of 812 Deltares Theoretical background 12.19 DRN Drainage package The drainage package defines the location, the elevation (L) and the conductance (L2 /T) of the drainage system by two IDFs. The drainage system represents drainage pipes and drainage ditches by which water is removed from the model when the calculated head in a modellayer exceeds the elevation of the drainage system. The drainage package is usually connected to the first modellayer only. The DRN package is comparable to the DRN package of MODFLOW. Drainage simulated in cells with surface water becomes inactive when the drainage elevation is below the water level in the same cell as defined in the RIV package. Herefor it is necessary to set the parameter ICONCHK=1 in the runfile. 12.20 RIV River package DR AF T The river package defines the location, the water level (L), the bottom level (L), the conductance (L2 /T) and the infiltration factor (-) by four IDFs. The river package represents the presence of permanent water from which water may infiltrate or to which water may discharge. The source of water in the river package is unlimited which means that rivers never dry out. The RIV package is comparable to the RIV package of MODFLOW, except for the infiltration factor which is added in iMODFLOW. Figure 12.12: Principle of the RIV package (adapted from Harbaugh, 2005) The RIV package may be replaced by the ISG package which defines the surface water in segments. 12.21 EVT Evapotranspiration package The evapotranspiration package defines the evapotranspiration by plant transpiration or directly from the saturated groundwater by three IDFs: evapotranspiration rate (0.001L/T), top elevation (L) for maximal evapotranspiration rate and thickness (L) over which the evapotranspiration rate is reduced to zero. The EVT package is comparable to the EVT package of MODFLOW. Remember that the units for the evapotranspiration rate are mm/d for iMODFLOW. The EVT package may be replaced by the CAP module which makes a more sophisticated simulation of the processes in the unsaturated zone. 12.22 GHB General-head-boundary package The general head boundary package simulates flow to or from a model cell from an external source by two IDFs: the elevation (L) and the conductance (L2 /T) of the general head boundary. The GHB package assumes an unlimited source of water and is often used to model large water bodies which border the area of interest. Deltares 767 of 812 iMOD, User Manual 12.23 RCH Recharge package T Figure 12.13: Principle of the General Head Boundary package (Harbaugh, 2005) DR AF The recharge package defines the quantity of water (0.001L/T) from precipitation that percolates to the groundwater by one IDF (or a constant value). The RCH package is comparable to the RCH package of MODFLOW. Remember that the units are mm/d for iMODFLOW. The RCH package may be replaced by the CAP module which makes a more sophisticated simulation of the recharge process through the unsaturated zone. 12.24 OLF Overland flow package The overland flow package defines the elevation (L) above which outflow of groundwater will occur when exceeded by the groundwater head. The package simulates the effect of outflow of water across the land surface. The water is discharged out of the model and does not return to the groundwater. The OLF elevation may be determined at a few centimetres above ground elevation to represent shallow ponding caused by small obstructions against outflow. The flow rate of the OLF package is calculated assuming a fixed resistance against outflow of 1 day. The OLF package is not available in MODFLOW, however, the OLF-concept can also be applied by using the conventional DRN package, see section 12.19. The modeller might prefer to use the OLF package because 1) the assigned resistance value is cell size independent and 2) in the model output the resulting volumetric budget are kept seperate from e.g. the DRN volumetric budgets. 12.25 CHD Constant-head package The constant head package defines the elevation (L) of groundwater heads at cells where the BND value < 0 by one IDF (or a constant value). The CHD package is comparable to the definition of the CHD in the BAS package of MODFLOW. 12.26 FHB Flow and Head Boundary package The existing Flow and Head Boundary package of MODFLOW2005 (Leake (1997)) was implemented in iMOD. With this package it is possible to combine constant head- and constant flux boundaries for all model layers independently. For each model cell it is possible to define whether it becomes a constant head or constant flux boundary condition. 768 of 812 Deltares Theoretical background ISG iMOD Segment package The iMOD Segment package defines the surface water system with an ISG-file which contains all relevant information used by surface water elements which are in direct relation with groundwater. The ISG-file stores: the actual outline of the surface water element; (time-dependent) stages, bottom heights, infiltration factors and the resistance of the riverbed; the cross-sections 2D and/or 3D; (time-dependent) up- and downstream stages at weirs; discharge/width/depth relation ships. T To store all these different types of information the ISG-file format consists of associated files that are connected by the ISG-file. The ISG package as is, is not available in MODFLOW, but it generates the input for the conventional RIV package. For the SFR package (see section section 12.28), this type of an ISG file is expanded with more data, see section section 9.9 for a detailed description of both types of ISG files. The ISG package file format is based on vectors and time series and therefore has a much more efficient disk use than the RIV package. iMOD and iMODFLOW both, can handle those ISG files to generate model input. Within ISG Edit (see section section 6.10.3) it is possible to compute IDF files from the ISG file for the different model parameters such as conductance, stage, bottom heights and infiltration resistances. Or, more efficient, it is possible to use the ISG directly in the RUN- and/or PRJ file and let iMOD/iMODFLOW grid the ISG file internally to a conventional/modified RIV-file, see section section 10.11. DR AF 12.27 The way iMOD/iMODFLOW grids the vector based ISG file onto the simulation raster is as follows. Each segment, containing at least two nodes, is treated separately from the other segments and intersected with the model network; All intersected model cells are given the linear interpolated values for stage s, bottom heights b, infiltration factor f and resistances c in between all existing calculation nodes along the segment; For each location along the stream the appropriate cross-section is assigned. If a single crosssection is specified, that cross-section is valid for the entire stream. If more cross-sections are specified, the application of each cross-section is the stretch along the stream between the location of that cross-section up to the next specified cross-section - along the direction of the FROM- and TO-node. As a exception, the first specified cross-section is applied as well for the stretch between the FROM-node up to the first specified cross-section; The conductance is a function of the interpolated stage s and bottom height b. The water depth d (difference between the stage and bottom height; d = s − b) is used to compute the wetted perimeter wp at each location along the segment with the appropriate cross-section. The conductance (m2 /d) is the product of the wetted perimeter wp times the length of the intersection in the particular model cell l, divided by the resistance, so cond = wp×l c . The infiltration factor f is used as a package entry and corrects the conductance iteratively whenever the stage is higher than the computed groundwater level h, in that case the conductance becomes cond = wp×l f ×c . The conductance has a lower values for short intersections than for longer ones, this is clearly seen in the following figure. Deltares 769 of 812 T iMOD, User Manual DR AF Figure 12.14: Example of the conductance (m2 /d) of a segment (red line) in an ISG file gridded on a model network. The cross-sections in a ISG can yield different appearances of the conductance and therefore the outline of the segment in the model network. The following configurations might occur: The cross-section is a 2D cross-section perpendicular to the stream and describes the bathymetry as a function of distance x and height z . The distance x is at all times less than the width of current location in the model network; The cross-section is a 2D cross-section perpendicular to the stream and describes the bathymetry as a function of distance x and height z . The distance x can be more than 1.5 times the width of current location in the model network. In this particular case, the influence of the segment will be distributed over more than the single intersected model cell. A ”brush“ (circle with a radius equal to the half the width at the current location along the segment) is used to compute the fraction in which each model cell is influenced by the segment. The fraction is computed as the number of points in a grid cell that occupied by a circle, a grid cell which is completely covered by a circle is given a fraction of 1.0, other location with less covering receive a fraction < 1.0, see the following figure. 770 of 812 Deltares DR AF T Theoretical background Figure 12.15: Example of the brush method; (left) showing the fractions for the first location of the brush; (right) showing the updated and new fractions when the brush is moved one row down. The cross-section is a 3D cross-section which describes the bathymetry on a local and regular x, y, z raster. The local regular raster is projected in the (ir)regular model network. The conductance is the sum of the overlying areas of the local regular bathymetry raster divided by the entered resistance. Whenever an indicator i is present in the ISG file - to denote inundation which depend on a reference height href - the final resistance is multiplied with the value of the indicator i. This is only done whenever the stage s is higher than the river bathymetry b at that particular location. Each of the above mentioned configuration yield a different assignment of conductances to the underlying model network, as shown in the following figure. Deltares 771 of 812 DR AF T iMOD, User Manual Figure 12.16: Example of different conductances for a segment in an ISG file gridded on different model network with and without local sub grid refinements and for different type of cross-sections. The ISG file format also makes it more easy to convert a surface water model data from SOBEK into iMOD using the SOBEK import tool. 12.28 SFR Surface water Flow Routing Package The existing Surface Flow Routing package of MODFLOW2005 (Prudic et al. (2004)) has been implemented in iMOD. With this package it is possible to route surface water through a network of segments. These segments are stored in an additional type of ISG file that contains more records than the conventional ISG. These additional records are specific for the SFR package and describe the connection and diversion between individual segments and how the water depth in the segments needs to be computed. The water depth is a function of precipitation, evaporation, external discharges and the computed hydraulic head. The cross-section of each segment can be specified by a rectangle, an eight-point cross-section and/or a relationship between discharge, width and depth. The SFR can discharge surface water in and from a lake as described by the LAK Package. The SFR is therefore a significant improvement in the interaction between surface- and groundwater. There are a few limitations to the SFR package due to the iMOD implementation: the input units for discharge are m3 /s; it is not allowed to define the water depth by an empirical equation; a connection to a lake (up- and/or downstream) needs to be specified by the negative lake identification, it is not necessary that the stream segment truly enters the lake, in fact any connection can be made to any lake, even if the lake isn’t in the neighbourhood of the segment; by default the output of each segment is written in an output file that is converted to an ISG file after the simulation is finished. For large networks, this file may become very large. The interaction between the SFR and the groundwater is saved in the BDGSFR file and is a per cell lumped quantity; inspect the *.LST-file for more detailed information on total water balances per lake and in- and/or 772 of 812 Deltares Theoretical background outflow to streams that are connected; the SFR may be subject to convergence problems; an increase of the riverbed resistance may avoid these problems. the value used to set the tolerance level of stream depth used in computing leakage between each stream reach and active model cell is set to 0.0001; no solute transport is supported; a unsaturated zone underneath the segments is not supported. LAK Lake Package T The existing Lake package of MODFLOW2005 (Merritt and Konikow (2000)) has been implemented in iMOD. With this package it is possible to compute lake stages in relation to the groundwater head. Given a bathymetry of the lake, iMOD will assign the lake to the appropriate model layers and assign the correct conductances to the lake. The SFR can be connected to locations where a lake is defined to route water in- and from a lake. The implementation of the LAK package in iMOD is straightforward as several IDF files (and or constant values) need to be specified. iMOD computes the Lake Identifications and Lake conductances underneath and along the sides of the Lakes. In that same process, iMOD can adjust some of the geohydrologic parameters, such as top- and bottom elevation of model layers as well as permeability values. It is assumed that the position and spatial extent of the lake volume is defined by the specification of a volume of inactive cells within a three dimensional model grid. Because the model grid is used to define the lake volume, the lateral and vertical grid dimensions must be appropriately chosen so that the spatial extent and bathymetry of the lake are defined with the necessary accuracy. In some cases this may require a finer horizontal discretization in the vicinity of the lake and a finer vertical discretization than would be necessary to simulate heads in the aquifer. iMOD will modify the vertical discretization internally, this is explained the following figure. DR AF 12.29 Figure 12.17: Scheme of the implementation of the LAK package in iMOD. Suppose a Lake is considered that intersects two model layers, the user enters the bathymetry of the lake (LB ). Whenever the lake bathymetry is lower than the top of a model layer (ZT ) and higher than the bottom of that model layer (ZB ) the bottom of the lake is supposed to be in that particular model layer. The bottom of a model layer contains an existing interbed with thickness DC as well. For the Lake package it is essential that the elevation of the model layers describe the bathymetry of the Lake as these are used to compute the table with depth, area, and volume relations. iMOD will adjust the bottom of a model layer to reflect the bathymetry and corrects for the removed aquifer and/or increased thickness of the interbed. In case there is an interbed underneath the Lake, iMOD will increase the permeability of that interbed such that the vertical resistance of that interbed remains identical though its thickness has been increased (D C > DC ). In case the lake bathymetry intersects the interbed itself, nothing is changed. In case there is no interbed, the permeability that existed underneath the Lake bathymetry and in Deltares 773 of 812 iMOD, User Manual the same model layer, will be added to the layer below such that the transmissivity for (D Z )remains identical to the sum of the original two model layers. The permeability of the model layer underneath will be increased or decreased which depends on the permeability fraction between the two model layers. Furthermore, the vertical resistance of the removed aquifer (C L ), is added to the Lake resistance. The side conductances (LC ) are the sum of resistances of a) the lake itself and b) the resistance through the subsoil. There are some build-in limitations and assumptions: The RCH and EVT packages need to be assigned to model layer 0, which means they will be 12.30 T DR AF assigned to the upper active model layer. This is necessary in case a lake or part of lake dries up and blocks any recharge to the underlying aquifer; iMOD does not support the usage of sub lakes; the numbering of the lakes needs to be unique but it is not necessary to number them continuously. The lake number can have the format of a real number (e.g. 1.2 or 1.43) instead of an integer. Usage of integers is preferred as any connection to the SFR needs to be specified in the SFR package by an integer. iMOD will reassign a unique lake number internally, but the original lake number will be displayed in the LAK-package (*.lak); theta is the time weighting factor for computing lake stages during transient time steps. A theta of 0.5 represents the average lake stage during a time step. In iMOD the lake package is configured with a theta of -1.0 that represents the lake stage at the end of the time step; Moreover, a negative THETA applies for a SURFDEPTH that decreases the lakebed conductance for vertical flow across a horizontal lakebed caused both by a groundwater head that is between the lakebed and the lakebed plus SURFDEPTH and a lake stage that is also between the lakebed and the lakebed plus SURFDEPTH. This method provides a smooth transition from a condition of no groundwater discharge to a lake, when groundwater head is below the lakebed, to a condition of increasing groundwater discharge to a lake as groundwater head becomes greater than the elevation of the dry lakebed. The method also allows for the transition of seepage from a lake to groundwater when the lake stage decreases to the lakebed elevation. Values of SURFDEPTH ranging from 0.01 to 0.5 have been used successfully in test simulations. SURFDEP is configured by default to a value of 0.25. the interaction between the lake and groundwater is saved in the BDGLAK and is a per cell lumped volume. inspect the *.LST-file for more detailed information on total water balances per lake and in- and/or outflow to streams that are connected; the LAK package is very sensitive to non-convergence, a quasi steady-state approach and/or a transient implementation with small time steps is recommended. no solute transport is supported. MNW MultiNode Well Package The existing Multi Node Well package of MODFLOW2005 (Halford and Hanson (2002), Konikow et al. (2009)) was implemented in iMOD. The Multi-Node Well package is used to simulate “long” wells that are connected to more than one model layer; the abstraction rate is vertically distributed proportional to the transmissivity adjacent to the well screen; e.g. when a hydraulic head gradually drops below the top of a well screen the yield of this shallow part of the well will also gradually drop. MODFLOW computes the head at a block-centered node of a finite-difference grid on the basis of a fluid mass balance for fluxes into and out of the volume of the cell of interest, including flow in or out of a well located within the surface area (and volume) of that cell. However, because of differences between the volume of a cell and the volume of a well-bore, as well as differences between the average hydraulic properties of a cell and those immediately adjacent to a well, it is not expected that the computed head for the node of a finite-difference cell will accurately reproduce or predict the actual head or water level in a well at that location. Furthermore, if the length of the open interval or screen of a vertical well is greater than the thickness of the cell, then the head in the well would be related to the head in the ground-water system at multiple levels (and at multiple locations for a non-vertical well). Thus, if the user needs to estimate the head or water level in a well, rather than just the head at the nearest node, then additional calculations are needed to correct for the several factors contributing to the difference between the two. 774 of 812 Deltares Theoretical background As denoted by the name of the package, the advantage of the MNW package benefits mostly whenever wells are considered that discharge from a multi-aquifer system. Since the MNW package can deal with intra borehole flow and computes a realistic head loss at the well, this makes the package mostly applicable for multi-layered unconfined systems. In the case that the well falls dry, this is more realistic simulated with the MNW package, more-over, the total strength of a multi-layered extraction system remains intact as-much-as possible during a simulation. This example also demonstrates that the well discharge is not simply proportional to the transmissivities of the multiple aquifers screened by the well. For single penetrating, confined system the MNW is similar to the WEL package. MNW computes a hydraulic head in the cell hn such that it equals the computed hydraulic head at the well minus a head loss term (e.g. the Thiem equation, we neglect in this tutorial head loss due to skin and local turbulence effects) for that particular cell, so: hWELL − hn = Qn 2πT CWCn = 0 ln rw 2πT Qn = (hWELL − hn ) CWCn hWELL = ln rrw0 CWCn hn +Qn CWCn T r (12.7) DR AF where CWCn is the cell-to-well conductance m2 /d; Qn is the well rate (m3 /d), T is transmissivity of the aquifer (m2 /d) at the well, r0 is the peffective radius of a finite-difference cell (m), this is assumed for isotropic conditions as r0 = 0.14 ∆x2 + ∆y 2 ; rw is the actual radius of the well. Because r0 is typically much greater than rw , the head in a pumping well will be lower than the model-computed head. The problem is solved by MODFLOW via estimations of hWELL and Qn that lag an iteration behind estimated of hn because the above mentioned equation are solved explicitly. This causes slow convergence of the solver if the MNW cells are incorporated in MODFLOW as a general-head boundary (subtract CWCn from HCOF and subtract CWCn × hWELL from RHS). Convergence is accelerated by alternately incorporating the MNW cells as specified rates in odd iterations (subtract Qn from RHS) and as general-head boundaries in even iterations. Note: Multi-node wells with cell-to-well conductances that are “too great” tend to make MODFLOW numerically unstable. Cell-to-well conductances increase as cell size is decreased, which also decreases the effective external radius (r0 ). Cell-to-well conductances become greater as r0 approaches rw and are undefined if r0 is less than or equal to rw . For these small cells, a pumped well should be simulated as a high-conductivity zone as cell area approaches the cross-sectional area of a well. 12.31 UZF Unsaturated Zone Package The existing Unsaturated Zone Flow package of MODFLOW2005 (Niswonger et al. (2006)) has been implemented in iMOD. Percolation of precipitation through unsaturated zones is important for recharge of ground water. Rain and snow melt at land surface are partitioned into different pathways including runoff, infiltration, evapotranspiration, unsaturated-zone storage, and recharge. The package was developed to simulate water flow and storage in the unsaturated zone and to partition flow into evapotranspiration and recharge. A kinematic wave approximation to Richards’ equation is solved by the method of characteristics to simulate vertical unsaturated flow. The approach assumes that unsaturated flow occurs in response to gravity potential gradients only and ignores negative potential gradients (upward capillary flow); the approach further assumes uniform hydraulic properties in the unsaturated zone for each vertical column of model cells. The iMOD implementation of the UZF package has the following limitation and/or assumptions: the UZF can be added to the model in a spatially distributed way and therefore for user-specified areas. The pointer value for this needs to be negative to ignore any UZF at that particular location, the absolute value in this IDF file is the model layer for which the upper elevation will be used to specify the surface level; Deltares 775 of 812 iMOD, User Manual the RCH- and or EVT packages can be used with the UZF package simultaneously, it is a user responsibility not to overlap these concepts with the UZF; whenever the UZF package is active, iMOD will include the WETDRY option automatically for each model layer; the computed net recharge is saved in the BDGUZF file. the package also accounts for land surface runoff to streams and lakes, however this is not supported by iMOD. by default iMOD uses the permeability as specified for model layer 1, to be equal to the saturated permeability used by the UZF package. 12.32 12.32.1 PKS Parallel Krylov Solver Package Introduction 12.32.2 DR AF T The Parallel Krylov Solver (PKS) for speeding-up computations is a new package that is being developed in cooperation with the USGS, Utrecht University, Alterra and Delft University of Technology (Verkaik et al. (2016)). PKS is basically a linear solver that is largely based on the PCGU-solver in MODFLOW-USG for unstructured grids (Panday et al. (2003)) and is used in iMODFLOW for structured grids. PKS is suitable for coarse-grained problems, where the computational time for each subdomain is much larger than the actual communication overhead. Mathematical model Subject for PKS is solving the linear system of equations, resulting from the finite-volume discretization of the groundwater flow equation (Harbaugh (2005)), to be denoted by: Ah = b, (12.8) 2 where A is a square, symmetric, positive-definite coefficient matrix [L /T] that includes cell-by-cell conductances, calculated using cell dimensions and hydraulic conductivities at cell interfaces, and unknown components of sink/source and storage terms; h is the vector of unknown heads at time t; and b is a known vector of source/sink and storage terms. It can be shown mathematically that convergence of iterative methods is strongly related to the spectral properties (eigenvalues) of the coefficient matrix. Instead of solving the system (12.8), it is more efficient to solve the (left-)preconditioned equivalent M −1 Ah = M −1 b, (12.9) where M is called the preconditioner. Choosing M is usually done such that M is a good approximation of A, the eigenvalues of M −1 A are clustered around 1, and the system involving M is much easier to solve than the original system. The PKS solver is a so-called Schwarz domain decomposition solver (Dolean et al. (2015)) and uses a parallel Additive Schwarz (AS) preconditioner1 : −1 Mjac = X A−1 i , (12.10) i where Ai corresponds to the (local) interior coefficients of the (global) coefficient matrix A for subdomain i. Basically, this corresponds to the block-Jacobi (block-diagonal) preconditioner, after numbering the unknowns over the sub-domains. PKS solves the preconditioned sytem (12.9) with the AS-preconditioner (12.10) using the Conjugate Gradient (CG) Krylov subspace method, resulting in the so-called CG-Schwarz method. Within CG, −1 application of Mjac can be fully done in parallel. The corresponding sub-domain solutions are obtained inaccurately by ILU(0) (zero fill-in incomplete LU-factorization) preconditioning of Ai only. PKS only supports Dirichlet interface transmission conditions and does not (yet) support coarse-space correction like deflation. 1 To be more precise, an overlapping Restricted Additive Schwarz preconditioner is implemented, but for iMOD, only a fixed overlap of 1 is being used, corresponding to the non-overlapping case. 776 of 812 Deltares Theoretical background Implementation and some practical considerations Inter-subdomain communication PKS follows a so-called distributed memory parallellization approach, where each subdomain is uniquely assigned to one computational core (process), using local memory (RAM) only. In this way PKS is scalable regarding problem size and hardware. Exchanging data between subdomains is done by the Message Passing Interface, and typically involves communication for each CG inner (Schwarz) iteration, ensuring a tight coupling: local (point-to-point) communication for the vector update and global (all-reduce) communications for computing interior products and evaluating stopping criteria. Since this is done for each inner iteration the expected speed-up in computational time with PKS largely depends on MPI (latency and bandwidth). T Typically, PKS is suitable through MPI on fast networks, like Infiniband/Myrinet on Linux clusters, or MPI through memory such as multi-core CPUs on desktop/laptop machines or shared-memory machines like SGI-clusters. For the current generation of multi-core CPUs, e.g. Intel Haswell E5-2698v3 16-core CPU, one should keep in mind that for large, memory-driven, groundwater models the actual bandwidth between processor and memory limits the parallel performance. In practice, this means it may be sometimes more beneficial to use less than the maximum number of cores. Note: On desktops/laptops with multi-core CPUs it may be beneficial not to use all cores. DR AF 12.32.3 Load balance Besides MPI communication, load balance is also very important for parallel performance. This means that the actual work/load should be distributed as equally as possible over the multiple computational cores. PKS now supports two methods: uniform in x,y-direction, and the Recursive Coordinate Bisection (RCB) method. The RCB method, recursively, weight the user-defined load, by alternating in horizontal and vertical direction. Figure 12.18 shows an example of both methods for the Netherlands Hydrological Model (De Lange et al. (2014)) and 128 subdomains. Figure 12.18: Two partitioning methods for the Netherlands Hydrological Model based on weights as specified by the boundary grid. Left: uniform partitioning; right: recursive coordinate bisection partitioning. For this example the uniform partitioning method (left) results in some subdomains containing zero cells, since in this case the model boundary (IBOUND) is irregular, while the RCB method (right) results in a more optimal partitioning. Although RCB results in optimal load, it does not result in an optimal communication scheme regarding MPI. One should notice that even with the RCB and irregular boundaries, finding the optimal weight can be hard and subject for trial-and-error. For each MODFLOW cell, the weight can varying due to for example boundary conditions (stresses) and coupling concepts. Deltares 777 of 812 iMOD, User Manual Input/output Another parallel performance aspect that is important is input/output (I/O). PKS supports parallel binary (clipping) reading of model IDF input files and parallel writing of IDF output files, that can be merged by the master MPI process afterwards. However, the actual I/O performance depends on the given hardware (e.g. type of hard drive) and file system configuration. When too many MPI processes simultaneously try to access one hard drive it can slow down I/O. This is typically the case for common off-the-shelf desktops or laptops. On the other hand, super computers use parallel file-systems - e.g. Lustre file systems - to tackle this problem by accessing multiple hard drives simultaneously. Note: In general, it is always recommended to try to minimize model output. 12.33 Introduction T 12.33.1 PST Parameter estimation DR AF In mathematics and computing, the Levenberg-Marquardt algorithm (LMA) provides a numerical solution to the problem of minimizing a function, generally nonlinear, over a space of parameters of the function. These minimization problems arise especially in least squares curve fitting and nonlinear programming. The LMA interpolates between the Gauss–Newton algorithm (GNA) and the method of gradient descent. The LMA is more robust than the GNA, which means that in many cases it finds a solution even if it starts very far off the final minimum. For well-behaved functions and reasonable starting parameters, the LMA tends to be a bit slower than the GNA. LMA can also be viewed as Gauss–Newton using a trust region approach. The LMA is a very popular curve-fitting algorithm used in many software applications for solving generic curve-fitting problems. However, the LMA finds only a local minimum, not a global minimum. The used algorithm is known as the Levenberg-Marquardt algorithm (LMA) that goes back to 1943 as Kenneth Levenberg presented his work to the Mathematical Society at their annual meeting (Levenberg, K. The Quarterly of Applied Mathematics 2, 164 (1944)). Marquardt on the other hand popularized the method by distributing his FORTRAN code for free. In the following section a brief overview is given of the Levenberg-Marquardt algorithm and its implementation in iMODFLOW. Most of the following LMA implementation has been based on the paper of Olsthoorn (1995), Effective Parameter Optimization for Ground-Water Model Calibration, Groundwater, Vol. 33, no.1) and the paper of Knorr BM (2011), The Levenberg-Marquardt Algorithm, Seminar in Modern Physics, Summer 2011 and the PEST Manual of Doherty (2010). 12.33.2 Methodology The core of parameter estimation is the minimization of some error criterion, cost or objective function Φm (p), that depends on a parameter vector p with elements pi → i = 1, Np where Np denotes the number of unknowns to be optimized (i.e. the amount of parameters). In general the objective function Φm (p) is the sum of squares sum of the individual errors notated as: T Φm (p) = (y − φ(p)) Q1 (y − φ(p)) where y are the measurements with elements yi → i = 1, Nh ; where Nh denotes the number of observations; φ(p) are the computed head for the parameters defined in p and Q is the weight matrix assigned to the observations defined as: 1 Qi,i = p 2 σi where Qi,i is the weight for the ith observation. The variance σi2 is the squared standard deviation σi that measures the amount of variation from the average. A low σi indicates that an particular observation yi should be able to the meet the corresponding computed head φi more closely that observations with higher values of variations σ . It is possible to specify weight values Qi,i or variances σi2 in iPEST. 778 of 812 Deltares Theoretical background The Levenberg-Marquardt algorithm is applied to minimize the objective function value by adjusting the individual values for the parameter vector with αi pi where αi is the optimal multiplication factor for the ith parameter that yields a minimal objective function value. In order to arrive at a valid minimal objective function value, it is advisable to let Nh substantially larger than the number of parameters Np (Yeh and Yoon (1981), Aquifer parameter identification with optimum dimension in parameterization, Wat.Res.Res, v17, no. 3, pp. 664-672) or apply regularisation as done by the Pilot Point concept (Doherty, 2003), see subsection 12.33.4. The Gradient Descent Method (the simplest method) approaches the minimum of the objective function Φm (p) by adjusting each parameter according to: pi+1 = pi − ζi ∇Φm (pi ), DR AF T where the subscript i denotes the sequential parameter iteration (parameter update cycle) and ζi is a weighting factor for the ith cycle. It says that for each cycle i, the individual parameter sensitivities (∇Φm (p)) to the residual surface (i.e. the multi dimensional representation of the objective function), multiplied with a weighting factor ζ will contribute to a reduction on the objective function. In this way steps are taken towards the minimum according to the gradient ∇ of the residual surface. The problem is that the Gradient Descent Method takes large steps in those areas of the residual surface that have small gradients and it takes small steps for those areas with large gradients. It normally leads to zigzagging in long narrow valleys on the Φm (p) residual surface. The Gauss-Newton method replaces the scaling factor ζ by the inverse of the curvature (second derivative∇2 Φm (p) often called the Hessian) of the Φm (p) surface and interchanges the undesired behaviour of the Gradient Descent Method. It therefore converges faster, so: pi+1 = pi − ∇2 Φm (pi ) −1 ∇Φm (pi ). The gradient ∇Φm (p) is denoted as the Jacobian J and each column in that matrix J is defined by: J= φ(pi ) − φ(p0 ) ∂φ = , ∂ pi ∆αi where J is a Jacobian matrix Nh × Np (number of observations row wise and number of parameters column wise) and represents the sensitivity of the residual for each observation point according to a small perturbation ∆αi in the ith parameter compared to the original parameter value p0 . Since the algorithm assumes linearity over the interval ∆αi , the second derivative ∇2 Φm (p) is approximated by JT QJ in the neighbourhood of p0 . This yields the following Gauss-Newton parameter update formula: pi+1 = pi + ∆pi ∆pi = −2 JT QJ −1 JT Q (y − φ(p)) where Q is the diagonal weight matrix with individual weight values qi in the diagonal, where the product −2JT Q (y − φ(p)) represents the steepest gradient on the residual surface. If parameters are far from their optimum, which they are probably initially, this JT QJ is only a crude approximation of the true Hessian matrix. As a result the parameter update vector ∆p might be quite wrong which can result in a failure to converge. The great insight of Levenberg was to simply combine the Gradient Descent and the Gauss-Newton Methods to include a damping factor λ which determines how much of the Gradient Descent or Gauss-Newton Method to include, so: −1 T ∆p = −2 JT QJ − ψ I J Q (y − φ(p)) where I is the identity matrix. Whenever ψ is large, the parameter update will be determined more by the Gradient Descent Methods and whenever ψ is small, the Gauss-Newton Method will be included significantly. The great insight of Marquardt is to replace the identity matrix I by the diagonal of the matrix JT QJ, so: −1 T ∆p = −2 JT QJ − ψdiag(JT QJ) J Q (y − φ(p)) Olsthoorn (1994) suggested to adjust ψ such that the yielding parameter update vector ∆p is within a certain trust hyper sphere (with a radius around the current parameter vector which is determines Deltares 779 of 812 iMOD, User Manual by their minimal en maximal values and a maximal ∆p compared to the previous iteration). So, by starting at a small value for ψ (full confidence in the contribution of Gauss-Newton), it will increase until all parameter vectors are within their trust hyper sphere. It should be noticed that parameters that exceed their upper and or lower bounds, within their trust hyper sphere, will influence the parameter update for the other parameters and coming iterations. This is circumvented by temporarily remove the Jacobian vector Ji for that particular parameter i and hold the parameter at their upper- or lower bounds (i.e. a frozen parameter). On later iterations, the parameter will be included whenever the parameters vector will be calculated that moves parameters from their bounds back into the allowed parameter domain. DR AF T In the figure below it is demonstrated how the trusted hyper sphere affects the behaviour of convergence to the minimum of the Φm (p) surface. In practice, small trust hyper spheres will yield more iterations than large trust hyper spheres; however, the latter can zigzag from one side of the valley onto the other side. In table the following behavior has to be expected for the different settings. Figure 12.19: Example of the different behaviours in a common Φm (p) surface for different trust hyper spheres, purple=1000, green=100, red=10 and blue=2. Solid lines are Levenberg and dashed lines are Marquardt. 12.33.3 Eigenvalue Decomposition Identifiability of the parameters to be optimized is a prerequisite of model calibration. This means that a unique set of parameters values p yields a unique head φ field. In fact, all information for identifiability of the parameters is contained in the Jacobian matrix of the model at the optimum values of the parameters. J= ∂φ ∂φ ∂φ , , ..., ∂pi ∂pi+1 ∂pnp The Jacobian reveal the observability of the parameters by virtue of its rows and columns. Each row expresses the sensitivity of a single observation with respect the set of parameters. Each column expresses the sensitivity of all observations with respect to a single parameter. Some fundamental studies have been carried out which shed light of the inverse problem with respect to the identifiability parameters (Dietrich, 1990, Speed and Ahlfeld, 1996). These are based on the singular value decomposition of the sensitivity matrix, they even define the dimensions of the inverse problem, given the model and the data. Their conclusions should be valid if they are based on the optimum parameters and if the model is no too non-linear near its optimum. JT QJ v = Λv 780 of 812 Deltares Theoretical background 1 12.33.4 12.33.4.1 DR AF T where Λ contains the ordered eigenvalues (singular values are Λ 2 ) and v are the√ eigenvectors. The eigenvectors are representing the axis of the residual surface, the eigenvalues λi represent the length of axis i. The ratio between the first and last eigenvalues is the condition number κ = λ1 /λn . As a general rule of thumb, if the condition number κ(A) = 10k =⇒ k = log(κ), then you may lose up to k digits of accuracy on top of what would be lost to the numerical method due to loss of precision from arithmetic methods. However, the condition number does not give the exact value of the maximum inaccuracy that may occur in the algorithm. It generally just bounds it with an estimate (whose computed value depends on the choice of the norm to measure the inaccuracy). An informal rule of thumb is that if the condition number κ = 15, multicollinearity is a concern (multicollinearity or collinearity is a statistical phenomenon in which two or more variables in a multiple regression model are highly correlated); if it is greater than κ > 30 multicollinearity is a very serious concern. But again, these are just informal rules of thumb. The size of the condition number determines the shape of the minimum in the residual surface. Whenever the condition number is small, the parameters are identifiable, they all contribute significantly and unique to the residual surface. Whenever the eigenvalues decomposition leads to eigenvalues of zero, it means that the matrix JT QJ is singular; in that case the determinant is zero. Whenever this occurs, it means that the current rank of the Jacobian matrix is less than the actual dimensions of the Jacobian matrix, in other words, there is a redundancy in the data, as a consequent it is impossible to generate a unique solution. There is a true linear dependency in the data. More often, the smallest eigenvalue might be very small that blow up small errors in the observations and cause large error in (some of) the estimated parameters. It is important to compute those eigenvalues from the covariance matrix stored in double precision. Pilot Points and Regularisation Kriging Kriging is a stochastic interpolation method used to estimate the value of an attribute at an unknown location. The beauty of Kriging is that coincides that the unknown values, that need to be interpolated, meet the statistics of the measurement points. Hence the predicted location obtains the lowest statistical probability of not yielding the desired result. Kriging uses prior knowledge about the spatial distribution of an event such as permeability’s: this prior knowledge encapsulates how permeability varies over a given region. Then, given a series of measurements of permeability’s, Kriging can predict permeability’s at unobserved points x∗ . The predicted value ẑ at location x∗ is defined by: z1 z2 wn · .. ẑ(x∗ ) = w1 , w2 , · · · . zn where wi are the weighting variables for each of the measurements zi . It is different than Inverse Distance Weighting (IDW) which also ignores the spatial location of the sample points and assign weight variables based on the distances between measuring points and unknown points. In Kriging, however, statistics is used to assign values to the weighting variable, such that all locations are related but nearby locations are more related than more distant locations. Moreover, for locations that are strongly correlated, those with less correlation with the estimation location, are effectively ignored. The covariances (interrelationship) and thus the Kriging weights, are determined entirely by the data. The measure that determines the interrelationship between all locations is given by the semivariance. It describes the variance of variables γ when the corresponding pair of points xi and xj are at some distance (d = |xi − xj |) apart, such that: γ (d) = N (d) X 1 2 (z (xi ) − z (xi + d)) 2N (d) i=1 where zi is the value of the measurement at location i, zj at location j within the distance d and N (d) represents the number of data points that belong to d, normally d represents a certain tolerance of distance. The correlation between the variables solely depends on the spatial distance that separates them and is independent of its true location (i.e. stationarity of the second moment). The key here is to take as many samples within the study region as possible to insure the statistical accuracy of the semivariance at each distinct distance d and be able to calculate an average semivariance (from all Deltares 781 of 812 iMOD, User Manual sample points). Those semivariances combined, defines a semivariogram. Intersecting the semivariogram in three places provides the nugget (the height of the jump of the semivariogram at the origin), the sill (highest level of semivariance) and the range (where the line of best fit for the semivariance has slope of zero). This means that beyond the range no relationship exists between corresponding pair of points. The nugget effect can be attributed to measurement errors or spatial sources of variation at distances smaller than the sampling interval or both. Measurement error occurs because of the error inherent in measuring devices. Natural phenomena can vary spatially over a range of scales. Variation at microscales smaller than the sampling distances will appear as part of the nugget effect. Before collecting data, it is important to gain some understanding of the scales of spatial variation. It often happens that the semivariogram is a good match for spherical functions, however, linear and/or exponential functions (acts as a kind of IDW) can be applicable as well. The following expressions are used for those relationships: d range γ(d) = c0 + c1 ∗ 1.5 linear T γ(d) = c0 + c1 ∗ d d 3 − 0.5( ) range range d ) range exponential DR AF γ(d) = c0 + c1 ∗ 1.0 − exp(−3.0 spherical γ(d) = c0 + c1 ∗ 1.0 − exp(−3.0 d2 ) range2 gaussian γ(d) = c0 + c1 ∗ d0.5 power where d is the true distance between two locations. With those semivariances the weights are computed to be used in estimating values of the attribute value in unknown locations. Using the semivariances predicted from the semivariogram the results from the linear equations are the weights producing an interpolation minimizing the error in the predicted values. In these, two approaches are described and implemented in iPEST. Simple Kriging Simple Kriging assumes stationarity of the first moment (all variables have the same mean z̄ ) over the entire domain. Eventually the following system is solved for each location x∗ to obtain the weights W: γ(x1 , x1 ) ··· γ(x1 , xn ) .. . .. .. . W = K−1 S kS = . γ(xn , x1 ) · · · −1 γ(xn , xn ) γ(x1 , x∗ ) .. . γ(xn , x∗ ) The assumption that you will know the exact mean z̄ is often unrealistic. However, sometimes it makes sense to assume that a physically based model gives a known trend. Then you can take the difference between that model and the observations, called residuals, and use Simple Kriging on the residuals, assuming the trend in the residuals is known to be zero. This is done in Simple Kriging. Ordinary Kriging In Ordinary Kriging a constant unknown mean z̄ is assumed only over the search neighborhood of x∗ . So, instead of subtracting the global mean for each random variable, the mean is computed for the values in the search neighborhood of each individual location x∗ . γ(x1 , x1 ) ··· .. .. . . = K−1 k = O O µ γ(xn , x1 ) · · · 1.0 ··· W 782 of 812 γ(x1 , xn ) .. . γ(xn , xn ) 1.0 −1 1.0 γ(x1 , x∗ ) .. .. . . ∗ 1.0 γ(xn , x ) 0.0 1.0 Deltares Theoretical background where µ is the Lagrange multiplier used in the minimization of the Kriging error σk2 (x) to honor the unbiasedness condition. In other words, this µ forces the sum of the Kriging weights to become 1.0. Ordinary Kriging can be used for data that seems to have a trend. Kriging Variance By Kriging it is possible to compute the variance σ 2 of the estimated points as well. Therefore, the computed Kriging weights w need to be multiplied with the matrix k, so: γ(x1 , x∗ ) .. . µ ∗ γ(xn , x ) 1.0 p 2 . The variance estimate depends entirely on the The standard deviation of the estimate becomes σO 2 σO = wT kO = w1 , · · · wn , First-Order Second Moment Method (FOSM) Uncertainty in groundwater may be divided into two classes; intrinsic uncertainty and information uncertainty. The first class derives from the variability of certain natural properties or processes and is an irreducible uncertainty inherent to the system. The second class is the result of ”noisy“ or incomplete information about the system and may be reduced by various strategies, notable further measurements and analyses (Dettinger and Wilson, 1981). The spatial and temporal variation of parameters, such as the recharge rate, and spatial variability of properties such as hydraulic conductivity are extremely complicated. The first idea for the First-Order Second Moment Method (FOSM) was applied to groundwater by Dettinger and Wilson (1981). The first moment of the heads is assumed to first-order accuracy by the mean heads obtained as the solution of the model using the optimized values for the model parameters. The variance of the head is denoted as the Second-Order moment. The FOSM method is a approximation method and one of the most widely applied in engineering design. One of the advantages of the method is that it allows the estimation of uncertainty in the output variables without knowing the shapes of pdfs of input variables in detail. DR AF 12.33.5 T data configuration and the covariance function, not on the data values themselves. How the uncertainty of the parameters propagates into the head uncertainty is given by the parameter covariance matrix Cp . Here for we can compute the parameter covariance matrix as the total objective function value Φm divided by the degrees of freedom, so: Cp = p ei = −1 Φm JT QJ Nh − Np q p Ci,i the entries of the diagonal elements of this parameter covariance matrix are the squared standard p deviations of the uncertainties of the zonal values; the confident limits (standard error ei ) of the parameters. So, the true parameter value pi might be in between: pi − epi ≤ pi ≥ pi + epi This standard parameter error ep is a measure of how unexplained variability in the data propagates to variability in the parameters, and is essentially an error measure for the parameters. The variance indicates the range over which a parameter value could extend without affecting model fit too adversely. Moreover, from this parameter covariance matrix the correlation coefficients can be computed as: p Ri,j =q p Ci,j p p Ci,i · Cj,j The correlation matrix shows those parameters that are highly correlated whenever they have correlation factors of > 0.90 or < −0.90. This means that whenever it appears that parameter A would be Deltares 783 of 812 iMOD, User Manual larger in reality, this also will be the case for parameter B. In other words, one can be linearly predicted from the others with a non-trivial degree of accuracy. The Jacobian expresses the sensitivity in φ to variations or uncertainties in the parameters. In this case the Jacobian is computed for all nodes in the model, and not only for the location where measurements are available, as done by the Levenberg-Marquardt Algorithm (LMA), so in this case Jfosm is a NM × NP matrix as the Jacobian J for the LMA is NH × NP , where NM is the total number of model nodes. var(φ) = diag(Jfosm Cp JT fosm ) p 12.33.6 T Finally the standard head error σ φ due to the standard parameter error σ p becomes var(φ). Owing to its simplicity the First-Order Second Moment Method (FOSM) is one of the most widely used technique. Its problem, though, is it linearisation of the model-output function about the mean values of the input variables assuming to represent the statistical properties of the model output over the complete range of input values. Scaling 12.33.7 DR AF For several problems, especially those involving different types of observations and parameters whose magnitudes may differ greatly, the elements of J can be vastly different in magnitude. This can lead to roundoff errors. Fortunately, this can be circumvented to some extent through the use of a scaling matrix S. Let S be a square, n × n matrix with diagonal elements only, the ith diagonal element of S being given by: Sensitivity The possibility that a parameter estimation problem runs smoothly decreases with the number of parameters. In highly parameterized problems some parameters are likely to be more sensitive in comparison with others. As a result, the Levenberg-Marquardt algorithm may decide that large adjustments are required for their values if they are to make any significant contribution to reducing the objective function F (p). However, limits are set on parameter changes, such that the magnitude (but not the direction) of the parameter update vector is reduced. If a parameter is particularly insensitive compared to others, it may denominate the parameter update vector, yielding a large update vector. This need to be trimmed to fit the limits of the parameter update and as a result the update for other parameters might not change much at all, with a result that the objective function might be not reduced significantly at all. The result is that the convergence takes place intolerable slowly (or not at all), with a huge wastage of model runs. The relative sensitivity for a parameter is computed by: m−1 si = m P wj jij j=1 P si · 100%, where si is the sensitivity of the ith parameter and is the product of the observational weigh times the Jacobian value for that particular observation j in relation to the parameter I, divided by the total observation m. In the figure below an example is given of the relative sensitivity of different parameter during parameter estimation. 784 of 812 Deltares T Theoretical background DR AF Figure 12.20: Sensitivity ratio of different parameters during the parameter estimation process. The most sensitive parameter is the storage (S) in Figure 12.20, however, the parameter adjustment is adjusting the storage the least since the least sensitive parameter, the RIVER, determines the final parameter update vector. As can see in the decrease of the objective function, it is not the best thing to do. Whenever the sensitivity of the Rivers increase, the storage becomes more important in the gradient and the objection function declines more significantly. Figure 12.21: Parameter adjustments in relation to the reduction of the objective function value. In order to avoid the disturbance, and therefore slower convergence, due to insensitive parameters, iMODFLOW temporary holds those parameter(s). Whether a parameter is insensitive or not is determined by the ratio of their si value compared to the total sensitive value, see Figure 4.8. Deltares 785 of 812 iMOD, User Manual Example In this section a simple example is given for a single optimalisation step using the Levenberg-Marquardt algorithm as outlines in the previous sections. Suppose two parameters p1 = p2 = 1.0 need to be optimized that describe two different zones for permeability in a single modellayer. Two measurements are available, one measurement in each zone. The first simulation is to run the model with p1 = p2 = 1.0, thereafter with p1 = ∆p and p2 = 1.0 and finally with p1 = 1.0 and p2 = ∆p with ∆p = 1.1. For each measurement location the measurements zj is subtracted from the computed head φij for the ith simulation and stored in the matrix D [m], thus: D= 0 φ1 − z1 φ02 − z2 φ21 − z1 −1.484 −1.391 −1.406 ⇒ D = −1.686 −1.645 −1.513 φ22 − z2 φ11 − z1 φ12 − z2 2 (d1 − d11 )/∆p1 J= (d22 − d12 )/∆p2 T From D it is obvious that both parameters decline the objective function by a multiplication of ∆p. An adjustment in p1 does reduce the measurement z1 mostly and p2 reduces the second measurement z2 . However, both parameters influence both measurements and therefore both parameters cannot be estimated separately as they are correlated to eachother. This is more clear in the Jacobian J [m/∆p], defined as: (d31 − d11 )/∆p1 0.976 ⇒J= 0.430 (d31 − d11 )/∆p2 0.818 1.815 where dij represent the ith column and j th row from the D matrix. As it is common to apply a log transformation whenever permeabilities are calibrated, the value for ∆p = log(1.1) = 0.0953. Based on the Jacobian, the Hessian H [∆p2 /m2 ] is computed as: DR AF 12.33.8 −1 T H = (J QJ + ψ I) 1.137 = 1.585 1.585 3.977 −1 1.979 = −0.789 −0.789 0.566 where Q is an identity matrix with diagonal values of 1.0, so every measurement has equal weights. The Hessian is proportional to the curvature of the plane of the objective function Φ, it implies a large step in the direction with low curvature (i.e., an almost flat terrain) and a small step in the direction with high curvature (i.e, a steep incline). From the Hessian the parameter covariance Cp [∆p2 ] is estimated as: 4.266 1.979 −0.789 Φm 8.442 H= = C = −0.789 0.566 −3.365 max(1.0, Nh − Np ) 1 p −3.365 2.414 where the total objective function Φ = 4.266 m2 and the number of measurements Nh = 2 and the number of parameter Np = 2. From these parameter covariance matrix the parameter standard error ep [∆p] can be computed as: p e = p 2.905 diag(C ) = 1.554 p In other words, the twice the parameter standard error represents 95% of the confident limits of the parameter. In this case the current parameter value is highly uncertain as it ∆p1 ± 2.905 and ∆p2 ± 1.554. Since the parameter is log transformed, the confident limits of the parameters are currently: exp(∆p1 = 0.0 ± 2.905) −→ 0.0033 > ∆p1 < 297.32 exp(∆p2 = 0.0 ± 1.554) −→ 0.0476 > ∆p2 < 21.02 As the optimization of the parameters continues, this parameter standard error should decline as the objective function value Φ declines and the Jacobian will be become more flattened in the minimum of the plane of Φ. As a result the confident limits decreases as well. Another useful parameter is the correlation matrix Rp that can be computed from the covariance matrix Cp easily. Rp = 786 of 812 1.0 −0.745 −0.745 1.0 Deltares Theoretical background From this correlation matrix is can be observed that both parameters are not correlated significantly and can be determined in combination. Another method of determining the uniqueness of the covariance matrix is the computation of its eigenvalues and eigenvectors, so: 1.137 (J QJ)v = Λv = 1.585 T 1.585 3.977 0.408 0.913 0.913 91.611 1.137 1.585 = −0.408 8.389 1.585 3.977 1 where Λ contains the ordered eigenvalues (singular values are Λ 2 ) and v are the√ eigenvectors. The eigenvectors are representing the axis of the residual surface, the eigenvalues λi represent the length of axis i. The ratio between the first and last eigenvalues is the condition number κ, thus κ = 91.611/8.389 = 10.920. This condition number κ is relatively small and therefore the problem is well-conditioned; the parameters are identifiable, they all contribute significantly and unique to the residual surface. The Gradient Descent gradient ∆p∗ of the parameter adjustment becomes: 0.976 0.430 0.818 1.815 1.0 0.0 1.0 0.0 −1.484 2.177 = −1.686 4.280 T ∆p∗ = −JT Qd1 = − DR AF The parameter update becomes the exp() of the computed Gradient Descent gradient, so ∆p1 = 8.82 and ∆p2 = 72.24, which is rather huge that can be reduced within the limits of a trust hypersphere. Whenever the Hessian H is included (at this stage the ψ is assumed to be 0.0 meaning that the full Gauss-Newton algorithm is applied, this ψ normally increases during the optimisation such that in the final stage the parameter update will be more equal to the Gradient Descent method) the final parameter update vector ∆p becomes: ∆p = −HJT Qd1 = − 1.979 −0.789 −0.789 −0.566 −2.177 0.931 = −4.280 0.705 The elements for the final parameter update ∆p becomes ∆p1 = exp(0.0 + 0.931) = 2.537 and ∆p2 = exp(0.0 + 0.705) = 2.024. After this the sequence starts again. 12.33.9 Remarks Notes: Do not use parameter adjustments that are too large, whenever many parameters are concerned use a step size of 2, whenever you have less parameters you can increase this to a maximum of 10; Experiment with different starting values for a parameter to see whether you end up with the same optimal values; 12.34 Serial runtimes The time that a simulation will consume depends on many things, e.g. the type of machine that you’re using (hardware), and the configuration of your model. So, the consumption of the ANI package is more than whenever the HFB package is used to simulate any type of horizontal anisotropy. Deltares 787 of 812 DR AF T iMOD, User Manual Figure 12.22: Computed run times for a single time step, for several different amount of nodes. The results are based on the simulation of the IBRAHYM model for 5843 time steps, and cell sizes varying in between 25m2 and 1000m2 . On average is seems that the simulation time is related to the number of nodes as follows: Time (seconds) = 3.0−6 × Nodes1.15 × Number of Time steps Nodes = 12.35 Time (seconds) −6 3.0 × Number of Time steps 1 1.15 Timestep Just a small nodal spacing is desirable, one would like to use small time steps to obtain an accurate solution as well. A good order-of-magnitude is to estimate the critical time step ∆tc with a formulae given by de Marsily (1986). For a homogeneous and isotropic aquifer ∆tc can be estimated by: 2 ∆tc = S (∆x × ∆y) 4T whereby ∆x and ∆y are the cell sizes of the model (m), S (-) is the porosity values and T is the transmissivity value (m2 /day). The result of the equation is given in the following figure: 788 of 812 Deltares DR AF T Theoretical background Figure 12.23: Estimated critical time step (y-axis) for a porosity of S = 0.15 and different values for transmissivity (x-axis) and cell sizes (coloured lines) Deltares 789 of 812 DR AF T iMOD, User Manual 790 of 812 Deltares References Ang, A.-S. and W. Tang, 1975. First-Order-Second-Moment (FOSM) analyse, Probability Concepts in Engineering Planning and Design,, vol. I Basic Principles. John Wiley & Sons, Inc., New York, USA. Berendrecht and Others, 2007. “A Methodology for Interactive Planning for Water Management.” In Oxley, L. and Kulasiri, D. (eds) MODSIM 2007 International Congress on Modelling and Simulation Modelling and Simulation Society of Australia and New Zealand, pages 74-80. De Lange, W. J., G. F. Prinsen, J. C. Hoogewoud, A. A. Veldhuizen, J. Verkaik, G. H. P. Oude-Essink, P. E. V. van Walsum, J. R. D. J. C. Hunink, H. T. L. Massop and T. Kroon, 2014. “An operational, multiscale, multi-model system for consensus-based, integrated water management and policy analysis: The Netherlands Hydrological Instrument.” Environmental Modelling & Software 59: 98-108. T Dettinger, M. and J. Wilson, 1981. “First Order Analysis of Uncertainty in Numerical Models of Groundwater Flow.” Water Resources Research 17 (1): 149-161. Part 1. Mathematical Development. Doherty, J. E., 2003. “Ground water model calibration using pilot points and regularization.” Groundwater 41 (2): 170-177. DR AF Doherty, J. E., 2010. Approaches to highly parameterized inversion - A guide to using PEST for groundwater-model calibration. Tech. Rep. 2010-5169, U.S. Geological Survey Scientific Investigations, Reston, Va. U.S. Dept. of the Interior, U.S. Geological Survey. Dolean, V., P. Jolivet and F. Nataf, 2015. An introduction to domain decomposition methods. Society for Industrial and Applied Mathematics (SIAM), Philadelphia, PA. Algorithms, theory, and parallel implementation, PDF: https://www.ljll.math.upmc.fr/nataf/ OT144DoleanJolivetNataf_full.pdf. Glasgow, H., M. Fortney, J. Lee, A. Graettinger and H. Reeves, 2003. “MODFLOW 2000 head uncertainty, a first-order second moment method.” Groundwater 41 (3): 342-50. Halford, K. and R. Hanson, 2002. User Guide for the Drawdown-Limited, Multi-Node Well (MNW) Package for the U.S. Geological Survey’s Modular Three-Dimensional Finite-Difference GroundWater Flow Model, Versions MODFLOW-96 and MODFLOW-2000. Tech. Rep. Open-File Report 02-293, 33 p., U.S. Geological Survey. Harbaugh, A., 2005. MODFLOW-2005, The U.S. Geological Survey Modular Ground-Water Model— the Ground-Water Flow Process. Tech. rep., USGS. Konikow, L. F., G. Z. Hornberger, K. J. Halford, R. T. Hanson and A. W. Harbaugh, 2009. Revised Multi-Node Well (MNW2) Package for MODFLOW Ground-Water Flow Model. Tech. rep., USGS. Kunstmann H., K. W. and S. T., 2002. “Conditional first-order second-moment method and its application to the quantification of uncertainty in groundwater modelling.” Water Resources Research 38 (4). Leake, D., S.A. Prudic, 1991. Documentation of a computer program to simulate aquifer-system compaction using the modular finite-difference ground-water flow model. Tech. rep., U.S. Geological Survey, Techniques of Water-Resources Investigations, Book 6, Chapter A2. Leake, M. R., Stanley A. Lilly, 1997. Documentation of computer program (FHB1) for assignment of transient specified-flow and specified-head boundaries in applications of the modular finite-diference ground-water flow model (MODFLOW). Tech. rep., U.S. Geological Survey. Open-File Report 97571. Maskey, S. and G. V., 2012. “Improved first-order second moment method for uncertainty estimation of flood forecasting.” Hydrological Sciences Journal . McDonald, M. and A. Harbaugh, 1988. A modular three-dimensional finite-difference ground-water flow model: Techniques of Water-Resources Investigations of the United States Geological Survey. Tech. rep., USGS. Deltares 791 of 812 iMOD, User Manual Merritt, M. L. and L. F. Konikow, 2000. Documentation of a Computer Program to Simulate Lake-Aquifer Interaction Using the MODFLOW Ground-Water Flow Model and the MOC3D Solute-Transport Model. Tech. Rep. Water-Resources Investigations Report 00-4167, U.S. Geological Survey. Minnema, B. e. a., 2013. “Utilization of Interactive MODeling (iMOD) to Facilitate Stakeholder Engagement in Model Development Using a Sustainable Approach with Fast, Flexible and Consistent Sub-Domain Modeling Techniques.” In MODFLOW AND MORE 2013: TRANSLATING SCIENCE INTO PRACTICE. Colorado, The United States of America. Niswonger, R., D. Prudic and R. Regan, 2006. Documentation of the Unsaturated-Zone Flow (UZF1) Package for modeling unsaturated flow between the land surface and the water table with MODFLOW-2005. Tech. Rep. Techniques and Methods Book 6, Chapter A19, 62 p., U.S. Geological Survey. T Panday, S., C. D. Langevin, R. G. Niswonger, M. Ibaraki and J. D. Hughes, 2003. An unstructured grid version of MODFLOW for simulating groundwater flow and tightly coupled processes using a control volume finite-difference formulation. Tech. Rep. book 6, chap. A45, 66 p., U.S. Geological Survey. Open-File Report. DR AF Pollock, D., 1994. User’s Guide for MODPATH/MODPATH-PLOT, Version 3: A particle tracking postprocessing package for MODFLOW, the U.S. Geological Survey finite-difference ground-water flow model. Tech. Rep. 94-464 6 ch., U.S. Geological Survey. Open-File Report. Prudic, D. E., L. F. Konikow and E. R. Banta, 2004. A New Streamflow-Routing (SFR1) Package to Simulate Stream-Aquifer Interaction with MODFLOW-2000. Tech. rep., U.S. GEOLOGICAL SURVEY. Van Walsum, P. E. V., 2017a. SIMGRO V7.3.3.2, Input and Output reference manual. Tech. Rep. Alterra-Report 913.3, Alterra, Wageningen. 98 pp. Van Walsum, P. E. V., 2017b. SIMGRO V7.3.3.2, Users Guide. Tech. Rep. Alterra-Report 913.2, Alterra, Wageningen. 111 pp. Van Walsum, P. E. V. and P. Groenendijk, 2008. “Quasi Steady-State Simulation on of the Unsaturated Zone in Groundwater Modeling of Lowland Regions.” Vadose Zone Journal 7: 769-778. Van Walsum, P. E. V., A. A. Veldhuizen and P. Groenendijk, 2016. SIMGRO V7.2.27, Theory and model implementation. Tech. Rep. Alterra-Report 913.1, Alterra, Wageningen. 93 pp 491. Verkaik, J., J. D. Hughes, E. H. Sutanudjaja and P. E. V. van Walsum, 2016. “First Applications of the New Parallel Krylov Solver for MODFLOW on a National and Global Scale.” In 2016 AGU Fall Meeting. San Francisco, California, USA. Vermeulen, P., 2006. Model-Reduced Inverse Modeling. Ph.D. thesis, Delft, University of Technology. With summary in Dutch. ISBN-10: 90- 9020536-5. ISBN-13: 978-90-9020536-6. Vermeulen, P., B. Becker and T. Heinz, 2014. Coupling iMOD-SOBEK. Coupling of a surface waterand groundwater flow model to compute bank storage effects in wetlands along the Elbe River on different grid resolutions. Tech. rep., Bundesanstalt für Gewässerkunde. Koblenz, Germany. Vermeulen, P. and Others, 2013. “Groundwater modeling for the Mekong delta using iMOD.” In 20th International Congress on Modelling and Simulation (MODSIM2013). 792 of 812 Deltares Release Notes iMOD-GUI 3.01.00 Date Based On Changed Functionality 18-9-2015 3.00.00 SVN 32 SVN 33 SVN 46 SVN 46 - Displays Bitmaps in the SOLID TOOL, in cross-sections and 3D displays. - MODFLOW2000 does not have the capability as MODFLOW2005 does, to use LENUNI and ITMUNI; when importing a MODFLOW2000 model LENUNI and ITMUNI are set separately. - Keywords MONTHLY and YEARLY added to the functionality of the iMODBATCH function XYZ2IDF. In combination with a transient IPF (including a TXT file), it is possible to grid the IPF for mean values for selected years or months. - Changed ACCURACY from EPSILON(1.0) to 0.0 in the IMODPATH. This influences the minimal velocity that determines whether a particles does not move anymore, by changing it into 0.0 m/day, particles will continue until they truly stop. The value EPSILON(1.0) yielded the value 1.1920929E-07 m/day. - Changed the method to write the borehole information in TXT file for IPF files created by the iMODBATCH function DINO2IPF, in situation whereby no values are read, the value becomes "None". - The iMODBatch function IMPORTMODFLOW has been modified such that it can read external files with a MODFLOW-88 format. - The iMODBatch function ISGGRID has been extended to export the gridded data to a MODFLOW river file (SCD format). - The keywords for the SOLIDTOOL are changed from TOP and BOT into INT to make it possible to construct subsoils with an uneven number of interfaces. - The Darcian upscaling method reviewed and updated. - The iMODBATCH function ISGGRID extended to support the export to svatswnr_drng.inp used by MetaSWAP. - Problems with rendering on a Remote Desktop Server(s) related to Winteracter 10. Included an iMOD version based on Winteracter 8 that does not have these problems. In this Winteracter 8 - Remote Desktop Server-version some (minor) functionalities of iMOD are not supported on the RDP-server(s). - SOLIDTOOL corrects layers that crosses the lowest layer. - IMODBATCH the function IPFSAMPLE includes the parameter IACOL to specify the column to start inserting the sampled data. - Enlarged fields (20/50) to (52) in *.dlf files. DR AF SVN 48 iMOD_V3_01_00_X32R.exe (for 32-bit systems) iMOD_V3_01_00_X64R.exe (for 64-bit systems) T Version SVN 70 SVN 79 SVN 91 SVN 165 SVN 166 SVN 299 New Functionality SVN 39 SVN 43 SVN 48 SVN 51 SVN 70 Deltares - Added the iMODBATCH functionality UTM2LATLONG to transform IDF UTM coordinates to a Lat-Long IPF with data, e.g. to be gridded by the IMODBATCH functionality XYZ2IDF. - Added functionality to the WATERBALANCE TOOL to use hours, minutes and seconds as time scales, so IDF files with date and time identifications become processed, e.g. HEAD_20141231063000 as the head on the 31s t of December 2014 at 6hours, 30 minutes and 0 seconds. - Added functionality to the TIMESERIES TOOL to plot time series using hours, minutes and seconds as time scale. - Increase the size for the grid fields automatically in IPFANALYSE whenever borelogs/time series are identified. - Reading IPF files with associated TXT files with long dates (yyyymmddhhmmss). - Added the iMOD Batch functionality ISGADDSTAGE to add and/or modify existing waterlevels in an ISG file from a given IPF file with timeseries. 793 of 812 iMOD, User Manual SVN 163 SVN 236 SVN 269 SVN 283 SVN 290 Fixed Bugs SVN 34 SVN 46 - Bug in IPFSAMPLING in combination with CSV-file format. - SAVE button didn’t work for steady-state configuration, also the selection of a different model layer didn’t responded accordingly. - Bug in iMODPATH using NCON=0 should be NCON=1. - Bug in IDFCALC whenever the function MIN,MAX,MEAN or SUM is selected; the variable LEX was not initiated. - Bug in X64 versions only: in displaying the license agreement, the variable IU was not initiated. - Bug in WATERBALANCE as a result of implementation of SVN 43, dates with 8 digits didn’t work anymore. - Bug in default legends that could not be saved temporarily whenever a relative pathname was specified by the USER keyword in the preference file. - Bug on the Add Topography window as the coordinates could not be manipulated appropriately. - Bug in memory allocation for the Quick-Response Tool. - Bug in reading IPF files as CSV using the double quotes. - Bug in display of IFF lines in the 3D Tool that are vertically. - Export format for the output files for iMODPATH (IFF and IPF) synchronized. - Identical algorithm used in the postprocessing of pathlines in the iMODBATCH function iMODPATH, to determine appropriate cell indices for points as used in iMODFLOW. This means that points that are exactly on the boundary of model cell will be assigned to the i+1 cell instead of i. - Bug in creation of legend where the difference exceeds the range of a single precision real, namely >10.0+e37. For those cases the legend will be inaccurate but iMOD will not hang. - The display of the NodataValue of an IDF is displayed correctly in MapInfo and IDF Edit displays. - Bug in Compute Mean Values..., after measuring the mean the specific dialog window cannot be closed neither it is possible to proceed with the iMOD session. - Bug in positioning of labels in 3D-tool. Labels did disappeared when turning the 3D-schematisation under certain angles. - Update of keywords vor iMOD Batch in code. - Fix coordinates in CreateIDF whenever changes are made in the dialog. - Correct reading of run-files in the ModelTool without bounding coordinates in submodels. - iMOD Batch reading of keuword with an extra space after the "="signs raised a problem. This has been fixed, as it was noticed by the GxG-function in iMOD Batch using the keyword IPERIOD=. DR AF SVN 47 SVN 51 - Added the functionalities Go Back to Previous Extent and Go to Next Extent on the main icon bar and the Cross-Section window. - Export possible from the SOLID tool to the GEO format as used by GeoSoftware of Deltares. - The SOLID tool supports the dynamic use of different cell size for each interface. - In IMPORTMODFLOW function the Modflow scheme 1996 is supported. - Size of the profile tool increased and gave it a red colour. - Reading of *.MAP files from PCRaster. - Context-sensitive HELP-functionality: adding section-bookmarks to the iMOD User Manual and synchronize the list of bookmarks in iMOD. - The IDF-function for exportation of IDF-files to ascii-files is extended with the "Export given extent"-functionality. Reading of GEF files, as addition to iMODBATch function GEF2IPF. T SVN 71 SVN 60 SVN 70 SVN 72 SVN 76 SVN 77 SVN 88 SVN 163 SVN 213 SVN 216 SVN 218 SVN 226 SVN 240 SVN 254 794 of 812 Deltares Release Notes iMOD-GUI SVN 287 SVN 298 SVN 299 Version 3.2.00 Date Based On Changed Functionality 11-11-2015 3.01.00 SVN 305 SVN 309 SVN 312 SVN 320 iMOD_V3_2_X32R.exe (for 32-bit systems) iMOD_V3_2_X64R.exe (for 64-bit systems) - Reading/assignment of DLF files (maximal 10) for usage within Profile Tool, 3D Tool and IPF Analyse. - Usage of the DLF field colourwidth to display boreholes with variable widths. - include the keyword STOPERROR in BAS file for convergence issues in Modflow2005. - Labeling of IPF files in the 3D tool can be specific selected for each IPF separately. - ISGGRID create nodatavalues (-9999.00) for cells not intersected by lines. - IMPORTSOBEK stopped whenever actual length weren’t equal to the lengths based on the nodes of the segment. The import now is not stopped but a warning is issued to the file importsobek.log and the process continues. - Enlarged fields (20/50) to (52) in *.dlf files. - Add screen number for IPF and IFF in the profile tool. - Use different legends for IPF files (*DLF). - Save DLF legends in IMF-files. - Manually activate display of IPF/IFF files during moving/drawing the cross-section. - Mousemove coupled to location in identification window in IPF Analyse via Profile Tool. - Saving of solid files during editing without leaving the crosssection tool. - Extended the IMODBatch functionality ISGEXPORT with keyword IEXPORT to denote export of calculation points or crosssections. - Remove and/or modify more nodes in SOLIDTOOL simultaneously - Added Inf and NaN in IDF Edit to search on those values in the IDF files. - Added an active/deactive code per line in the SolidTool. Now per line it can be specified whether or not it need to be included in the solid. - Added functionality in the 3D Tool to zoom to predefined zoom scales. - Display the lines in the cross-sections as true splines or straight lines. - Change timesteps in the projectmanager. - Save cross-sections and 3D Tool configurations in a iMOD Demo-mode. - Include the option sign() as a function in IDF Calc, subtract only whenever the sign of the two are equal and use pointer values to note the type of difference. - the iMODFLOW-executable present in the {installfolder} will be invoked instead of the iMODFLOW-executable copied to {installfolder}\MODELS\{Result Folder}. - Usage of preference colours for the default legend. - Apply a value in IDFCalc to "trim" outcome of calculation whenever the outcome is less than a specified absolute value DR AF SVN 325 - Changed the keyword CROSS-SECTION_IN to CROSSSECTION_IN - Fixed bug in reading *prf having a last empty line. - No capitalizing input from *.ini file. - Colouring of the correct field using DLF legends. T SVN 267 New Functionality SVN 305 SVN 309 SVN 320 SVN 326 SVN 341 SVN 343 SVN 351 SVN 364 SVN 370 SVN 375 Deltares 795 of 812 iMOD, User Manual Fixed Bugs SVN 306 SVN 309 SVN 312 SVN 343 SVN 351 SVN 376 SVN 378 3.2.1 iMOD_V3_2_1_X32R.exe (for 32-bit systems) iMOD_V3_2_1_X64R.exe (for 64-bit systems) DR AF Version - Export to Modflow2005, give explicitly if the model is 3D or Quasi 3D. - iMODBatch ISGSIMPLIFY removal of first and last calculation point in case stage were completely flat. - iMODBatch CREATESOF correct usage of given OUTLET points to stop tracing the drainage level. - Screen number were outgreyed in Profile Tool. - Export of BND to Modflow2005 created constant head along submodel as it was filled with nodata from IDF. - Display of bitmaps in 3D Tool in combination with bitmaps attached to solid cross-sections. - Total length of line in SolidTool didn’t match true length, only visible in cross-sections with many points. - Delete of spf will not shift attached bitmaps appropriately. - Use of small-caps for FUNC in IDFCALC gave errors. - Bug in smoothing the IDF files whenever the file to be used for the smoothing exceeds the size of the IDF to be smoothed upon. T SVN 401 Date Based On New Functionality Changed Functionality Fixed Bugs 24-11-2015 3.2 SVN 440 Version 3.3 Date Based On New Functionality 25-03-2016 3.2.1 SVN 439 SVN 466 SVN 471 SVN 471 SVN 487 SVN 502 SVN 512 SVN 520 796 of 812 iMOD-GUI can now invoke iMODFLOW using foldernames containing spaces. iMOD_V3_3_X32R.exe (for 32-bit systems) iMOD_V3_3_X64R.exe (for 64-bit systems) - Specify the option to reduce sizes of boreholes if they do not fit next to each other and thus may overlap. - Added iMODBatch function RUNFILE, to create *.PRF from *.RUN files and/or create *.RUN files out of *.PRJ files. - Project Manager supports now the creation of RUNFILES. - PlugIn Tool is added as an additional tool to support external programs or scripts to be invoked by iMOD and exchange input and output. - Added an extra MetaSWAP output component to the waterbalance tool (BDGPSSW). - The Interactive Pathline Simulator tool for animating groundwater flow. - Added units to waterbalance items. - Added an option to change the transparancy of individual IDF files in the 3D Tool. - The IPS functionality can now be started from the Pathline Tool. - The usage of breaklines in the SOLID Tool is made available in the GUI. - Coordinates in the Profile Tool can be decreased in number by specifying a minimal distance between coordinates. - Compute differences in IDFTIMESERIES can handle IDF files with hours, minutes and seconds. Deltares Release Notes iMOD-GUI SVN 541 SVN 544 SVN 546 Changed Functionality SVN 422 SVN 439 SVN 489 DR AF SVN 504 - Automatic spinner in 3-D. - Entry of scale ratio in the Profile Tool. - Display label and size on the cross-section for the SOLID Tool on 2D - Kriging settings can be defined per interface. - Automatic rendering of the image in a circular movement in 3D by pressing the spacebar. - Bitmap in the background of cross-sections in the SOLID Tool can be temporarily hidden and fixed so that it cannot be moved while adjusting the lines of the cross-section. - Solid Tool; Compute Interfaces window. Export to *.geo is with the "version" name attached to the keyword VERSION. - Spline mode in Solid Tool is "off" by default, for export to IPF or GEO. - The IPS module can create a temporary submodel for particle tracking purposes. - The reading module or the imodpath entries has been made similar to other scaling modules. - PNG, PCX and JPG file can now by used as background images, and can be resized and flipped horizontally and vertically. - iMODBatch function CREATEIDF will NOT ask to overwrite existing IDF-files while importing ASC-files, GUI still does. - Read in GEN file in Profile Tool are corrected for duplicated points. - Previous foldernames are saved to be re-used in next search in folders. - Pathline Tool creates its runfile in the RUNFILE folder instead of the TMP folder, it also creates a stamp of the chosen model result folder in the filename. - Adjustment of the NODATA value in the IDF file, causes that the content of the IDF file itself will be changed accordingly. So values that are equal to the previous NODATA value, will become adapted to the new NODATA value. - Bitmaps that can be positioned behind the cross section in the solid tool, can be stretched and moved interactively whenever the corresponding bitmap is selected from the Add Background Image dialog. - Background Images may be BMP, PNG, PCX and JPG files. - IFF attributes can be plotted all, also whenever the number of columns are enlarged above 7. - In the waterbalance tool: extra comment line that explains the possible causes for disclosure of the balance, e.g. differences in used units (m3/day or mm/day) for specific fluxes. - Translate x,y coordinates from shape files into GEN files using the double-precision format. - Non-existing background files are turned off and properly reset. - Bug in reading the CLR files and display them in the preference tab. - Bug in collecting correct dates in the waterbalance tool. - When defining a new function using iMODBatch, now the correct function is presented (instead of the next function from the list of available functions). - Whenever IPF files are not active in profile tool setting the snapping option was not available. - Bug in ISG grid in combination with 2d and 1d cross-sections. - iMODBATCH function MKWELLIPF ignored ICLAY variable. - Bugfix in Compute GXG. Selecting correct surface level. - Bigfux in iMODBatch PLOT function - usage of IPF files for timeseries plotting. T SVN 528 SVN 507 SVN 512 SVN 516 SVN 581 Fixed Bugs SVN 418 SVN 427 SVN 429 SVN 432 SVN 443 SVN 466 SVN 467 SVN 471 SVN 472 Deltares 797 of 812 iMOD, User Manual SVN 486 SVN 489 SVN 502 SVN 509 DR AF SVN 515 SVN 528 SVN 544 SVN 616 Version - Usage of particles pass through all weak sinks gave problems whenever the weak sinks approaches a strong cell as an internal value 0f FRAC=0.99 was used to denote a strong cell, FRAC is now 1.0 and maximized to be 1.0 numerically. - Applying a fraction for iMODPATH (ISNK=3) didn’t work from iMODBatch. - Computation of SUMC in IDFSCALE option 14, went wrong. - Applying lower-left coordinates in IDFSCALE went wrong. - Default colouring of IDF files was maximized to 50, following files got colour number 1, now the colour numbering continues. - Bug reading GEN files for overlays. - Intersect for non-equidistantial cell went wrong, created a killing bug for the profile-tool. - 3D tool with non-equidistantial IDF gave bug. - In profiletool, whenever a knickpoint was positioned outside the selected IDF, the profile length didn’t take into account the extra space of the cross-section outside the IDf file. - Import of Modflow2005 the LENUNI variabel didn’t applied correctly to EVT package and the elevation in the DIS whenever LAYCON=0. - Bug in timeseries export. - Load SHP file in CreateIDF from Polygons/lines. - Rasterizing ISG didn’t take into account stages with nodata values for transient mean values. - Bug in Solid Tool by using the "pan" function in Zoom-in modus. T SVN 482 Date Based On Changed Functionality 3.4 30-06-2016 3.3 SVN 647 SVN 666 SVN 660 SVN 635 SVN 707 SVN 709 SVN 713 SVN 738 SVN 756 798 of 812 iMOD_V3_4_X32R.exe (for 32-bit systems) iMOD_V3_4_X64R.exe (for 64-bit systems) - 3D TOOL: 3D Tool is organized differently whereby the dialog is attached to the graphical screen and the tool operates independently of the existing 2-D screen. - IMODBATCH: EXPORTASC Write results per row instead of free-formatted - IMODBATCH CUS: Usage of IEXPZONE to include an additional buffer around each isolated formation to ensure a more logical connection within parts of the formation laterally; - Usage of ICLIP to include a clipping IDF for each formation to be internally blanked out to ensure usage of overlapping maps for formations - XYZTOIDF: Interpolation of interfaces from IPF files, median values are not supported anymore - WATERBALANCE: Always using files with/without *sys* in their given names - STARTPOINTS: Tried to read from the non-existing SDF-file the first time an SDF-file is created - GENERAL: The numeric format of plotting IDF values is now depending on the accuracy of the IDF values - CONTOURING: Improved contouring algorithm, especially to include delineation of flat areas - CONTOURING: Legend label on contours uses appropriate number of decimals - LEGEND: Legend plotting now plots a grey rectangle around classes - 3DTOOL: The menu option ’Select’ is now part of the main dialog and removed from the main menu Deltares Release Notes iMOD-GUI SVN 781 SVN 787 New Functionality SVN 635 SVN 642 SVN 734 SVN 778 SVN 784 DR AF SVN 849 - LEGEND: Enhanced legend plotting for 255 and 50 classes categories - IMODBATCH: Testbank does not subtract results if one-of-thetwo is equal to its Nodatavalue - IMODPATH: Restored functionality to save deepest model layer during particle tracking (MAXLAY) - SOLID TOOL: Usage of separate IPF files to include (additional) interpolation points, or use those points solely for the interpolation, with- and without associated txt files that describe the elevations of the individual interfaces. Without associated txt files, each IPF describes the z-elevation at the third column - GENERAL: Relative path can be read from IMF-files, those are relative to the name of the current - IMF-file and are converted to global paths - LEGEND: Legend can be adjusted with chosen intervals - GENERAL: Added debug reporting level - GENERAL: Reading of Point Shapefiles will be converted to IPF-files, also Shapefiles can be read from the MAP-tab on the iMOD Manager - GEOCONNECT TOOL: Geoconnect tool is usable to determine the geologic origin of 3D models (what geologic formation is within what model layer) and (re)create the parameterisations of a 3D model (compute the correct k-values for each model layer based on the fractions of geologic formations in that model layer) - TIMESERIES TOOL: Series can be plotted while new files are added to the selected folder in the background as a model is still running - IMPORT MODFLOW: Time units to adjust PERLEN to days, usage of TSMULT included to generate additional stressperiods - ISS flag does not to be read from the BCF pcakage in 2000 and 2005 configurations - Conversion of time units to days was wrong for the WEL, DRN, RIV packages - GENERAL: Out greying of the iMOD Info button on the menubar didn’t synchronize with the rest - PROFILE TOOL: Cross-section did not work whenever DX is not equal to DY - ISG EDIT TOOL: Gridding of transient data gave error, in combination of computing the mean and entered start and end date - GEOCONNECT: Factors in preprocessing were not used; iMODBatch in preprocessing array already allocated; Added coordinates on tab 1; include the identify button on tab 3 to inspect the current existing formations on the current window. - DEMO-MODE: 3D DEMO functionality was not working properly - MF2005 EXPORT: HFB was not assigned to the utmost row and column, e.g. irow=1, irow=nrow, icol=1 and icol=ncol - MODELTOOL: Applied quotes for file names - PATHLINES: Writing of column/row numbers at start- and end location in IPF files was switched - WATERBALANCE: Could not find the *sys* files from iMODFLOW V3.0 and younger - GENERAL: Usage of MAXSHAPES is supported from the preference menu - IPS: Usage of constant values from a iMODPATH runfile for TOP and BOT parameters - IMODBATCH: Whenever an argument is missing after the "=" of an optional argument an error message appeared T SVN 762 Fixed Bugs SVN 625 SVN 630 SVN 634 SVN 636 SVN 640 SVN 695 SVN 698 SVN 706 SVN 709 SVN 727 Deltares 799 of 812 iMOD, User Manual SVN 744 SVN 750 SVN 762 SVN 776 DR AF SVN 781 - MODELTOOL: Including the PST parameter while converting to a imodflow.run file - GENERAL: Didn’t position a contour line in between a class of 0.0 - PROJECTMANAGER: Saving of number of timeseries in runfile on right position PST was not mentioned in the header of packages - ISGEDIT: Gridding of ISG file did not overrule grid-dimensions entered on the last window - KRIGING: Improved algorithm, NUGGET effect was not correctly processed - LEGEND: Bug in class-legend gave a crash whenever a negative value from the legend was selected in the table - PROFILETOOL: Loading of BMP causes the 21st filename (IDF, IPF of IFF) to be closed by the Winteracter routine IGRFILEINFO. - PROJECTMANAGER: Removal of PST didn’t work properly - GEOCONNECTTOOL: Small issues resolved, crash by repeatedly starting the post-processing T SVN 732 800 of 812 Deltares Release Notes iMOD-GUI Version 3.6 Date Based On 10-05-2016 3.4 iMOD_V3_6_X32R.exe (for 32-bit systems) iMOD_V3_6_X64R.exe (for 64-bit systems) DR AF T Starting from iMOD 3.6 we summarize all new, changed, extended and fixed functionalities on the iMOD-website: http://oss.deltares.nl/web/imod/release-notes. Per release these release notes are also distributed per email to all iMOD-community members, Deltares 801 of 812 DR AF T iMOD, User Manual 802 of 812 Deltares Release Notes iMODFLOW 3.00.01 Date Based On New Functionality Changed Functionality Fixed Bugs 15-10-2014 3.00.00 Version 3.00.02 Date Based On New Functionality Changed Functionality Fixed Bugs 20-11-2014 3.00.01 linked with MetaSWAP SubVersion number 1004 from repository https://repos.deltares.nl/repos/GWSobek/trunk/src/modmsw/ When a GEN-file coincides exactly with cell face no HFB-cell face was assigned resulting in a barrier with a hole. This bug has partially been fixed; with the real world test model NHI the bug fix works, however, the standard USGS HFB-test still fails because the test contains a barrier partly at a cell face. Version 3.00.01 was released because the bug manifests only in exceptional cases; a subsequent bugfix is planned to also fix these exceptional cases. iMODFLOW_V3_00_02_METASWAP_SVN1004_X32R.exe (for X32-bit systems) iMODFLOW_V3_00_02_METASWAP_SVN1004_X64R.exe (for X63-bit systems) DR AF SVN 49 iMODFLOW_V3_00_01_METASWAP_SVN1004_X32R.exe (for X32-bit systems) iMODFLOW_V3_00_01_METASWAP_SVN1004_X64R.exe (for X64-bit systems) T Version SVN 80 SVN 81 SVN 82 Version 3.01.00 Date Based On New Functionality 17-07-2015 3.00.02 SVN 194 Changed Functionality SVN 188 SVN 194 SVN 202 SVN 221 SVN 242 SVN 259 SVN 260 Deltares IMOD-319: default value added for KVA-module (1.0). IMOD-327: bug fixed upscaling anisotropy factor (most frequent occurrence). Bug fixed applying factor for recharge. iMODFLOW_V3_01_00_METASWAP_SVN1031_X64R.exe (for 64-systems) iMODFLOW_V3_01_00_X32R.exe (for 32-bit systems) iMODFLOW_V3_01_00_X64R.exe (for 64-bit systems) In Perched Water Table PWT-package: new conceptual enhancements implemented for how groundwater flows at the edges of a Perched Water Tables to avoid some numerical instabilities. linked with MetaSWAP SubVersion number 1032 from repository https://repos.deltares.nl/repos/GWSobek/trunk/src/modmsw/ Update for VS2008 (EXTERNAL statements removed) - Update for interface MODFLOW-TRANSOL. HFB-package update (based on an earlier implementation in iMODFLOW 2.6.) improving the discretization of curved lines to the model grid. PEST package update based on iMODFLOW 2.6. Update for TRANSOL interface. Update interface with TRANSOL to previous version. Some minor iPEST-messages and I/O adjustments. Removed ’modflow’ subdirectory from output results directory. 803 of 812 iMOD, User Manual SVN 238 SVN 257 SVN 258 SVN 261 SVN 261 3.2 Date Based On New Functionality Changed Functionality Fixed Bugs iMODFLOW_V3_2_METASWAP_SVN1044_X64R.exe (for 64-systems) iMODFLOW_V3_2_X32R.exe (for 32-bit systems) 10-09-2015 3.01.00 SVN 317 SVN 318 SVN 344 SVN 352 Version In SGWF2BCF7C: adding uninitialized variable CR to variables list. Initialization of constant CNSTNT added for u1drel and u2dint. In HFB package: minor error-correction for case that lines are outside model domain. In Grid2MetaSWAP: reading ascii files standard with xllcorner and yllcorner which also could be xllcenter and yllcenter. In coupling Modflow-MetaSWAP with Mozart: change of general missing parameter value. In HFB package: minor error-correction for case that lines are outside model domain. In ISG package: a small change in the ISG calculation routine was made. Automated scaling factor: the computation of the simulation window was sometimes incorrect in case the extent of the entered model was not exactly divisible by the cell size of the model. DR AF Version Update of iMOD license text. T Fixed Bugs SVN 214, 215, 228230, 234, 246 SVN 105 SVN 191 SVN 212 3.2.1 Date Based On New Functionality Changed Functionality Fixed Bugs 20-11-2015 3.2 SVN 438 Version 3.3 Date Based On New Functionality Changed Functionality 25-03-2016 3.2.1 804 of 812 linked with MetaSWAP SubVersion nr. 1044 from repository https://repos.deltares.nl/repos/GWSobek/trunk/src/modmsw/ Bug fix uninitialized arrays when using the ANI package. This problem may result in a floating point error at some machines. Bug fix automatic assigning ISG to layer: a floating point error (division by zero) might occur are specific machines. Bug fixes CHD-package: 1. input start/end head was swapped; 2. iMOD usage of factors (e.g. h = 0.5h1 + 0.5h2) was incorrect. Bug fix ISG 2-D cross sections. iMODFLOW_V3_2_1_METASWAP_SVN1044_X64R.exe (for 64-systems) iMODFLOW_V3_2_1_X32R.exe (for 32-bit systems) iMODFLOW can now work with foldernames containing spaces. iMODFLOW_V3_3_METASWAP_SVN1047_X64R.exe (for 64-systems) iMODFLOW_V3_3_X32R.exe (for 32-bit systems) linked with MetaSWAP SubVersion nr. 1047 from repository https://repos.deltares.nl/repos/GWSobek/trunk/src/modmsw/ Deltares Release Notes iMODFLOW SVN 561 SVN 618 SVN 621 Version 3.4 Date Based On New Functionality Changed Functionality Fixed Bugs 20-06-2016 3.3 iMODFLOW_V3_4_METASWAP_SVN1047_X64R.exe (for 64-systems) iMODFLOW_V3_4_X32R.exe (for 32-bit systems) DRN: Memory reallocation of the drain package will be performed whenever the number of drains exceeds the previous allocated memory. TIMESERIES: A limited number of unit numbers were available (10-99) for time series, now it is set to (10-999). COMMON: An inactive package in the runfile was seen as "reuse" package instead of a new package definition without any entries. PCG: The cleaning of the matrix coefficients was not done correctly. IPF: Reading screen depths only needed whenever ilay.eq.0. ANI: The incorrect nodata values were assigned to the inactive corner cells at the computational area. HFB: The issue with the out of array boundary horizontal flow barrier package is solved. COMMON: The initialization problem is solved for iMOD license agreement file. COMMON: A non-converging steady-state MODFLOW simulation was not finalized correctly. BALANCE: Computing the waterbalans, the ANI-terms were not included in the constant-head boundary flux, also they were not applied as a correction on the BDFFFF and BDGFRF fluxes for the LPF-configuration. PWT: The floating point exception for inactive cells should be skipped in the perched water table package. CHD: For zero-thickess cells at a subdomain boundary a constant head cell could be activated incorrectly resulting in an error message "no-flow cells cannot be converted to constant head cells". DR AF SVN 660 Restoring the gridding functionality of flow-width in ISG. Bug fix Metadata package (MET) timestep management in MODFLOW, causing a delayed read of transient well data. This bug was relevant when defining stress period lengths that were larger than the available time discretisation present in the ipfand txt-files used as the source of the abstraction data. Adjusted scaling of well extraction from median value to mean values weighted to time - usage of nodata values in txt files. T Fixed Bugs SVN 662 SVN 680 SVN 671 SVN 719 SVN 720 SVN 732 SVN 786 SVN 792 SVN 799 SVN 806 Deltares 805 of 812 iMOD, User Manual Version 3.6 Date Based On 30-05-2017 3.5 iMODFLOW_V3_6_METASWAP_SVN1196_X64R.exe (for 64-systems) iMODFLOW_V3_6_X32R.exe (for 32-bit systems) DR AF T Starting from iMOD 3.6 we summarize all new, changed, extended and fixed functionalities on the iMOD-website: http://oss.deltares.nl/web/imod/release-notes. Per release these release notes are also distributed per email to all iMOD-community members, 806 of 812 Deltares A About SIMGRO and MetaSWAP What are the models intended for? Most regional model codes cover only part of the processes within a region. For coming to grips with many issues of integrated water management it is necessary to have a model that covers the whole (regional) system, including plant-atmosphere interactions, soil water, groundwater and surface water. SIMGRO (a dated acronym of SIMulation of GROundwater) was developed for that purpose. The name ‘SIMGRO’ was formerly used for referring to an integrated model code, including submodels for the compartments and processes as shown in Fig. 1. Now it is used in the meaning of a modelling framework. This framework has been connected to a number of ‘inhouse’ components, but also has possibilities for coupling to other codes. The in-house components are: The current possibilities for coupling to other codes are: 1 MODFLOW for groundwater (operational); 2 SOBEK-CF for surface water (under development). T 1 an SVAT-model that is commonly referred to as ‘MetaSWAP’, covering the plantatmosphere interactions and soil water; 2 a simplified surface water metamodel; 3 a drainage package, for simulating groundwater drainage with fast feedback from surface water. DR AF A.1 The used schematisation assumes that the separate SVAT columns only interact with each other via their connections to groundwater and surface water. Figure A.1: Overview of the processes modelled in SIMGRO. MetaSWAP (Van Walsum and Groenendijk, 2008) is used for the SVAT ( Soil Vegetation Atmosphere Transfer) processes that are modelled within vertical columns. These column models are integrated with the groundwater model (MODFLOW) and a surface water model; for the latter there are several options, including a simplified metamodel that can be linked to form a basin network. Deltares 807 of 812 iMOD, User Manual A.1.1 What is the scope of the model application? The SIMGRO framework is intended for regions with an undulating topography and unconsolidated sediments in the (shallow) subsoil. Both shallow and deep groundwater levels can be modelled by MetaSWAP. This model is based on a simplification of ‘straight Richards’, meaning that no special processes like hysteresis, preferential flow and bypass flow are modelled. Snow is not modelled, and neither the influence of frost on the soil water conductivity. A perched watertable can be present in the SVAT column model, but interflow is not modelled. There are plans for including the mentioned special processes in MetaSWAP Inundation water can be modelled as belonging to both groundwater and surface water at the same time. Processes that are typical for steep slopes are not included. The code contains several parameterized water management schemes, including irrigation and water level management. A.1.2 What are the used spatial and temporal scales of the model? T The spatial scale of the model is typically for a unit of 1 km2 and less. Model applications have involved up to 500 000 units (National Hydrological Instrument for the Netherlands). A prototype model of a small basin involved 800 000 cells of 5x5 m. A resolution finer than 5x5 m is considered to be beyond the scope of the model, because then the one-dimensional flow schematization is not adequate. DR AF It is possible to couple several MetaSWAP columns to a single ground water cell. In that way it is possible to use ‘tiles’ for representing fractions of the soil surface, for e.g. the vegetated part and the built-up part. The model uses two nested time scales: 1 a fast cycle for the plant-atmosphere interactions and the interactions with surface water; 2 a slow cycle for the unsaturated zone and the coupling to the groundwater model. Typically an interval of 1 hour is used for the fast processes, and 0.5 or 1 day for the slow processes. The time step of the slow processes and that of the groundwater model should be equal. A.1.3 What are the necessary input data? The required input data are described in Alterra Report 913.2. The main categories of input data are: 1 2 3 4 5 6 7 A.1.4 temporal scales; schematization and coupling to other models; soil elevation and soil physical data; land and water use parameters, including irrigation demand; irrigation water supply capacities; meteorological data, including the option of grid files; output control parameters What output data can the model produce The main categories of output data are: 1 databases involving up to 129 (optional) data simulated items per SVAT unit, at the time scale the groundwater model, and also for user-defined output periods; 2 files in csv-format that are accessible while the model is still running (‘monitoring files’) A.1.5 How does the model communicate with the user, in what language? The model is run from a DOS-prompt and communicates with the user via files, both binary and ASCII ones. By using the facility of the csv -files, the user can follow a simulation as it progresses. 808 of 812 Deltares About SIMGRO and MetaSWAP A.1.6 On what platform does the model operate? The model available for Windows platforms. The used language (Intel Fortran) makes it possible to migrate to a Linux platform, however, this is not supported by Alterra. The model has been coded with ‘dynamic’ memory allocation, meaning that the amount of used RAM memory is exactly tuned to the needs of the application. Large models will require a 64-bit environment due to RAM memory requirements. A.1.7 What does the model cost? The model is freely available, including the source code. A.1.8 How are the model and its documentation made available? doc: documentation; unsa: available soil physical databases and automated procedure; tests: test sets used for the Status A certification; exe: executable of MainSIMGRO. DR AF T The model and documentation is available at the SIMGRO ftp-site ftp://ftp.wur.nl/simgro/ and contains the following folders: The doc folder contains (among others) the following documents: A.1.9 SIMGRO Release notes SIMGRO Theory and model implementation SIMGRO User’s guide SIMGRO Input and output reference manual Who are the contact persons? More information about the model can be obtained from: Paul van Walsum, paul.vanwalsum@wur.nl. Ab Veldhuizen, ab.veldhuizen@wur.nl. Deltares 809 of 812 DR AF T iMOD, User Manual 810 of 812 Deltares DR AF T T DR AF PO Box 85467 3508 AL Utrecht Princetonlaan 6-8 3584 CB Utrecht The Netherlands +31 (0)88 335 81 00 imod.support@deltares.nl www.deltares.nl
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.5 Linearized : No Page Count : 832 Page Mode : UseOutlines Author : Deltares Title : iMOD User Manual Subject : Creator : LaTeX hyperref Producer : ps2pdf Keywords : Deltares, User, Manual, iMOD Create Date : 2018:06:21 05:55:07+02:00 Modify Date : 2018:06:21 05:55:07+02:00 Trapped : False PTEX Fullbanner : This is MiKTeX-pdfTeX 2.9.6588 (1.40.18)EXIF Metadata provided by EXIF.tools