SlideShare a Scribd company logo
Recent MODFLOW
Developments
By Christian Langevin (USGS), Joseph Hughes (USGS), and Martijn Russcher (Deltares)
Presented at the Deltares Hydrology International User Days
Deltares Campus, Delft, The Netherlands
November 30, 2023
Outline
• Background
• MODFLOW 6 Framework
• Flow Model
• Transport Model
• Advanced Capabilities
• Concluding Remarks
MODFLOW Development Team
• Wes Bonelli, UCAR
• Scott Boyce, USGS
• Joseph Hughes, USGS
• Christian Langevin, USGS
• Joshua Larsen, USGS
• James McCreight, UCAR
• Eric Morway, USGS
• Sorab Panday, GSI
• Scott Paulinski, USGS
• Alden Provost, USGS
• Michael Reno, UCAR
• Martijn Russcher, Deltares
MODFLOW Background
Groundwater Modeling (before computers)
Arlen Harbaugh (retired USGS) works on
the Long Island, New York, electric
analog model. Each panel represents a
different model layer.
DSD-INT 2023 Recent MODFLOW Developments - Langevin
MODFLOW 1984
Modular concept was inspired by stereo system components
Many Different MODFLOW Packages…
Packages have become more complex over time, and in many
cases, they model a physical process
History
• MODFLOW introduced almost 40 years ago
• Referred to as a ”community model”
• Designed to be modular, teachable,
portable, and extensible
• Thorough documentation
• Stable funding
MODFLOW Versions and Variants
Core Version
1984
1988
1996
2000
2005
Variants
NWT
LGR
USG
GWM
SEAWAT GSFLOW
CFP OWHM
Development Paths
2017
MODFLOW 6 Framework
MODFLOW 6 Overview
• First released in 2017
• Consolidation of existing
functionality
• Multiple model types in a
single simulation
• Multiple model instances in a
single simulation
• Flexible construction and
solution of matrix equations
Development Philosophy
• Preserve and protect
• Modularity
• Capabilities
• Portability
• Readability
• Documentation
• Open and Free
• Continuous Integration
Model Types
Groundwater
Flow (GWF)
Groundwater
Transport (GWT)
Published and available now
Groundwater Energy
Transport (GWE)
Coming soon
Particle Tracking
(PRT)
Surface Water
Flow (SWF)
Watershed Linear Network
Flow (LNF)
In development
Typical Groundwater Flow Simulation
This figure shows a typical
simulation with one groundwater
flow model that is solved by a
numerical solution.
Multi-Model Groundwater Flow Simulation
This figure shows two
separate groundwater flow
models that are tightly
coupled (at the matrix level)
and solved simultaneously by
a numerical solution.
Coupling between the two
models is facilitated by an
“exchange”.
MODFLOW 6 Groundwater Flow
(GWF) Model
Discretization Types in MODFLOW 6
DIS
(Regular Grid)
DISV
(Layered Unstructured Grid)
DISU
(Fully Unstructured Grid)
”Layered” = same grid applies for each layer No formal layer concept
Supported Groundwater Flow Formulations
• Traditional “conductance-based” formulation
• Newton-Raphson formulation (provides stability for water table
problems)
What happens with the Newton Formulation?
Qrecharge
1
2
3
h1
h2
h3
”dry”
Heads are calculated by
MODFLOW and may be below
the cell bottom
”dry”
partially
saturated
Flux Approximations
• MODFLOW 6 has two different ways to calculate the flow between
two cells:
• Two-point flux approximation
• Multi-point flux approximation (XT3D)
Two-Point Flux Approximation
• Flow between two cells is calculated using the head difference
between the two cells
• Common approach that works well for most problems
Multi-Point Flux Approximation (XT3D)
• Gradient reconstruction method (Provost
et al. 2017)
• Originally developed to represent
anisotropic groundwater flow
• Improves accuracy for grids with irregular
geometric connections
• Computationally more expensive than two-
point standard approximation
Water Mover
• Generalized package for transferring
water from one MODFLOW package to
another package
• Water can be transferred from a
“provider” to a “receiver” subject to
simplified rules
• All transfers are tracked in a water
budget
GWF Model Coupling
• GWF models can be coupled using
a GWF-GWF “exchange”
• Exchange input file contains
geometrical data for connection
between neighboring nodes
Ln
n
m
Lm
Δw
Model 1 Model 2
MODFLOW 6 Groundwater
Transport (GWT) Model
Highlights of the GWT Model
Grid Types Flow Formulations Transport Processes
Advanced Transport
Packages
Multiple Chemical
Species
Multi-Domain
• Standard
conductance-based
• Newton
• Advection
• Dispersion
• Sorption
• Decay/Growth
• Sources/Sinks
• Streams
• Lakes
• Wells
• Unsaturated
Zone
”Keating” Flow and Transport Problem
Multi-Model Flow and
Transport Configurations
Coupled Variable-Density Flow and Transport
• SEAWAT capabilities now available in
MODFLOW 6
• Buoyancy Package
• Viscosity Package
• Capabilities
• Structured or unstructured grids
• Traditional or Newton flow formulation
• Advanced packages
• Multi-model simulations
Variable-Density Example
• Based on classic Henry
saltwater intrusion
problem
• Use Newton formulation
for stable wetting and
drying
• Include tidally varying
sea-level boundary
condition
Variable-Density Example
Advanced Capabilities
MODFLOW API
Parallel Simulations
MODFLOW-API
• Full control of MODFLOW while it’s running
• Well-defined interfaces based on Basic Model
Interface (BMI) standard
• Access to MODFLOW internal variables (as a copy or
pointer) during runtime
• Uses a shared library (DLL) version of MODFLOW 6
based on the same code as the executable version
• API use cases
• Couple MODFLOW with another model
• Prototype or develop new MODFLOW packages
• “Observe” MODFLOW behavior during a simulation
Hughes et al. (2022)
How does it work?
finalize
update
initialize
Create (CR)
Define (DF)
Read and Prepare (RP)
start
end
Last Time
Step
TIME
STEP
LOOP
YES
NO
Allocate and Read (AR)
Calculate (CA)
Output (OT)
Final Processing (FP)
Time Update (TU)
Deallocate (DA)
Main Program
mf6 = ModflowApi(‘libmf6.dll’)
mf6.initialize()
current_time = 0.
end_time = mf6.get_end_time()
while current_time < end_time:
mf6.update()
current_time = mf6.get_current_time()
mf6.finalize()
Python Driver Program
MODFLOW-API Publications
Parallel MODFLOW 6
• Officially released June 2023 in MODFLOW
Version 6.4.2
• Long-standing collaborative effort between
Deltares and USGS
• Designed to be easily extended for new
models
• Technical Details
• Domain decomposition approach
• Based on the Message Passing Interface (MPI)
• Based on PETSc (Portable, Extensible Toolkit for
Scientific Computation)
• Supports GWF, GWT and variable-density flow
and transport
Concept
Continental USA Example
DSD-INT 2023 Recent MODFLOW Developments - Langevin
DSD-INT 2023 Recent MODFLOW Developments - Langevin
Concluding Remarks
In Summary
• MODFLOW 6 is the current version of the
USGS Modular Hydrologic Simulator
• In MODFLOW 6, the “package” concept has
been extended to include models, resulting
in a multi-model hydrologic simulator
• We are continuing to extend simulation
capabilities by adding new models to the
framework and by using the MODFLOW-API
to couple with other existing models

More Related Content

PDF
DSD-INT 2019 Ongoing MODFLOW Development by the USGS and External Collaborato...
PDF
DSD-NL 2017 Parallel Krylov Solver Package for iMODFLOW-MetaSWAP - Verkaik
PDF
DSD-INT 2019 Parallelization project for the USGS - Verkaik
PDF
DSD-INT 2017 Introduction to the WFlow framework - Schellekens
PDF
DSD-INT 2017 High Performance Parallel Computing with iMODFLOW-MetaSWAP - Ver...
PDF
DSD-INT 2016 The new parallel Krylov Solver package - Verkaik
PDF
Coroutines Flow & Channels Workshop Slides
PDF
DSD-INT 2023 Coupling Hydrologic Process Models - A technical perspective - R...
DSD-INT 2019 Ongoing MODFLOW Development by the USGS and External Collaborato...
DSD-NL 2017 Parallel Krylov Solver Package for iMODFLOW-MetaSWAP - Verkaik
DSD-INT 2019 Parallelization project for the USGS - Verkaik
DSD-INT 2017 Introduction to the WFlow framework - Schellekens
DSD-INT 2017 High Performance Parallel Computing with iMODFLOW-MetaSWAP - Ver...
DSD-INT 2016 The new parallel Krylov Solver package - Verkaik
Coroutines Flow & Channels Workshop Slides
DSD-INT 2023 Coupling Hydrologic Process Models - A technical perspective - R...

Similar to DSD-INT 2023 Recent MODFLOW Developments - Langevin (20)

PPTX
Introdcution to Openfoam--working with free software
PDF
Open-source tools for generating and analyzing large materials data sets
PDF
DSD-INT 2019 RiverLab - Ottevanger
PDF
MODELS 2019: Querying and annotating model histories with time-aware patterns
PPTX
Learn How to Develop a Distributed Game of Life with DDS
PPTX
Gab Abramowitz_The e-MAST data-model interface
PPTX
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...
PPTX
The architecture of oak
PPTX
Using Containers and HPC to Solve the Mysteries of the Universe by Deborah Bard
PPTX
Devoxx Belgium 2015
PPTX
Application Performance and Flexibility on ExoKernel Systems
PDF
Design Patterns
PDF
Download-manuals-surface water-waterlevel-41howtoanalysedischargedata
PPT
Stoop ed-frameworks
PPTX
Research in the Cloud
PDF
OpenEBS; asymmetrical block layer in user-space breaking the million IOPS bar...
PDF
Classboxes
PDF
Shaping the Future: To Globus Compute and Beyond!
PPTX
From Backups To Time Travel: A Systems Perspective on Snapshots
PDF
Data Requirements for Groundwater Modelling
Introdcution to Openfoam--working with free software
Open-source tools for generating and analyzing large materials data sets
DSD-INT 2019 RiverLab - Ottevanger
MODELS 2019: Querying and annotating model histories with time-aware patterns
Learn How to Develop a Distributed Game of Life with DDS
Gab Abramowitz_The e-MAST data-model interface
Abstractions and Directives for Adapting Wavefront Algorithms to Future Archi...
The architecture of oak
Using Containers and HPC to Solve the Mysteries of the Universe by Deborah Bard
Devoxx Belgium 2015
Application Performance and Flexibility on ExoKernel Systems
Design Patterns
Download-manuals-surface water-waterlevel-41howtoanalysedischargedata
Stoop ed-frameworks
Research in the Cloud
OpenEBS; asymmetrical block layer in user-space breaking the million IOPS bar...
Classboxes
Shaping the Future: To Globus Compute and Beyond!
From Backups To Time Travel: A Systems Perspective on Snapshots
Data Requirements for Groundwater Modelling
Ad

More from Deltares (20)

PDF
DSD-INT 2024 Delft3D FM Suite 2025.01 2D3D - New features + Improvements - Ge...
PDF
DSD-INT 2024 Delft3D FM Suite 2025.01 1D2D - Beta testing programme - Hutten
PDF
DSD-INT 2024 MeshKernel and Grid Editor - New mesh generation tools - Carniato
PDF
DSD-INT 2024 Quantifying wind wake effects around offshore wind farms in the ...
PDF
DSD-INT 2024 Salinity intrusion in the Rhine-Meuse Delta - Geraeds
PDF
DSD-INT 2024 El-Nakheel beach swimmer safety study - Dobrochinski
PDF
DSD-INT 2024 Development of a Delft3D FM Scheldt Estuary Model - Vanlede
PDF
DSD-INT 2024 Modeling the effects of dredging operations on salt transport in...
PDF
DSD-INT 2024 Wadi Flash Flood Modelling using Delft3D FM Suite 1D2D - Dangudu...
PDF
DSD-INT 2024 European Digital Twin Ocean and Delft3D FM - Dols
PDF
DSD-INT 2024 Building towards a better (modelling) future - Wijnants
PDF
DSD-INT 2024 Flood modelling using the Delft3D FM Suite 1D2D - Horn
PDF
DSD-INT 2024 The effects of two cable installations on the water quality of t...
PDF
DSD-INT 2024 Morphological modelling of tidal creeks along arid coasts - Luo
PDF
DSD-INT 2024 Rainfall nowcasting – now and then - Uijlenhoet
PDF
DSD-INT 2023 Hydrology User Days - Intro - Day 3 - Kroon
PDF
DSD-INT 2023 Demo EPIC Response Assessment Methodology (ERAM) - Couvin Rodriguez
PDF
DSD-INT 2023 Demo Climate Stress Testing Tool (CST Tool) - Taner
PDF
DSD-INT 2023 Demo Climate Resilient Cities Tool (CRC Tool) - Rooze
PDF
DSD-INT 2023 Approaches for assessing multi-hazard risk - Ward
DSD-INT 2024 Delft3D FM Suite 2025.01 2D3D - New features + Improvements - Ge...
DSD-INT 2024 Delft3D FM Suite 2025.01 1D2D - Beta testing programme - Hutten
DSD-INT 2024 MeshKernel and Grid Editor - New mesh generation tools - Carniato
DSD-INT 2024 Quantifying wind wake effects around offshore wind farms in the ...
DSD-INT 2024 Salinity intrusion in the Rhine-Meuse Delta - Geraeds
DSD-INT 2024 El-Nakheel beach swimmer safety study - Dobrochinski
DSD-INT 2024 Development of a Delft3D FM Scheldt Estuary Model - Vanlede
DSD-INT 2024 Modeling the effects of dredging operations on salt transport in...
DSD-INT 2024 Wadi Flash Flood Modelling using Delft3D FM Suite 1D2D - Dangudu...
DSD-INT 2024 European Digital Twin Ocean and Delft3D FM - Dols
DSD-INT 2024 Building towards a better (modelling) future - Wijnants
DSD-INT 2024 Flood modelling using the Delft3D FM Suite 1D2D - Horn
DSD-INT 2024 The effects of two cable installations on the water quality of t...
DSD-INT 2024 Morphological modelling of tidal creeks along arid coasts - Luo
DSD-INT 2024 Rainfall nowcasting – now and then - Uijlenhoet
DSD-INT 2023 Hydrology User Days - Intro - Day 3 - Kroon
DSD-INT 2023 Demo EPIC Response Assessment Methodology (ERAM) - Couvin Rodriguez
DSD-INT 2023 Demo Climate Stress Testing Tool (CST Tool) - Taner
DSD-INT 2023 Demo Climate Resilient Cities Tool (CRC Tool) - Rooze
DSD-INT 2023 Approaches for assessing multi-hazard risk - Ward
Ad

