Skip to content

MODPATH create_mp7 with mpbas #2339

Discussion options

You must be logged in to vote

Hi Floris,

I think it's because Modpath7.create_mp7 creates already a Modpath7Bas object internally. Perhaps a possible solution is to copy the implementation inside create_mp7 (as linked below) to your script, then passing porosity to the Modpath7Bas object

flopy/flopy/modpath/mp7.py

Lines 463 to 509 in f96d173

# create MODPATH 7 model instance
mp = Modpath7(
modelname=modelname,
flowmodel=flowmodel,
exe_name=exe_name,
model_ws=model_ws,
verbose=verbose,
)
# set default iface for recharge and et
if mp.flow_version == "mf6":
defaultiface = {"RCH": 6, "EVT": 6}
else:
defaultiface = {"RECHARGE": 6, "ET": 6}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wpbonelli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants