# hrr_check.py run 2026-10-25 17:22:23 UTC; python 3.13.9, numpy 2.5.0, scipy 1.18.0 1. T1: plane-strain crack, n = 6.5, s left free (key: p 0.133333333333, H 1.893569725213, C 0.457305783974) s = 1.866666666667 (exact (2n+1)/(n+1) = 1.866666666667), p = 2 - s = 0.133333333333, f''(0) = -0.6892567619, face residual 2.5e-15 J0 (f(0)=1) = 0.3071013535; I_n (max Q = 1) = 4.81837946; sigma_tt(0) with max Q = 1: 2.335257 H = 1.8935697255; C = 0.4573057805; E_n = pi C = 1.43666848; compatibility residual 2.5e-07 n = 1 limit: p = 0.5000000000 (exact 0.5), H = 0.4606588660 (exact sqrt(2/(3 pi)) = 0.4606588660), C = 0.2500000000 (exact 0.25), I_1 = 6.28318531 (2 pi = 6.28318531) Table 1 of the paper, plane strain (printed I, E_n on p. 21): n = 3: s = 1.7500000000 (exact 1.7500000000); I = 5.5073 vs 5.51; E_n = 1.2272 vs 1.23; differences -0.05% and -0.23% n = 5: s = 1.8333333333 (exact 1.8333333333); I = 5.0235 vs 5.01; E_n = 1.3816 vs 1.37; differences +0.27% and +0.85% n = 9: s = 1.9000000000 (exact 1.9000000000); I = 4.6018 vs 4.6; E_n = 1.4850 vs 1.48; differences +0.04% and +0.34% n = 13: s = 1.9285714286 (exact 1.9285714286); I = 4.4010 vs 4.4; E_n = 1.5184 vs 1.52; differences +0.02% and -0.10% 2. T2: notch, material in |theta| < 2 pi/3, n = 4 (key: p 0.156175260286, R 0.373262313312) s = 1.843824739714, p = 0.156175260286, f''(0) = -1.2630789963, R = 0.373262313312, face residual 7.4e-16 energy inside radius r grows as r^(2-(n+1)p) = r^1.219124 (crack: r^1) n = 1: p = 0.384268940509 vs elastic-wedge root 1 - lambda = 0.384268940509; R = 0.444272010788 vs analytic 0.444272010788 faces at +-pi, n = 4: p = 0.200000000000 (crack 1/(n+1) = 0.2), R = 0.793118 paper's 90-degree notch, n = 3: p = 0.225016 (printed 0.225, p. 31), R = 0.529406 3. Curves for the figure (plane strain; crack p checked against 1/(n+1)) n crack p 1/(n+1) I_n notch120 p notch90 p 1.00 0.500000 0.500000 6.2832 0.384269 0.455516 1.25 0.444444 0.444444 6.2539 0.338734 0.401929 1.50 0.400000 0.400000 6.1764 0.303861 0.360254 1.75 0.363636 0.363636 6.0643 0.276127 0.326814 2.00 0.333333 0.333333 5.9388 0.253446 0.299323 2.50 0.285714 0.285714 5.7022 0.218389 0.256675 3.00 0.250000 0.250000 5.5073 0.192403 0.225016 3.50 0.222222 0.222222 5.3500 0.172275 0.200519 4.00 0.200000 0.200000 5.2213 0.156175 0.180966 4.50 0.181818 0.181818 5.1142 0.142975 0.164977 5.00 0.166667 0.166667 5.0235 0.131938 0.151648 5.50 0.153846 0.153846 4.9456 0.122561 0.140358 6.00 0.142857 0.142857 4.8779 0.114488 0.130666 6.50 0.133333 0.133333 4.8184 0.107459 0.122254 7.00 0.125000 0.125000 4.7655 0.101279 0.114879 8.00 0.111111 0.111111 4.6757 0.090908 0.102554 9.00 0.100000 0.100000 4.6018 0.082535 0.092657 10.00 0.090909 0.090909 4.5398 0.075626 0.084528 11.00 0.083333 0.083333 4.4869 0.069821 0.077730 12.00 0.076923 0.076923 4.4411 0.064871 0.071959 13.00 0.071429 0.071429 4.4010 0.060599 0.066995 4. V1: antiplane power-law crack, n = 3.5, tau0 = 80 MPa, gamma0 = 0.002, J = 0.120 N/mm face traction residual t(pi) = 1.8e-13 (f'(0) = 1 normalization) I = 2.019595277308 (closed form pi(n+1)/(2n) = 2.019595277308); a = 9.256090617516e-04 mm^(1-lam) slip_0.02 = 0.001318126778 key 0.001318126778 relative difference 1.8e-10 slip_0.08 = 0.001793693738 key 0.001793693738 relative difference 7.7e-11 tau_rz = 38.58659686 key 38.58659686 relative difference 6.0e-11 tau_tz = 138.0106166 key 138.0106166 relative difference 2.3e-10 r_0 = 0.04689442305 key 0.04689442305 relative difference 1.1e-10 r_90 = 0.02506612349 key 0.02506612349 relative difference 4.5e-11 r_180 = 0.01339840659 key 0.01339840659 relative difference 2.1e-10 5. V2: membrane (sigma_zz = 0), complete law with finite tangent slope T; E = 70000, nu = 0.30, J = 0.800, C_zz(0) = -0.005 leading compliance = isotropic (T, nu_t), nu_t = 1/2 - (1/2 - nu) T/E: max difference 1.1e-19 nu_t = 0.4862386509; largest principal strain on theta = 0 is the out-of-plane one: True T = 4816.472187 key 4816.472187 relative difference 6.3e-11 C_rr = 0.003942048238 key 0.003942048238 relative difference 6.8e-11 C_tt = 0.0006331781351 key 0.0006331781351 relative difference 4.6e-11 C_g = 0.005731131133 key 0.005731131133 relative difference 8.0e-11 C_y = 0.009139018941 key 0.009139018941 relative difference 5.3e-11 r_min = 0.01 key 0.01 relative difference 2.2e-16 r_max = 0.06132522855 key 0.06132522855 relative difference 1.5e-12 holding nu = 0.30 instead of nu_t would give T = 1833.5 MPa 6. Run configuration (counts only) P015-T1-with-dsaz (Cline): content events by type {'text': 6001, 'tool': 427} P015-T1-without-dsaz (Cline): content events by type {'text': 15664, 'tool': 986} P015-T2-with-dsaz (Cline): content events by type {'text': 3446, 'tool': 340} P015-T2-without-dsaz (Cline): content events by type {'text': 19194, 'tool': 727} P015-V1-B0-r1-k3az (Cline, Kimi K3, for comparison): content events by type {'reasoning': 38278, 'text': 1098, 'tool': 91} matched test, deepseek (OpenCode), 12 V1/V2 runs: reasoning tokens min 19942, max 53941 matched test, glm (OpenCode), 12 V1/V2 runs: reasoning tokens min 17997, max 104766 DATA {"T1": {"p": 0.1333333333333191, "H": 1.8935697255292543, "C": 0.45730578047900633, "I": 4.818379463898563, "En": 1.436668480396993}, "table1": {"3": {"I": 5.50732321573165, "En": 1.2271621416772056, "I_printed": 5.51, "En_printed": 1.23}, "5": {"I": 5.0235038258107165, "En": 1.381641502770423, "I_printed": 5.01, "En_printed": 1.37}, "9": {"I": 4.6018266903159715, "En": 1.484963856789195, "I_printed": 4.6, "En_printed": 1.48}, "13": {"I": 4.400965999122569, "En": 1.5184118278898378, "I_printed": 4.4, "En_printed": 1.52}}, "T2": {"p": 0.15617526028604556, "R": 0.37326231331159593}, "curves": {"n": [1.0, 1.25, 1.5, 1.75, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0, 5.5, 6.0, 6.5, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0], "crack_p": [0.49999999999996514, 0.44444444444441955, 0.3999999999999826, 0.36363636363635465, 0.3333333333333308, 0.285714285714292, 0.25000000000000955, 0.2222222222222292, 0.20000000000000617, 0.18181818181817966, 0.16666666666666274, 0.15384615384614664, 0.1428571428571308, 0.1333333333333191, 0.12499999999998401, 0.11111111111109095, 0.09999999999997766, 0.09090909090907173, 0.0833333333333306, 0.07692307692307976, 0.07142857142856784], "crack_I": [6.283185307199001, 6.2539221937635805, 6.176363232100997, 6.064263655502969, 5.93875665764817, 5.702206038219529, 5.507323164190479, 5.349971494814231, 5.221287358386656, 5.114165066288982, 5.023503798553176, 4.94563879039107, 4.8779234517594, 4.818379445811955, 4.765541212382242, 4.675670414654592, 4.601828437864641, 4.539848757287721, 4.48692802975825, 4.441111077234445, 4.400972242871374], "notch120_p": [0.38426894050915483, 0.33873364902731073, 0.30386149781526006, 0.2761269906473425, 0.25344620495092696, 0.2183894189871134, 0.19240263533168367, 0.17227491024930663, 0.15617526028604556, 0.14297535977512288, 0.13193848429575183, 0.12256148371530129, 0.11448812175988232, 0.10745860629964077, 0.10127872996445975, 0.09090782723211177, 0.08253534428523923, 0.07562577777104962, 0.06982086514309271, 0.06487146011058509, 0.060598708486898634], "notch90_p": [0.45551626321749383, 0.40192870235624545, 0.3602541642283177, 0.32681379674206457, 0.29932346125387665, 0.2566748508254788, 0.22501618301871873, 0.20051901264934546, 0.1809657602786794, 0.16497720884178046, 0.1516479163402804, 0.1403576102161448, 0.1306664614241737, 0.12225355841203411, 0.1148790544577496, 0.10255418548397799, 0.09265663285291059, 0.08452832139849398, 0.07773038507245356, 0.07195864038339828, 0.066995455197842]}, "V1": {"slip_0.02": 0.0013181267777607765, "slip_0.08": 0.001793693738138938, "tau_rz": 38.58659686230782, "tau_tz": 138.0106166323657, "r_0": 0.04689442305494862, "r_90": 0.025066123488865166, "r_180": 0.013398406587130034}, "V2": {"T": 4816.472187302738, "C_rr": 0.003942048237733179, "C_tt": 0.0006331781350710302, "C_g": 0.0057311311334564885, "C_y": 0.009139018941480236, "r_min": 0.009999999999999998, "r_max": 0.06132522854990912}}