Friday, September 4, 2020

Using the Drain/Fracture Element – Part 2 of 3: Connecting a Series of Ponds

 As described in Part 1 of this series, Drain/Fracture elements are useful internal boundaries for easily modeling a variety of hydrologic features including collector trenches, interconnected ponds, and transmissive fracture or fault zones.

This example will demonstrate the use of a drain/fracture line element to connect a series of ponds in such a way that water flows freely between the ponds and keeps them hydraulically linked regardless of additions or withdrawals from one of the ponds.

A pond in direct communication with the aquifer

In this example, a series of three ponds are in direct communication with the aquifer, and each pond is connected by a small stream. Because the ponds are in direct communication with the aquifer, groundwater is able to easily flow through the ponds as if they were a high hydraulic conductivity unit within the aquifer. And because the three ponds are linked by streams, the water level within all three ponds is nearly identical. This simple model uses five drain elements with high conductance values to represent the three ponds and two connecting streams (Fig 1). The Drain elements conduct water along their length effectively causing the three ponds to have roughly equal surface elevations (Fig 2).

Fig 1. Three ponds (represented by circular drain elements) connected by short stream segments (represented by linear drain elements).

Fig 2. Groundwater elevations in the vicinity of the ponds and connecting stream. Note that the easy flow among the ponds transmitted by the stream drain segments maintains the elevation of water in the ponds, and elevation of the adjacent groundwater in the aquifer, very close to 90 ft msl.


Increasing or decreasing the conductance of the drain elements can be used to control the elevations of the ponds relative to each other. A higher conductance will cause the three pond surface elevations to be closer together, while using a lower conductance will cause the three pond surface elevations to be further apart. If we increase the conductance of the model shown in the previous figure by a factor of 10, we can see that the 90-foot contour extends around the first pond, rather than cutting between the first and second ponds (Fig 3).


Fig 3. Increasing drain element conductance in the model enhances the hydraulic connection among the ponds, and all elevations more closely approximate 90 ft msl.

Similarly, decreasing the conductance of the original model by a factor of 100 causes additional contours above and below the 90-foot contour to separate the ponds, resulting in a larger hydraulic gradient between the three ponds.

Fig 4. Decreasing drain element conductance in the model reduces the hydraulic connection between the ponds and the aquifer, and from pond to pond, causing a significant decreasing head condition through the pond system from left to right.


In the above examples, the conductances of all five drains used to represent the ponds and connecting streams were changed uniformly, but each drain segment can be adjusted individually to better represent observed conditions.

Summary

Drain/fracture elements can easily represent ponds and networks of ponds that are in direct communication with the aquifer and hydraulically linked to each other. Using a high conductance for the drain/fracture elements (on the order 1 Million to 10 Million ft2/d) will cause ponds to have approximately equal surface elevations. Ponds at different surface elevations can be manual matched by adjusting the conductance of some or all of the drain/fracture elements to match observed surface water elevations. Representing ponds and streams using drain/fracture elements assumes that the surface water bodies are in direct communication with the aquifer and are neither extracting nor supplying water to the aquifer system. If the ponds are in-fact a source or sink in the aquifer system, spatially variable area source/sinks should be used for separate pond domains and river line boundaries should be used for the streams.

Tips and Tricks

  • For larger ponds, adding one or more drain lines within the interior of the pond will help to maintain heads across the entire pond.
  • To represent water extraction from within one of the ponds, a well or constant flux line element can be placed within the pond at a specified extraction rate.

The models used to in the above examples are available in this zipped file. Both model files are solvable using either AnAqSimEDU (the free version) or the full version of AnAqSim. Both versions are available from the Fitts Geosolutions.

Friday, August 14, 2020

Using Drain/Fracture Line Boundaries in AnAqSim – Part 1 of 3: Collector Trench Example

Drain/Fracture elements in AnAqSim are useful internal line boundaries that conduct water at a high rate compared to the surrounding domain.  They can be used to easily model a variety of linear hydrologic features including:

  • Trench drains that collect water in a high permeability trench and direct flow towards an extraction well
  • Ponds in direct communication with the aquifer where modeling pond responses to model stresses is desired
  • Discrete fractures or fractured zones

This example will demonstrate the use of drain/fracture line elements to represent a collector trench for groundwater dewatering or remediation, and parts 2 and 3 will focus on modeling ponds and fractures using drain/fracture line elements.

AnAqSim employs these drain/fracture elements as line boundaries with specified conductance (hydraulic conductivity * width) that can transmit large volumes of water. Note that drain/fracture elements in AnAqSim are different than drain boundaries employed in MODFLOW. Drain/fracture elements do not remove water from the model and the user does not supply a reference elevation. If you are trying to simulate a MODFLOW type drain boundary in AnAqSim, it is best to use the River element with the “Dries_up” box ticked. Note also that, while the drain/fracture feature is referred to as a boundary in AnAqSim, it is created using a line dipole function and should not be used to form an external domain boundary, nor should it contact or be joined to an external domain boundary - it is strictly an internal boundary.

Drain/fracture elements can be employed in any instance where hydraulic features can be conceptualized as a thin linear zone with a greater hydraulic conductivity than the surrounding aquifer. While that zone may have a physical width in the real aquifer, as for example in the case of a trench, the mathematical line boundary has zero width. This prevents any pathline tracing along these features as they transmit flow along their orientation. This limitation, along with other tips for implementation, will be discussed in the following example.

Trench Drains

Trench drains with extraction sumps or wells are useful remedial technologies to consider when evaluating remedial options at sites with impacted groundwater, or for certain dewatering applications. AnAqSim allows for rapid simulation of trench drains and extraction wells using either trench drain domains separated from the aquifer by interdomain boundaries or drain/fracture elements with an equivalent conductance (Kx * w) within the aquifer.

Previously, we have represented trench drains as separate domains in flexAEM exercises and calculators (available from the flexAEM website); this is an effective strategy that allows for particle tracing within the drain, but it can be time consuming to input the nodes along the edge of the drain (especially for complex drain geometries that do not align with the x and y axes). Drain/Fracture elements have are easier to input because only a single line is required (although care should be taken near the ends of trench drains to add additional nodes where the boundary condition changes rapidly). Additionally, a node is required at locations that correspond to wells pumping within the trench drain, otherwise the pumping will not be properly conveyed to the trench drain.

The examples below show a trench drain represented with a separate domain (Fig 1) and a trench drain represented using the drain/fracture element (Fig 2). Both examples have three pumping wells located within the trench drain pumping at 4,000 ft3/d or approximately 30,000 gpd. The trench drain is 4 feet wide with a hydraulic conductivity of 1,000 ft/d; this corresponds to a conductance of 4,000 ft2/d for the drain/fracture element.

Fig 1. Trench Drain Represented by a High Hydraulic Conductivity Domain













Fig 2. Trench Drain Represented by a Drain/Fracture Element























Notice that the two trench drain representations yield identical head contours (compare Figs 3 and 4), but the separate trench drain domain model produces a much more complete representation of the particle pathlines (Fig 3)  that represent the capture zones of the three wells. Although the drain/fracture element model does not allow particles to travel along the length of the drain (Fig 4), the particles that are shown represent the overall extent of the trench drain and extraction well capture zone.

Fig 3. Trench Drain Represented by a Separate High Hydraulic Conductivity Domain


Fig 4. Trench Drain Represented by a Drain/Fracture Element


Summary

Drain/fracture elements are useful features in AnAqSim that can be utilized to rapidly model trench drains used for capturing impacted water or dewatering. Modeling the dewatering effect of a trench drain and sump, without the need for particle pathline tracing is an efficient use of drain/fracture elements since it allows the user to save time when digitizing the trench drain.

Tips and Tricks

  • In the above example, near the ends of the trench drain and near the three wells, the spacing of drain/fracture element nodes was decreased to less than 1-foot to provide greater resolution where the boundary condition changes rapidly. If you are experiencing jagged contours near the drain, try decreasing the node spacing to see if this helps to smooth the contours.
  • If you have used drain/fracture elements in your model and you would like to perform particle pathline tracing, try adding a line of pathlines that trace backwards from immediately upstream of the drain/fracture element and another line of pathlines that trace forward immediately downstream of the drain/fracture element. This will give you a fairly good understanding of the flow directions on either side of the drain/fracture element, but will not indicate how far particles travel along the drain/fracture element before reentering the aquifer.

The models used to in the above examples are available in this zipped file. Both model files are solvable using either AnAqSimEDU (the free version) or the full version of AnAqSim. Both versions are available from the Fitts Geosolutions.


Monday, March 2, 2020

Interview with Dr. Charles Fitts Regarding the Analytic Element Method and AnAqSim Groundwater Modeling Software

You can probably tell from our flexAEM website and blog that we like AnAqSim. So we wanted to find out a little more about its author, Dr. Charles Fitts, how he became involved in Analytic Element Method (AEM) groundwater modeling, and how AnAqSim was developed to have the features it has. We sent Dr. Fitts some questions and he has graciously responded. You can read the “interview” below.

We were fascinated to learn about how Dr. Fitts became interested in learning, coding, and applying AEM models. But we are especially grateful for the in-depth responses that he provided on some of AnAqSim’s features, complete with references for those who want to explore this topic further. We want to offer our thanks to Dr. Fitts, and we hope you enjoy his responses below.

Q: How did you first become interested in groundwater flow, mathematical modeling, and the AEM?


A: I always liked mathematics, maps, water, and geology. As a teen, my parents called me “Chuck Atlas” because I spent so much time perusing the Rand McNally atlas. As an undergrad I majored in Geology/Biology at Colby and then I studied engineering geology and soil mechanics at Cornell for an MS. Then in the early 1980s I worked for four years doing geotechnical consulting in the Boston area. During those years I worked on many projects with seepage and groundwater issues. I took a semester off work to take engineering classes at U. Minnesota (my home state) to prepare for PE exams, and one of the courses I took was Groundwater Mechanics with Dr. Otto Strack, the founder of the analytic element method (AEM). He is a gifted teacher and I really enjoyed learning analytic techniques and applying them to groundwater flow problems. I decided to pursue more graduate study under Otto, and eventually got a PhD in civil engineering. My research there focused on AEM methods for vertical plane flow, 2D heterogeneities, and 3D heterogeneities. I was drawn to the AEM because of the beauty of the mathematics and the promise of the method with its high accuracy, minimal inputs, and geometric flexibility.

