Second Anaqsim Tutorial: Building A Multi-Layer Heterogeneous, Anisotropic Model With Various Boundary Conditions
Second Anaqsim Tutorial: Building A Multi-Layer Heterogeneous, Anisotropic Model With Various Boundary Conditions
Contents
Introduction .......................................................................................................................................................... 2
Opening the First Tutorial Model.......................................................................................................................... 2
Adding New Domains for the Multi-Layer Area.................................................................................................... 2
Interdomain Line Boundary to Define the 3D Region........................................................................................... 3
Putting the Well and River Reach into the New Domains .................................................................................... 6
Spatially-Variable Area Sinks in 3D Region ........................................................................................................... 6
SVAS by Domain ................................................................................................................................................ 7
SVAS by Polygon ............................................................................................................................................... 7
Well SVAS Basis Point Spacing .......................................................................................................................... 9
Solving the System of Equations ......................................................................................................................... 10
What to do if your model has too many equations (AnAqSimEDU users) ..................................................... 10
Making a Plot of the Solution ............................................................................................................................. 11
Plot Input Settings........................................................................................................................................... 11
Make a Plot of Entire Model Area with Head Contours and Vectors ............................................................. 11
Make Close-up Plots of 3D Area, Both Levels ................................................................................................. 12
Examining Head Differences Between Levels ................................................................................................. 14
Making a Plot with Pathlines .......................................................................................................................... 15
Analyzing the Solution in Detail .......................................................................................................................... 16
Examining Head at the Discharge-Specified Well ........................................................................................... 16
Checking River Reach Discharge ..................................................................................................................... 17
Making Profiles along a Line ............................................................................................................................... 18
Profiles Showing Head, Domain Boundaries, and Pathlines ........................................................................... 18
Profiles Showing Domain Discharges .............................................................................................................. 20
Profiles Showing Extraction, Evaluating SVAS Accuracy ................................................................................. 21
Further Exploration for AnAqSim Users.............................................................................................................. 23
Make the 3D area 4 levels .............................................................................................................................. 23
Add Head-Specified and/or Discharge-Specified Multi-Domain Wells ........................................................... 23
Wrap up and Next Steps ..................................................................................................................................... 24
Then right-click and choose Copy Selected Rows and then right-click and select Paste New Rows. For a review
of how to edit input tables in the Data tab, please see this short video. Edit the first 5 columns of the new
rows so they look like the following table. Columns 6+ will all be unchanged, since these domains all have the
same properties, just different elevations.
Note that the bottom elevation of the new two-level area is 80, a bit lower than the bottom elevation of the
“all” domain at 82. This is just to show that elevations may change laterally in a model if you want them to.
The “3D upper” domain is in level 1 and is unconfined with a base at elevation 95. The “3D lower” domain is
in the 2nd level (level numbers increase with depth) and is confined with a constant saturated thickness of 15,
going from elevation 80 to 95.
At this point, save your model with File/Save from the main menu or Ctrl-C.
Next, select Model Input/Line Boundaries/Inter-Domain and add a new row so it looks like this:
The “ID” boundary defined the limits of the recharge basin, and the new “3D limits” one will define the
boundary of the 3D area. Click on the Edit button in the “3D limits” row and paste in the coordinates you just
digitized, and then press OK.
Then, click on the Select button under Domains_left. If you digitized in clockwise order, select the “all”
domain and if you digitized in counter-clockwise order, select both “3D upper” and “3D lower”. Imagine
walking on the ground surface along the line you just digitized; Domains_left would be to your left as you
walk along the boundary and Domains_right would be to your right. This interdomain boundary makes a
transition from two levels (3D upper, 3D lower) on one side to a single level (all) on the other. By doing this,
Interdomain boundaries can help you efficiently concentrate computing power and multiple levels in a
limited area. Interdomain boundaries can also join a single domain on one side with a single domain on the
other side.
Now click on the Select button under Domains_right. If you digitized in clockwise order, select both “3D
upper” and “3D lower” and if you digitized in counter-clockwise order, select the “all” domain.
To check your input, select Make Plot/Model Elements Only, then select level 1 and press OK, and you should
see something like this in the area near the well:
When you are inside the 3D limits you should see this:
Now make a similar plot, but chose level 2 instead of level 1 and you will see something like this:
The river elements do not show up, since they are in level 1. Move the mouse across the boundary, and
observe the domain listed at the left. When you are outside the 3D area, there is no level 2 and you should
see a blank under Domain Name:
Putting the Well and River Reach into the New Domains
The two domains that occupy the 3D area are “3D upper” and “3D lower”, but our input still lists the middle
river reach and the well as being in domain “all”, which is no longer correct. We need to change the input for
these elements and put them in the correct domains.
First, bring up the well data by moving the cursor near the well, right-clicking, and then selecting Edit Nearest
Well. Then change the domain of the well from “all” to “3D lower”:
Now the well is screened only in the 3d lower domain from elevation 80 to 95, not in the “3D upper” domain
above. In this manner, AnAqSim simulates partially-penetrating wells.
Second, edit the middle river reach by moving the cursor near this line boundary, right-clicking, and then
selecting Edit Nearest Line Boundary. This will open the river line boundary table and highlight the middle
reach row. Change the domain of the well from “all” to “3D lower”:
The river now will be in the upper layer and there will be vertical resistance and 3D flow with the underlying
2nd level.
Save your model now, selecting File/Save from the main menu or Ctrl-S.
This SVAS applies to the area spanned by the “3D upper” domain. SVAS are applied for all levels of a model,
including those that underlie and/or overly the specified domain. Since “3D upper” and “3D lower” span the
same area, we only need to create an SVAS for one of these domains. The result would be the same if we
chose either “3D upper“ or “3D lower” as the Domain. Condition_Top is set to Flux, meaning that the
sink/source rate into the top of the model is specified and equal to 0.0006, the same recharge rate that
applies in the “all” domain outside the 3D area. Condition_Bottom is set to Flux = 0, so the bottom of the
model (bottom of “3D lower”) is impermeable. The alternative top or bottom condition is
head_dependent_flux, which is used for vertical leakage to a specified head at a surface water, for example.
Node_spacing is the approximate spacing between basis points in the SVAS. The leakage/storage fluxes are
solved for perfectly at the basis points, and approximated with a smooth interpolated surface between basis
points. AnAqSim will automatically populate the area of domain “3D upper” with basis points on a regular
hexagonal grid of points, spaced about 80 units apart. To read more about SVAS, see papers by Fitts (2010)
and Strack and Jankovic (1999).
To see how these basis points are distributed, select Make Plot/Model Elements Only, then select level 1 and
press OK. You should see green “+” basis point symbols in the 3D area something like this:
A similar plot of level 2 would show basis points at these same locations. Move the cursor over some basis
points to see the domain and top/bottom conditions at this point.
SVAS by Polygon
Where the rates of vertical leakage change over short horizontal distances, we need denser basis point
spacing. We can use polygon SVAS and special well basis point spacing for this purpose. First, we will create
a zone of denser basis points in the well/river vicinity using a polygon SVAS. Start by digitizing a polygon
(either clockwise or counter-clockwise) that looks something like the yellow line in the following image. If
you don’t close the polygon, AnAqSim will close it for you from the first point to the last.
Then click on the Edit button and paste in the coordinates of the polygon you just digitized. This will spread
out basis points with a smaller spacing (25) inside the polygon. The domain basis points that were within this
polygon will be automatically overwritten. The Nesting_level is used when you have multiple polygon SVAS
that are nested within one another. Polygon SVAS with higher nesting levels overwrite polygon SVAS with
lower nesting levels. We will input just one polygon SVAS, so nesting won’t be an issue.
Save your input, and then select Plot Input/What to Plot and then check the SVAS_polygons box so that the
SVAS polygons will be displayed in subsequent plots:
Select Make Plot/Model Elements Only and choose level 1 to see the distribution of basis points and the SVAS
polygon (light blue):
Then click the Select button and select the one well in the model:
This will create concentric circles of basis points, 6 per circle, with smaller and smaller circles until the
innermost one which is just outside the well radius. The largest circle will be drawn such that the spacing
between points is no more than Max_node_spacing. Generally set Max_node_spacing to a value close to the
ambient domain or polygon basis point spacing. Switch to the Plot tab, zoom in on the 3D area, and then
right-click and select Set Plot Window to Current View, which will make subsequent plots in this smaller area.
Now select Make Plot/Model Elements Only and choose level 1 to create a plot like this:
Zoom in on the well to see the special well basis point placement more clearly:
The system had 439 equations and 439 unknowns. It took 5 iterations and about 1 second to solve within the
convergence criteria listed under Model Input/Solution/Check Settings. Some of the equations in the model
were nonlinear (vertical leakage equations at basis points, river equations) due to the nonlinear nature of the
head-potential relationship in unconfined domains. Solving nonlinear equations requires iteration using
updated linear approximations at each iteration.
Leaving the Window cell blank makes the plot cover the entire extent of the model. We will make a plot that
shows the checked items.
Next select Plot Input/Contour Settings and adjust it like this:
The blank cells for Minimum and Maximum mean that the minimum and maximum contours will be
determined such that they cover the full range of head (h) in the plot area. Select Plot Input/Vector Settings
and adjust to look like this:
This will draw about 600 vectors proportional to average linear velocity. Read more about these and other
plot input settings in the User Guide.
Make a Plot of Entire Model Area with Head Contours and Vectors
Make the plot by selecting Make Plot/All Selected Features and then select level 1 and press OK. Your plot
will look like this:
This is just the same plot, but enlarged. You can easily make a more accurate plot of this close-up window.
First, change the plot window to this view by right-clicking over the plot and then selecting Set Plot Window
to Current View. Also, under Plot Input/Contour Settings, change the Increment to 0.2 instead of 0.5:
If you repeat this, but make the plot of level 2, you get something like this:
The results show different head patterns, with more pronounced connection to the river in level 1 and
deeper drawdown at the well in level 2 where it is screened. The anisotropy of the domains makes the
drawdown ellipse-shaped, with the K1 axis oriented 30 degrees north of east. The plot of the 2nd level is
The positive number means the head in level 1 is greater than the head in level 2 and there is downward
flow. If you move the cursor near the some parts of the river, you may see a negative head difference
indicating upward flow:
You can also make a contour plot of the head difference between levels. Select Plot Input/Contour Settings,
and for Surface, select dh, which makes the contour plot a plot of the difference in head between this level
and the one below:
If you select Make Plot/All Selected Features and choose level 1, the resulting plot of head difference looks
like this:
Over most of the 3D area, the difference in head is less than 0.2, but there are larger positive differences
near the well, and larger negative differences near the northern part of the middle river reach. The heavier
contour is the zero contour. At the interdomain boundary that is the limit of the 2-level area, heads are
forced to be equal by the boundary condition, which is met at control points along the boundary and.
Hence, the zero contour weaves close to the boundary.
The blank under Window makes subsequent plots cover the entire model, and we will display pathlines, but
not vectors or SVAS polygons.
Select Plot Input/Contour Settings and edit the settings to show head contours with an increment of 0.5:
Select Plot Input/Pathline Settings and check that the settings are as follows (similar to what we had in the
first tutorial):
Select Plot Input/Pathlines/Well and edit the row so it is like the following, which will start 15 pathlines 50%
of the way down in level 2 just outside the well radius, and trace pathlines upstream.
Now, select Plot Input/Pathlines/Line and if there is a row of data there from the first tutorial, uncheck the
Show column since we only want to see well pathlines:
Now make a plot of level 1, which will result in something like this:
Another way is to move the cursor near the well in the Plot tab, right-click and select Check Nearest Well
Head and Discharge, which will display a window like this:
All three river reaches have negative discharges, meaning they are extracting water from the aquifer. You
can see how discharge is distributed along a particular segment of a river reach by moving the cursor near a
segment, right-clicking, and selecting Check Nearest Line Boundary Condition. The following is the resulting
plot for the segment just west of the well:
This segment loses water at one end and gains water at the other end.
Then select Analysis/Graph Conditions Along a Line and paste the digitized coordinates into the Coordinates
box and edit the rest of the form as follows:
Now the model has sparse basis points in the 3D area, based on the domain SVAS settings.
Select Solve to solve this new, less accurate model. Then select Analysis/Graph Conditions Along a Line and
make an extraction plot, which will look like this: