Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#1508 closed Bug (fixed)

LIM3 important bug fix (crash)

Reported by: clem Owned by: nemo
Priority: highest Milestone:
Component: LIM3 Version: release-3.6
Severity: Keywords: LIM*
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 (4)

comment:1 Changed 5 years ago by clem

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

fixed in rev 5202

comment:2 Changed 3 years ago by nemo

  • Keywords LIM* added

comment:3 Changed 3 years ago by nemo

  • Keywords release-3.6* added

comment:4 Changed 3 years ago by nemo

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