-
Notifications
You must be signed in to change notification settings - Fork 383
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
Compute KPP input fields #6507
Comments
@qingli411 great catch, yes you are right on. If we set |
I guess we could probably put it in |
Oh, GOTM uses this as well? That's more problematic. I think we should do a two step process.
I suggest this way as we can keep our current v3 simulations BFB What do you think? |
Yes, doing it in two steps sounds good. I'm a bit concerned about making this call in vmix.F - |
So here is my thinking. In the operator splitting we do here, vmix should be fully contained at the end and in the way we compute things everything going into KPP/GOTM (including u* and b_sfc) should be updated values at the end of the timestep. Right now we compute the nonlocal part of KPP based on partially updated buoyancy fluxes and the non local shape from the previous timestep. If we move this call to vmix we won't have this time offset anymore. So the move to later feels more consistent to me. What are your concerns in making the call after the main time step? But it also occurs to me that calling this in vmix and diagnostic_solve is functionally equivalent. Diagnostic_solve is called right before vmix_implicit |
OK. That makes sense now - I didn't realize there is a time offset between the shape function and surface buoyancy flux and was thinking that the non-local fluxes are needed by I was also a bit confused to see the computation of friction velocity in a subroutine called by |
if GOTM is enabled surface friction velocity is not calculated at present. This fixes that issue Addresses #6507
Fixes gotm interface for vertical mixing If GOTM is enabled surface friction velocity is not calculated at present. This fixes that issue by allowing KPP_input_fields to be calculated for cvmix and gotm Fixes #6507 [BFB]
if GOTM is enabled surface friction velocity is not calculated at present. This fixes that issue Addresses E3SM-Project#6507
@vanroekel, I think the call below to compute necessary input fields for CVMix should be placed outside the if statement checking
config_cvmix_kpp_nonlocal_with_implicit_mix
, or somewhere else? This seems to be the only place where this subroutine is called and the computed fieldssurfaceBuoyancyForcing
andsurfaceFrictionVelocity
are required by other CVMix subroutines. What do you think?E3SM/components/mpas-ocean/src/shared/mpas_ocn_tendency.F
Lines 1249 to 1250 in c7d7998
The text was updated successfully, but these errors were encountered: