Tracers
- Transport
model
cryosphere
cice
CICE horizontal transport (stage 2 of the EqESM project): the per-category conservative advection of the area, volume and enthalpy/surface-temperature tracer states of the default configuration of cesm3_cice6_6_3_22, lowered onto the traced 3x5 subdomain (N_I = 3 T cells along x, N_J = 5 along y, global cells (2..4, 4..8) of the stage-1 dump) with the EarthSciDiscretizations CICE B-grid flux-divergence rules (grids/cice_bgrid/rules/transport_flux_divergence.esm and its layered companion transport_flux_divergence_layered.esm). The conservative statement per category n is the continuity system d(aicen)/dt + div(aicen*u) = 0, d(vicen)/dt + div(vicen*u) = 0, d(vsnon)/dt + div(vsnon*u) = 0, plus the tracer-product forms the Fortran conserves (update_fields, ice_transport_remap.F90:3556-3571; tracer types of ice_init.F90:3061-3067): d(aTsfcn)/dt + div(aTsfcn*u) = 0 for the area tracer Tsfcn (trcr_depend = 0), d(vqicen)/dt + div(vqicen*u) = 0 for the volume tracer qicen over the 8 ice layers (trcr_depend = 1, vqicen = vicen*qicen), and d(vsqsnon)/dt + div(vsqsnon*u) = 0 for the snow-volume tracer qsnon over the 3 snow layers (trcr_depend = 2, vsqsnon = vsnon*qsnon). The tracers are recovered by tracer_from_product (cice_templates.esm): Tsfcn = aTsfcn/aicen, qicen_adv = vqicen/vicen, qsnon_adv = vsqsnon/vsnon, floored where the transported mass vanishes exactly as the Fortran's update_fields/tracers_to_state (0 for Tsfc and qice, -rhos*Lfresh for qsno; ice_transport_remap.F90:3631-3658, ice_transport_driver.F90:990-1114). Every divergence is the spatial-D rewrite target D(c*uvel, x) + D(c*vvel, y) (the tracer_flux_divergence template), lowered by the rule to the conservative cell flux divergence (F_e(i,j) - F_e(i-1,j) + F_n(i,j) - F_n(i,j-1))/tarea of the Fortran's mass update (ice_transport_remap.F90:3586-3590) with the CENTERED face reconstruction F_e = HTE*((uS+uN)/2)*((cL+cR)/2), F_n = HTN*((vW+vE)/2)*((cS+cN)/2); the layered rule applies the same stencil on the passive layer axis (imported twice, layer renamed to ice_layer / snow_layer with N_LAYER bound to N_ILYR / N_SLYR). THIS IS NOT CICE'S INCREMENTAL REMAPPING. The Fortran advects with the incremental-remapping scheme of Dukowicz & Baumgardner (2000) / Lipscomb & Hunke (2004) (horizontal_remap, ice_transport_remap.F90:317-831: limited linear reconstruction construct_fields F90:1009-1283, departure_points F90:1449-1623, departure-region integrals transport_integrals F90:3188-3472), which is upwind-biased, monotone for the tracers and positivity-preserving for the masses. The centered flux divergence here is the continuous flux form of the same conservation law: it is conservative but neither upwind nor limited, so it carries NO positivity or monotonicity guarantee -- an integration can drive aicen/vicen/vsnon negative or create tracer extrema near sharp ice edges, and the tracer recovery floors only the exactly-zero-mass case. No upwind or limited face rule exists for the cice_bgrid grid in EarthSciDiscretizations (the upwind/limiter rules there are for the 1-D Cartesian grids only), and incremental remapping itself is a stage-3 discretization (see README.md 'Transport scheme'). The integrated test cice_transport_centered_flux_35_integrated quantifies the scheme difference against the dump at a single interior cell (residuals ~10% of the transported change, tolerances rel 1e-4/1e-4/2e-4); the measured worst-case scheme residuals of the model against the dump t_exit over the whole traced domain are aicen 4.0e-4, vicen 3.7e-4, vsnon 4.8e-4, Tsfcn 2.2e-3, qicen 2.1e-4, qsnon 9.9e-6 relative (each above one tenth of the field's transported change, so the other tests pin the operator itself, not the trajectory: the uniform-field and divergence pins evaluate the lowered rule exactly, rel 1e-12, and the uniform-tracer preservation test checks the advection-consistency property of the product/recovery formulation). The velocity and grid fields are parameters overridden from the dumps in the tests: uvel/vvel are the transport dump's t_entr step-1 ncat-1 rows (the cell (i,j) row carries the U(i,j) NE-corner velocity = the post-dynamics field), HTE/HTN/tarea are derived from the stress-dump metrics (HTE = (3*cyp - cym)/4, HTN = (3*cxp - cxm)/4, tarea = dxT*dyT; ice_dyn_shared.F90:432-436). Import contract: the model declares the N_I/N_J/NCAT/N_ILYR/N_SLYR metaparameters and the i/j/ncat/ice_layer/snow_layer index sets locally (a workaround for the esm CLI RangeSpec round-trip bug with faq-range metaparameter references under template-import bindings), and imports the rules by reference from ${ESD_ROOT} (an EarthSciDiscretizations checkout at main, which carries both cice_bgrid transport rules since PR #50 / #59). Assembly: the recovered states are named qicen_adv/qsnon_adv because the esm CLI's initial-conditions shape check resolves an override key's trailing local name against the first declaring model, so a Transport state named qicen would shadow Thermodynamics.qicen in the cice.esm assembly test. The thermodynamics -> transport enthalpy hand-off (initializing vqicen = vicen*qicen from the post-thermodynamics state each step, the Fortran's state_to_tracers) is an operator-splitting sequencing step the single-period assembly cannot express, so cice.esm does not wire Thermodynamics.qicen/qsnon into this model; the tests set the product states by initial_conditions.