ERROR NaN found after xxxx timestepERROR NaN found after xxxx timestephttps://oss.deltares.nl/c/message_boards/find_thread?p_l_id=1806765&threadId=3455362020-04-08T22:54:50Z2020-04-08T22:54:50ZRE: ERROR NaN found after xxxx timestepAdri Mouritshttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=1806765&messageId=5099882014-10-17T15:00:59Z2014-10-17T15:00:59ZHi Rita,<br /><br />Check my posts above:<br /><ul><li>Reduce time step (check CFL condition, see manual)</li><li>Produce more output around the time point where the strange behaviour starts and investigate that</li><li>Switch on NaN check</li><li>Run it in a debugger</li></ul><br /><br />Regards,<br /><br />AdriAdri Mourits2014-10-17T15:00:59ZRE: ERROR NaN found after xxxx timestepRita Carrascohttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=1806765&messageId=5078432014-10-14T07:22:07Z2014-10-14T07:22:07ZHi Adri<br /><br /><br />I am having the same problem:<br />** WARNING Source and sink term sediment 1 reduced with factor 117.77 (m,n)=(1100,370), after 2345 timesteps. <br />*** WARNING Bed change exceeds 5.0 % of waterdepth after 2345 timesteps, location (m,n) = (594,2)<br />*** WARNING Bed change exceeds 5.0 % of waterdepth after 2345 timesteps, location (m,n) = (595,2)<br />*** WARNING Source and sink term sediment 1 reduced with factor 4173.23 (m,n)=(1,387), after 2346 timesteps. <br />*** WARNING Source and sink term sediment 1 reduced with factor 4985.81 (m,n)=(522,276), after 2346 timesteps. <br />*** WARNING Source and sink term sediment 1 reduced with factor 7043.34 (m,n)=(1,387), after 2346 timesteps. <br />*** WARNING Source and sink term sediment 1 reduced with factor 134.41 (m,n)=(1100,370), after 2346 timesteps. <br />*** WARNING Bed change exceeds 5.0 % of waterdepth after 2346 timesteps, location (m,n) = (595,2)<br />*** WARNING Bed change exceeds 5.0 % of waterdepth after 2346 timesteps, location (m,n) = (596,2)<br />*** WARNING Source and sink term sediment 1 reduced with factor 5149.07 (m,n)=(1,387), after 2347 timesteps. <br />*** WARNING Source and sink term sediment 1 reduced with factor 4899.92 (m,n)=(522,276), after 2347 timesteps. <br />*** WARNING Source and sink term sediment 1 reduced with factor 8681.80 (m,n)=(1,387), after 2347 timesteps. <br />*** WARNING Source and sink term sediment 1 reduced with factor 153.60 (m,n)=(1100,370), after 2347 timesteps. <br />*** WARNING Bed change exceeds 5.0 % of waterdepth after 2347 timesteps, location (m,n) = (594,2)<br />*** WARNING Source and sink term sediment 1 reduced with factor 6377.58 (m,n)=(1,387), after 2348 timesteps. <br />*** WARNING Source and sink term sediment 1 reduced with factor 4815.75 (m,n)=(522,276), after 2348 timesteps. <br />*** WARNING Bed change exceeds 5.0 % of waterdepth after 2348 timesteps, location (m,n) = (593,2)<br />*** WARNING Bed change exceeds 5.0 % of waterdepth after 2348 timesteps, location (m,n) = (594,2)<br />*** WARNING Source and sink term sediment 1 reduced with factor 10742.15 (m,n)=(1,387), after 2348 timesteps. <br />*** WARNING Source and sink term sediment 1 reduced with factor 175.73 (m,n)=(1100,370), after 2348 timesteps. <br />*** WARNING Bed change exceeds 5.0 % of waterdepth after 2348 timesteps, location (m,n) = (594,2)<br />*** WARNING Source and sink term sediment 1 reduced with factor 7930.70 (m,n)=(1,387), after 2349 timesteps. <br />*** WARNING Source and sink term sediment 1 reduced with factor 4733.28 (m,n)=(522,276), after 2349 timesteps. <br />*** WARNING Bed change exceeds 5.0 % of waterdepth after 2349 timesteps, location (m,n) = (592,2)<br />*** WARNING Bed change exceeds 5.0 % of waterdepth after 2349 timesteps, location (m,n) = (593,2)<br />*** WARNING Source and sink term sediment 1 reduced with factor 13343.79 (m,n)=(1,387), after 2349 timesteps. <br />*** WARNING Source and sink term sediment 1 reduced with factor 201.30 (m,n)=(1100,370), after 2349 timesteps. <br />*** WARNING Bed change exceeds 5.0 % of waterdepth after 2349 timesteps, location (m,n) = (595,2)<br />*** ERROR NaN found after 2350 timestep(s). <br />*** ERROR Flow exited abnormally <br /><br /><br />I am runing delft3d flow, 2D. How can a solve it?<br />Regards,<br /><br />RitaRita Carrasco2014-10-14T07:22:07ZRE: ERROR NaN found after xxxx timestepAdri Mouritshttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=1806765&messageId=3488492013-11-08T12:44:29Z2013-11-08T12:44:29ZHi Karunakar,<br /><br />First you have to find out whether the problems are caused by the model data or whether it is a bug in the source code. To exclude the first option:<br />Is there an error message/warning in the tri-diag file pointing to this problem? If you have a clue about when the problem appears, write to the map-file every timestep around this timepoint and investigate it.<br /><br />Debugging the calculation is another option, but this normally is a long way. One easy thing to try is to switch on detailed NaN-checking: In source file "…\src\engines_gpl\flow2d3d\packages\manager\src\trisim.F90", activate 4 lines related to "raise exceptions" by removing the exclamation character (!) in front of these lines. Follow the instructions in the comments in this file. Then recompile the source code and use the resulting binary to run the simulation. I expect it will abort as soon as the first NaN appears, giving (hopefully) more info about what goes wrong.<br /><br />Regards,<br /><br />AdriAdri Mourits2013-11-08T12:44:29ZRE: ERROR NaN found after xxxx timestepkarunakar kintadahttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=1806765&messageId=3455682013-11-01T12:06:53Z2013-11-01T12:06:04ZHi adri,<br />Good to hear from you.<br />i've reduced the time step to a quarter. it still exists.<br />any other ways to manage this error??<br /><br />i get this error in the middle of simulation, around 40 - 50% of simulation time.karunakar kintada2013-11-01T12:06:04ZRE: ERROR NaN found after xxxx timestepAdri Mouritshttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=1806765&messageId=3455602013-11-01T11:41:48Z2013-11-01T11:41:48ZHi Karunakar Kintada,<br /><br />Do you also get NaNs when reducing the time step?<br /><br />Do you get NaNs right at the start or somewhere during the simulation?<br /><br />Regards,<br /><br />AdriAdri Mourits2013-11-01T11:41:48ZERROR NaN found after xxxx timestepkarunakar kintadahttps://oss.deltares.nl/c/message_boards/find_message?p_l_id=1806765&messageId=3455352013-11-01T11:08:44Z2013-11-01T11:08:44ZDear there,<br /><br />i'm running flow (Hydrodynamics) module of the Delft 3d.<br />The model completes fine with tide boundary conditions.<br />but whenever i'm forcing wind on it, with *.spw files (Cyclones).<br />i'm getting the error: ERROR NaN found after xxxx time step.<br />It even occur for different domains. i was clue less.<br />i tried both linear and block interpolation schema in the dashboard.<br />Please let me know how this can be tackled.<br /><br />Regards,<br />Karunakarkarunakar kintada2013-11-01T11:08:44Z