Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#1345 closed Bug (fixed)

Bug sbcblk_core.F90: routines TURB_CORE_*Z in version 3.6 and earlier

Reported by: newiceage Owned by: nemo
Priority: normal Milestone:
Component: OCE Version: release-3.6
Severity: Keywords: CORE SBC
Cc: laurent@…

Description

In very rare low-wind conditions, the current way of estimating the neutral wind speed at 10m leads to a negative value that causes the code to crash. To prevent this a threshold of 0.25m/s is imposed.

This bug-fix concerns version 3.6 (trunk) and all previous versions that include the CORE bulk. This has been tested and verified with ORCA1 with version 3.6.

Both lines 823 and 960 (v3.6 alpha) should be replaced by:

U_n10 = MAX( 0.25 , dU10/(1. + sqrt_Cd_n10/kappa*(log(zu/10.) - zpsi_m)) )

Laurent Brodeau (brodeau@…)

PS: ticket written under the supervision of Gurvan here in Stockholm!

Commit History (2)

ChangesetAuthorTimeChangeLog
4682gm2014-06-21T11:47:21+02:00

#1345 : correct a bug in CORE bulk formulae in the v3.6alpha (trunk)

4681gm2014-06-21T11:44:27+02:00

#1345 : correct a bug in CORE bulk formulae in dev_v3_4_STABLE_2012

Change History (7)

comment:1 Changed 6 years ago by gm

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

Many thanks Laurent.

The correction has been done in both v3.4 stable (dev_v3_4_STABLE_2012) and v3.6alpha (trunk)

see revision 4681 and 4682

comment:2 Changed 4 years ago by nicolasmartin

  • Keywords core added; CORE removed

comment:3 Changed 4 years ago by nicolasmartin

  • Keywords nemo_v3_6* added

comment:4 Changed 4 years ago by nicolasmartin

  • Keywords CORE added; core removed

comment:5 Changed 4 years ago by nicolasmartin

  • Keywords SBC added; bulk removed

comment:6 Changed 3 years ago by nemo

  • Keywords release-3.6* added; nemo_v3_6* removed

comment:7 Changed 3 years ago by nemo

  • Keywords release-3.6* removed
Note: See TracTickets for help on using tickets.