Closed ougx closed 3 years ago
We've seen this before for these simple types of problems (and your solver settings) where the starting concentration is zero and there is just a right-hand side addition of solute mass. In the first transport pass through the solver there is a divide by zero, which we need to handle better. The very simple answer is to just add a little mass to the initial conditions, such as
# initial conditions
cstrt = np.zeros((nlay, nrow, ncol))
cstrt[0, int(nrow / 2), int(ncol / 2)] = 0.1
ic = flopy.mf6.ModflowGwtic(gwt, strt=cstrt,
filename='{}.ic'.format(gwtname))
With this change the model seems to run fine and gives the answers you'd expect.
But we need to fix this for the next release, so let's leave this issue open.
Try to simulate injection to a confined aquifer with MF6 but failed. However it ran with MT3D with the same set up.
I modified
autotest/test_gwt_adv04.py
and created the model files.Blow is the error and my python script to create the model (which includes model set up).