Skip to content

External files for boundary conditions MF6 #1434

Answered by langevin-usgs
laat0003 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @laat0003, all this should be implemented and fully functional for MODFLOW 6, though it seems our documentation is a bit scattered. There are some details described in this online doc and in this notebook.

Here is a running example, based on the example on main FloPy page, that shows how to write data to external files.

import flopy
ws = './mymodel'
name = 'mymodel'
sim = flopy.mf6.MFSimulation(sim_name=name, sim_ws=ws, exe_name='mf6')
tdis = flopy.mf6.ModflowTdis(sim)
ims = flopy.mf6.ModflowIms(sim)
gwf = flopy.mf6.ModflowGwf(sim, modelname=name, save_flows=True)
dis = flopy.mf6.ModflowGwfdis(gwf, nrow=10, ncol=10)
ic = flopy.mf6.ModflowGwfic(gwf)

# There is full control over the gri…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@laat0003
Comment options

Answer selected by laat0003
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