MODFLOW-USGS / mt3d-usgs

MT3D-USGS Repository
24 stars 12 forks source link

help with input error? #78

Closed hwreeves-USGS closed 4 years ago

hwreeves-USGS commented 4 years ago

I'm running into problems adding MT3D-USGS to an existing MODFLOW model. Its a pretty large model, so I am using flopy to add MT3D-usgs.

I am getting an error on the SSM package:

forrtl: severe (64): input conversion error, unit 4, file FWP_sire_mt3d.ssm

Can you point me in a direction to look to track down the error? Thanks

vivekbedekar commented 4 years ago

Hi Howard,

This is an input conversion error indicating that the file is being read but the code cannot decipher what is being read. For example, the code is reading a text string when expecting a real number. Can you look at the MT3D output file and see what was read last from the SSM file and it may possibly also point out the line on which the error occurred. That may help you debug the SSM file and point out what is causing the error.

Vivek

Sent from Outlookhttp://aka.ms/weboutlook


From: Howard W. Reeves notifications@github.com Sent: Tuesday, May 26, 2020 4:11 PM To: MODFLOW-USGS/mt3d-usgs mt3d-usgs@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [MODFLOW-USGS/mt3d-usgs] help with input error? (#78)

I'm running into problems adding MT3D-USGS to an existing MODFLOW model. Its a pretty large model, so I am using flopy to add MT3D-usgs.

I am getting an error on the SSM package:

forrtl: severe (64): input conversion error, unit 4, file FWP_sire_mt3d.ssm

Can you point me in a direction to look to track down the error? Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/MODFLOW-USGS/mt3d-usgs/issues/78, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA5YRSG7SLQS4ZRDMULMZHTRTQO7FANCNFSM4NLB5HPA.

emorway-usgs commented 4 years ago

@hwreeves-USGS Also, since you're using flopy to generate the MT3D-USGS input, there may be an issue with what flopy is dumping to the SSM input file. If you're able to share your model, I can try to take a look and see what's going on from the source code if @vivekbedekar suggestion doesn't turn up any clues.

hwreeves-USGS commented 4 years ago

thanks Eric, I think it was missing lines related to the UZF package (7-10 of the input instructions) - but now I think I have an issue with the LMT8 package and the 'PACKAGE ALL' option. I have some other things to work on this morning but hope to have time this afternoon to look into the problem a bit more.

HWR

Howard W. Reeves Groundwater and Watershed Modeling Team Lead USGS Upper Midwest Water Science Center 5840 Enterprise Drive Lansing, Michigan 48911 517-887-8914


From: Eric Morway notifications@github.com Sent: Tuesday, May 26, 2020 5:39 PM To: MODFLOW-USGS/mt3d-usgs mt3d-usgs@noreply.github.com Cc: Reeves, Howard W hwreeves@usgs.gov; Mention mention@noreply.github.com Subject: [EXTERNAL] Re: [MODFLOW-USGS/mt3d-usgs] help with input error? (#78)

@hwreeves-USGShttps://github.com/hwreeves-USGS Also, since you're using flopy to generate the MT3D-USGS input, there may be an issue with what flopy is dumping to the SSM input file. If you're able to share your model, I can try to take a look and see what's going on from the source code if @vivekbedekarhttps://github.com/vivekbedekar suggestion doesn't turn up any clues.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/MODFLOW-USGS/mt3d-usgs/issues/78#issuecomment-634294102, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABMHEL22237B62ZZZ6ZAUL3RTQZJTANCNFSM4NLB5HPA.

emorway-usgs commented 4 years ago

@hwreeves-USGS in case it is helpful, here is an example of the LMT input. Note that you want to use PACKAGE_FLOWS ALL and not simply PACKAGE ALL. Below, I show ...SFR LAK, but could've used ...ALL

# MODFLOW-NWT - Link-MT3D-USGS Package Input File
OUTPUT_FILE_NAME gwt.ftl
OUTPUT_FILE_UNIT 20
OUTPUT_FILE_HEADER Extended
OUTPUT_FILE_FORMAT FORMATTED
PACKAGE_FLOWS SFR LAK
hwreeves-USGS commented 4 years ago

Thanks Eric,

I had

PACKAGE_FLOWS ALL

and tried PACKAGE_FLOWS SFR UZF

But now I am getting a Program Exception- stack overflow error

The end of the list file has: SAVING SATURATED THICKNESS AND FLOW TERMS ON UNIT 54 FOR MT3DMS BY THE LINK-MT3DMS PACKAGE V7 AT TIME STEP 1, STRESS PERIOD 1

The model is pretty large, I have the icbnd set to a smaller region in MT3D-USGS; but that isn't used here I guess. Do you think this is related to the model size?

I'm running MODFLOW-NWT_64

HWR

Howard W. Reeves Groundwater and Watershed Modeling Team Lead USGS Upper Midwest Water Science Center 5840 Enterprise Drive Lansing, Michigan 48911 517-887-8914


From: Eric Morway notifications@github.com Sent: Wednesday, May 27, 2020 11:20 AM To: MODFLOW-USGS/mt3d-usgs mt3d-usgs@noreply.github.com Cc: Reeves, Howard W hwreeves@usgs.gov; Mention mention@noreply.github.com Subject: [EXTERNAL] Re: [MODFLOW-USGS/mt3d-usgs] help with input error? (#78)

@hwreeves-USGShttps://github.com/hwreeves-USGS in case it is helpful, here is an example of the LMT input. Note that you want to use PACKAGE_FLOWS ALL and not simply PACKAGE ALL. Below, I show ...SFR LAK, but could've used ...ALL

MODFLOW-NWT - Link-MT3D-USGS Package Input File

OUTPUT_FILE_NAME gwt.ftl OUTPUT_FILE_UNIT 20 OUTPUT_FILE_HEADER Extended OUTPUT_FILE_FORMAT FORMATTED PACKAGE_FLOWS SFR LAK

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/MODFLOW-USGS/mt3d-usgs/issues/78#issuecomment-634734439, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABMHEL7OLRLQXOPYIZUU443RTUVSLANCNFSM4NLB5HPA.

emorway-usgs commented 4 years ago

Hello @hwreeves-USGS, I assume you're using the most recent release of MF-NWT? Earlier versions might have issues.

hwreeves-USGS commented 4 years ago

I think I am using the latest, but will get new version and try that just in case.

HWR

Howard W. Reeves Groundwater and Watershed Modeling Team Lead USGS Upper Midwest Water Science Center 5840 Enterprise Drive Lansing, Michigan 48911 517-887-8914


From: Eric Morway notifications@github.com Sent: Wednesday, May 27, 2020 2:49 PM To: MODFLOW-USGS/mt3d-usgs mt3d-usgs@noreply.github.com Cc: Reeves, Howard W hwreeves@usgs.gov; Mention mention@noreply.github.com Subject: [EXTERNAL] Re: [MODFLOW-USGS/mt3d-usgs] help with input error? (#78)

Hello @hwreeves-USGShttps://github.com/hwreeves-USGS, I assume you're using the most recent release of MF-NWT? Earlier versions might have issues.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/MODFLOW-USGS/mt3d-usgs/issues/78#issuecomment-634868674, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABMHEL2OQFD6CVYE6NDYFPLRTVOFNANCNFSM4NLB5HPA.