Opened 3 years ago

Closed 3 years ago

#1886 closed Bug (fixed)

small bug in Stokes-Coriolis term when using EEN scheme

Reported by: gm Owned by: nemo
Priority: low Milestone:
Component: OCE Version: trunk
Severity: Keywords: dynvor, surface waves
Cc:

Description

Context

with surface wave (ln_wave=T), Stokes-Coriolis activated (ln_stcor=T), and EEN vorticity scheme (ln_dynvor_een=T)

Analysis

the Stokes-Coriolis term is evaluated using ENE scheme instead of EEN scheme

Fix

replace in the line 183 the call to vor_ene routine:

183	            IF( ln_stcor )   CALL vor_ene( kt, ncor, usd, vsd, ua, va )   ! add the Stokes-Coriolis trend

by a call to vor_een routine

183	            IF( ln_stcor )   CALL vor_een( kt, ncor, usd, vsd, ua, va )   ! add the Stokes-Coriolis trend

Thanks to Juan Manuel Castillo Sanchez for spotting this issue.

Commit History (2)

ChangesetAuthorTimeChangeLog
7913gm2017-04-15T10:20:21+02:00

#1886 : Surface wave - Stokes-Coriolis term compute with EEN scheme when ln_dynvor_een=T

7780timgraham2017-03-09T16:01:26+01:00

Branch to test fix for #1886

Change History (1)

comment:1 Changed 3 years ago by gm

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.