Opened 17 years ago
Closed 17 years ago
#211 closed bug (Fixed)
KELVIN test case blows up
Reported by: | m.hadfield | Owned by: | arango |
---|---|---|---|
Priority: | major | Milestone: | Release ROMS/TOMS 3.2 |
Component: | Nonlinear | Version: | 3.2 |
Keywords: | Cc: |
Description
In the Kelvin test case, a spike in sea surface height develops in the SW corner of the domain, reaching a value of 46 m at t = 2 hours. The model blows up at t = 3 hours.
Attachments (1)
Change History (3)
by , 17 years ago
Attachment: | ana_m2obc.h added |
---|
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Resolution: | → Fixed |
---|---|
Status: | new → closed |
Actually, we need here:
cff=SQRT(g*GRID(ng)%h(Istr-1,j)) ! gravity wave speed, c
the problem is that the boundary conditions for ubar are wrong. We need to have:
ubar_west = Uo * EXP(-f*y/c) * SIN(omega*t) ubar_east = Uo * EXP(-f*y/c) * SIN(omega*x/c -omega*t) where c = SQRT(g*h) Uo = c * Eo / h = Eo *SQRT(g/h) ! Eo: initial elevation
I guess that I didn't fixed this correctly when it was reported in the forum.
Note:
See TracTickets
for help on using tickets.
Found it! In the M2 boundary conditions at the western edge, this
should be this
Corrected file attached.