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/90055fdeb91700a5709f78734b903cf0da525d0f34d12e59600a73166818e72d.png
ml.plots.contour(win=[-2000, 2000, -1000, 1000], ngr=50, t=3);
../../_images/d9c2308652eed1bd96741142c6ccea273d041cf513dfaa75d04033992cb52075.png