|
From: Stephen R. <ste...@an...> - 2019-06-29 06:34:36
|
Hi Karin, I don't think we need that warning message (at least not so many messages). So I have disabled the warning message in the most recent version of anuga on github. Let me know if you run into a problem after you have updated. By the way, the finalise() command should be right at the end of your script. Cheers Steve ============================== Stephen Roberts Undergraduate Convenor Mathematical Sciences Institute Room 4.74 Hanna Neumann Building #145 The Australian National University Canberra, ACT 2600 AUSTRALIA Ph: +61 2 61254445 CRICOS: 00120C ________________________________ From: Karin Lehnigk <kle...@um...> Sent: Saturday, 29 June 2019 6:13:43 AM To: anu...@li... Subject: [Anuga-user] acos error Hi all, My most recent anuga models seem to be having some rounding errors in the finalize() step in line 182. It goes through all the timesteps, merges the sww files, and then prints a lot of lines that say "NOTE: changing argument to acos from 1.00000000000222 to 1.0" after each calculation for stage, elevation, xmomentum, and ymomentum for each timestep before writing the gauge output csv file. The output files all seem fine, but it significantly increases (doubles) the model runtime. I'm attaching my hydrograph-generating script (txt2tms.py) and the model script (flood_simn065_LGC3_drum_full_parallel_cpts.py). I started encountering this error after using the hydrograph-generating script to set my parameters instead of having one constant discharge for the full run, so perhaps that has something to do with it? If anyone has any suggestions on how to fix this error it would be greatly appreciated! Thanks, Karin Lehnigk |