Recently uploaded (20)

PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
medical staffing services at VALiNTRY
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Digital Systems & Binary Numbers (comprehensive )
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
System and Network Administraation Chapter 3
PPTX
assetexplorer- product-overview - presentation
PPTX
history of c programming in notes for students .pptx
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
System and Network Administration Chapter 2
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
wealthsignaloriginal-com-DS-text-... (1).pdf
Odoo POS Development Services by CandidRoot Solutions
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
medical staffing services at VALiNTRY
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Computer Software and OS of computer science of grade 11.pptx
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Digital Systems & Binary Numbers (comprehensive )
CHAPTER 2 - PM Management and IT Context
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Design an Analysis of Algorithms II-SECS-1021-03
System and Network Administraation Chapter 3
assetexplorer- product-overview - presentation
history of c programming in notes for students .pptx
Which alternative to Crystal Reports is best for small or large businesses.pdf
System and Network Administration Chapter 2
How to Choose the Right IT Partner for Your Business in Malaysia
Navsoft: AI-Powered Business Solutions & Custom Software Development
Why Generative AI is the Future of Content, Code & Creativity?

DSD-INT 2023 Recent MODFLOW Developments - Langevin

  • 1. Recent MODFLOW Developments By Christian Langevin (USGS), Joseph Hughes (USGS), and Martijn Russcher (Deltares) Presented at the Deltares Hydrology International User Days Deltares Campus, Delft, The Netherlands November 30, 2023
  • 2. Outline • Background • MODFLOW 6 Framework • Flow Model • Transport Model • Advanced Capabilities • Concluding Remarks
  • 3. MODFLOW Development Team • Wes Bonelli, UCAR • Scott Boyce, USGS • Joseph Hughes, USGS • Christian Langevin, USGS • Joshua Larsen, USGS • James McCreight, UCAR • Eric Morway, USGS • Sorab Panday, GSI • Scott Paulinski, USGS • Alden Provost, USGS • Michael Reno, UCAR • Martijn Russcher, Deltares
  • 5. Groundwater Modeling (before computers) Arlen Harbaugh (retired USGS) works on the Long Island, New York, electric analog model. Each panel represents a different model layer.
  • 7. MODFLOW 1984 Modular concept was inspired by stereo system components
  • 8. Many Different MODFLOW Packages… Packages have become more complex over time, and in many cases, they model a physical process
  • 9. History • MODFLOW introduced almost 40 years ago • Referred to as a ”community model” • Designed to be modular, teachable, portable, and extensible • Thorough documentation • Stable funding
  • 10. MODFLOW Versions and Variants Core Version 1984 1988 1996 2000 2005 Variants NWT LGR USG GWM SEAWAT GSFLOW CFP OWHM Development Paths 2017
  • 12. MODFLOW 6 Overview • First released in 2017 • Consolidation of existing functionality • Multiple model types in a single simulation • Multiple model instances in a single simulation • Flexible construction and solution of matrix equations
  • 13. Development Philosophy • Preserve and protect • Modularity • Capabilities • Portability • Readability • Documentation • Open and Free • Continuous Integration
  • 14. Model Types Groundwater Flow (GWF) Groundwater Transport (GWT) Published and available now Groundwater Energy Transport (GWE) Coming soon Particle Tracking (PRT) Surface Water Flow (SWF) Watershed Linear Network Flow (LNF) In development
  • 15. Typical Groundwater Flow Simulation This figure shows a typical simulation with one groundwater flow model that is solved by a numerical solution.
  • 16. Multi-Model Groundwater Flow Simulation This figure shows two separate groundwater flow models that are tightly coupled (at the matrix level) and solved simultaneously by a numerical solution. Coupling between the two models is facilitated by an “exchange”.
  • 17. MODFLOW 6 Groundwater Flow (GWF) Model
  • 18. Discretization Types in MODFLOW 6 DIS (Regular Grid) DISV (Layered Unstructured Grid) DISU (Fully Unstructured Grid) ”Layered” = same grid applies for each layer No formal layer concept
  • 19. Supported Groundwater Flow Formulations • Traditional “conductance-based” formulation • Newton-Raphson formulation (provides stability for water table problems)
  • 20. What happens with the Newton Formulation? Qrecharge 1 2 3 h1 h2 h3 ”dry” Heads are calculated by MODFLOW and may be below the cell bottom ”dry” partially saturated
  • 21. Flux Approximations • MODFLOW 6 has two different ways to calculate the flow between two cells: • Two-point flux approximation • Multi-point flux approximation (XT3D)
  • 22. Two-Point Flux Approximation • Flow between two cells is calculated using the head difference between the two cells • Common approach that works well for most problems
  • 23. Multi-Point Flux Approximation (XT3D) • Gradient reconstruction method (Provost et al. 2017) • Originally developed to represent anisotropic groundwater flow • Improves accuracy for grids with irregular geometric connections • Computationally more expensive than two- point standard approximation
  • 24. Water Mover • Generalized package for transferring water from one MODFLOW package to another package • Water can be transferred from a “provider” to a “receiver” subject to simplified rules • All transfers are tracked in a water budget
  • 25. GWF Model Coupling • GWF models can be coupled using a GWF-GWF “exchange” • Exchange input file contains geometrical data for connection between neighboring nodes Ln n m Lm Δw Model 1 Model 2
  • 27. Highlights of the GWT Model Grid Types Flow Formulations Transport Processes Advanced Transport Packages Multiple Chemical Species Multi-Domain • Standard conductance-based • Newton • Advection • Dispersion • Sorption • Decay/Growth • Sources/Sinks • Streams • Lakes • Wells • Unsaturated Zone
  • 28. ”Keating” Flow and Transport Problem
  • 30. Coupled Variable-Density Flow and Transport • SEAWAT capabilities now available in MODFLOW 6 • Buoyancy Package • Viscosity Package • Capabilities • Structured or unstructured grids • Traditional or Newton flow formulation • Advanced packages • Multi-model simulations
  • 31. Variable-Density Example • Based on classic Henry saltwater intrusion problem • Use Newton formulation for stable wetting and drying • Include tidally varying sea-level boundary condition
  • 34. MODFLOW-API • Full control of MODFLOW while it’s running • Well-defined interfaces based on Basic Model Interface (BMI) standard • Access to MODFLOW internal variables (as a copy or pointer) during runtime • Uses a shared library (DLL) version of MODFLOW 6 based on the same code as the executable version • API use cases • Couple MODFLOW with another model • Prototype or develop new MODFLOW packages • “Observe” MODFLOW behavior during a simulation Hughes et al. (2022)
  • 35. How does it work? finalize update initialize Create (CR) Define (DF) Read and Prepare (RP) start end Last Time Step TIME STEP LOOP YES NO Allocate and Read (AR) Calculate (CA) Output (OT) Final Processing (FP) Time Update (TU) Deallocate (DA) Main Program mf6 = ModflowApi(‘libmf6.dll’) mf6.initialize() current_time = 0. end_time = mf6.get_end_time() while current_time < end_time: mf6.update() current_time = mf6.get_current_time() mf6.finalize() Python Driver Program
  • 37. Parallel MODFLOW 6 • Officially released June 2023 in MODFLOW Version 6.4.2 • Long-standing collaborative effort between Deltares and USGS • Designed to be easily extended for new models • Technical Details • Domain decomposition approach • Based on the Message Passing Interface (MPI) • Based on PETSc (Portable, Extensible Toolkit for Scientific Computation) • Supports GWF, GWT and variable-density flow and transport
  • 43. In Summary • MODFLOW 6 is the current version of the USGS Modular Hydrologic Simulator • In MODFLOW 6, the “package” concept has been extended to include models, resulting in a multi-model hydrologic simulator • We are continuing to extend simulation capabilities by adding new models to the framework and by using the MODFLOW-API to couple with other existing models