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.
#1508 (LIM3 important bug fix (crash)) – NEMO

Opened 9 years ago

Closed 9 years ago

Last modified 2 years ago

#1508 closed Bug (fixed)

LIM3 important bug fix (crash)

Reported by: clem Owned by: nemo
Priority: highest Milestone:
Component: LIM3 Version: v3.6
Severity: Keywords: LIM* v3.6
Cc:

Description

Dear all,

we just found bugs in LIM3 with the capacity of crashing the code after several months/years.
The bugs seem to affect preferentially higher resolution simulations but problems are also encountered for ORCA2 after some years.
 
The reasons are numbered:

1) Ice with a concentration lower than 1.e-10 is systematically forced to melt because it creates issues when divisions by concentration are encountered in the code. But divisions by thickness (in thermodynamics) also caused serious issues. Therefore we also melt ice with thickness and volume lower than 1.e-10. This bug fix does not alter the heat, salt and mass conservations of the ice-ocean system.  

2) A minimum of ice salinity was not strictly defined before thermodynamics. It could lead to erroneous enthalpy/temperature and therefore to abnormal growth rates

3) Ice age was totally wrong. Therefore, the code was trying to write huge values in output (like 1.e36) and failed.

4) the heat diffusion scheme can sometimes result in ice temperature very slightly higher or equal to the melting point. In this case, ice is supposed to melt but it was not taken into account explicitly.  

We have tested the bug fixes on several years of a very high (2-3km) regional simulation as well as on ORCA1 and we haven't encountered any more issues.

Commits are underway

Clem & Martin

Commit History (2)

ChangesetAuthorTimeChangeLog
5202clem2015-04-07T17:40:16+02:00

LIM3: important bug fix to avoid crashes. See ticket #1508

5201clem2015-04-07T17:40:07+02:00

LIM3: important bug fix to avoid crashes. See ticket #1508

Change History (5)

comment:1 Changed 9 years ago by clem

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

fixed in rev 5202

comment:2 Changed 6 years ago by nemo

  • Keywords LIM* added

comment:3 Changed 6 years ago by nemo

  • Keywords release-3.6* added

comment:4 Changed 6 years ago by nemo

  • Keywords release-3.6* removed

comment:5 Changed 2 years ago by nemo

  • Keywords v3.6 added
Note: See TracTickets for help on using tickets.