-
|
I have input files for a MODFLOW 6 simulation with only a flow model. I do not have the corresponding flopy code used to create this model. I need to add a transport or PRT model, which requires the same discretization object as the GWF model. When reading in this simulation with flopy, is there a fast way to 'reuse' the dis/disv/disu object in the flow model? Or register it with another model, similar to registring an IMS package? The I now create a dis/disv object by accessing all the individual components (nlay, vertices,,...) in the flow model's dis object, but this seems tedious and redundant, as MODFLOW 6 requires that the discretization objects are the same across the models anyway. Also, I am aware that I can just point to the original DIS file by editing the name file of the new model, but I'd still like to have the dis object for the transport model in Python. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
I think the easiest way at the moment is to load up the binary grid file written by the flow model into |
Beta Was this translation helpful? Give feedback.
I think the easiest way at the moment is to load up the binary grid file written by the flow model into
MfGrdFileand double-star it into the dis/v initializer. All the property names should match exceptbot/botm, annoyingly. I'll make a note to deprecateMfGrdFile.botand alias it tobotm. Really this probably deserves a classmethod or utility function to go between these grid representations. Thanks for raising this!