Flow-Law
- FlowFactorColumn
model
cryosphere
cism
Stage-2 implementation of the CISM flow factor (stage 2 of the EqESM project; CISM = cismwrap_3_00_002 / cism_main_3.00_002 as built in CESM cesm3.0-alphabranch, reference run T1850Gg/f09_g17_gris20): the Paterson & Budd (1982) rate factor A(T*) = E * a * exp(-Q/(R*T*)) of glissade_flow_factor (libglissade/glissade_therm.F90:2408-2640) for the reference option FLWA_PATERSON_BUDD (flow_law = 2, F90:2585-2606): T* = tempcor + 273.15 with tempcor = clamp(temp - pmptemp, -50, 0) degC (the CISM-specific T* construction, F90:2596-2598, cism_templates.esm cism_tempcor), the (a, Q/R) pair switching at tempcor >= -10 degC (T* >= 263.15 K): (arrmlh, actenh/gascon) = (1.733e3, 139e3/8.314) above, (arrmll, actenl/gascon) = (3.613e-13, 60e3/8.314) below (glimmer_physcon.F90:94-102, the arrfact table of F90:2502-2506), and the flow enhancement factor E multiplying the rate factor (F90:2579, 2603, 2605; which_ho_flow_enhancement_factor = 0 gives E = flow_factor_ground = 1.0 in the reference config). The softness law itself is the same as PISM's Paterson-Budd law and is imported by reference from the EqIce ice_rheology_templates.esm pb_softness (CISM_LANE.md row 4: 'same law, same constants'; PISM's A_cold = 3.61e-13 differs from CISM's arrmll = 3.613e-13 in the third digit, so the CISM constants are bound at the call site), with the CISM-specific T* construction applied before it. The pressure melting point pmptemp = -rhoi*grav*pmlt*thck*stagsigma (F90:2170) and the layer column geometry (stagsigma) live in the temperature-solve component (a later lane) and are inputs here, exactly as the trace provides them. Tests pin the stage-1 instrumented trace cism_flowlaw.csv (one row per traced cell and layer, nlayers = 10, at each step; E = 1.0 and tempcor > -10 degC on every traced row - the reference window is warm-branch only - so the cold branch and the tempcor clamp bounds are pinned synthetically from the source formula, see README.md). The single model FlowFactorColumn applies the law elementwise over the 10-layer index set lev through the esm-spec 9.6.11 elementwise lift (the applications of the cism_tempcor and pb_softness templates are read per element when their arguments are the shaped temp/pmptemp/T_star, so the column model is the Fortran layer loop of glissade_flow_factor and is the single flow-law mount of the cism subassembly, fed by whole-array edges from the temperature solve); the scalar pointwise form of the law was factored out of the file in the wt/cism-calving3 round (nothing outside this file mounted it), with its single-layer pins re-expressed on the column model at the same dump rows (single-layer coords assertions).