Modeling a higher order head line-sink with variable head#

import matplotlib.pyplot as plt
import numpy as np

import timflow.transient as tft

plt.rcParams["font.size"] = 8.0
plt.rcParams["figure.figsize"] = (4, 3)
ml = tft.ModelMaq(
    kaq=10, z=[11, 10, 0], Saq=1e-4, c=1000, topboundary="semi", tmin=0.01, tmax=10
)
hls = tft.RiverHo(
    model=ml, x1=-1000, y1=-500, x2=1000, y2=500, tsandh=[(0, 2), (5, 4)], order=5
)
ml.solve()
self.neq  6
solution complete
t = np.linspace(0.01, 10, 100)
h = ml.head(x=-200, y=400, t=t)
plt.plot(t, h[0])
plt.grid()
../../_images/9264e2d40e07ea27c90ded8c367aa46d40a92ce15567074a3cf5086e7632155f.png
ml.plots.contour(win=[-2000, 2000, -1000, 1000], ngr=50, t=3);
../../_images/b5dfc044d8991da38f48bf72aa7d60a181a202a60fdc45e68473716ccc8cf8a4.png