General

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.

 

** PLEASE TAG YOUR POST! **

 

 

 

 


Average (0Votes)
« Back to 3. Compilation and running on Linux

RE: Simulation gets stuck in December

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Simulation gets stuck in December
d-flow fm bug
Answer (Unmark)
4/17/17 8:44 PM
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.

1
2    case ('M')
3           imonth = imonth + ti_split
4           if (imonth > 12) then
5               imonth = mod(imonth, 12)   ; SWAP
6               iyear = iyear + floor(real(imonth)/12.0) ; SWAP
7           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.

Best,
Rusty
RE: Simulation gets stuck in December
Answer (Unmark)
4/18/17 3:21 PMas a reply to Rusty Holleman.
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
Deltares