How to do more Groundwater Modeling (or any modeling) in less amount of time

ModflowParaview_IsometricViewMODFLOWModel.png

Because time matters and everybody wants results and solutions now, groundwater modelers (or any water resources modeler) have to think how they can do more with the limited time available. This is a restructuration, a reengineering, a new conceptualization of not only what we do, but how we do, and if in the end we are happy with the main results, and secondary results we get from our modeling work.

Groundwater modelers are water resources specialists with high skills in computing, coding, maths and groundwater flow regime comprehension. The type of work, the complexity of the given areas of study, the limited observation data, the limited budget, the short completion times and the overall low perception and low understanding of groundwater flow and groundwater quality makes the modeling work somehow particular where we have to adopt special techniques to deliver good work while preserving the modeler integrity and wellness.

Avoid the “mercenary groundwater modeler” profile

This article will describe top strategies to optimize the groundwater modeler work, but somehow the article has the intention to stop the “mercenary groundwater profile” as the person that is involved in a high number of projects, has to deliver great amount of reports, is always on meetings and it is at office more than 60 hours per week.

Based on the description of the mercenary modeler, the quality of the produced groundwater models are doubtful, questionable or if not of bad quality. Imagine the level of trust for a patient with cardiac problem if they meet the surgeon stressed, always busy and attending many patients simultaneously.

For us groundwater modeling is an “artisan” product, were a high skilled person makes a product on a non-mechanized way. Having a mercenary profile is far from good, neither for the product nor for the modeler.

Top strategies to do mode in less time

Because everybody wants to go home on time and with a smile. The following list has the top items to implement on every day groundwater modeling work:

a) Plan your day ahead

You can be on doing three reports or involved on four research projects, while attending courses or having meetings, and even you want to research some code that was just released. How can you do all of these tasks? The answer relies on not eating the cake all at once but eating the cake piece by piece. You can’t finish all your pending work today, but can finish the next week if you start today.

You know what you need to do in the coming two weeks; start by setting daily tasks and evaluate task achievement and project performance every two days.

b) Follow an schedule

A mercenary modeler has no schedule, but a reasonable modeler need specific working hours. Performance of human brain is amazing with high energy consumption based on high loads imposed, but the attention capacity is not unlimited and a modeler can’t work continuously more than three hours without a break. On a daily basis a modeler can only work two “turns” on a sustainable and not mercenary manner. On a regular basis, it is not recommended to model late at night because the brain cannot disconnect from the attention paid to the model and dreams can be disrupted.

c) Have an eye on your distractors

Distractors are not bad for groundwater modelers; if fact they are “yang” while the model is the “ying”, and brings you an equilibrium on your mental activity, however, these distractors cannot distract you. Smartphones, social networks, newspaper, cookies and even your email need to be apart from your “turn”. Once you have finished the stage of high concentration, you can relax yourself on pleasant activities like the mentioned about or reading the blog of Hatarilabs.

d) Avoid unnecessary meetings

Meetings are great for model construction, for concept appropriation, for project coordination and many other professional reasons, but they have a dark side: meetings take time, they are not relaxing, have no specific result, they don’t follow a specific schedule, and somehow nobody knows how many meetings are needed for a project.

There is no clear definition about when a meeting is unnecessary, but somehow, if a meeting occupy a “turn” that means that 50% of your overall daily productivity is gone. A strategy is to implement a “sprechstunde” or specific hours for meetings or project coordination, in fact the german word is for only one hour.

e) Pose philosophical questions

When performing a calibration or a series of simulations, or even when writing a proposal, some philosophical questions have to be made. These questions are related to:

  • Are we doing this right?

  • Can this be done in another way?

  • The outcome of this modeling work is really worth for the client?

  • Does this procedure will take more time than is available?

Think on this questions as a internal quality control process that sometimes it is not so evident because we are on the rush doing more, and more modeling work.

f) Let the code be with you

Optimized work needs code for automation. Automation of low-intellectual tasks as data compilation, map elaboration, charts drawing can be done with codes in Python, C++ or Julia. A groundwater modeler have spend more time on highly skilled tasks as model calibration, model simulation and model output analysis; as long as the modeler optimize its workflow with small scripts, there is more time for important tasks and you can go home on time.

Comment

Saul Montoya

Saul Montoya es Ingeniero Civil graduado de la Pontificia Universidad Católica del Perú en Lima con estudios de postgrado en Manejo e Ingeniería de Recursos Hídricos (Programa WAREM) de la Universidad de Stuttgart con mención en Ingeniería de Aguas Subterráneas y Hidroinformática.

Smiley face

Subscribe to our free e-newsletter for tutorials, articles, webminars, courses and more.  

