Runtime error (exit code 24) — end-of-file on .wel at Period 2 (need help)

28 views
Skip to first unread message

nasrin badrzadeh

unread,
Nov 10, 2025, 7:16:45 PMNov 10
to SWAT-MODFLOW

Hi SWAT-MODFLOW team,

I’m running a 13-year simulation (4,748 days). All stress periods are set to 1, but the run fails when it reaches Period 2 with this error in the log. The model runs through Period 1 then crashes at the start of Period 2. Could you suggest likely causes and quick checks?

Thanks for any pointers — I’m not sure whether this is a formatting/record-count issue in the well file or something else.


swatmf_%D%_18_07_22.60.log

Seonggyu Park

unread,
Dec 16, 2025, 11:14:30 PM (22 hours ago) Dec 16
to SWAT-MODFLOW
Hi,

If you are using only one stress period, please add an additional 100 days to the MODFLOW simulation period in the *.dis file. The SWAT model accounts for leap years, and this mismatch can cause issues if the MODFLOW simulation period is shorter.

Best,
Seonggyu
Reply all
Reply to author
Forward
0 new messages