From 45b97e1f68ab7fc981ec9d8a2076483f457a267d Mon Sep 17 00:00:00 2001 From: Jae Hoon Seo Date: Sun, 8 Nov 2026 15:21:16 +0900 Subject: [PATCH] test(statics): gate the low-EI sweep cases on the deck route static_init_sweep runs the mesh-sequenced kernel from the trivial seed. Four of its low-EI lazy waves (EI 5e2 N m2) reach a residual-converged kink of a few elements in mid-water there, which the h*kappa check rejects; the 800 m EA = 5e7 N case it also listed now passes on every OpenBLAS kernel. A deck never takes that combination for a line with a buoyant section: it seeds the line as a lazy wave, starts from the EI = 0 catenary and refines a kinked state locally. Run through the driver, the deck route solves all 121 well-posed sweep cases on both cable_statics routes (agreeing to 1.3e-7 in tension, max h*kappa 0.56) and refuses the one beyond the L-shape bound by name. - cable_statics_matrix: the five low-EI cases on both routes (SIS_*), with an independent elastic multi-segment EI = 0 catenary as the fairlead oracle where the arch stays submerged (within 2.4e-4). - static_init_sweep: the passing case leaves the known-fail list; the header states what the list means and that an unexpected pass is reported, not failed. - VALIDATION.md: the counts (118 pass, 4 known failures, not 117/3/2) and the deck-route result. Signed-off-by: Jae Hoon Seo --- VALIDATION.md | 23 +++-- tests/data/cable_statics_matrix.json | 132 +++++++++++++++++++++++++++ tests/test_static_init_sweep.f90 | 27 +++--- 3 files changed, 164 insertions(+), 18 deletions(-) diff --git a/VALIDATION.md b/VALIDATION.md index 722cc8db..e556c0ac 100644 --- a/VALIDATION.md +++ b/VALIDATION.md @@ -743,17 +743,28 @@ cannot restart the buoyancy ramp. AutoMesh warm-start refinement is tested by buoyant fraction. Each is solved by the production mesh-sequenced solver from a library-built trivial seed (`CD_HermiteCable_Trivial_Seed`: endpoints, rest lengths, and seabed in; isometric seed out; no catenary, seed files, or per-case -tuning). Result: **117 pass, 3 known failures, 2 cases annotated as known failures -that now pass, 0 unexpected failures, and 0 silent wrong answers**. Known-failure -annotations are checked both ways: an annotated case must either fail cleanly or be -reported when it passes. +tuning). Result: **118 pass, 4 known failures, 0 unexpected failures, and 0 silent +wrong answers**, the same on every OpenBLAS kernel. Known-failure annotations are checked +both ways: an annotated case must either fail cleanly or be reported when it passes. + +The deck route solves all 122 cases but the one beyond the L-shape bound that it refuses by +name: a deck seeds a line with a buoyant section as a lazy wave, starts it from the +`EI = 0` catenary and refines a kinked state locally, never this kernel from the trivial seed. +Run through the standalone driver on both `cable_statics` routes, the 121 equilibria agree +between the routes to 1.3e-7 in tension and 1e-5 m in position, with `max(h*kappa)` at most +0.56. The four known failures of the kernel and the former fifth are cases of the +`cable_statics_matrix` test (entries `SIS_*`, both routes): where the arch stays submerged +their fairlead tension is within 2.4e-4 of an independent elastic multi-segment `EI = 0` +catenary; two float their arch at the surface. - On a frictionless bed, a smooth planar equilibrium exists only while the rest length is below the L-shape bound `L < h_fairlead + x_anchor`; beyond it the surplus must fold on the bed. The slack axis runs to 0.97× the bound. A separate family crosses it and must return either a clean error or a finite - bounded-curvature solution, never NaN or a silent cusp. The three known failures - are hard contact cases at the lowest EI of the sweep (5e2 N·m²). + bounded-curvature solution, never NaN or a silent cusp. The four known failures + are lazy waves at the lowest EI of the sweep (5e2 N·m²): from the trivial seed the + kernel reaches a residual-converged kink of a few elements in mid-water, which the + check below rejects. - A residual-converged state is not sufficient: the solver rejects an element-localised branch when `max(h*kappa) > 0.7`, so a folded equilibrium cannot enter dynamics. diff --git a/tests/data/cable_statics_matrix.json b/tests/data/cable_statics_matrix.json index 9e5e0d41..c1b3541c 100644 --- a/tests/data/cable_statics_matrix.json +++ b/tests/data/cable_statics_matrix.json @@ -1612,5 +1612,137 @@ } }, "mesh_of": "ROUGH_1003" + }, + { + "id": "SIS_B800_EA5E7_EI5E2", + "expect": "admissible", + "why": "static_init_sweep case 87 (family b, depth 800 m, slackness 1.25, buoyancy ratio 1.5, EA 5e+07 N, EI 500 N m2, kBot 100000, span ratio 1, buoyant fraction 0.29) through the deck route; oracle: elastic multi-segment EI = 0 catenary", + "deck": "--------------------- CableDyn Input File ------------------------------------\nSW_B800_EA5E7_EI5E2\n--------------------- LINE TYPES ---------------------------------------------\nTypeName Diam MassDenInAir EA BA EI Cd_n Cd_t Ca_n Ca_t\n(-) (m) (kg/m) (N) (-) (N-m2) (-) (-) (-) (-)\nbare 0.160 36.720364 5e+07 0.0 500 1.2 0.1 1.0 0.0\nbuoy 0.290 0.0 5e+07 0.0 500 1.2 0.1 1.0 0.0\n--------------------- POINTS ------------------------------------------------\nID Type X Y Z\n(-) (-) (m) (m) (m)\n1 Coupled 0.0 0.0 -16\n2 Fixed 800 0.0 -800\n--------------------- LINES -------------------------------------------------\nID NodeA NodeB Outputs\n(-) (-) (-) (-)\n1 1 2 -\n--------------------- SECTIONS ----------------------------------------------\nLineID LineType Length NumSegs\n(-) (-) (m) (-)\n1 bare 393.790176522 72\n1 buoy 404.728792536 74\n1 bare 601.623880797 110\n--------------------- EQUIVALENT BUOYANCY -----------------------------------\nLineType Diam SubmergedWeightNpm\n(-) (m) (N/m)\nbuoy 0.290 -237\n--------------------- OPTIONS -----------------------------------------------\n800 WtrDpth\n100000 kBot\n0.0 TMax\nnone frictionMu\n--------------------- OUTPUTS -----------------------------------------------\n\"FairTen1\"\n\"AnchTen1\"\n--------------------- need this line ----------------------------------------\n", + "lines": { + "1": { + "oracle_tfair": [ + 45921.372599184884 + ], + "lambda_over_length": 0.0010485728908409383 + } + } + }, + { + "id": "SIS_B800_EA5E7_EI5E2_SEQ", + "expect": "admissible", + "why": "static_init_sweep case 87 (family b, depth 800 m, slackness 1.25, buoyancy ratio 1.5, EA 5e+07 N, EI 500 N m2, kBot 100000, span ratio 1, buoyant fraction 0.29) through the deck route, mesh-sequenced route first; oracle: elastic multi-segment EI = 0 catenary", + "deck": "--------------------- CableDyn Input File ------------------------------------\nSW_B800_EA5E7_EI5E2_SEQ\n--------------------- LINE TYPES ---------------------------------------------\nTypeName Diam MassDenInAir EA BA EI Cd_n Cd_t Ca_n Ca_t\n(-) (m) (kg/m) (N) (-) (N-m2) (-) (-) (-) (-)\nbare 0.160 36.720364 5e+07 0.0 500 1.2 0.1 1.0 0.0\nbuoy 0.290 0.0 5e+07 0.0 500 1.2 0.1 1.0 0.0\n--------------------- POINTS ------------------------------------------------\nID Type X Y Z\n(-) (-) (m) (m) (m)\n1 Coupled 0.0 0.0 -16\n2 Fixed 800 0.0 -800\n--------------------- LINES -------------------------------------------------\nID NodeA NodeB Outputs\n(-) (-) (-) (-)\n1 1 2 -\n--------------------- SECTIONS ----------------------------------------------\nLineID LineType Length NumSegs\n(-) (-) (m) (-)\n1 bare 393.790176522 72\n1 buoy 404.728792536 74\n1 bare 601.623880797 110\n--------------------- EQUIVALENT BUOYANCY -----------------------------------\nLineType Diam SubmergedWeightNpm\n(-) (m) (N/m)\nbuoy 0.290 -237\n--------------------- OPTIONS -----------------------------------------------\n800 WtrDpth\n100000 kBot\n0.0 TMax\nnone frictionMu\nsequenced cable_statics\n--------------------- OUTPUTS -----------------------------------------------\n\"FairTen1\"\n\"AnchTen1\"\n--------------------- need this line ----------------------------------------\n", + "lines": { + "1": { + "oracle_tfair": [ + 45921.372599184884 + ], + "lambda_over_length": 0.0010485728908409383 + } + } + }, + { + "id": "SIS_B800_EA2E9_EI5E2", + "expect": "admissible", + "why": "static_init_sweep case 89 (family b, depth 800 m, slackness 1.25, buoyancy ratio 1.5, EA 2e+09 N, EI 500 N m2, kBot 100000, span ratio 1, buoyant fraction 0.29) through the deck route; oracle: elastic multi-segment EI = 0 catenary", + "deck": "--------------------- CableDyn Input File ------------------------------------\nSW_B800_EA2E9_EI5E2\n--------------------- LINE TYPES ---------------------------------------------\nTypeName Diam MassDenInAir EA BA EI Cd_n Cd_t Ca_n Ca_t\n(-) (m) (kg/m) (N) (-) (N-m2) (-) (-) (-) (-)\nbare 0.160 36.720364 2e+09 0.0 500 1.2 0.1 1.0 0.0\nbuoy 0.290 0.0 2e+09 0.0 500 1.2 0.1 1.0 0.0\n--------------------- POINTS ------------------------------------------------\nID Type X Y Z\n(-) (-) (m) (m) (m)\n1 Coupled 0.0 0.0 -16\n2 Fixed 800 0.0 -800\n--------------------- LINES -------------------------------------------------\nID NodeA NodeB Outputs\n(-) (-) (-) (-)\n1 1 2 -\n--------------------- SECTIONS ----------------------------------------------\nLineID LineType Length NumSegs\n(-) (-) (m) (-)\n1 bare 393.790176522 72\n1 buoy 404.728792536 74\n1 bare 601.623880797 110\n--------------------- EQUIVALENT BUOYANCY -----------------------------------\nLineType Diam SubmergedWeightNpm\n(-) (m) (N/m)\nbuoy 0.290 -237\n--------------------- OPTIONS -----------------------------------------------\n800 WtrDpth\n100000 kBot\n0.0 TMax\nnone frictionMu\n--------------------- OUTPUTS -----------------------------------------------\n\"FairTen1\"\n\"AnchTen1\"\n--------------------- need this line ----------------------------------------\n", + "lines": { + "1": { + "oracle_tfair": [ + 45968.597408873895 + ], + "lambda_over_length": 0.0010485728908409383 + } + } + }, + { + "id": "SIS_B800_EA2E9_EI5E2_SEQ", + "expect": "admissible", + "why": "static_init_sweep case 89 (family b, depth 800 m, slackness 1.25, buoyancy ratio 1.5, EA 2e+09 N, EI 500 N m2, kBot 100000, span ratio 1, buoyant fraction 0.29) through the deck route, mesh-sequenced route first; oracle: elastic multi-segment EI = 0 catenary", + "deck": "--------------------- CableDyn Input File ------------------------------------\nSW_B800_EA2E9_EI5E2_SEQ\n--------------------- LINE TYPES ---------------------------------------------\nTypeName Diam MassDenInAir EA BA EI Cd_n Cd_t Ca_n Ca_t\n(-) (m) (kg/m) (N) (-) (N-m2) (-) (-) (-) (-)\nbare 0.160 36.720364 2e+09 0.0 500 1.2 0.1 1.0 0.0\nbuoy 0.290 0.0 2e+09 0.0 500 1.2 0.1 1.0 0.0\n--------------------- POINTS ------------------------------------------------\nID Type X Y Z\n(-) (-) (m) (m) (m)\n1 Coupled 0.0 0.0 -16\n2 Fixed 800 0.0 -800\n--------------------- LINES -------------------------------------------------\nID NodeA NodeB Outputs\n(-) (-) (-) (-)\n1 1 2 -\n--------------------- SECTIONS ----------------------------------------------\nLineID LineType Length NumSegs\n(-) (-) (m) (-)\n1 bare 393.790176522 72\n1 buoy 404.728792536 74\n1 bare 601.623880797 110\n--------------------- EQUIVALENT BUOYANCY -----------------------------------\nLineType Diam SubmergedWeightNpm\n(-) (m) (N/m)\nbuoy 0.290 -237\n--------------------- OPTIONS -----------------------------------------------\n800 WtrDpth\n100000 kBot\n0.0 TMax\nnone frictionMu\nsequenced cable_statics\n--------------------- OUTPUTS -----------------------------------------------\n\"FairTen1\"\n\"AnchTen1\"\n--------------------- need this line ----------------------------------------\n", + "lines": { + "1": { + "oracle_tfair": [ + 45968.597408873895 + ], + "lambda_over_length": 0.0010485728908409383 + } + } + }, + { + "id": "SIS_B800_EI5E2", + "expect": "admissible", + "why": "static_init_sweep case 91 (family b, depth 800 m, slackness 1.25, buoyancy ratio 1.5, EA 4.69e+08 N, EI 500 N m2, kBot 100000, span ratio 1, buoyant fraction 0.29) through the deck route; oracle: elastic multi-segment EI = 0 catenary", + "deck": "--------------------- CableDyn Input File ------------------------------------\nSW_B800_EI5E2\n--------------------- LINE TYPES ---------------------------------------------\nTypeName Diam MassDenInAir EA BA EI Cd_n Cd_t Ca_n Ca_t\n(-) (m) (kg/m) (N) (-) (N-m2) (-) (-) (-) (-)\nbare 0.160 36.720364 4.69e+08 0.0 500 1.2 0.1 1.0 0.0\nbuoy 0.290 0.0 4.69e+08 0.0 500 1.2 0.1 1.0 0.0\n--------------------- POINTS ------------------------------------------------\nID Type X Y Z\n(-) (-) (m) (m) (m)\n1 Coupled 0.0 0.0 -16\n2 Fixed 800 0.0 -800\n--------------------- LINES -------------------------------------------------\nID NodeA NodeB Outputs\n(-) (-) (-) (-)\n1 1 2 -\n--------------------- SECTIONS ----------------------------------------------\nLineID LineType Length NumSegs\n(-) (-) (m) (-)\n1 bare 393.790176522 72\n1 buoy 404.728792536 74\n1 bare 601.623880797 110\n--------------------- EQUIVALENT BUOYANCY -----------------------------------\nLineType Diam SubmergedWeightNpm\n(-) (m) (N/m)\nbuoy 0.290 -237\n--------------------- OPTIONS -----------------------------------------------\n800 WtrDpth\n100000 kBot\n0.0 TMax\nnone frictionMu\n--------------------- OUTPUTS -----------------------------------------------\n\"FairTen1\"\n\"AnchTen1\"\n--------------------- need this line ----------------------------------------\n", + "lines": { + "1": { + "oracle_tfair": [ + 45964.63285892178 + ], + "lambda_over_length": 0.0010485728908409383 + } + } + }, + { + "id": "SIS_B800_EI5E2_SEQ", + "expect": "admissible", + "why": "static_init_sweep case 91 (family b, depth 800 m, slackness 1.25, buoyancy ratio 1.5, EA 4.69e+08 N, EI 500 N m2, kBot 100000, span ratio 1, buoyant fraction 0.29) through the deck route, mesh-sequenced route first; oracle: elastic multi-segment EI = 0 catenary", + "deck": "--------------------- CableDyn Input File ------------------------------------\nSW_B800_EI5E2_SEQ\n--------------------- LINE TYPES ---------------------------------------------\nTypeName Diam MassDenInAir EA BA EI Cd_n Cd_t Ca_n Ca_t\n(-) (m) (kg/m) (N) (-) (N-m2) (-) (-) (-) (-)\nbare 0.160 36.720364 4.69e+08 0.0 500 1.2 0.1 1.0 0.0\nbuoy 0.290 0.0 4.69e+08 0.0 500 1.2 0.1 1.0 0.0\n--------------------- POINTS ------------------------------------------------\nID Type X Y Z\n(-) (-) (m) (m) (m)\n1 Coupled 0.0 0.0 -16\n2 Fixed 800 0.0 -800\n--------------------- LINES -------------------------------------------------\nID NodeA NodeB Outputs\n(-) (-) (-) (-)\n1 1 2 -\n--------------------- SECTIONS ----------------------------------------------\nLineID LineType Length NumSegs\n(-) (-) (m) (-)\n1 bare 393.790176522 72\n1 buoy 404.728792536 74\n1 bare 601.623880797 110\n--------------------- EQUIVALENT BUOYANCY -----------------------------------\nLineType Diam SubmergedWeightNpm\n(-) (m) (N/m)\nbuoy 0.290 -237\n--------------------- OPTIONS -----------------------------------------------\n800 WtrDpth\n100000 kBot\n0.0 TMax\nnone frictionMu\nsequenced cable_statics\n--------------------- OUTPUTS -----------------------------------------------\n\"FairTen1\"\n\"AnchTen1\"\n--------------------- need this line ----------------------------------------\n", + "lines": { + "1": { + "oracle_tfair": [ + 45964.63285892178 + ], + "lambda_over_length": 0.0010485728908409383 + } + } + }, + { + "id": "SIS_F800_KN3E6_EI5E2", + "expect": "admissible", + "why": "static_init_sweep case 115 (family f, depth 800 m, slackness 1.372, buoyancy ratio 2.5, EA 4.69e+08 N, EI 500 N m2, kBot 3e+06, span ratio 1, buoyant fraction 0.29) through the deck route; the buoyant arch floats at the surface, so no submerged EI = 0 root applies", + "deck": "--------------------- CableDyn Input File ------------------------------------\nSW_F800_KN3E6_EI5E2\n--------------------- LINE TYPES ---------------------------------------------\nTypeName Diam MassDenInAir EA BA EI Cd_n Cd_t Ca_n Ca_t\n(-) (m) (kg/m) (N) (-) (N-m2) (-) (-) (-) (-)\nbare 0.160 36.720364 4.69e+08 0.0 500 1.2 0.1 1.0 0.0\nbuoy 0.290 0.0 4.69e+08 0.0 500 1.2 0.1 1.0 0.0\n--------------------- POINTS ------------------------------------------------\nID Type X Y Z\n(-) (-) (m) (m) (m)\n1 Coupled 0.0 0.0 -16\n2 Fixed 800 0.0 -800\n--------------------- LINES -------------------------------------------------\nID NodeA NodeB Outputs\n(-) (-) (-) (-)\n1 1 2 -\n--------------------- SECTIONS ----------------------------------------------\nLineID LineType Length NumSegs\n(-) (-) (m) (-)\n1 bare 432.135000000 72\n1 buoy 444.138750000 74\n1 bare 660.206250000 110\n--------------------- EQUIVALENT BUOYANCY -----------------------------------\nLineType Diam SubmergedWeightNpm\n(-) (m) (N/m)\nbuoy 0.290 -395\n--------------------- OPTIONS -----------------------------------------------\n800 WtrDpth\n3e+06 kBot\n0.0 TMax\nnone frictionMu\n--------------------- OUTPUTS -----------------------------------------------\n\"FairTen1\"\n\"AnchTen1\"\n--------------------- need this line ----------------------------------------\n", + "lines": { + "1": { + "oracle_tfair": [], + "lambda_over_length": 0.0009555294150673793 + } + } + }, + { + "id": "SIS_F800_KN3E6_EI5E2_SEQ", + "expect": "admissible", + "why": "static_init_sweep case 115 (family f, depth 800 m, slackness 1.372, buoyancy ratio 2.5, EA 4.69e+08 N, EI 500 N m2, kBot 3e+06, span ratio 1, buoyant fraction 0.29) through the deck route, mesh-sequenced route first; the buoyant arch floats at the surface, so no submerged EI = 0 root applies", + "deck": "--------------------- CableDyn Input File ------------------------------------\nSW_F800_KN3E6_EI5E2_SEQ\n--------------------- LINE TYPES ---------------------------------------------\nTypeName Diam MassDenInAir EA BA EI Cd_n Cd_t Ca_n Ca_t\n(-) (m) (kg/m) (N) (-) (N-m2) (-) (-) (-) (-)\nbare 0.160 36.720364 4.69e+08 0.0 500 1.2 0.1 1.0 0.0\nbuoy 0.290 0.0 4.69e+08 0.0 500 1.2 0.1 1.0 0.0\n--------------------- POINTS ------------------------------------------------\nID Type X Y Z\n(-) (-) (m) (m) (m)\n1 Coupled 0.0 0.0 -16\n2 Fixed 800 0.0 -800\n--------------------- LINES -------------------------------------------------\nID NodeA NodeB Outputs\n(-) (-) (-) (-)\n1 1 2 -\n--------------------- SECTIONS ----------------------------------------------\nLineID LineType Length NumSegs\n(-) (-) (m) (-)\n1 bare 432.135000000 72\n1 buoy 444.138750000 74\n1 bare 660.206250000 110\n--------------------- EQUIVALENT BUOYANCY -----------------------------------\nLineType Diam SubmergedWeightNpm\n(-) (m) (N/m)\nbuoy 0.290 -395\n--------------------- OPTIONS -----------------------------------------------\n800 WtrDpth\n3e+06 kBot\n0.0 TMax\nnone frictionMu\nsequenced cable_statics\n--------------------- OUTPUTS -----------------------------------------------\n\"FairTen1\"\n\"AnchTen1\"\n--------------------- need this line ----------------------------------------\n", + "lines": { + "1": { + "oracle_tfair": [], + "lambda_over_length": 0.0009555294150673793 + } + } + }, + { + "id": "SIS_F200_FB040_EI5E2", + "expect": "admissible", + "why": "static_init_sweep case 118 (family f, depth 200 m, slackness 1.25, buoyancy ratio 2.5, EA 4.69e+08 N, EI 500 N m2, kBot 100000, span ratio 1, buoyant fraction 0.4) through the deck route; the buoyant arch floats at the surface, so no submerged EI = 0 root applies", + "deck": "--------------------- CableDyn Input File ------------------------------------\nSW_F200_FB040_EI5E2\n--------------------- LINE TYPES ---------------------------------------------\nTypeName Diam MassDenInAir EA BA EI Cd_n Cd_t Ca_n Ca_t\n(-) (m) (kg/m) (N) (-) (N-m2) (-) (-) (-) (-)\nbare 0.160 36.720364 4.69e+08 0.0 500 1.2 0.1 1.0 0.0\nbuoy 0.290 0.0 4.69e+08 0.0 500 1.2 0.1 1.0 0.0\n--------------------- POINTS ------------------------------------------------\nID Type X Y Z\n(-) (-) (m) (m) (m)\n1 Coupled 0.0 0.0 -4\n2 Fixed 200 0.0 -200\n--------------------- LINES -------------------------------------------------\nID NodeA NodeB Outputs\n(-) (-) (-) (-)\n1 1 2 -\n--------------------- SECTIONS ----------------------------------------------\nLineID LineType Length NumSegs\n(-) (-) (m) (-)\n1 bare 97.232142351 20\n1 buoy 140.986606409 29\n1 bare 111.816963704 23\n--------------------- EQUIVALENT BUOYANCY -----------------------------------\nLineType Diam SubmergedWeightNpm\n(-) (m) (N/m)\nbuoy 0.290 -395\n--------------------- OPTIONS -----------------------------------------------\n200 WtrDpth\n100000 kBot\n0.0 TMax\nnone frictionMu\n--------------------- OUTPUTS -----------------------------------------------\n\"FairTen1\"\n\"AnchTen1\"\n--------------------- need this line ----------------------------------------\n", + "lines": { + "1": { + "oracle_tfair": [], + "lambda_over_length": 0.0041942915633607575 + } + } + }, + { + "id": "SIS_F200_FB040_EI5E2_SEQ", + "expect": "admissible", + "why": "static_init_sweep case 118 (family f, depth 200 m, slackness 1.25, buoyancy ratio 2.5, EA 4.69e+08 N, EI 500 N m2, kBot 100000, span ratio 1, buoyant fraction 0.4) through the deck route, mesh-sequenced route first; the buoyant arch floats at the surface, so no submerged EI = 0 root applies", + "deck": "--------------------- CableDyn Input File ------------------------------------\nSW_F200_FB040_EI5E2_SEQ\n--------------------- LINE TYPES ---------------------------------------------\nTypeName Diam MassDenInAir EA BA EI Cd_n Cd_t Ca_n Ca_t\n(-) (m) (kg/m) (N) (-) (N-m2) (-) (-) (-) (-)\nbare 0.160 36.720364 4.69e+08 0.0 500 1.2 0.1 1.0 0.0\nbuoy 0.290 0.0 4.69e+08 0.0 500 1.2 0.1 1.0 0.0\n--------------------- POINTS ------------------------------------------------\nID Type X Y Z\n(-) (-) (m) (m) (m)\n1 Coupled 0.0 0.0 -4\n2 Fixed 200 0.0 -200\n--------------------- LINES -------------------------------------------------\nID NodeA NodeB Outputs\n(-) (-) (-) (-)\n1 1 2 -\n--------------------- SECTIONS ----------------------------------------------\nLineID LineType Length NumSegs\n(-) (-) (m) (-)\n1 bare 97.232142351 20\n1 buoy 140.986606409 29\n1 bare 111.816963704 23\n--------------------- EQUIVALENT BUOYANCY -----------------------------------\nLineType Diam SubmergedWeightNpm\n(-) (m) (N/m)\nbuoy 0.290 -395\n--------------------- OPTIONS -----------------------------------------------\n200 WtrDpth\n100000 kBot\n0.0 TMax\nnone frictionMu\nsequenced cable_statics\n--------------------- OUTPUTS -----------------------------------------------\n\"FairTen1\"\n\"AnchTen1\"\n--------------------- need this line ----------------------------------------\n", + "lines": { + "1": { + "oracle_tfair": [], + "lambda_over_length": 0.0041942915633607575 + } + } } ] diff --git a/tests/test_static_init_sweep.f90 b/tests/test_static_init_sweep.f90 index 5f87ce90..1a31ad31 100644 --- a/tests/test_static_init_sweep.f90 +++ b/tests/test_static_init_sweep.f90 @@ -53,9 +53,10 @@ PROGRAM test_static_init_sweep !! concentrates an O(pi) turn at one node, curv*l0 ~ 2-3. This is the measurable !! version of "reached the smooth branch, not a kinked local equilibrium". !! (4) penetration consistent with the penalty: min z >= -d - (10 |w|_max / kn + 1 mm). - !! An expected-fail list records the known limitations (five 800 m low-EI lazy waves the - !! production initialisation does not solve); an XFAIL case that PASSES also fails the - !! gate, so a fix or a regression is seen. + !! An expected-fail list records the known limitations of this kernel from the trivial + !! seed (four low-EI lazy waves; the deck route solves them, see the list below); an + !! XFAIL case that PASSES is counted and reported, so a fix is seen, and a case off the + !! list that fails fails the gate. USE, INTRINSIC :: IEEE_ARITHMETIC, ONLY: IEEE_IS_FINITE USE CableDyn_Precision, ONLY: wp USE CableDyn_HermiteCableStatic, ONLY: CD_HermiteCable_Static_Solve_Sequenced, & @@ -167,15 +168,17 @@ PROGRAM test_static_init_sweep CALL add_case('g', MERGE(50.0_wp, 400.0_wp, i == 1), -2.0_wp, 1.5_wp, EA0, EI0, KN0, CHI0, FB0) END DO - ! ---- KNOWN-FAIL SET (measured on the full matrix sweep; parameter-matched - ! fail-closed: a matrix edit that orphans an entry is rejected. A solver improvement that - ! flips one to PASS is reported without failing the suite. The remaining cases either - ! exhaust the bounded hierarchy/recovery paths or reach a residual-converged one-element - ! hairpin that the production h*kappa safety gate rejects. Neither class can silently - ! enter dynamics. - ! Continuous whole-element curvature inspection exposes the unresolved hairpin in this - ! low-EI, 800 m fixed mesh. The former nodal metric incorrectly admitted it as smooth. - CALL mark_xfail('b', 800.0_wp, 1.25_wp, 1.5_wp, 5.0e7_wp, 5.0e2_wp, KN0, CHI0, FB0) ! [unresolved] + ! ---- KNOWN-FAIL SET (measured on the full matrix sweep with every OpenBLAS kernel; + ! parameter-matched fail-closed: a matrix edit that orphans an entry is rejected. A solver + ! improvement that flips one to PASS is reported without failing the suite. These four + ! low-EI lazy waves reach, from the trivial seed on this kernel alone, a residual-converged + ! kinked state (a Z of a few elements in mid-water) that the production h*kappa safety gate + ! rejects, so none can silently enter dynamics. A deck never takes this combination for a + ! line with a buoyant section: the deck route seeds it as a lazy wave, starts from the + ! EI = 0 catenary, and refines a kinked state locally. That route solves all four, and the + ! formerly listed 800 m EA = 5e7 N case, on both cable_statics routes, to within 2.4e-4 of + ! an independent EI = 0 catenary where the arch stays submerged: cable_statics_matrix gates + ! them (entries SIS_*). CALL mark_xfail('b', 800.0_wp, 1.25_wp, 1.5_wp, 2.0e9_wp, 5.0e2_wp, KN0, CHI0, FB0) ! [wad] CALL mark_xfail('b', 800.0_wp, 1.25_wp, 1.5_wp, EA0, 5.0e2_wp, KN0, CHI0, FB0) ! [unresolved] CALL mark_xfail('f', 800.0_wp, -1.0_wp, 2.5_wp, EA0, 5.0e2_wp, 3.0e6_wp, CHI0, FB0) ! [wad]