Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KPP_OBLdepth becomes too small ~ 1 cm #132

Closed
nikizadehgfdl opened this issue Apr 10, 2015 · 6 comments
Closed

KPP_OBLdepth becomes too small ~ 1 cm #132

nikizadehgfdl opened this issue Apr 10, 2015 · 6 comments
Assignees

Comments

@nikizadehgfdl
Copy link
Contributor

commit 4a0c1b2
Author: Robert Hallberg Robert.Hallberg@noaa.gov
Date: Wed Mar 18 18:18:49 2015 -0400

Investigating a testcase crash I found that the diagnostic called
KPP_OBLdepth becomes too low (1.2cm) at some points on the map. Alistair says this should never happen.

More about the test:
I ran an experiment to test the capability for DT_THERM = 2* dt_cpld and the model crashed on the 3rd day with SST suddenly hiking up to 30C at an isolated point in high latitudes (-5E,82N) (Greenland Sea) . Looking for the reasons I noticed KPP_OBLdepth becomes suspiciously low (1.2cm) at the same point. Thinking (mistakenly) that this would be the depth of the grid box that would accept the heat fluxes and heat up, I set KPP%MINIMUM_OBL_DEPTH = 10.0 and the test ran for at least a month.

The history file is too large to transfer to gfdl (since it's every timestep) but here it is on gaea:

/lustre/f1/unswept/Niki.Zadeh/archive/safe/KPP_OBL_DEPTH_going_1cm/19000101.ocean_month.nc

@adcroft
Copy link
Collaborator

adcroft commented Apr 10, 2015

Good spot, @nikizadehgfdl . Not sure how this leads to extreme temperatures but the code does have a max with the top level thickness (2m in your case) so the data and code are clearly at odds.

@StephenGriffies
Copy link
Contributor

There is a problem with the time stepping.

Take a look at any field, such as temp, salt, kpp_obldepth, etc. The fields are identically zero until time step 10, at which time they are reasonable. Thereafter, the fields are nonzero only for time steps 16, 22, 28, 34, 40, 46, etc.

This does not appear to be a problem with KPP. Rather, there is zero ocean except for the time steps noted above. That is, there appears to be a problem transferring information between MOM and the coupler...

@StephenGriffies
Copy link
Contributor

Alistair informed me the problem I noted above is likely related to diagnostic manager issues, not with time stepping in MOM/coupler. It would be nice to confirm this.

Why do we have such a problem with diag manager. This file has 210 time steps. There are nonzero values in only about 1/6 of the times saved in this file. That is a huge overload on file size to do debugging.

@StephenGriffies
Copy link
Contributor

The following file saves the thickness array, h, for each time step

/lustre/f1/Niki.Zadeh/work/ulm_mom6_20150331/OM4_SIS_DT_THERM_7200_1x0m2d_512pe7.o7036899/output.stager/lustre/f1/Niki.Zadeh/ulm_mom6_20150331/OM4_SIS_DT_THERM_7200/ncrc2.intel-prod/1x0m2d_512pe7/history/19000101.nc/19000101.ocean_month.nc

Starting around timestep 190, the thickness field, h, at k=1 to west of Svalbard exhibits values close to zero and up to 5m. The very small values found in turn lead to very small values for the KPP boundary layer depth. Surprisingly, these unphysical values for h are NOT accompanied by strange values of SSH.

Here is my understanding of z* vertical coordinate:

dz = (1+eta/H) dz*

where dz* is the static grid cell thickness set by the initial conditions, eta=SSH, and H=bottom topography. Strange values in dz=h should thus be accompanied by strange values in eta=SSH. Furthermore, I observe dz=h at early times in the simulation is "spotty", exhibiting patterns that are not seen in the SSH or H fields, at least not naively.

I am not in Kansas anymore...

One possibility is that problems with sea ice are impressed onto ocean thickness, but for some reason are not seen in SSH diagnosed in MOM6. This could be the case if "SSH" in MOM6 incorporates the inverse barometer loading from sea ice. However, a quick check in the code does not suggest that SSH incorporates the inverse barometer.

@StephenGriffies
Copy link
Contributor

LMD1994 proposed to use the M-O depth as a maximum BL depth under stable buoyancy forcing. Namely, the OBL should be no deeper than the M-O depth. It is a sensible constraint in principle, although in practice it leads to problems which motivated NCAR to abandon the constraint.

Regardless, our needs are not met, as we wish a constraint setting the minimum OBL depth.

nikizadehgfdl pushed a commit to nikizadehgfdl/MOM6 that referenced this issue Oct 9, 2017
gustavo-marques pushed a commit to gustavo-marques/MOM6 that referenced this issue Dec 20, 2019
@Hallberg-NOAA
Copy link
Collaborator

If this is still a problem, it should be raised via NCAR.

marshallward pushed a commit to marshallward/MOM6 that referenced this issue Apr 26, 2024
…in-20240401

update to MOM6 main repo 20240401 commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants