In [ ]:
import numpy as np
import flopy
reload(flopy)
from flopy.modflow import *
from flopy.mt3d import *
In [ ]:
nlay, nrow, ncol = 3, 10, 10
ml = Modflow("test")
dis = ModflowDis(ml,nlay=nlay, nrow=nrow, ncol=ncol)
for btn, sconc is passed as a normal util_3d-compatible argument, no need for the list anymore
In [ ]:
mt = Mt3dms(modflowmodel=ml)
btn = Mt3dBtn(mt,sconc=1.0,ncomp=2)
or we pass in the sconc2 kwarg explicitly
In [ ]:
mt = Mt3dms(modflowmodel=ml)
btn = Mt3dBtn(mt,sconc=1.0,ncomp=2,sconc2=1.5)
print btn.sconc[1].name_base
error raised for unrecognized kwargs
In [ ]:
mt = Mt3dms(modflowmodel=ml)
btn = Mt3dBtn(mt,sconc=1.0,ncomp=2,sconc3=1.5)
same behavior for SSM
In [ ]:
mt = Mt3dms(modflowmodel=ml)
btn = Mt3dBtn(mt,sconc=1.0,ncomp=2,sconc2=1.5)
ssm = Mt3dSsm(mt,crch=1.0,crch2=1.0,cevt=0.5,cevt2=1.5)
print ssm.crch,ssm.cevt
DSP still needs to multDiff flag
In [ ]:
dsp = Mt3dDsp(mt,dmcoef2=1.0)
In [ ]:
dsp = Mt3dDsp(mt,dmcoef2=1.0,multiDiff=True)
print dsp.dmcoef
In [ ]: