-
Notifications
You must be signed in to change notification settings - Fork 20
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
*Updates in FPMix and Stokes Most #283
*Updates in FPMix and Stokes Most #283
Conversation
* Simplify the nonlocal increments in vertFPMix; * Pass boundary layer depths to the RK2 and add consistency check to make sure FPMix is always used with SPLIT; * Add the capability to mix down the Eulerian gradient instead of the Lagrangian; * Make a minimum set of FPMix diagnostics available.
@@ -1542,6 +1673,49 @@ subroutine KPP_NonLocalTransport_saln(CS, G, GV, h, nonLocalTrans, surfFlux, dt, | |||
|
|||
end subroutine KPP_NonLocalTransport_saln | |||
|
|||
!> Compute Stokes Drift components at zbot < ztop <= 0 and at k=0.5*(ztop+zbot) and | |||
!! average components from ztop to zbot <= 0 | |||
subroutine Compute_StokesDrift(i ,j, ztop, zbot, uS_i, vS_i, uS_k, vS_k, uSbar, vSbar, waves) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add units
Changed the empirical coefficient for non-local momentum mixing (Cemp_NL) from a hardcoded value to a user-defined parameter.
This is done for DIC, ALK, and related tracers. This mimics uptake and release of these tracers by sea ice.
* Modify NUOPC cap to accept separate glc runoff fluxes * (1/2) Add separate fluxes for glc runoff. (2/2) Add heat content fields for lrunoff_glc and frunoff_glc. * fix merge bugs and add more glc runoff diags * enable glc runoff flux only if use_glc_runoff is present * add ALLOW_GLC_RUNOFF_DIAGNOSTICS param to control whether to allow separate glacier runoff fluxes.
correct some indentation issues
MARBL: convert salt_flux to tracer flux and add to STF
Updated MAX_LAYER_THICKNESS to use longString for handling extended path+filename.
dt_pred, G, GV, US, CS%vertvisc_CSp, CS%OBC) | ||
call vertvisc(up, vp, h, forces, visc, dt_pred, CS%OBC, CS%ADp, CS%CDp, G, & | ||
GV, US, CS%vertvisc_CSp, CS%taux_bot, CS%tauy_bot, waves=waves) | ||
if (ASSOCIATED(CS%KPP_CSp)) call KPP_get_BLD(CS%KPP_CSp, hbl, G, US, m_to_BLD_units=GV%m_to_H) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lowercase keywords
"If true, add non-local momentum flux increments and diffuse down the Eulerian gradient.", & | ||
default=.false.) | ||
if (CS%fpmix) then | ||
call get_param(param_file, "MOM", "CEMP_NL", CS%Cemp_NL, & |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MOM?
This PR revises the formulation of the legacy K-profile parameterization (KPP) ocean boundary layer scheme. It incorporates:
FPMIX
); when the local shear is not aligned with the wind, this scheme adds a non-local momentum flux in the direction of the wind; andSTOKES_MOST
). This option provides the transition from waveless to ocean surface waves in any stage of growth or decay.Summary:
vertFPMix
;CVmix_kpp_compute_unresolved_shear
, passes the 2D surface buoyancy flux (surfBuoyFlux2
) instead of the 1D version (surfBuoyFlux
), which is preferable. This is answer changing;uold
andvold
diagnostics. These were used in an alternative time-stepping scheme that is now obsolete;FPMix
is always used withSPLIT
;FPMix
diagnostics available.This PR relies on CVMix/CVMix-src#94.
New diagnostics: