Vertical-Diffusion
- TridiagonalMixing
model
ocean
mom6
MOM6 implicit vertical tracer diffusion (tracer_vertdiff_Eulerian no-sink branch, MOM_tracer_diabatic.F90:384-413; ent computed in MOM_diabatic_driver.F90:1728-1739) written as the PDE dT/dt = d/dz (Kd dT/dz) for each tracer, discretized by the EarthSciDiscretizations rule varcoeff_face_laplacian_lev_flux_bc with zero prescribed face fluxes. The rule's lowering (G[n] = Kd[n](u[n]-u[n-1])/(zc[n]-zc[n-1]), L[ell] = (G[ell+1]-G[ell])/dz[ell], zero face fluxes) is exactly the MOM6 tridiagonal law h_k (u'_k - u_k) = ent_k (u'_{k-1} - u'_k) + ent_{k+1} (u'_{k+1} - u'_k) with ent = dt Kd/dz_int; the PDE's h divides out through the cell measure. The esd column reverses the MOM6 top-down order: esd lev ell <-> MOM6 layer NLEV+1-ell, esd interface n <-> MOM6 interface NLEV+2-n, ze increasing upward from the bottom (ze[1] = -H) to the surface (ze[NLEV+1] = 0). T and S are carried separately because Kd_heat != Kd_salt on most dumped interfaces (10-36 per column, up to ~50%; the dump contradicts the claim of README.md that they are equal). Pinned to rows of stage1/dumps/mom6/mom6_diabatic_tri.csv (see README.md; tuples extracted by stage1/analysis/extract_mom6_vertdiff_tuples.py).