How to work with Transmissivities in MODFLOW with Model Muse - Tutorial

Hydraulic parameters for an aquifer flow can be expressed on different terms like Hydraulic Conductivity (K) or Transmissivity (T). On the default setup of MODFLOW 2005 with Model Muse there is no option to use directly Transmissivity unless a manual conversion is done to transform into K, this is because the selected flow package is Layer Property Flow (LPF).

When the flow package changes to Block Centered Flow (BCF6) it is possible to insert Transmissivities directly as datasets or as a object property. The BCF package also has more options for the layer type, with unconfined and partial confined aquifer options.

Read More

Tutorial of Unstructured Grid Groundwater Model with MODFLOW 6 and Model Muse 4

Of the latest devopments in groundwater modeling there are two softwares: Modflow 6 and Model Muse 4. both developed by the USGS. The first software is the latest version of MODFLOW that allows triangular and unstructured grids, and the second is the latest version (from June 23) of the graphical user interface Model Muse that supports Modflow 6.

Unstructured grid it a type of discretization that allows us to have small cells at certain parts of the model while the rest of the model has bigger cells. This optimization of the model grid and cell number decrease the computing time, the size of the output files and the speed of the visualization tools. With unstructured grids we can model a great extension while preserving the right accuracy of the points of interest, we can even insert regional faulting or complex geological setups.

This tutorial shows the complete procedure to create a geospatial model of a alluvial aquifer with the interaction of regional flow, river and wells. The tutorial creates the unstructured grid, boundary conditions, model geometry, simulate flow with MODFLOW 6 and represent results in Model Muse 4.

Read More

Basic Example of Land Subsidence Modeling with MODFLOW SUB and Model Muse 4

Cities under high exploitation of groundwater resources face severe problems of land subsidence due to pumping. This complex problem was addressed from earlier versions of MODFLOW as MODFLOW 2000 and has two packages: MODFLOW SUB and  for its simulation with different options for the conceptualization and numerical modeling of normal aquifers and low conductivity interbeds.

Scientific research and professional consulting on the field of land subsidence modeling is limited; this scarcity might be because the coupled complexity of the appliance of numerical groundwater modeling and consolidation theory.

Read More

How to create a fully Geospatial Groundwater Model with MODFLOW and Flopy - Tutorial

Nature is geospatial, and every physical process related to the groundwater flow and transport regime is spatially located or spatially distributed. Groundwater models are based on a grid structure and models are discretized on cells located on arrangements of rows and columns; is that level of disconnexion of the spatial position of a piece of porous media and the corresponding cell row and column that creates some challenges for the sustainable management of groundwater resources.

We have to create or re-create the duality in between the geospatial and the model grid, that would be similar to duality of a vector GIS object and its metadata on its essence but more difficult to manage. Affortunately Flopy, the Python library to build and simulate MODFLOW models, has tools to georeference the model grid even with rotation options. The workflow is kind of explicit, meaning that the modeler need a medium knowledge of Python and Flopy tools. This tutorial shows the whole procedure to create a fully geospatial groundwater with MODFLOW and Flopy.

Read More

How to efficiently apply Geology from Shapefiles to MODFLOW with ModelMuse with Global Variables

On the MODFLOW groundwater model construction process in Model Muse there are tools to import hydrogeological parameters as hydraulic conductivity and boundary conditions from shapefiles assigning the parameter values from the spatial object metadata. This type of workflow is useful for idealized aquifers or simple hydrogeological assessments; however on groundwater models at regional scale the calibration process requires the quick and repetitive change of the hydrogeological parameters and boundary conditions to evaluate the hydraulic response against observed data.

For model calibration the use of Global Variables (Data/Edit Global Variables...) of Model Muse makes relatively easy, ordered and with better change control the calibration process. This tutorial gives the procedure to implement Global Variables for the hydraulic conductivities of 15 hydrogeological units distributed on a model of 560 square kilometers.

Read More

Implementation of Multiple Wells with MODFLOW and Model Muse - Tutorial

Groundwater modeling on the regional scale or with huge baseline can be tedious to do manually in a Graphical User Interface as Model Muse. There are more advanced options to insert a great amount of wells with long and diverse pumping schedules with Flopy or by altering the *.gpt file with some programming effort; however these are kind of intermediate level solutions that would be time expensive for a beginner groundwater modeler.

This tutorial shows the procedure to insert multiple wells with different pumping rates in MODFLOW with Model Muse by the use of some special features. The procedure can insert wells at different depths however it cannot set the well name and in case of wells with multiple pumping records a group of superposed wells will be inserted, one for each pumping rate record.

Read More

MODFLOW Observed / Simulated Head Comparison Plot with Model Muse and Python - Tutorial

Groundwater modeling with MODFLOW and other codes are defined as inverse modeling where the aquifer parameters can be calculated from the comparison of model results with observed data. This comparison process is time consuming, employs acceptance criteria and trend analysis of the boundary condition influence.

There are tools for the comparison of observed and simulated heads in Model Muse and custom charts can be done with few lines in Python. This tutorial cover the whole procedure to create a simulated / observed plot in Python from the results of a MODFLOW model run on Model Muse. The study case is over a regional model with more than 100 piezometers. The tutorial creates a graph with a colorbar and exports it as a JPG file.

Read More

Maximum Pumping Well Rate Estimation with Modflow and Model Muse - Tutorial

Pumping well productivity depends of the aquifer porous media, aquifer thickness and extension, physical processes of water cycle relevant to groundwater flow regime, well design and operation considerations. Determination of maximum pumping rate from a well is the key for well construction process because the maximum rate is relevant to pump sizing, licensing, purchase of conduction materials and dimension of water storage facilities. On a project feasibility perpective, the maximum rate estimation is important to meet the project demand on its different stages.

This tutorial shows the complete procedure to determine the maximum pumping rate from a well on a quaternary aquifer on steady state flow conditions with MODFLOW and Model Muse. The tutorial covers all the steps of spatial and temporal discretization, boundary condition setup and hydraulic parameter definition, with an emphasis on the conceptualization of a maximum pumping scenario with operational conditions on the well.

Read More

3D Structural Geological Modeling in Python with Gempy - Tutorial

Gempy is as open source Python library for generating full 3D structural geological models. The library is a complete development to create geological models from interfases, faults, and layer orientations, it also relates the sequence of geological layers to represent rock intrusions and faults order.

Algorithm for geological modeling is based on universal cokriging interpolation with the support of high-end Python mathematical libraries as Numpy, PyMC3 and Theano.

Gempy creates a grid model that can be visualized as 2D sections with Matplotlib or as 3D geometrical objects as VTK objects that allow the representation of the geologic models on Paraview for custom slicing, filtering, transparencies, and styling.

This tutorial is a basic example of a stratified geological setup with 5 layers and one fault. In order to make the tutorial fully accessible to the majority of users, we have created a complementary tutorial about how to install Gempy on Windows with a repository distribution of Anaconda.

Read More

Triangular Mesh for Groundwater Models with MODFLOW 6 and Flopy - Tutorial

One of the most exceptional new features from MODFLOW 6 is the different discretization options for the model mesh generation. Options range from regular grid (same as MODFLOW 2005), triangular mesh and unstructured grid. Flopy that is a Python library for the build and simulation of MODFLOW 6 and other models has tools for triangular mesh generation. The workflow on groundwater modeling with MODFLOW 6 and Flopy for triangular mesh models is pretty fluid and we see a lot of potential for local and regional groundwater flow modeling.

This tutorial shows the complete process to create a triangular mesh with the utilities from Flopy and incorporate it to a MODFLOW 6 model. The model is simulated and results are represented as colored mesh and contour lines.

Read More

Stable Isotope Representation from Groundwater Samples with Python Pandas - Tutorial

Stable isotope analysis is a powerful tool for the evaluation of groundwater origin and groundwater dynamics, specially when the observation points and recording periods are limited. Isotope representation can be done with any spreadsheet software, but the workflow is defficient specially when plotting scatter points, solid lines, labels and legends.

This tutorial shows a the complete procedure to represent a stable isotope representation of groundwater samples from remediation site in New Mexico, USA. The script is done with Python 3, Pandas and other packages that come alread installed on the Anaconda distribution. Code for the representation of the Global Meteoric Water Line is also included as well as options for the figure storage.

Read More

Regional Groundwater Modeling with MODFLOW and Flopy - Tutorial

Regional groundwater modeling is an important task on a strategic water management that involves all users, activities, and involved ecosystems and provides a sustainable use for current and future conditions. There are some specific considerations on the regional modeling with respect to baseline and spatial discretization, a regional model is not intended to provide the aquifer response for a determined area, instead it involves the assessment of the regional groundwater flow and the quantification of the recharge, discharge and other process on the water balance.

This tutorial is the Flopy / MODFLOW numerical example of the Angascancha basin. The example is on steady steady and is solved with the NWT solver. Model output representations have been done under the Flopy/Matplotlib tools as well as some Python code to create VTU files and styled on Paraview.

Read More

Basic Example of Saline Intrusion Modeling with SEAWAT and Flopy - Tutorial

