The Vertical Plane Analytic Element Model (VPAEM) is an analytic element method (AEM) program for modelling groundwater flow in the vertical plane. The program includes multiple groundwater features, e.g. fractures, cavities and inhomogeneities. The program is written in C++ and run through a MATLAB script.
The program uses analytic elements, see Strack (1989, 2003, 2017, 2018) and Toller (2021), and include:
- constant pressure elements
- inhomogeneities
- drainging fracutres
- blocking fractures
- wells
This program has been developed using MATLAB and Microsoft Visual Stuido; only the .m-, .cpp- and .exe-files are included in the repository. The program use the Eigen library (Guennebaud & Jacob, 2010).
The plots are generated using the MATLAB program run_VPAEM.m. The script automatically calls the C++ program which solves the system and feeds the solution back to MATLAB which plots the results. The data is saved as data_files\simulation_[date]_[version].mat.
To run a model:
- Open
run_VPAEM.min MATLAB - Insert your input data in the editor
- Run the program
- The progress is printed in the command window
- The flow net and pressure contours are plotted automatically
This list contains all the definitions of the input data defined in run_VPAEM.m.
W_uniuniform flow rate (complex)khydraulic conductivity of continuum (double)rhodensity of groundwtaer (double)gacceleration due to gravity (double)hreference elevation (double)zrefcoordinates for reference point (complex)fi0hydraulic head at reference point (double)
z1astart coordinates for blocking fractures (complex vector)z2aend coordinates for blocking fractures (complex vector)kahydraulic conductivity for blocking fractures (double vector)bafracture width for blocking fractures (double vector)
z1bstart coordinates for draining fractures (complex vector)z2bend coordinates for draining fractures (complex vector)kbhydraulic conductivity for draining fractures (double vector)bbfracture width for draining fractures (double vector)
z1cstart coordinates for constant pressure elements (complex vector)z2cend coordinates for constant pressure elements (complex vector)
z1dstart coordinates for inhomogeneity elements (complex vector)z2dend coordinates for inhomogeneity elements (complex vector)kdhydraulic conductivity for inhomogeneity elements (double vector)
zwcoordinates for wells (complex vector)Qwdischarges for wells (double vector)rwradii of wells (double vector)
manumber of coefficients for blocking fractures (integer)mfaranumber of far-field correction coefficients for blocking fractures (integer)mbnumber of coefficients for draining fractures (integer)mfarbnumber of far-field correction coefficients for draining fractures (integer)mcnumber of coefficients for constant pressure elements (integer)mfarcnumber of far-field correction coefficients for constant pressure elements (integer)mdnumber of coefficients for inhomogeneity elements (integer)mfardnumber of far-field correction coefficients for inhomogeneity elements (integer)Ncnumber of integral points for constant pressure elements (integer)Nmultiplier for number of solution points for blocking fractures, draining fractures and inhomogeneity elements (double)xfromstarting value for x-axis (double)xtoend value for the x-axis (double)yfromstarting value for the y-axis (double)ytoend value for the y-axis (double)Nxnumber of grid points in the x-diraction (integer)Nynumber of grid points in the y-direction (integer)lvsnumber of contour levels
The following functions are necissary for the plotting scheme in MATLAB:
creat_figure.mcreat the figure windowPlot_line.mplots a line fromz1toz2Plot_cricle.mplots a circleContour_flow_net.mcontours the flow netPhi_from_fi.mcomputes the discharge potiential
VPAEM is developed by:
Erik Å.L. Toller
Department of Earth Sciences,
Uppsala University, Uppsala, Sweden
ORCID 0000-0002-7793-3998
VPAEM is licensed under the MIT license (see LICENSE.md).
Guennebaud, G., Jacob, B., et al. (2010). Eigen v3. http://eigen.tuxfamily.org.
Strack, O. D. L. (1989). Groundwater mechanics. Englewood Cliffs, NJ: Prentice hall.
Strack, O. D. L. (2003). Theory and applications of the analytic element method. Reviews of Geophysics, 41(2).
Strack, O. D. (2017). Analytical Groundwater Mechanics. New York, NY: Cambridge University Press.
Strack, O. D. L. (2018). Limitless analytic elements. Water Resources Research, 54(2), 1174-1190.
Toller, E. A. L. (2021). An Analytic Element Model for Intersecting Fractures in Groundwater Flow. Manuscript submitted to: Water Resources Research