Q: What led you to develop AnAqSim with an approach that is quite different from previous AEM programs?


A: For my research at U. Minnesota, I wrote Fortran programs which I kept improving and using in my consulting work after leaving school. Ultimately this code became TWODAN (two-dimensional analytic groundwater model), which I distributed in the 1990s and 2000s. TWODAN was a good tool with a decent interface, but like most AEM programs at that time, it was limited to a single layer (2D) and had almost no transient capabilities (merely adding Theis solutions to the steady solution). In the 2000s, the AEM declined in popularity while numerical methods like FDM (MODFLOW) and FEM were on the rise. This trend was probably due to the robust multilayer (3D) and transient capabilities of numerical models, whereas AEM programs were generally limited to 2D steady flow. Rather than keep up with multiple modeling techniques and programs, many modelers just used one numerical modeling program. I felt that the key to growing AEM use was to improve its 3D and transient capabilities.

I saw a significant break when Strack and Jankovic (1999) published their paper on solutions for spatially variable area sinks (SVAS). These are 2D functions with a sink term whose strength (rate) varies with position in the plane using radial basis functions. SVAS functions create a smooth, irregular surface of sink strength that passes through any number of basis points where the strength is set. The radial basis functions used by Strack and Jankovic (1999) were first employed by Hardy (1971) to interpolate smooth topographic surfaces from point elevation data. Strack and Jankovic demonstrated the SVAS functions in a model simulating leakage from a single-layer aquifer to an overlying surface water using relatively few basis points. I saw that these SVAS functions could be used in a different way with larger numbers of basis points to dramatically improve multi-layer and transient modeling with the AEM. The distributions of vertical leakage between layers in multi-layer models and the storage fluxes in transient models may be combined and viewed as spatially variable distributed sinks. The functions presented by Strack and Jankovic could be used to approximate the required sink distribution.  

On another front, I worked on methods for modeling anisotropy in the plane of the domain, using some old (Muskat, 1937) and new coordinate transformations (Fitts, 2006). At this time, I also worked on a subdomain approach in AEM where you break up a model layer into separate finite subdomains instead of one infinite domain (Fitts, 2004; Fitts, 2010). Each subdomain has its own mathematical model and can have its own direction and ratio of anisotropy, making for very robust anisotropy capabilities. A subdomain approach has been used with boundary element methods, which are like AEM but use numerical integrations along boundary elements instead of analytic solutions (Liggett and Liu, 1983; Bruch and Lejeune, 1989). The subdomain approach has other nice side-effects: (1) it makes the equations for potential or discharge shorter, (2) model layering can vary from one region of a model to another, and (3) heterogeneity boundaries can be a mix of different boundary types such as specified head, specified normal flux, and interdomain.

It was exciting to see how all these pieces could come together. I began writing code that used subdomains, SVAS, and coordinate transformations to make AEM models that had multi-layer and general anisotropy capabilities. I also incorporated high-order line elements which make it easier to tune accuracy and use longer line segments (Jankovic and Barnes, 1999). I later added storage terms and transience using the same SVAS functions as are used for vertical leakage between layers. The result is a program that has the accuracy, minimal inputs and other benefits of AEM, but with comprehensive capabilities for anisotropy, multi-layer systems, and transient flow.

The vertical leakages are computed using finite difference approximations of dh/dz and storage fluxes are computed using finite difference approximations of dh/dt. The flow models are based on the AEM while these derivatives are approximated with finite differences. Such approximations are employed by MODFLOW and other numerical modeling programs as well and afford a wide range of application to both AnAqSim and numerical models.

Q: What are the main differences between AnAqSim’s methods and methods used in other AEM modeling codes?


A:  This topic has many facets, and for a quick overview you may want to see this web page comparing AEM program capabilities: https://www.fittsgeosolutions.com/analytic-element-method/.  I will discuss the major differences below.

Most AEM programs have elements that are all internal to a single infinite domain in each layer. In contrast, AnAqSim uses finite subdomains that extend laterally only as far as their polygonal external line boundaries. Each subdomain in AnAqSim has its own mathematical model, whereas the infinite domain approach has a single model per layer. This means the equations in AnAqSim are shorter (only elements within or on the boundary of a subdomain contribute to the potential or discharge functions of that subdomain), which leads to computational savings while solving the system of equations and while generating graphic outputs like contours and pathlines. Subdomains also allow complex layering schemes where, for example, three subdomains (layers) on one side of an interdomain boundary abut a single subdomain (layer) on the other. This lets you easily have more layers in the areas of interest and fewer layers farther out. No other AEM program has this feature.

Other AEM programs typically specify a reference head at a point outside the area of interest, which determines the flow to or from infinity. Since AnAqSim uses finite subdomains, this is not needed. The external boundary conditions in AnAqSim’s bounded models are more clearly defined than the infinity boundary condition generated by the reference head in infinite-domain AEM models. I know from my years of supporting TWODAN that the reference head was a source of confusion.

Most AEM programs are single layer (2D), but AnAqSim, MLAEM, and TimML all offer multi-level aquifer simulation (3D). TimML (and MLU, which is pumping test analysis software based on the same approach) is a multi-level simulator that provides exact distributions of the sink terms simulating vertical leakage and storage, whereas AnAqSim approximates these distributions between basis points. TimML has some limitations at this point in its development. For example all domains must be fixed transmissivity (confined), layers must be infinite, fewer kinds of line and area element boundary conditions are possible, and it lacks a graphic user interface. MLAEM appears to allow simulation of leakage in multi-level aquifer systems but after considerable online searching, I could not find documentation of how that is accomplished with area sinks, and the models are only for steady-state flow (not transient).

AnAqSim has comprehensive transient capabilities meaning that just about all key inputs (discharges, heads, recharge rates, normal fluxes, river stages) can be transient, varying from one time period to the next. Head-specified wells and line boundaries can have transient heads and they can turn off during specified periods. This on/off feature is handy for dewatering simulations. TTim is a transient AEM program like TimML that can also do transient simulations with transient discharges and heads, but TTim is subject to the same kinds of limitations listed above for TimML.

AnAqSim has general anisotropy capabilities, allowing unique directions and ratios in each subdomain. There are no other AEM programs that allow anisotropy in the plane of domains.

Q: Describe the process of creating and updating AnAqSim.  What were (are) some of the big hurdles?


A: AnAqSim is written in C#, an object-oriented language with many nice built-in components supplied by Microsoft. In the 2000s I switched from FORTRAN to C# because AnAqSim’s subdomains and transient time-stepping are complex and require a lot of bookkeeping that C#’s classes and objects are good at. I chose C# because it had the right language features, Microsoft is likely to be around for a while, it comes with a great development environment (Visual Studio), and there were good libraries for math and graphics. AnAqSim has tens of thousands of lines of code, so I had to build it incrementally and slowly from the ground up. I started with fundamental classes to represent spots (x, y, level, subdomain, potential and discharge functions), subdomains (elevations, properties, coordinate transformations, conversions between head and potential), and elements (wells, line elements, area sinks). I tested the daylights out of these fundamental classes before building higher-level classes (e.g. boundary conditions, equation-building) that use these lower-level classes.

It’s important to test the code thoroughly every step of the way and whenever anything is modified or added. Bugs are a fact of life with complex software and it takes time to root them out. Fortunately, AnAqSim has now been in use for almost a decade with many hundreds of users, so it is mature in the sense that serious bugs have been found and cured. I built lots of analysis features into AnAqSim, in part because the outputs are useful to users, but also because it makes thorough testing of the code much easier for me.

The biggest hurdle was the sheer magnitude of the project. It is a lot of work to write the computational parts of the code, the user interface, the documentation, the training tools, and the web site. I like the challenge of big projects and at this point I have invested probably a decade of work on this. I use bought components for the plotting, graphics, and math (complex variables, solvers), and these have saved time and made it possible. A difficult, but unseen part is creating an installation package that a user runs to install the software. This is a whole field unto itself, with specialized software that creates the install file and numerous arcane considerations such as .net frameworks, C++ libraries, dynamic link libraries, digital signatures, target platforms, etc.

Q: How has your use of groundwater modeling software evolved over time? 


A: In the 1990s I used TWODAN for 2-D steady flow analyses and MODFLOW for anything that was 3D and/or transient. I also used Aqtesolv, which is good software for analyzing pumping tests using various radial single-layer analytic solutions. I still use Aqtesolv for some pumping test analyses, but it has been a few years since I’ve used MODFLOW. I find that I can reasonably model most any situation with AnAqSim. I have been using AnAqSim often to analyze pumping tests in a more sophisticated way when one or more of these conditions are present: partial penetration of pumping or observation wells, heterogeneity, anisotropy, or irregular boundary conditions. With AnAqSim’s hydrograph features, it is easy to plot simulated vs. observed heads at all observation wells and tweak aquifer parameters to get a good match of those hydrographs.

 

Q: What types of groundwater projects have you or others applied AnAqSim to?


A: AnAqSim has been used on many projects for construction or mining dewatering simulations, which appears to be the most common application. Dewatering simulations have involved wells, sumps, trenches, sheet-pile barriers, and recharge trenches. The ability to turn specified head wells and line boundaries off is handy for dewatering projects that proceed in stages (e.g. an expanding and deepening excavation). I have also done transient analysis of the impact of constructed ponds on local groundwater flows and heads.

Another common application is capture zone analysis for remediation design and for water supply zone of contribution studies. These often involve multilayer models in the area of interest to simulate partially penetrating wells, drains, and surface waters; and they can be performed as part of groundwater protection zone delineation or groundwater remediation projects. AnAqSim’s area pathlines and capture constrain features give it unique capabilities for capture zone analysis. 

Several of my projects have involved simulating vertical plane flow. One was analyzing discharge to a ship channel with bulkheads and heterogeneous subsurface conditions, and another was looking at patterns of discharge from a sand and gravel aquifer to a lake. The anisotropy features are helpful with vertical plane models, where stratification typically makes subdomains anisotropic.

I often use AnAqSim to analyze pumping tests with partially penetrating wells, heterogeneous and layered systems, and surface water connections near the tested well. An analysis done this way can be accomplished in just a few hours. You get a much more sophisticated and realistic analysis compared to the typical pump test solution for a single layer, no boundaries, and radial symmetry. 

I’ve analyzed fresh/salt interface aquifers a couple of times and I know of other consultants who have done many projects analyzing interface positions in sandy coastal aquifers.

Q: What materials are available to help users learn to use AnAqSim?


A: The more capable a modeling software is, the more there is to learn. Since AnAqSim can do so many things, there is a lot to learn. So, I have worked hard to provide detailed documentation and training for users.  There is a 120+ page user guide that is available online and with the software, which explains all inputs and outputs. There are also instructional videos and tutorials at this web page, which are a good way to get up and running: https://www.fittsgeosolutions.com/learning-anaqsim/. McLane Environmental’s flexAEM training materials http://www.flexaem.com/ are well-designed and are a great way to learn AEM modeling and AnAqSim in particular.

The https://www.fittsgeosolutions.com/ website has some other useful learning resources, including a detailed explanation of a transient construction dewatering model, a page explaining how to use AnAqSim with PEST (parameter estimation software), 19 different checks of AnAqSim complete with model files, and a reference list of helpful books and journal articles. 

Recently, we have been offering a six-session webinar series called AnAqSim in Depth at least once a year. The series aims to help a user learn how AnAqSim works and how to apply it. Each session is one hour and there is one session per week. This gives time for optional home exercises each week that walk you through building or modifying AnAqSim models that use the content of that week’s session. The next AnAqSim in Depth series starts March 10, 2020 and it is described at this web page: https://www.fittsgeosolutions.com/webinar/.

Q: What are some useful, but possibly obscure, modeling techniques that you could share with AnAqSim users?


A: My first tips are about analyzing pumping tests. I often do this using multi-level models with an initial condition of head = zero everywhere, and just simulate the deviation from zero with the transient model, like is done in typical pumping test analysis. To do this, set the average head in all domains to zero, and have your elevation datum be the static water level if you have unconfined domains at the top. I select the constant head option for Starting Heads in the solve settings, which uses a domain’s average head as the starting head. I typically use Head-Specified External with Gradient line boundaries for the far-field boundary condition in all levels of the model, and I set the head and gradient at these to zero. Place these external boundaries far enough out so the drawdown doesn’t reach there by the end of the test. If there are constant head boundaries such as a surface water nearby, simulate them with a specified head = 0, so there is no drawdown there. These sorts of models set up quickly in an hour or so. I calibrate them manually using the Analysis/Hydrograph features in AnAqSim, but for PEST enthusiasts calibration can be automated that way.

Another feature that few people seem to use are the SVAS top/bottom condition surfaces. Most people apply SVAS top conditions of a constant recharge rate or sometimes of a constant head for leakage to an overlying surface water. But it is possible to use these surfaces to model recharge that varies with location, or leakage to an overlying surface water with a sloping surface (e.g. a wetland or stream). Likewise, at the bottom of a model, it is most common to specify zero flux (impermeable) everywhere. If there is leakage to/from a deeper layer that is not in your model, you can use a surface to represent the heads in that deeper layer below your lowest model layer, and simulate leakage to/from that deeper layer using a head-dependent flux for the bottom condition.

Q: Any closing remarks?


A: Thank you for the opportunity to do this Q&A. I want to encourage feedback from users, who help me track down bugs but also come up with suggestions for capabilities they’d like to see added. I keep a database “wish list” of these and chip away at them over time.

References

Bruch, E., and A. Lejeune (1989), An effective solution of the numerical problems at multi‐domain points for anisotropic Laplace problems, in
Advances in Boundary Elements, vol. 2, Field and Flow Solutions, edited by C. A. Brebbia and J. J. Connor, pp. 3–14, Comput. Mech., Boston.

Fitts, C.R. (2010), Modeling Aquifer Systems with Analytic Elements and Subdomains, Water Resources Research, 46, W07521, doi:10.1029/2009WR008331.

Fitts, C.R. (2006), Exact Solution for Two-Dimensional Flow to a Well in an Anisotropic Domain, Groundwater, 44(1), 99-101.

Fitts, C.R. (2004) Discrete Analytic Domains: A New Technique for Groundwater Flow Modeling in Layered, Anisotropic, and Heterogeneous Aquifer Systems, American Geophysical Union Fall Meeting, San Francisco, CA.

Hardy, R.L. (1971), Multiquadric equations of topography and other irregular surfaces. Journal of Geophysical Research 76, 1905–
1915.

Jankovic, I., and R. Barnes (1999), High‐order line elements in modeling two‐dimensional groundwater flow, Journal of Hydrology, 226, 211–223.

Liggett, J. A., and P. L‐F. Liu (1983), The Boundary Integral Equation Method for Porous Media Flow, Allen and Unwin, London.

Muskat, M. (1937) The Flow of Homogeneous Fluids through Porous Media. New York: McGraw-Hill.

Wednesday, January 15, 2020

MODFLOW and More 2019 – Using AEM as a Stepwise Tool for Analyzing Flow in Fractured Bedrock

