Opened 16 years ago

Closed 16 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)

ana_m2obc.h (12.5 KB ) - added by m.hadfield 16 years ago.

Download all attachments as: .zip

Change History (3)

by m.hadfield, 16 years ago

Attachment: ana_m2obc.h added

comment:1 by m.hadfield, 16 years ago

Found it! In the M2 boundary conditions at the western edge, this

          cff=SQRT(g*GRID(ng)%h(Istr-1,j))

should be this

          cff=SQRT(g/GRID(ng)%h(Istr-1,j))

Corrected file attached.

comment:2 by arango, 16 years ago

Resolution: Fixed
Status: newclosed

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.