MODFLOW-USGS / modpath-v7

MODPATH version 7 -- Particle tracking for MODFLOW-2005, MODFLOW-USG, and MODFLOW-6
11 stars 5 forks source link

Compatiability with MODFLOW-OWHM models #39

Open nchen-eki opened 7 months ago

nchen-eki commented 7 months ago

The official USGS website for MODPATH specifies MP7 works with MODFLOW-NWT, USG and 6. But just checking if anyone manages to have mp7 working with OWHM models?

I get into an message about error processing budget file while trying so.

Many thanks.

aprovost-usgs commented 7 months ago

@nchen-eki Thanks for your interest in MP7. It's not specifically designed to work with MODFLOW-OWHM, but I'm looking into the degree of compatibility (if any) and will post what I learn here.

aprovost-usgs commented 7 months ago

@nchen-eki I'll work on this with @ScottBoyce, to whom you reached out about this issue yesterday.

nchen-eki commented 7 months ago

Thank you for the response, and yeah my colleague reached out to Scott yesterday. In addition to some commonly used packages, our model also includes FMP, DRN, and SUB package. I had to make some edits/reformats to the DIS file to be consistent with NWT DIS file to initiate MODPATH7. And based on my tests, it seems mp7 could run without the SUB package. We've also tried with just turning off some print/flags within SUB and with SUB turned on, but still mp7 does not seem to work. Appreciate your help.

ScottBoyce commented 7 months ago

That is good information, so do think the SUB package is the problem? Knowing that package that is the issue will make it faster to figure out the problem.

Also, make sure to give a try the current exe, v2.3 was released a month ago and has a number of bug fixes. https://code.usgs.gov/modflow/mf-owhm

Please check out the changelong for all modifications/fixes to the code. https://code.usgs.gov/modflow/mf-owhm/-/blob/main/CHANGELOG.md

--edit-- Please to make sure that none of the SUB output flags write to the CBC. That should only be for the cell-by-cell unit numbers.

That is, only ISUBCB should have the CBC unit number, and the flags described in: https://ca.water.usgs.gov/modeling-software/one-water-hydrologic-model/users-manual/index.html?sub.htm for Data Set 20 should never write to the CBC