Groundwater Calculator: Theis Drawdown, Pumping Tests, Darcy avatar

Groundwater Calculator: Theis Drawdown, Pumping Tests, Darcy

Pricing

Pay per event

Go to Apify Store
Groundwater Calculator: Theis Drawdown, Pumping Tests, Darcy

Groundwater Calculator: Theis Drawdown, Pumping Tests, Darcy

Well hydraulics from plain text: Theis, leaky and unconfined drawdown, well fields, pumping test analysis (Theis fit, Cooper-Jacob, distance-drawdown, recovery) for transmissivity and storativity, Darcy flow, travel time and the three-point gradient.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Jumble Mog

Jumble Mog

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 hours ago

Last modified

Features

Limited permissions

Share

Well hydraulics and groundwater flow from one line of text. Predict drawdown (drawdown 100 ft from a well pumping 500 gpm for 1 day, T 10,000 gpd/ft, S 0.0002), analyse a pumping test (Q 500 gpm, observation well 200 ft away, time (min) and drawdown (ft): 1 0.23, 2 1.11, ...) or work out groundwater flow (three-point: (0, 0) head 100.5 m, (300, 0) head 100.2 m, (0, 400) head 99.8 m). You get back:

  • Drawdown: the Theis solution at any distances and times, Hantush-Jacob for a leaky aquifer, Jacob's correction for an unconfined one, the Cooper-Jacob value where it applies and the radius of influence. Several wells with positions are added by superposition, with a drawdown map.
  • Pumping test analysis: transmissivity and storativity from time-drawdown data by a least-squares Theis curve fit and the Cooper-Jacob straight line (only through the late points where it's valid), from distance-drawdown data at one time, or transmissivity from a recovery test. Hydraulic conductivity too when you give the aquifer thickness.
  • Groundwater flow: Darcy flux and flow, seepage velocity and travel time from K, the gradient (or two heads and their distance) and porosity; the gradient and flow direction from three wells.
  • A chart: the cone of depression with drawdown over time, a well field map, the test data with the fitted Theis curve and Cooper-Jacob line, the recovery or distance-drawdown line, the flow direction between three wells, or travel time against distance.

US units (ft, gpm, gpd/ft, ft/day) or metric (m, L/s, m³/day, m²/day, m/day); results come back in the units you wrote.

It's made for:

  • Hydrogeologists and well drillers sizing wells, checking interference between wells and analysing pumping tests.
  • Environmental consultants estimating plume travel times and flow directions from monitoring wells.
  • Water utilities, irrigation and dewatering contractors predicting drawdown at neighbouring wells.
  • Geology and civil engineering students working Theis, Cooper-Jacob and Darcy problems, and AI agents that need correct well numbers instead of a guess.

A pumping test analysed by this Actor: drawdown readings from 1 to 1,000 minutes on a log time axis with the fitted Theis curve through all of them and the dashed Cooper-Jacob line through the nine late points, giving T 1,337 ft²/day (10,000 gpd/ft) and S 0.0002

How to use it

  1. Write Wells, pumping tests and flow problems, one per entry. The form has examples.
  2. Optionally set the Units for numbers written without one (US by default).
  3. Click Start. Each request is a row in the results, with its summary, chart and report.

What you can write

You writeIt means
Q 500 gpm, pumping 20 L/s, 1500 m3/dThe pumping rate (gpm, gpd, MGD, L/s, m³/d, m³/h, cfs)
T 10,000 gpd/ft, T 500 m2/d or K 20 m/d, 30 m thickTransmissivity, or conductivity and saturated thickness
S 0.0002, S 2e-4, Sy 0.15Storativity (specific yield for a water-table aquifer)
unconfined, leakage factor 1000 mJacob's unconfined correction, or the Hantush-Jacob leaky solution
at 10, 50, 200 m, 100 ft from, after 1 day, t 30 minDistances and times (several of each are fine)
20 L/s at (0, 0), 15 L/s at (400, 0), point (200, 100)A well field and points to check
observation well 200 ft away, time (min) and drawdown (ft): 1 0.23, 2 1.11, ...Time-drawdown test data
distance-drawdown after 1 day, data: 10 m 1.74, 30 m 1.39, ...Distance-drawdown data
recovery test, pumped for 1 day, time since pumping stopped (min) and residual drawdown (m): ...Recovery data
K 10 m/d, gradient 0.005 or heads 105 m and 100 m, 500 m apartDarcy flow
area 200 m2, porosity 0.25, travel distance 500 mFlow area, effective porosity and the path for travel time
(0, 0) head 100.5 m, (300, 0) head 100.2 m, (0, 400) head 99.8 mThree-point problem (x east, y north)

The same as an object: {"type": "pumptest", "q": "500 gpm", "distance": "200 ft", "timeUnit": "min", "data": [[1, 0.23], [2, 1.11], [5, 3.74], ...]} or {"type": "drawdown", "q": "25 L/s", "conductivity": "20 m/d", "thickness": "30 m", "storativity": 0.15, "unconfined": true, "distances": ["15 m", "50 m"], "times": ["1 d", "30 d"]}.

Examples

  • drawdown 100 ft from a well pumping 500 gpm for 1 day, T 10,000 gpd/ft, S 0.0002 → 41.9 ft (u 0.000374, W(u) 7.32); radius of influence about 3,900 ft.
  • The pumping test above (18 readings from 1 to 1,000 min) → T 1,337 ft²/day (10,000 gpd/ft), S 0.0002 by the Theis fit; Cooper-Jacob T 1,351 ft²/day from the 9 late points.
  • distance-drawdown after 1 day, Q 1000 m3/d, data: 10 m 1.74, 30 m 1.391, 100 m 1.008, 300 m 0.659 → T 500 m²/day, S 0.0002.
  • well field: 20 L/s at (0, 0), 15 L/s at (400, 0), point (200, 100), T 800 m2/d, S 0.0005, after 30 days → 2.31 m at the point, 4.81 m and 4.10 m at the wells.
  • three-point: (0, 0) head 100.5 m, (300, 0) head 100.2 m, (0, 400) head 99.8 m, K 15 m/d, porosity 0.3 → gradient 0.00202 toward NNE (30°), seepage velocity 0.10 m/day.
  • K 10 m/d, gradient 0.005, porosity 0.25, travel distance 500 m → seepage velocity 0.2 m/day, 2,500 days (6.8 years) to travel 500 m.

How-to examples

Each example is a complete input; the results are from runs of the Actor (also listed under Examples).

How to predict drawdown from a pumping well (Theis)

{"requests": ["drawdown 100 ft from a well pumping 500 gpm for 1 day, T 10,000 gpd/ft, S 0.0002"]}

Result: 41.9 ft (u 0.000374, W(u) 7.32), and a radius of influence of about 3,900 ft.

How to analyse a pumping test for transmissivity and storativity

{"requests": ["pumping test: Q 500 gpm, observation well 200 ft away, time (min) and drawdown (ft): 1 0.23, 2 1.11, 3 2.07, 5 3.74, 8 5.65, 10 6.66, 15 8.61, 20 10.06, 30 12.19, 50 14.95, 80 17.56, 100 18.80, 150 21.09, 200 22.71, 300 25.02, 500 27.93, 800 30.61, 1000 31.89"]}

Result: T 1,337 ft²/day (10,000 gpd/ft) and S 0.0002 by the Theis fit; Cooper-Jacob gives T 1,351 ft²/day from the 9 late points.

How to find the groundwater flow direction from three wells

{"requests": ["three-point: (0, 0) head 100.5 m, (300, 0) head 100.2 m, (0, 400) head 99.8 m, K 15 m/d, porosity 0.3"]}

Result: gradient 0.00202 toward NNE (30°) and a seepage velocity of 0.10 m/day.

How to let an AI agent work groundwater problems

Add this Actor to the Apify MCP server with https://mcp.apify.com/?tools=jumblemog/groundwater-calculator. The agent passes the well, the test readings or the heads in one line and answers with the drawdown, the aquifer properties or the flow.

FAQ

Which methods does it use? Theis, Hantush-Jacob for leaky aquifers, Jacob's correction for unconfined ones, Cooper-Jacob, Theis recovery and Darcy's law.

Can it handle several wells? Yes, by superposition: well field: 20 L/s at (0, 0), 15 L/s at (400, 0), point (200, 100), ... gives the drawdown at the point and at each well.

Which readings does Cooper-Jacob use? Only the late readings where u < 0.05, found by iterating; the plot shows which ones.

How long would a contaminant take to travel? K 10 m/d, gradient 0.005, porosity 0.25, travel distance 500 m gives 2,500 days. That's advection only; dispersion, sorption and decay change when a contaminant arrives.

Input

FieldWhat it is
requestsThe wells, tests and flow problems, as lines of text or objects (up to 200 per run)
unitsFor numbers without a unit: us (ft, gpm, gpd/ft, ft/day) or metric (m, m³/day, m²/day, m/day)
chartsDraw a chart for each request (default on)

Output

One dataset item per request, also saved together in the run's OUTPUT record:

{
"request": 2, "status": "ok", "type": "pumptest", "title": "Pumping test, observation well at 200 ft",
"summary": "T 1,337 ft²/day (9,999 gpd/ft), S 0.0002 (Theis fit, RMSE 0.0032 ft); Cooper-Jacob T 1,351, S 0.00019 from 9 late points.",
"test": {"mode": "time", "pumpingRate": 500, "transmissivity": 1337, "storativity": 0.0002, "rmse": 0.00323,
"cooperJacob": {"transmissivity": 1351, "storativity": 0.00019, "slopePerLogCycle": 13.04,
"zeroDrawdownTime": 3.603, "r2": 1, "pointsUsed": 9},
"distance": 200, "transmissivityGpdFt": 9999},
"data": [{"time": 1, "drawdown": 0.23, "theis": 0.2266, "u": 2.15, "cooperJacobFit": false}, "..."],
"units": {"length": "ft", "flow": "gpm", "transmissivity": "ft²/day", "conductivity": "ft/day", "time": "min"},
"imageUrl": "https://api.apify.com/v2/key-value-stores/.../records/002-Pumping-test-observation-well-at-200-ft.png"
}

Drawdown results have drawdown and results (u, W(u) and the drawdown for each distance and time) or points for a well field; flow results have flow and, for three-point problems, wells. Every item has units, summary, warnings, notes (the method and every assumed value), a Markdown report and links to the chart and report. A request that can't be computed has "status": "failed" and the reason in error, and isn't billed.

How it works

  1. Theis: s = Q/(4πT)·W(u), u = r²S/(4Tt), W(u) the exponential integral E1(u). Hantush-Jacob: W(u, r/B) by numerical integration. Unconfined: Jacob's correction s' = s − s²/(2b). Well fields: drawdowns added (superposition).
  2. Cooper-Jacob: the straight line s = (2.3Q/(4πT))·log(2.25Tt/(r²S)), fitted only through readings with u < 0.05 (found by iterating); T = 2.3Q/(4πΔs), S = 2.25·T·t0/r². Distance-drawdown: T = 2.3Q/(2πΔs), S = 2.25·T·t/r0².
  3. Theis fit: least squares on log T and log S over all readings, started from the Cooper-Jacob values.
  4. Recovery: residual drawdown against log(t/t'), T = 2.3Q/(4πΔs').
  5. Darcy: q = K·i, Q = K·i·A, v = q/ne, travel time L/v; three-point gradient from the plane through three heads.

Pricing

You pay one low price per request, at the prices shown on this page; drawdown and flow requests cost less than pumping test analyses. The chart and report are included. Requests that can't be computed are never charged. If you set a maximum cost per run, the Actor stops before a request that wouldn't fit.

Speed

Each request takes a few milliseconds (a Theis fit a fraction of a second). A run through the API answers in about 10 seconds, including the cloud container starting.

Tips and limits

  • Ideal aquifer: Theis assumes a confined, uniform, infinite aquifer and a fully penetrating well; boundaries, recharge, partial penetration and delayed yield bend the data away from the curve. A warning appears when Theis and Cooper-Jacob disagree.
  • Pumped well data: storativity from the pumped well itself is unreliable (well losses and well storage); use an observation well when you can.
  • Early data: the first minutes are often affected by well storage; the Cooper-Jacob line uses only late data, and the plot shows which readings it used.
  • Unconfined aquifers: the Jacob correction holds for drawdowns up to about a quarter of the saturated thickness; delayed yield (Neuman) isn't modelled.
  • Travel time is advection only; dispersion, sorption and decay change when a contaminant arrives.
  • Limits: 200 requests per run; transmissivity 0.0001 to 1,000,000 m²/day.

For AI agents and developers

This Actor works with the Apify MCP server, so AI agents can call it as a tool. Pass requests as plain text and read summary, drawdown, results, test, flow and warnings. A direct API call that waits for the answer:

curl -X POST "https://api.apify.com/v2/acts/jumblemog~groundwater-calculator/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"requests": ["drawdown at 50, 200 m from a well pumping 15 L/s for 10 days, T 400 m2/d, S 0.0003"]}'

run-sync instead returns the run's OUTPUT: the status, the counts and every result as JSON.

In Python, with the apify-client package:

from apify_client import ApifyClient
client = ApifyClient("YOUR_TOKEN")
run = client.actor("jumblemog/groundwater-calculator").call(run_input={
"requests": [{"type": "pumptest", "q": "12 L/s", "distance": "30 m", "timeUnit": "min",
"data": [[1, 0.31], [2, 0.52], [5, 0.84], [10, 1.07], [30, 1.43], [100, 1.82], [300, 2.17]]}],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["summary"])

Credits

  • Math: SciPy (BSD-3-Clause) and NumPy (BSD-3-Clause).
  • Charts: Vega-Lite and vl-convert (BSD-3-Clause), with the Inter font (SIL Open Font License).
  • Methods: Theis (1935); Cooper and Jacob (1946); Hantush and Jacob (1955); Jacob (1944) unconfined correction; Darcy (1856).