New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
#1498 (un-initialized N^2 before value at surface and bottom level) – NEMO

Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#1498 closed Bug (fixed)

un-initialized N^2 before value at surface and bottom level

Reported by: gm Owned by: nemo
Priority: low Milestone:
Component: OCE Version: trunk
Severity: Keywords: N2 initialization
Cc:

Description

In istate.F90, rn2 is initialized to zero, but not rn2b. Since eos_bn2 routine is computing the Brunt-Vaisala frequency from 2 to jpkm1, this mean that before N2 (rn2b array) is never defined at levels 1 and jpk. This is an issue since those rn2b values are used in most of the zdf... modules (zdftke, zdfgls, zdfevd, ...)

To fix this issue rn2b should be set to zero in instate.F90 routine

Thanks to Laurent Debreu for having identified this bug

Commit History (2)

ChangesetAuthorTimeChangeLog
5169pabouttier2015-03-25T10:30:02+01:00

Fix missing rn2b initialisation (direct model and TAM), described in Ticket #1498

5163gm2015-03-24T13:21:17+01:00

trunk: #1498 bug correction on rn2b initialization

Change History (2)

comment:1 Changed 9 years ago by gm

  • Resolution set to fixed
  • Status changed from new to closed

Correction done in istate.F90, see Changeset [5163]

comment:2 Changed 8 years ago by nicolasmartin

  • Keywords N2 added; N^2 removed
Note: See TracTickets for help on using tickets.