Absorption
- ShortwaveAbsorption
model
ocean
mom6
Stage-2 implementation of the MOM6 penetrating shortwave absorption (MOM6 dev/ncar_260909 @301879336, fork stage1/EqESM-cesm-mom6 branch instrument/mom6-dumps; in this MOM6 version the two routines live in MOM_opacity.F90: absorbRemainingSW :602-869, which heats the water column by the Beer-Lambert decay of the penetrating bands, and sumSWoverBands :894-1041, which accumulates the penetrating shortwave for the KPP buoyancy-flux path; the per-band surface split penSW_bnd = sw_pen_band*dt/(RHO_0*C_P) is extractFluxes1d of MOM_forcing_type.F90:619; run configuration C_JRA_t62_mom6_inst: OPACITY_SCHEME=OHLMANN_03 (chlorophyll-driven opacity_from_chl :247-479), N_SW_BANDS=2, RHO_0=1035 kg m-3, C_P=3992 J kg-1 K-1, all unit rescale factors 1.0). The component is written as math, not as the Fortran's loop: the optical depth at interface i is the Beer-Lambert integral tau(n,i) = int_0^{z_i} opacity(n,z') dz' of the surface-to-interface water column (esm-spec 4.2), spelled with the ESD integral op and lowered by the local match rules of ./mom6_sw_discretization.esm (the cumulative-from-bottom integral of integral_lev_nodes_cumulative_from_bottom lifted to the [band, layer] integrand, because the imported EarthSciDiscretizations integral rules constrain the integrand to a bare lev-shaped reference); the measure is the per-path layer thickness, h = h_after (the post-flux thickness the heating path sees, absorbRemainingSW :748-750) for OD and h_buoy = h_before (the pre-flux thickness of the KPP buoyancy path, thickness_to_dz via MOM_forcing_type.F90:1102) for OD_buoy, with the surface bounds z_sfc = z_sfc_buoy = 0 m. The per-interface band flux is named once, F_pen(n,i) = penSW_bnd(n)*exp(-tau(n,i)) (and F_pen_buoy from tau_buoy); the remaining penetrating SW after layer k is pen_sw_rem(n,k) = F_pen(n,k+1) (absorbRemainingSW :752-753, 760-766), the layer heating is dT(k) = sum_n F_pen(n,k)*(1 - exp(-opacity(n,k)*h(k)))/h(k) (absorbRemainingSW :775-777, 797-802), and the interface net penetrating flux is netPen(i) = sum_n F_pen_buoy(n,i)/dt (sumSWoverBands :1000-1004). Coverage gap (see README.md): absorbRemainingSW's min_SW_heat clamp (PEN_SW_FLUX_ABSORB = 2.5e-11 degC m s-1, PEN_SW_ABSORB_MINTHICK = 1.0 m, answer_date >= 20190101, :711-730) rewrites pen_sw_rem/dT below the layers where nsw*pen_sw_rem(n,k) < 2.5e-11*dt degC m; it is a stateful recurrence (the clamped remaining feeds the next layer), so it is not expressed as pure math here and those layers are pinned only via the conservation identity absorbed_total = sum_k dT(k)*h(k) (which the clamp preserves up to the ~1e-24 leftover). State units: sw_pen_band [W m-2], opacity [m-1], h/h_buoy [m], dt [s], penSW_bnd [degC m] (heating per step), OD/OD_buoy dimensionless, pen_sw_rem [degC m], dT [degC], netPen [degC m s-1], absorbed_total [degC m]. Pins: mom6_sw_abs.csv rows (joined to mom6_bflux.csv for h_after/h_before/dt) at rel 1e-12 within the unclamped region, extracted by stage1/analysis/make_mom6_sw_abs_tests.py.