SEAWAT is a model developed by the USGS for the simulation of three-dimensional variable density groundwater flow with solute and heat transport. The software is based on MODFLOW-2000 and MT3DMS and on its latest version it can simulate viscosity variations and provide faster execution times. SEAWAT is implemented on Flopy, the Python library to build, run and represent MODFLOW models. This tutorial has the complete workflow to create and represent a basic example of saline instrusion with SEAWAT and Flopy on a Jupyter Notebook.

Read More

Determination of Flow Direction Vectors from a MODFLOW Model with Python and Flopy - Tutorial

Groundwater flow direction representation is useful to understand the actual and predicted conditions of the groundwater flow regime. The arrow direction and magnitude give a quick perspective of the main groundwater flow directions and the interconexion between sources and discharge points. This tutorial show the complete workflow to determine the flow directions from a MODFLOW model done with Model Muse. The scripting insert a background image, georeference the model from parameters exported as comments, and export the resulting figure as a PNG file. The tutorial is done in Python 3 on a Jupyter Notebook.

Read More

Modelling of a karst conduit system using Model Muse and MODFLOW-CFP - Tutorial

Karst systems are characterized by underground drainage systems formed by the dissolution of soluble rocks. The behaviour of these systems is hard to be conceptualized due to the uncertainty in the location and geometry of these underground caves and its connection with the porous media.

In order to be able to model these systems, the Conduit Flow Process (CFP) package (developed by the United States Geological Survey – USGS) can simulate turbulent ground-water flow by coupling the groundwater flow equation with formulations for a discrete network of cylindrical pipes.

The following tutorial explains how to set up a simple karst conduit system in a previously existing MODFLOW model and the analysis of the results.

Read More

2D Contaminant Transport Modeling with MODFLOW, MT3D-USGS and Flopy

Making hydrogeological models can take a long time, from construction, visualization of results and calibration. It is important to use tools that can optimize these tasks and allow the time saved to be used in the analysis of the system.

In this opportunity we will use Flopy to replicate a 2D transport model from a previous post. Flopy is a versatile set of Python scripts which can be used to run MODFLOW and MT3D, amongst other MODFLOW-related groundwater programs in a simple and efficient way. It will be seen how useful this tool is to automate the process of creating groundwater models since modifications of the boundary conditions can be done just by changing the text file.

In addition, MT3D-USGS will be used for the transport modelling. It is an updated release of the groundwater solute transport code MT3DMS, which has new transport modeling capabilities that provide a greater flexibility in the simulation of solute transport and reactive solute transport.

Read More

Setting Up Heterogeneities and Remediation Schemas for Contaminant Plumes with MODFLOW + MT3D

Aquifers can be porous, fractured or karstic. Due to the geological setup and processes related to the formation of the porous media, these acuifers can present a high degree of heterogeneity that affect/impact the groundwater flow patterns and contaminant transport and distribution.

Contaminant plumes for puntual/aerial sources interact with aquifer heterogeneities and anisotropies. Understanding and conceptualizing the distribution of the different hydrogeological units and their properties on the subsurface is a challenge for hydrogeologist, numerical modelers and remediation specalists.

Read More

Basic Example of Contaminant Plume Modeling with MT3D-USGS and Model Muse

MT3D-USGS is the one of the latest software for contaminant transport developed by the USGS. The initial release was on 2016 as a updated release of MT3DMS. The software has new capabilities for transport modeling coupled with the current MODFLOW packages, it can model unsaturated-zone transport, reactions and remediation schemas.

This transport modeling code is implemented in the pre and postprocessing software for groundwater modeling Model Muse, also developed by the USGS. This tutorial show a basic example of contaminant transport from a point source in a groundwater flow regime controlled by regional flow and discharge to ponds and rivers.

Read More

Basic Example of Seawater Intrusion Modeling with MODFLOW, Model Muse and SWI2

Seawater intrusion is an issue in coastal aquifer management especially on arid environments. Overexplotation of groundwater resources by high production wells on intensive irrigation schemes could lead to an intrusion of saline water from sea and an impact to the quality of water sources.

Available options to assess the behaviour and impact of seawater intrusion are limited in both open source and commercial software; there is also a need of highly skilled groundwater modelers to understand the complex model setup and model output that can provide useful information about the groundwater flow regimen and the risks to water quality posed by seawater intrusion.

Seawater Intrusion Package 2 (SWI2) is a modeling software developed by the USGS and coupled on MODFLOW-2005. SWI2 allows three-dimensional variable-density groundwater flow and seawater intrusion in coastal aquifer systems. This tutorial deals with a basic example of the implementation of SWI2 on a MODFLOW model contructed on Model Muse. The tutorial show the whole procedure of model setup, datasets implementation, conceptualization of boundary conditions and result evaluation.

Read More