At this page you can post questions or start discussions on general topics related to Delft3D Flexible Mesh.

Please select a proper category below (if possible), to post your message or reply to an existing post. Please add tags to your posts to simplify searching.







Message Boards

Simulation gets stuck in December

Rusty Holleman, modified 3 Years ago.

Simulation gets stuck in December

Youngling Posts: 4 Join Date: 8/3/15 Recent Posts
We have been running annual simulations roughly August-to-August, and with a new model setup the runs get stuck around Dec 1. I believe this is due to this snippet of unstruc.F90, line 12184 in unstruc.F90, rev50237, part of inctime_split. As far as I can tell, newer versions of unstruc.F90 have the same code here.

    case ('M')
           imonth = imonth + ti_split
           if (imonth > 12) then
               imonth = mod(imonth, 12)   ; SWAP
               iyear = iyear + floor(real(imonth)/12.0) ; SWAP
           end if

Switching the order of the 'SWAP' lines allows the runs to continue, at least in our limited testing so far. Please let me know if I'm missing something. If this is not the correct fix, then perhaps we can post more details of our simulations for some help on figuring out the source of them getting stuck.

Jing Zhao, modified 3 Years ago.

RE: Simulation gets stuck in December

Padawan Posts: 29 Join Date: 7/12/16 Recent Posts
Dear Rusty,

Thank you very much for reporting this bug. It is correct to exchange the two lines as you mentioned. We have also corrected the bug in codes of DFlow FM.

With kind regards,

Jing Zhao