Last June, several members of the McLane Environmental/flexAEM team attended and presented at the MODFLOW and More Conference at the Integrated Groundwater Modeling Center (IGWMC) at the Colorado School of Mines in Golden, Colorado.  Those presentations included two talks on AEM modeling, which were part of “The Analytic Element to the Rescue: Developments and Applications” session, chaired by AEM pioneers Henk Haitjema and Otto Strack.  Now, one of those talks, which illustrated how AEM can be utilized as a stepwise tool for analyzing flow in fractured bedrock aquifers, can be viewed HERE.

As described in the video, analysis of groundwater flow in fractured bedrock aquifers may be performed using a spectrum of modeling approaches that includes (in general order of complexity) analytic solutions; analytic element method (AEM) models; numerical (FD / FE) models with few discrete fractures/faults; and discrete fracture network (DFN) models with many (often stochastically generated) fractures. On that analysis spectrum, AEM models offer a number of advantages, including allowing the modeler to:
  • Build on a selected analytic solution
  • Move beyond the analytic solution to create a more useable model framework that incorporates other hydraulic and hydrologic features for site analyses
  • Represent any fracture or fault geometry and orientation without problems of cutting across or excessively refining the grid, because there is no grid!
  • Examine the flow field on scales from inches (near a fracture or fault) to miles (in the far field)
  • Use insight gained to develop a more complex numerical model if required.

The current study described in the video shows techniques for using AEM models to analyze pumping tests in wells fed by a fracture or fault; using fracture elements to explicitly represent the discrete fracture features that cause anisotropy in fractured rock aquifers; and analyzing pathways in natural and pumping-influenced flow fields in fractured and faulted bedrock aquifers.


To learn more, check out our Example Application Page on this topic, or Contact Us with any questions.

Friday, November 8, 2019

Groundwater Protection Area Delineation Using AnAqSim

Public water supply wellfields provide water for a variety of beneficial uses in homes, businesses and industries, and for farmland irrigation in many communities. To protect those water supplies, water purveyors often perform analyses to determine the area over which water enters and flows though the aquifer supplying a well or wellfield, so that measures can be taken to prevent and/or minimize the potential contamination of groundwater in those areas.
 
Often referred to as “wellhead protection areas”, a number of state and local governments have regulations and guidelines on how to delineate these groundwater protection areas.  For instance, in the Commonwealth of Massachusetts, regulations require that the groundwater protection area for a well (referred to as a “Zone II Area”) be delineated under severe hydrologic conditions.  Specifically, Massachusetts regulations describe the Zone II Area as follows:


“Zone II is that area of an aquifer which contributes water to a well under the most severe pumping conditions that can be realistically anticipated (180 days of pumping at safe yield with no recharge from precipitation). “


Typically, one of the most common methods utilized to delineate Zone II Areas (and groundwater protection areas in general) is a groundwater flow model.  AnAqSim is particularly well-suited for this type of analysis because it has a number of special features and tools that make it easy to delineate pumping well Zones of Contribution in general, and Zone II Areas in particular, including the following:
  • AnAqSim’s ability to automatically calculate recharge or leakage over an area (this is useful in confirming that the model area determined from pathline tracing to be contributing recharge to the well matches the specified withdrawal rate at the well; this area can also  be used as a basis for pathline tracing for the Zone II);
  • the ability to capture a snapshot of heads for a selected time step in a transient aquifer simulation (e.g. “freeze” calculated heads on the 180th day following termination of recharge as is required for a Zone II analysis), and then perform pathline tracing;
  • easy setup of a grid of pathline starting locations over some area of the aquifer surface for forward tracing toward the pumping well; and
  • constraining the display of pathlines, so that only those pathlines captured by selected model features (e.g. wells for which wellhead protection areas are to be delineated) are shown on the plot.
As the first installment of our new AnAqSim Example Application Series, which was developed to provide a set of practical modeling application examples that demonstrate how common groundwater modeling analyses can be accomplished using AnAqSim, our Simple Zone II Example Application  demonstrates how AnAqSim can be used to delineate a Zone II groundwater protection area consistent with Massachusetts 310 CMR 22 and guidance documents.


Although the example is focused on the delineation of a Zone II area in Massachusetts, the techniques used in delineating the Zone of Contribution (ZOC) and Area Contributing Recharge (ACR) for the well can also be applied for delineating groundwater protection zones under other regulatory programs.

The example, which comes with a detailed guide on model set up and Zone II delineation with AnAqSim(and all associated modeling files), can be downloaded for free HERE.



Tuesday, May 14, 2019

flexAEM Remediation Calculator Toolkit's new Transform Calculator Utility


Recently, the flexAEM Remediation Calculator Toolkit was updated and expanded to reflect the new features and software enhancements included in the latest version of AnAqSim (2019-1). The expanded Toolkit now includes the “Transform Calculator” utility, which allows the user to take one of the 15 calculators and manipulate the calculator geometry to better match your site’s spatial coordinates and groundwater flow direction.    

The Transform Calculator utility translates the lower left corner of the calculator to match the entered coordinates, it then rotates and scales the calculator to the desired angle and size to fit with site x-y coordinates (we recommend using feet or meters).


Each input to the Transform Calculator utility is briefly described below:

Select Calculator:
·         Select 1 of the 15 calculators provided in the toolkit.

X Translation:
·         Moves the calculator along the x-axis.

Y Translation:
·         Moves the calculator along the y-axis.

Rotation (degrees):
·         Rotates your calculator counterclockwise from the x-axis around the origin (lower left corner) of the selected calculator.

X Dimension:
·         Sets the length of your calculator along its no-flow boundary (the selected calculator’s x-axis). All base calculators start out as 5000 x 5000. Negative numbers will mirror the model around the y-axis (this may create some issues, rotating by 180 degrees is better).

Y Dimension:
·         Sets the length of your calculator along its constant head boundary (the selected calculator’s y-axis). All base calculators start out as 5000 x 5000. Negative numbers will mirror the model around the x-axis (this may create some issues, rotating by 180 degrees is better).

Output File Name:
·         Enter a name for your calculator (saves in the flexAEM Remediation Calculator Toolkit folder) or Browse to save your calculator in a different location.

Transform:
·         Transforms the selected calculator and saves it with the Output File Name.

Once the calculator transformation is complete, a .dxf map of key site features can be imported into AnAqSim to quickly and easily visualize the transformed calculator for your site, and produce report ready graphics. Below, the Funnel & Gate calculator has been rotated by 15 degrees and adjusted in the X and Y directions to match site coordinates. Finally, a .dxf site map has been brought into the transformed Funnel & Gate calculator using Plot Input / What to Plot and selecting color from the Basemap drop down menu and then Selecting the Basemap_File for the site.


To learn more, or to purchase the newly updated and expanded Remediation Calculator Toolkit (including the Calculator Transform utility), visit the flexAEMCalculator Toolkits page today!


Friday, March 29, 2019


Groundwater Modeling with AEM – A Look Back, and a Look Ahead to the Future

Introduction
The analytic element method (AEM) approach to groundwater modeling is efficient, powerful, easy to implement, fast to run, and provides the analyst a means for gaining insight at various steps of the modeling process that can guide data collection and subsequent model development. It is also a method that is apparently underutilized by groundwater modelers today. (We say apparently because there is some hope that modelers employ the method more than they report it in their final project documentation.)

This article will briefly describe the AEM groundwater modeling approach and how it evolved to its present state.

Definition of AEM groundwater modeling method
The Analytic Element Method is often described as being based on (1) mathematical solutions for the groundwater flow equation written in terms of discharge potential, and (2) the principle of superposition.

What that means in practical terms is that the flow equation is not written in terms of hydraulic head; it is written and solved in terms of discharge potential, which for a constant thickness aquifer is essentially head multiplied by hydraulic conductivity and aquifer thickness (Brikowski 2013). This allows the AEM, by superposition (adding of individual solutions), to be applicable to both confined and unconfined flow conditions as well as to aquifers that include heterogeneities (Strack and Haitjema 1981).

A mathematical solution, in terms of strength coefficients, is generated for the space around each element in the model; with each element representing a hydraulic or hydrologic feature - - a well, infiltration basin, or river reach for example. Then all of the element solutions are added at each point in model space to develop a 2D or 3D picture of the discharge potential field, and hydraulic head field. That field can be contoured to produce a head distribution map, or used as a basis for pathline tracing, or processed to calculate the groundwater flux though a boundary or user-defined transect.

The AEM is newer than FD and FE
Several authors have pointed out that the AEM is newer than finite-difference (FD) and finite-element (FE) methods. While that is technically true - - FD methods late 1960s; FE methods early 1970s; AEM about 10 years later in the late 1970s / early 1980s - - AEM is hardly the “new kid on the block.” It has been developed, applied and tested for almost 40 years now. And AEM was originally developed to address the limitations of prior FD and FE techniques. (To read the story of how AEM’s inventor Dr. Otto Strack first applied AEM on a large US Army Corps of Engineers project see Deming 2003. For more information on the history, applications, and strengths of AEM in general see Hunt 2006.)

While computer power has, in recent years, made up for some of the inefficiencies of FD and FE groundwater flow modeling methods, the continued development of AEM over the past four decades provide it with a number of advantages that still make it the method of choice in many situations. That development, and those advantages, are discussed in the following sections.

Brief history and progress in the field of AEM method of groundwater modeling
As mentioned above, the AEM groundwater modeling method that was originally developed in the Netherlands came to be first used in the United States by Dr. Otto Strack on a large-scale USACE dewatering project. Dr. Strack was assisted on the project by Henk Haitjema. Together these two PhD hydraulicians and mathematicians would go on to expand the capabilities of the method and make it available to groundwater modelers in the form of widely used AEM software packages. They also trained dozens of students (see figure below) who rose to prominence in the AEM field and developed their own methods and software.

    (from Kraemer 2007)


Some examples of the more popular and widely used AEM groundwater modeling software include:
Table 1. AEM Groundwater Modeling Software
Software / Solver
Author
Dr. Otto Strack
Dr. Henk Haitjema
Dr. Igor Jankovic
Dr. Mark Bakker
Dr. James Craig
Dr. Charles Fitts



Advantages of AEM
The Analytic Element Method in general, and all of the AEM codes described above (and others not described here), allow the modeler to develop groundwater flow models with the following advantages:
  1. Easy and accurate setup in representing hydrologic features and boundaries
    • As simple as drawing points and lines on the screen; works well with GIS representation of hydrologic features.
    • Accurate, fine-scale, representation of model boundaries, river features, etc. There is no need to construct million-grid-cell models to represent curved watershed boundaries or sinuous river channels; and thus there is no corresponding computational penalty.
  2. Faster more accurate simulations
    • Fewer equations in simple to moderately complex AEM models mean faster run times.
    • Continuity of flow within the model domain, and between model subdomains is assured by virtue of the underlying solution techniques.
  3. The AEM model is capable of providing a wide “range of view” with accurate results one foot from an infiltration basin or at the far reaches of the watershed. Heads and velocities can be calculated at any location within the model space.
  4. Model post-processing for pathline tracing, flux through transects, and zone budgets can be accomplished accurately and efficiently using the calculate discharge potential generated by the AEM model.
  5. The AEM groundwater modeling method provides the perfect tool for application of the Stepwise Modeling approach recommended by many investigators and organizations.
    • When starting simple with a finite difference model you often start with a coarse grid. This can cause problems in representing model features and inaccuracy in the results.
    • AEM moves smoothly from a “back of the envelope” or analytic solution in easily implemented steps (no grid to refine or rearrange) to a fairly complex model; with insight gained at each step in the process.
The Future
Significant advancements in the field of AEM modeling of groundwater flow have been in progress over the past several years, and are likely to continue into the future. New, more flexible, elements are being developed (e.g. Ranjram and Craig 2018), and new solver methods are being implemented to address difficult modeling problems such as the instabilities that can occur when severely dewatering multilayer aquifer models (e.g. Fitts 2018). There are developments underway that will expand analytic element flow modeling into the area of contaminant fate and transport simulation (e.g. Majumder and Eldho 2019), and research into rapidly and efficiently solving large complex AEM models in the cloud (Fullerton 2017).

Conclusion
As Steve Kraemer (2007) noted, “There is a small but active community of ground water modelers who use an innovative solution technique known as the analytic element method.” That method has evolved over the years, and its use and publications describing its use continue to grow.

For the reasons outlined in this brief summary, AEM presents an ease of use, flexibility and power that make it ideally suited for a wide variety of groundwater modeling applications; and the perfect tool for Stepwise Modeling. For more on that subject see the National Groundwater Association White Paper on Groundwater Modeling (https://www.ngwa.org/publications-and-news/industry-resource-library/White-papers -  free to NGWA members). In addition, we are planning an article on AEM and Stepwise Modeling in an upcoming flexAEM blog post.

flexAEM
At McLane Environmental, we have been using a variety of AEM groundwater modeling tools since the early 1990s, and have applied them successfully in dozens of hydrogeologic investigations. To hopefully foster the wider use of AEM techniques in the modeling community, we have published a series of AEM modeling exercises, and model development software tools, centered around AnAqSim modeling software.

These exercises demonstrate the usefulness and accuracy of results generated by AEM models. While focused on AnAqSim, the concepts and tools are applicable to other AEM software and to groundwater modeling in general. For more information please visit the flexAEM website (http://www.flexaem.com/).

References
Brikowski, T. 2013. Introduction to the analytic element method (GEOS-5311 Lecture Notes). 23 p. http://utdallas.edu/~brikowi/Teaching/Applied_Modeling/GroundWater/LectureNotes/analytic_element.pdf
Deming, D. 2003. Autobiographical sketch of Otto D.L. Strack. Ground Water Vol. 41, No. 4:550 – 554. https://onlinelibrary.wiley.com/doi/pdf/10.1111/j.1745-6584.2003.tb02391.x
Fitts, C.R. 2018. Modeling dewatering domains in multilayer analytic element models. Ground Water Vol. 56, No. 4:557 – 561.
Fullerton, J.B. 2017. Cloud-based analytic element groundwater modeling. Masters Thesis, Brigham Young University, 54 p. https://scholarsarchive.byu.edu/etd/6319/
Hunt, R.J. 2006. Ground water modeling applications using the Analytic Element Method. Ground Water Vol. 44, No. 1:5 – 15. https://onlinelibrary.wiley.com/doi/full/10.1111/j.1745-6584.2005.00143.x
Kraemer, S.R. 2007. Analytic element ground water modeling as a research program (1980 to 2006). Ground Water Vol. 45, No. 4:402 – 408. https://onlinelibrary.wiley.com/doi/10.1111/j.1745-6584.2007.00314.x
Majumder, P. and T.I. Eldho 2019. Reactive contaminant transport simulation using analytic element method, random walk particle tracking and kernel density estimator. Jour. Contam. Hydrol. Vol 222, p. 76-88. https://www.sciencedirect.com/science/article/pii/S0169772218302821
Ranjram, M. and J.R. Craig 2018. Closed analytic elements with flexible geometry. Ground Water Vol. 56, No. 5:816 – 822. https://onlinelibrary.wiley.com/doi/abs/10.1111/gwat.12649    
Strack, O.D.L and H.M. Haitjema 1981. Modeling double aquifer flow using a comprehensive potential and distributed singularities. 2. Solution for inhomogeneous permeabilities. Water Resources REsearch, Vol. 17, No. 5:1551-1560. http://agupubs.onlinelibrary.wiley.com/doi/abs/10.1029/WR017i005p01551