Bug reports, work arounds and fixes
Moderators: arango, robertson
- Posts: 81
- Joined: Thu Dec 07, 2006 3:14 pm
- Location: USGS
I have a grid where most of the land is unmasked. After switching to COAWST version 3.1 I started getting spurious wet cells right after a few steps in to the simulation. They are spurious because the cells that get wet have elevations much higher than the tidal amplitude (e.g. -3 m of elevation getting wet with 0.5 m water surface level). Digging into the code I found that a piece of code that applied wet-dry mask to the right hand side momentum equations was missing in the newer version. After I changed it things looked much better. I had this issue with COAWST, however, it looks like Rutgers trunk is missing the same block of code in rev741, too. I have just looked at the cod on Trac, I did not test it. I wonder if anybody else has had a similar issue (either with ROMS or COAWST). I'd happy to listen and learn from their experiences...
Code: Select all
# ifdef WET_DRY
- with_rhs_wdmask.png (9.82 KiB) Viewed 1811 times
- spurious_wet_cells.png (11.15 KiB) Viewed 1811 times
- Posts: 157
- Joined: Mon Apr 28, 2003 5:12 pm
- Location: NOAA
Which routine(s) in ROMS did you modify to multiply by the wet/dry mask?