Cable Nets and the Force Density Method: Turning a Hanging Shape into a Linear System
Continuing the hanging-shape folios A.01 and A.13: how fixing the ratio of force to length in every cable turns the search for a tension net's shape into one set of linear equations, worked on a 30 m square model net (10 × 10 bays, q = 10 kN/m, w = 0.30 kN/m²) whose centre sags 1.974 m with every bar in tension.
Why it matters
A uniform force density net behaves like a heat map: with no load, every knot sits at the average height of its four neighbours, the way a steady temperature settles at the average of its surroundings. A load at each knot pushes it a fixed step below that average, the way a small heat source warms a spot above it.
Conceptual Vision Plate A.15-V (Imagining What It Would Look Like) · AI-generated illustration of a titanium cable saddle net stretched between two crossed white arches: a loose, futuristic picture of force-density equilibrium form-finding. It is not a structural prototype or a load measurement.
About this illustrationThis AI-generated illustration is imagining what the concept would look like: an artistic impression, not a measured structure or specification. Exact geometry, specifications and governing equations are kept strictly intact with zero artistic interpretation in deterministic Plate A.15-A and Plate A.15-B below.Sinopsis Ejecutiva en Español · Folio A.15
Actos I y II — Historia, ley gobernante e intuición cotidiana:Redes de cables y el método de densidad de fuerzas: cómo una forma colgante se vuelve un sistema lineal — Continuación de A.01 y A.13: al fijar la razón entre fuerza y longitud en cada cable, la búsqueda de la forma de una red tensada se vuelve un solo sistema de ecuaciones lineales, resuelto en una red modelo cuadrada de 30 m (10 × 10 celdas, q = 10 kN/m, w = 0.30 kN/m²) cuyo centro baja 1.974 m con todas las barras a tensión. Este monográfico interactivo verifica la ley gobernante q_j = s_j / l_j · D x = p − D_f x_f · D = Cᵀ Q C · s_j = q_j l_j · ∇²z = −w / q (z = sag measured downward, continuous limit). Por qué importa en la vida real: Una red con una sola densidad de fuerza se comporta como un mapa de calor: sin carga, cada nudo queda a la altura promedio de sus cuatro vecinos, como una temperatura estable se asienta en el promedio de su entorno. Una carga en cada nudo lo baja un paso fijo por debajo de ese promedio, como una pequeña fuente de calor calienta un punto.
En Palabras Sencillas (Explicación Accesible): Imaginen el marco de una raqueta con una cuadrícula floja de ligas y una canica en cada cruce. Cada cruce baja hasta que el jalón de sus cuatro ligas equilibra el peso de la canica. Si pudiéramos fijar, liga por liga, cuánto jala por cada centímetro de su longitud, la profundidad de cada cruce saldría de cuentas sencillas: cada cruce queda un poco por debajo del promedio de sus vecinos, en una cantidad que fija el peso de la canica. Toda la forma sale de un solo sistema de ecuaciones lineales, sin tanteos. Este folio es una explicación de un método, no un método de diseño, y ninguno de sus números puede usarse en una estructura real.
Mecanismo Técnico, Fuerzas en Competencia y Umbral Crítico: El método de densidad de fuerzas es el tema de Linkwitz y Schek (1971) y de Schek (1974), citados aquí solo por su tema; la derivación es propia de este folio. Con la densidad de fuerza q_j = s_j / l_j fija en cada barra, el equilibrio de cada nodo Σ q_j (x_k − x_i) + p_i = 0 es lineal en las coordenadas, y los nodos libres resuelven D x = p − D_f x_f con D = Cᵀ Q C. La red modelo de 30.0 m con 10 × 10 celdas (a = 3.0 m), 81 nodos libres, q = 10 kN/m y w = 0.30 kN/m² (2.7 kN por nodo) baja 1.974 m al centro (1/15.2 del claro); todas las barras quedan a tensión, de 30.00 kN a 30.99 kN. Midiendo z hacia abajo como flecha, su límite continuo ∇²z = −w / q da z_c = 0.07367 w L² / q = 1.989 m, y la red alcanza 0.992 de ese valor; con 20 y 40 celdas por lado sube a 0.99804 y 0.99951. Duplicar q reduce la flecha a la mitad, pero casi duplica las fuerzas (60.50 kN). El modelo no incluye el estiramiento de los cables, viento, nieve, encharcamiento, conexiones ni mástiles: es una explicación, no un método de diseño, y sus números no deben usarse en una estructura real.
Acto III — Laboratorio interactivo: los deslizadores en tiempo real y las cuatro lentes del observatorio (superficie 3D, retrato de fase, listón de conservación y radar polar) permiten explorar los umbrales críticos directamente en el navegador.
Actos IV y V — Descubrimiento y fuentes: la narrativa completa y las fuentes primarias siguen abajo (en inglés). Investigación científica y educativa abierta, no consejo médico.
Act I — A Net Has No Shape Until You Choose Its Forces
Hang a fishing net by its edges and it sags into a soft bowl. Pull the edges harder and the bowl flattens. The net has no shape of its own: its shape is whatever puts every knot in balance under the forces you give it. That makes designing a cable-net roof a different puzzle from checking a beam. Before you can ask whether a net is strong enough, you have to find where it hangs. This folio explains one published way to answer that question, the force density method, and works it through on a small model net. It is an explanation of a method, not a design method, and none of its numbers may be used on a real structure.
In Plain Words · Extra-Easy Explanation
Picture a square tennis-racket frame strung with a loose grid of rubber bands, and a marble resting on every crossing. Each crossing sinks until the pulls of its four bands cancel the marble's weight. Now suppose you could set, band by band, how hard it pulls for each centimetre of its length. Once those settings are fixed, the depth of every crossing follows from simple bookkeeping: each crossing sits a little below the average of its neighbours, by an amount set by the marble's weight. The whole bowl comes out of one set of straight-line equations, with no trial and error.
Linkwitz and Schek wrote on calculating prestressed cable-net structures in a 1971 Ingenieur-Archiv paper (DOI 10.1007/BF00532146[Scite ↗]). Schek's 1974 paper is titled The force density method for form finding and computation of general networks (DOI 10.1016/0045-7825(74)90045-0[Scite ↗]). Veenendaal and Block (2012, DOI 10.1016/j.ijsolstr.2012.08.008[Scite ↗]) give an overview and comparison of structural form-finding methods for general networks. This run could read those papers' index records (title, authors, journal, year) but not their text, so the folio cites them only for their subject. The derivation below is written out from first principles and every number is recomputed by the folio's verifier. Folio A.01 followed the thrust line inside a masonry vault, Folio A.12 balanced cables against struts, and Folio A.13 hung cloth to find a shell; this folio keeps the hanging idea and makes it linear.
A shape-finding step that is linear can be solved quickly and checked directly, and the same equations work for any arrangement of bars and nodes. The model on this page shows what that buys and what it leaves out. It finds a shape in balance for forces you choose; it says nothing about whether real cables, clamps, masts or foundations could carry those forces, how the cables would stretch, or how wind, snow or ponding water would move the net. Those questions belong to engineers working with codes and tested materials, not to this page.
Every enduring equation begins as a human question—an act of patient curiosity by investigators who refused to accept an opaque boundary as the final word. Tracing the intellectual arc of Folio A.15 from its earliest formulation in 1971 (Linkwitz and Schek publish remarks on calculating prestressed cable-net structures in Ingenieur-Archiv 40 (DOI 10.1007/BF00532146[Scite ↗]).) to its modern resolution in 2026 (This folio solves a 10 × 10 bay model net with the method and checks it against the continuous membrane limit (skills/architecture/a15/verify_a15_force_density_net.py).) reveals why un-coupled classical approximations repeatedly stalled at a hard analytical barrier. Whenever investigators attempted to treat the governing relation q_j = s_j / l_j · D x = p − D_f x_f · D = Cᵀ Q C · s_j = q_j l_j · ∇²z = −w / q (z = sag measured downward, continuous limit) as a purely local or linearized perturbation, higher-order coupling terms across the kernel triad (Branch–Node Matrix C · Force Density Matrix D = CᵀQC · Discrete Poisson Sag · Fourier Membrane Limit) amplified truncation error rather than damping it. What appeared for decades to be an intractable computational or experimental pathology was, in reality, a structural phase boundary embedded in the operator domain itself.
Resolving that impasse required shifting from ad-hoc empirical curve fitting to a rigorous, multi-stage operator formulation anchored in Model values (not measurements): L = 30.0 m · 10 × 10 bays (a = 3.0 m) · q = 10 kN/m · w = 0.30 kN/m² · centre sag 1.974 m (1/15.2 of span) · largest bar force 30.99 kN · continuous membrane sag 1.989 m · ratio 0.992. Specifically, the system’s trajectory is governed by control parameter P_1 (Force Density in Every Bar (q)) spanning the admissible interval [5.0, 30.0] with step resolution Δ = 1.0 and reference operating point 10.0 kN/m; control parameter P_2 (Uniform Roof Load (w)) spanning the admissible interval [0.1, 0.6] with step resolution Δ = 0.05 and reference operating point 0.3 kN/m². Within this state space, any valid proof or physical design must simultaneously satisfy local conservation laws, global boundary conditions, and strict asymptotic scaling—setting the stage for the four-chapter formal derivation in Act II.
"Fix how hard each cable pulls per metre of its length, and the hanging shape of the whole net falls out of one set of linear equations."
§ I.2 · Historical Turning Points
Year
Milestone
1971
Linkwitz and Schek publish remarks on calculating prestressed cable-net structures in Ingenieur-Archiv 40 (DOI 10.1007/BF00532146[Scite ↗]).
1974
Schek publishes The force density method for form finding and computation of general networks in Computer Methods in Applied Mechanics and Engineering 3 (DOI 10.1016/0045-7825(74)90045-0[Scite ↗]).
2012
Veenendaal and Block publish an overview and comparison of structural form-finding methods for general networks in the International Journal of Solids and Structures 49 (DOI 10.1016/j.ijsolstr.2012.08.008[Scite ↗]).
2026
This folio solves a 10 × 10 bay model net with the method and checks it against the continuous membrane limit (skills/architecture/a15/verify_a15_force_density_net.py).
Act II — Cross-Field Intuition: Every Knot Sits Below the Average of Its Neighbours
Everyday Analogy & Interactive Controls Primer
Everyday Analogy: A uniform force density net behaves like a heat map: with no load, every knot sits at the average height of its four neighbours, the way a steady temperature settles at the average of its surroundings. A load at each knot pushes it a fixed step below that average, the way a small heat source warms a spot above it.
How the Two Sliders Work in Plain Words: Use the two sliders to change the model net. The first sets the force density q, the pull per metre of cable, from 5 to 30 kN/m. The second sets the uniform roof load w from 0.10 to 0.60 kN/m². Watch two things. The sag is proportional to w / q: double the load and the sag doubles, double q and it halves. The largest bar force does not halve when q doubles; it nearly doubles, because each force is q times a length that hardly changes. The fourth readout, the ratio of the net's sag to the continuous membrane's, is fixed text: it depends only on how many bays the net has, not on q or w. All values are model values, not measurements.
1 · EVERYDAY ANALOGY (A.15)
Each Knot Below the Average of Its Neighbours
Fixing force per unit length turns knot equilibrium into linear averaging plus a load step
Slider 1: Force Density in Every Bar
Slider 2: Uniform Roof Load
➜
2 · TWO COMPETING FORCES
▲ Force Density (q)
Pull per metre of cable; raising q flattens the net and raises bar forces
▼ Uniform Roof Load (w)
Load per square metre lumped at the knots; sag grows in proportion to w
➜
3 · CRITICAL TIPPING POINT
Equilibrium Residual
✓ STABLE / NOMINAL REGIME
Residual at every free knot below 1e-9 kN in the verifier (a model check, not a code check)
⚠ CRITICAL BREAKDOWN REGIME
Any residual above 1e-9 kN means the solve or the matrix is wrong
PLATE A.15-D · VISUAL INTUITION BRIDGE → GOVERNING OPERATOR: q_j = s_j / l_j · D x = p − D_f x_f · D = Cᵀ Q C · s_j = q_j l_j · ∇²z = −w / q (z = sag measured downward, continuous limit)
Plate A.15-D · Visual Intuition Bridge: Before diving into the formal equations, follow how the everyday physical analogy (left) sets two competing mechanisms in tension (center) around a sharp tipping point (right) that you can test directly with the two sliders in Act III.
Take one free node i joined by bars j to neighbours k. In equilibrium the bar pulls and the load p_i cancel: Σ s_j (x_k − x_i) / l_j + p_i = 0, written once for each of the three coordinates. The bar lengths l_j depend on the unknown coordinates, so this system is nonlinear. Now name the ratio q_j = s_j / l_j, the force density of bar j. The equation becomes Σ q_j (x_k − x_i) + p_i = 0. If every q_j is chosen in advance, the lengths have dropped out and the equations are linear in the coordinates. Stack them for all free nodes with the branch–node matrix C (one row per bar, +1 and −1 at its two ends) and the diagonal matrix Q of force densities: D = Cᵀ Q C, and the free coordinates solve D x = p − D_f x_f, where D_f couples free nodes to the fixed ones. When every q_j is positive, every bar force s_j = q_j l_j is positive too, so the result is an all-tension net. Live parameter coupling: Force Density in Every Bar = 10.0 kN/m under governing law
— in plain words: fixing each cable's force divided by its length makes every knot's balance linear, so the hanging shape of the whole net comes from one set of linear equations.
The model net is a 30.0 m square divided into 10 × 10 bays (a = 3.0 m): 121 nodes, 220 bars, 40 fixed edge nodes at height zero and 81 free nodes. Every bar gets q = 10 kN/m. The roof load w = 0.30 kN/m² is lumped as p = w a² = 2.7 kN downward at each free node. Because the load is vertical and q is uniform, the x and y equations carry no load and their solution is the original square grid; the verifier computes a plan movement of zero. Measuring z downward as sag, the z equations read q (4 z_i − Σ z_k) = w a² at each node, a discrete Poisson equation. The verifier solves them and finds a centre sag of 1.974 m, 1/15.2 of the span. Bar forces run from 30.00 kN in the bars along the fixed edge (about 30.01 kN at the flat centre) to 30.99 kN in the steepest bars next to the edge. Dividing by a² shows the continuous limit: ∇²z = −w / q, the equation of a membrane with tension q per unit width. On a square of side L with zero edge height its centre value is z_c = k w L² / q, where k = 0.07367 is the centre value of the Poisson problem ∇²u = −1 on the unit square, which the verifier sums as a double Fourier series. For the model net z_c = 1.989 m, and the net reaches 0.992 of it. Refining the net to 20 and 40 bays raises the ratio to 0.99804 and 0.99951; the gap shrinks by a factor of about four (3.961, then 3.990) each time the spacing halves.
q_j = s_j / l_j · D x = p − D_f x_f · D = Cᵀ Q C · s_j = q_j l_j · ∇²z = −w / q (z = sag measured downward, continuous limit)
Kernels: Branch–Node Matrix C · Force Density Matrix D = CᵀQC · Discrete Poisson Sag · Fourier Membrane Limit · Benchmarks: Model values (not measurements): L = 30.0 m · 10 × 10 bays (a = 3.0 m) · q = 10 kN/m · w = 0.30 kN/m² · centre sag 1.974 m (1/15.2 of span) · largest bar force 30.99 kN · continuous membrane sag 1.989 m · ratio 0.992 · Primary Anchor:DOI 10.1016/0045-7825(74)90045-0
To elevate Folio A.15 (Cable Nets and the Force Density Method: Turning a Hanging Shape into a Linear System) from a qualitative summary to an executable mathematical and physical treatise, we first define the exact state-space manifold on which the operator q_j = s_j / l_j · D x = p − D_f x_f · D = Cᵀ Q C · s_j = q_j l_j · ∇²z = −w / q (z = sag measured downward, continuous limit) acts. Let the system state be parameterized by control parameter P_1 (Force Density in Every Bar (q)) spanning the admissible interval [5.0, 30.0] with step resolution Δ = 1.0 and reference operating point 10.0 kN/m; control parameter P_2 (Uniform Roof Load (w)) spanning the admissible interval [0.1, 0.6] with step resolution Δ = 0.05 and reference operating point 0.3 kN/m². Over this bounded domain, the coupled kernels (Branch–Node Matrix C · Force Density Matrix D = CᵀQC · Discrete Poisson Sag · Fourier Membrane Limit) map every admissible input configuration to a unique, deterministic equilibrium or deductive fixed point recomputed by skills/architecture/a15/verify_a15_force_density_net.py.
Crucially, well-posedness across the Model values (not measurements): L = 30.0 m · 10 × 10 bays (a = 3.0 m) · q = 10 kN/m · w = 0.30 kN/m² · centre sag 1.974 m (1/15.2 of span) · largest bar force 30.99 kN · continuous membrane sag 1.989 m · ratio 0.992 regime requires that the governing operator preserve dimensional homogeneity, non-negativity of physical energy/entropy functionals, and strict monotony along the primary reaction or proof coordinate. Whenever a simplified model omits one of the coupled terms in q_j = s_j / l_j · D x = p − D_f x_f · D = Cᵀ Q C · s_j = q_j l_j · ∇²z = −w / q (z = sag measured downward, continuous limit), the resulting approximation violates boundary compatibility and diverges from the primary peer-reviewed evidence (Scite index entry for Schek, The force density method for form finding and computation of general networks (Computer Methods in Applied Mechanics and Engineering 3, 115–134, 1974, DOI 10.1016/0045-7825(74)90045-0), checked 2026-11-28: 949 citing publications; 410 citation statements classified as mentioning, 0 supporting, 0 contrasting; no retraction notice. Counts describe that paper, not this folio's model.).
Rather than treating q_j = s_j / l_j · D x = p − D_f x_f · D = Cᵀ Q C · s_j = q_j l_j · ∇²z = −w / q (z = sag measured downward, continuous limit) as an opaque black-box formula, we decompose the proof and physical mechanism of Folio A.15 into four clear, verifiable stages. True scientific tools do not ask for blind trust; they invite inspection. Each stage represents a rigorous transformation of the state vector—corresponding one-to-one with the 4-stage interactive stepper in Act III and the standalone verifier in skills/architecture/a15/verify_a15_force_density_net.py:
Stage 1 Derivation & State Transition
Formal Stage Mechanism: Stage 1 (Shape Finding Is a Different Question from Analysis): A cable carries only tension, so a cable net has no shape of its own until its forces are chosen. Linkwitz and Schek (1971, DOI 10.1007/BF00532146[Scite ↗]) wrote on calculating prestressed cable-net structures; Schek's 1974 paper is titled The force density method for form finding and computation of general networks (DOI 10.1016/0045-7825(74)90045-0[Scite ↗]); Veenendaal and Block (2012, DOI 10.1016/j.ijsolstr.2012.08.008[Scite ↗]) give an overview and comparison of structural form-finding methods for general networks.
Operator Coupling & Invariant Closure: At Stage 1 of the Folio A.15 derivation chain, the intermediate state maps directly onto the governing law q_j = s_j / l_j · D x = p − D_f x_f · D = Cᵀ Q C · s_j = q_j l_j · ∇²z = −w / q (z = sag measured downward, continuous limit) under benchmark regime Model values (not measurements): L = 30.0 m · 10 × 10 bays (a = 3.0 m) · q = 10 kN/m · w = 0.30 kN/m² · centre sag 1.974 m (1/15.2 of span) · largest bar force 30.99 kN · continuous membrane sag 1.989 m · ratio 0.992. To ensure that deductive or physical flux is conserved without unverified hand-waving as the system advances from Stage 1 toward terminal convergence, the transition operator enforces the companion verification constraint: This is an explanation of a shape-finding method, not a design method; none of its numbers may be used on a real structure. Every numerical trajectory and geometric projection in Plate A.15-A and Plate A.15-B below evaluates this exact stage transfer function in real time.
Stage 2 Derivation & State Transition
Formal Stage Mechanism: Stage 2 (The Force Density Trick): Write each bar's force s_j as q_j times its length l_j. The ratio q_j is the force density. Node equilibrium Σ s_j (x_k − x_i) / l_j + p_i = 0 then becomes Σ q_j (x_k − x_i) + p_i = 0, in which the unknown lengths have cancelled. With every q_j fixed, the free-node coordinates solve the linear system D x = p − D_f x_f, with D = Cᵀ Q C built from the branch–node matrix C.
Operator Coupling & Invariant Closure: At Stage 2 of the Folio A.15 derivation chain, the intermediate state maps directly onto the governing law q_j = s_j / l_j · D x = p − D_f x_f · D = Cᵀ Q C · s_j = q_j l_j · ∇²z = −w / q (z = sag measured downward, continuous limit) under benchmark regime Model values (not measurements): L = 30.0 m · 10 × 10 bays (a = 3.0 m) · q = 10 kN/m · w = 0.30 kN/m² · centre sag 1.974 m (1/15.2 of span) · largest bar force 30.99 kN · continuous membrane sag 1.989 m · ratio 0.992. To ensure that deductive or physical flux is conserved without unverified hand-waving as the system advances from Stage 2 toward terminal convergence, the transition operator enforces the companion verification constraint: Set a force density q_j = s_j / l_j for every bar; node equilibrium Σ q_j (x_k − x_i) + p_i = 0 is then linear in the coordinates. Every numerical trajectory and geometric projection in Plate A.15-A and Plate A.15-B below evaluates this exact stage transfer function in real time.
Stage 3 Derivation & State Transition
Formal Stage Mechanism: Stage 3 (A Worked Net): A 30.0 m square net of 10 × 10 bays (a = 3.0 m) with its 40 edge nodes fixed, q = 10 kN/m in all 220 bars and w = 0.30 kN/m² (2.7 kN on each of the 81 free nodes) solves to a centre sag of 1.974 m (1/15.2 of the span). The plan grid stays square (the verifier measures zero movement), every bar is in tension (30.00 kN to 30.99 kN), and the equilibrium residual computed by the verifier is zero to machine precision.
Operator Coupling & Invariant Closure: At Stage 3 of the Folio A.15 derivation chain, the intermediate state maps directly onto the governing law q_j = s_j / l_j · D x = p − D_f x_f · D = Cᵀ Q C · s_j = q_j l_j · ∇²z = −w / q (z = sag measured downward, continuous limit) under benchmark regime Model values (not measurements): L = 30.0 m · 10 × 10 bays (a = 3.0 m) · q = 10 kN/m · w = 0.30 kN/m² · centre sag 1.974 m (1/15.2 of span) · largest bar force 30.99 kN · continuous membrane sag 1.989 m · ratio 0.992. To ensure that deductive or physical flux is conserved without unverified hand-waving as the system advances from Stage 3 toward terminal convergence, the transition operator enforces the companion verification constraint: Assemble D = Cᵀ Q C from the branch–node matrix C and solve D x = p − D_f x_f separately for x, y and z; recover bar forces as s_j = q_j l_j. Every numerical trajectory and geometric projection in Plate A.15-A and Plate A.15-B below evaluates this exact stage transfer function in real time.
Stage 4 Derivation & State Transition
Formal Stage Mechanism: Stage 4 (The Membrane Limit and the Model's Edge): With one q everywhere, the sag equation is a discrete Poisson equation whose continuous limit ∇²z = −w / q gives z_c = 0.07367 w L² / q = 1.989 m. The 10-bay net reaches 0.992 of that value, and each halving of the bar spacing shrinks the gap about fourfold (0.99222, 0.99804, 0.99951 at 10, 20 and 40 bays). The model gives a shape in equilibrium for chosen forces; it does not include cable stretch, wind, snow drift, ponding, connections or the supporting masts and edge cables.
Operator Coupling & Invariant Closure: At Stage 4 of the Folio A.15 derivation chain, the intermediate state maps directly onto the governing law q_j = s_j / l_j · D x = p − D_f x_f · D = Cᵀ Q C · s_j = q_j l_j · ∇²z = −w / q (z = sag measured downward, continuous limit) under benchmark regime Model values (not measurements): L = 30.0 m · 10 × 10 bays (a = 3.0 m) · q = 10 kN/m · w = 0.30 kN/m² · centre sag 1.974 m (1/15.2 of span) · largest bar force 30.99 kN · continuous membrane sag 1.989 m · ratio 0.992. To ensure that deductive or physical flux is conserved without unverified hand-waving as the system advances from Stage 4 toward terminal convergence, the transition operator enforces the companion verification constraint: Check equilibrium residuals at every free node, check that all q_j > 0 gives an all-tension net, and compare a uniform-q net with the continuous limit ∇²z = −w / q. Every numerical trajectory and geometric projection in Plate A.15-A and Plate A.15-B below evaluates this exact stage transfer function in real time.
Every quantitative claim in Folio A.15 is tied to four falsification rules listed in force-density-cable-net-SKILL.md and executed by skills/architecture/a15/verify_a15_force_density_net.py:
Invariant A.15-R1: This is an explanation of a shape-finding method, not a design method; none of its numbers may be used on a real structure.
Recomputed offline by skills/architecture/a15/verify_a15_force_density_net.py; primary anchor DOI 10.1016/0045-7825(74)90045-0.
Invariant A.15-R2: Set a force density q_j = s_j / l_j for every bar; node equilibrium Σ q_j (x_k − x_i) + p_i = 0 is then linear in the coordinates.
Recomputed offline by skills/architecture/a15/verify_a15_force_density_net.py; primary anchor DOI 10.1016/0045-7825(74)90045-0.
Invariant A.15-R3: Assemble D = Cᵀ Q C from the branch–node matrix C and solve D x = p − D_f x_f separately for x, y and z; recover bar forces as s_j = q_j l_j.
Recomputed offline by skills/architecture/a15/verify_a15_force_density_net.py; primary anchor DOI 10.1016/0045-7825(74)90045-0.
Invariant A.15-R4: Check equilibrium residuals at every free node, check that all q_j > 0 gives an all-tension net, and compare a uniform-q net with the continuous limit ∇²z = −w / q.
Recomputed offline by skills/architecture/a15/verify_a15_force_density_net.py; primary anchor DOI 10.1016/0045-7825(74)90045-0.
Together, Invariants A.15-R1 through A.15-R4 close the epistemic loop between symbolic derivation and numerical execution. If a code edit violates these bounds, the verifier fails.
Primary Counterfactual Knockout (SIDENOTE A.15-A · WHERE THE METHOD IS PUBLISHED): Linkwitz and Schek published remarks on calculating prestressed cable-net structures in Ingenieur-Archiv in 1971 (DOI 10.1007/BF00532146[Scite ↗]). Schek's 1974 paper in Computer Methods in Applied Mechanics and Engineering is titled The force density method for form finding and computation of general networks (DOI 10.1016/0045-7825(74)90045-0[Scite ↗]). This folio cites both papers for their subject only; the derivation on this page is the folio's own.
Secondary Coupling & Regime Boundary (SIDENOTE A.15-B · FLATTER MEANS TIGHTER): Doubling q in the model net halves the sag (1.974 m to 0.987 m), because the sag equations are linear in w / q. The bar forces do not halve: they nearly double, from 30.99 kN to 60.50 kN, because each force is q times a bar length that barely changes. A flatter net is a tighter net, and the supports must carry that pull.
Mathematical & Physical Necessity of the Full Operator: Testing a theorem or physical law by knocking out its core hypothesis is one of the sharpest ways a human mind builds intuition. This counterfactual analysis shows why every coupling term in q_j = s_j / l_j · D x = p − D_f x_f · D = Cᵀ Q C · s_j = q_j l_j · ∇²z = −w / q (z = sag measured downward, continuous limit) is indispensable: When the primary control parameter is dragged to its degenerate boundary in the Act III observatory below, the stabilizing restorative term vanishes, reproducing the classical collapse predicted by theory and illustrating that our solver is an interactive computational model rather than a static animation.
Act III — Interactive Laboratory & Worked Numerical Verification
§ III.1 · Three Guided Experiments to Try
Experiment 1 (Sag Follows w / q): Leave q at 10 kN/m and raise w from 0.30 to 0.60 kN/m². The centre sag doubles from 1.974 m to 3.947 m and the largest bar force rises from 30.99 kN to 33.80 kN. Halving q to 5 kN/m at the original load gives the same 3.947 m sag; in the model, only the ratio w / q sets the shape.
Experiment 2 (Flatter Means Tighter): Return to w = 0.30 kN/m² and raise q from 10 to 20 kN/m. The sag halves to 0.987 m, but the largest bar force climbs from 30.99 kN to 60.50 kN. Raise q to 30 kN/m and lower w to 0.10 kN/m²: the sag drops to 0.219 m (1/136.8 of the span) while bar forces reach 90.04 kN. A nearly flat net needs very large pulls.
Experiment 3 (The Fixed Ratio): Move either slider anywhere. The fourth readout stays at 0.992, because both the net's sag and the membrane's sag scale with the same w L² / q. Only refining the mesh changes it, which the verifier does offline at 20 and 40 bays.
Plate A.15-A & A.15-B · Branch–Node Matrix C · Force Density Matrix D = CᵀQC · Discrete Poisson Sag · Fourier Membrane Limit
Stage 1 (Shape Finding Is a Different Question from Analysis): A cable carries only tension, so a cable net has no shape of its own until its forces are chosen. Linkwitz and Schek (1971, DOI 10.1007/BF00532146) wrote on calculating prestressed cable-net structures; Schek's 1974 paper is titled The force density method for form finding and computation of general networks (DOI 10.1016/0045-7825(74)90045-0); Veenendaal and Block (2012, DOI 10.1016/j.ijsolstr.2012.08.008) give an overview and comparison of structural form-finding methods for general networks.
Plate A.15-A · 2D Interactive Mechanism & Governing Curve[LIVE A.15] Centre Sag (z_max): 1.974 m (Sag / Span 1/15.2)
Governing Law (A.15):q_j = s_j / l_j · D x = p − D_f x_f · D = Cᵀ Q C · s_j = q_j l_j · ∇²z = −w / q (z = sag measured downward, continuous limit)
Plate A.15-B · 3D Force Density Cable Net & Continuous Membrane Limit (Drag to Orbit 360°)
3D Surface Axes: X: Force Density q · Z: Roof Load w · Y: Centre Sag & Largest Bar Force
Centre Sag (z_max)1.974 m (Sag / Span 1/15.2)
Largest Bar Force (s_max)30.99 kN (Edge Bar · All Bars in Tension)
Continuous Membrane Sag (z_c)1.989 m (z_c = 0.07367 w L² / q)
Net / Membrane Ratio (Fixed Text)0.992 (10 × 10 Bays · Same for Every q and w)
§ III.2 · Worked Numerical Verification & Reference Telemetry Benchmark
To verify the interactive observatory above by hand or inside an independent computational notebook, we evaluate the governing law q_j = s_j / l_j · D x = p − D_f x_f · D = Cᵀ Q C · s_j = q_j l_j · ∇²z = −w / q (z = sag measured downward, continuous limit) at the canonical benchmark configuration (Model values (not measurements): L = 30.0 m · 10 × 10 bays (a = 3.0 m) · q = 10 kN/m · w = 0.30 kN/m² · centre sag 1.974 m (1/15.2 of span) · largest bar force 30.99 kN · continuous membrane sag 1.989 m · ratio 0.992). Substituting control parameter P_1 (Force Density in Every Bar (q)) spanning the admissible interval [5.0, 30.0] with step resolution Δ = 1.0 and reference operating point 10.0 kN/m; control parameter P_2 (Uniform Roof Load (w)) spanning the admissible interval [0.1, 0.6] with step resolution Δ = 0.05 and reference operating point 0.3 kN/m² into the coupled Stage 1–4 equations yields the reference values recomputed by the verifier: Centre Sag (z_max) converges to 1.974 m (Sag / Span 1/15.2); Largest Bar Force (s_max) converges to 30.99 kN (Edge Bar · All Bars in Tension); Continuous Membrane Sag (z_c) converges to 1.989 m (z_c = 0.07367 w L² / q); Net / Membrane Ratio (Fixed Text) converges to 0.992 (10 × 10 Bays · Same for Every q and w).
Running python skills/architecture/a15/verify_a15_force_density_net.py from the repository root recomputes these values, and its planted-defect mode must fail.
Act IV — From a Linear Shape to the Questions It Leaves Open
A linear shape-finding step is easy to hand to software and easy to check. The verifier for this folio uses only the Python standard library: it assembles the force density equations, solves them twice by two different methods (a dense elimination and a matrix-free conjugate gradient), checks equilibrium at every node, and checks that the page prints the numbers it computes. Its planted-defect mode drops the tributary area or flips the load sign and must fail, so a passing run means the checks can catch those two errors.
Choosing force densities is where the design judgment hides. A uniform q gives the soft bowl on this page; varying q bar by bar steers the shape, and choosing q so that bar forces or lengths hit target values turns the problem nonlinear again. The model also leaves out cable stretch, so the shape it finds is the loaded equilibrium shape for the chosen forces, not the unstressed cutting lengths a fabricator would need. Wind, uneven snow, ponding water, edge cables, masts and connections are all outside it. Those are the open questions this folio points to, and they need engineering analysis well beyond a page like this one.
Frontier discovery
Fix the Force per Metre, and the Hanging Shape Becomes Linear
A 30 m square model net with one force density (q = 10 kN/m) and a uniform roof load (w = 0.30 kN/m²) solves to a centre sag of 1.974 m with every bar in tension, 0.992 of the continuous membrane value 1.989 m. Model values only, not measurements, and not a design method.
§ IV.3 · Cross-Disciplinary Continuum & Systems Transfer
Structural & Mathematical Isomorphism (Continues A.01/A.12/A.13 · A linear shape-finding model, not a design method): One of the defining principles of Informatico.ai is that deep governing operators transcend disciplinary silos. The exact mathematical structure of Folio A.15 (q_j = s_j / l_j · D x = p − D_f x_f · D = Cᵀ Q C · s_j = q_j l_j · ∇²z = −w / q (z = sag measured downward, continuous limit)) reappears across coupled multiscale systems.
Living Edition & Revision Provenance (REV 1.0): REV 1.0 (Published 2026-11-28): Volume VII Architecture folio continuing A.01, A.12 and A.13 with the force density method for cable nets, a worked 10 × 10 bay square net, and its continuous membrane limit. Independent verification: the three cited DOIs were matched to their titles, authors and years through the Scite index on 2026-11-28 (no retraction notices; full text not available to this run, so each is cited for its subject only), and every number on the page is recomputed offline by skills/architecture/a15/verify_a15_force_density_net.py (with --planted-defect). By pairing multi-chapter mathematical and physical derivations with interactive WebGL2/SVG observatories and downloadable SKILL.md companions, Folio A.15 equips engineers, mathematicians, physicists, and AI agents with a permanent, falsifiable building block for frontier discovery.
Act V — Sources
Linkwitz, K., & Schek, H.-J. (1971). Einige Bemerkungen zur Berechnung von vorgespannten Seilnetzkonstruktionen. Ingenieur-Archiv, 40, 145–158. DOI 10.1007/BF00532146[Scite ↗].
Schek, H.-J. (1974). The force density method for form finding and computation of general networks. Computer Methods in Applied Mechanics and Engineering, 3, 115–134. DOI 10.1016/0045-7825(74)90045-0[Scite ↗].
Veenendaal, D., & Block, P. (2012). An overview and comparison of structural form finding methods for general networks. International Journal of Solids and Structures, 49, 3741–3753. DOI 10.1016/j.ijsolstr.2012.08.008[Scite ↗].
Nicholson, J. M., et al. (2021). scite: A smart citation index that displays the context of citations and classifies their intent using deep learning (https://scite.ai). Quantitative Science Studies, 2(3), 882–898. DOI 10.1162/qss_a_00146[Scite ↗].
Folio A.15 · Cable Nets & the Force Density Method Crossword
Inspired by classic broadsheet crosswords: test your command of A.15’s governing laws and historical turning points. Switch to ES-MX in the masthead to unlock a completely independent Spanish crossword with its own grid and scientific vocabulary.
EN · INDEPENDENT ENGLISH EDITION (10×10)
0 / 64 Folios Sealed (EN: 0 · ES-MX: 0)
1 ACROSSSelect any cell or clue below to begin solving.
Across
Down
Select any cell or clue and type A–Z. Space toggles Across/Down; progress auto-saves to localStorage.
For builders: method, tools and edition history
FolioA.15 · Cable Nets & the Force Density Method · REV 1.0 · VOL. 07
KernelsBranch–Node Matrix C · Force Density Matrix D = CᵀQC · Discrete Poisson Sag · Fourier Membrane Limit
BenchmarksModel values (not measurements): L = 30.0 m · 10 × 10 bays (a = 3.0 m) · q = 10 kN/m · w = 0.30 kN/m² · centre sag 1.974 m (1/15.2 of span) · largest bar force 30.99 kN · continuous membrane sag 1.989 m · ratio 0.992
Scite index entry for Schek, The force density method for form finding and computation of general networks (Computer Methods in Applied Mechanics and Engineering 3, 115–134, 1974, DOI 10.1016/0045-7825(74)90045-0), checked 2026-11-28: 949 citing publications; 410 citation statements classified as mentioning, 0 supporting, 0 contrasting; no retraction notice. Counts describe that paper, not this folio's model.
Give any AI agent or engineering pipeline the governing equations of Folio A.15: a portable SKILL.md, a zero-dependency Python verifier (verify_a15_force_density_net.py), or the live telemetry as JSON.
Show the SKILL.md source
---
name: force-density-cable-net
description: AI-agnostic skill for the force density method: fixing force-to-length ratios in a tension-only cable net so its equilibrium shape solves as a linear system, with a worked square net and its continuous membrane limit. An explanation, not a design method.
license: MIT
compatibility: Claude Code, GitHub Copilot, Cursor, Google Antigravity, OpenAI Codex, Ollama (Qwen 3.8 / Gemma 4)
---
# Cable Nets and the Force Density Method: Turning a Hanging Shape into a Linear System (Folio A.15)
A plain-text companion to the essay at https://informatico.ai/architecture/a15/ (`A.15 · Cable Nets & the Force Density Method · REV 1.0`, `REV 1.0`, redated `2026-11-28`).
## The governing relation
`q_j = s_j / l_j · D x = p − D_f x_f · D = Cᵀ Q C · s_j = q_j l_j · ∇²z = −w / q (z = sag measured downward, continuous limit)`
## Rules the essay derives
1. This is an explanation of a shape-finding method, not a design method; none of its numbers may be used on a real structure.
2. Set a force density q_j = s_j / l_j for every bar; node equilibrium Σ q_j (x_k − x_i) + p_i = 0 is then linear in the coordinates.
3. Assemble D = Cᵀ Q C from the branch–node matrix C and solve D x = p − D_f x_f separately for x, y and z; recover bar forces as s_j = q_j l_j.
4. Check equilibrium residuals at every free node, check that all q_j > 0 gives an all-tension net, and compare a uniform-q net with the continuous limit ∇²z = −w / q.
## How it works, in four stages
- Stage 1 (Shape Finding Is a Different Question from Analysis): A cable carries only tension, so a cable net has no shape of its own until its forces are chosen. Linkwitz and Schek (1971, DOI 10.1007/BF00532146) wrote on calculating prestressed cable-net structures; Schek's 1974 paper is titled The force density method for form finding and computation of general networks (DOI 10.1016/0045-7825(74)90045-0); Veenendaal and Block (2012, DOI 10.1016/j.ijsolstr.2012.08.008) give an overview and comparison of structural form-finding methods for general networks.
- Stage 2 (The Force Density Trick): Write each bar's force s_j as q_j times its length l_j. The ratio q_j is the force density. Node equilibrium Σ s_j (x_k − x_i) / l_j + p_i = 0 then becomes Σ q_j (x_k − x_i) + p_i = 0, in which the unknown lengths have cancelled. With every q_j fixed, the free-node coordinates solve the linear system D x = p − D_f x_f, with D = Cᵀ Q C built from the branch–node matrix C.
- Stage 3 (A Worked Net): A 30.0 m square net of 10 × 10 bays (a = 3.0 m) with its 40 edge nodes fixed, q = 10 kN/m in all 220 bars and w = 0.30 kN/m² (2.7 kN on each of the 81 free nodes) solves to a centre sag of 1.974 m (1/15.2 of the span). The plan grid stays square (the verifier measures zero movement), every bar is in tension (30.00 kN to 30.99 kN), and the equilibrium residual computed by the verifier is zero to machine precision.
- Stage 4 (The Membrane Limit and the Model's Edge): With one q everywhere, the sag equation is a discrete Poisson equation whose continuous limit ∇²z = −w / q gives z_c = 0.07367 w L² / q = 1.989 m. The 10-bay net reaches 0.992 of that value, and each halving of the bar spacing shrinks the gap about fourfold (0.99222, 0.99804, 0.99951 at 10, 20 and 40 bays). The model gives a shape in equilibrium for chosen forces; it does not include cable stretch, wind, snow drift, ponding, connections or the supporting masts and edge cables.
## Reference values stated in the essay
- **Centre Sag (z_max)**: `1.974 m (Sag / Span 1/15.2)`
- **Largest Bar Force (s_max)**: `30.99 kN (Edge Bar · All Bars in Tension)`
- **Continuous Membrane Sag (z_c)**: `1.989 m (z_c = 0.07367 w L² / q)`
- **Net / Membrane Ratio (Fixed Text)**: `0.992 (10 × 10 Bays · Same for Every q and w)`
## Check it yourself
This skill ships a verifier that recomputes its values. Its planted-defect mode must fail:
```
python skills/architecture/a15/verify_a15_force_density_net.py
python skills/architecture/a15/verify_a15_force_density_net.py --planted-defect
```
## Primary source
- https://doi.org/10.1016/0045-7825(74)90045-0 (Scite report: https://scite.ai/reports/10.1016/0045-7825(74)90045-0)
- What the essay compares against: Model values (not measurements): L = 30.0 m · 10 × 10 bays (a = 3.0 m) · q = 10 kN/m · w = 0.30 kN/m² · centre sag 1.974 m (1/15.2 of span) · largest bar force 30.99 kN · continuous membrane sag 1.989 m · ratio 0.992
## Recent research context
- **Fix the Force per Metre, and the Hanging Shape Becomes Linear**: A 30 m square model net with one force density (q = 10 kN/m) and a uniform roof load (w = 0.30 kN/m²) solves to a centre sag of 1.974 m with every bar in tension, 0.992 of the continuous membrane value 1.989 m. Model values only, not measurements, and not a design method.
#!/usr/bin/env python3
"""Independent offline verifier for Folio A.15 (Cable-Net Form Finding with the Force Density Method).
Standard library only. Builds a square cable net (plan side L, N x N bays, edge nodes fixed),
assigns one force density q to every bar and one vertical load P = w a^2 to every free node,
and solves the linear force-density equations D x_free = p - D_f x_fixed for all three
coordinates. It then checks:
* equilibrium at every free node to machine precision,
* that the plan grid stays square under uniform q (the x and y equations are load-free),
* that sag scales exactly with w / q (the z equations are linear),
* the centre sag, the largest bar force, and the ratio to the continuous membrane value
z_c = k w L^2 / q, where k is the centre value of the Poisson problem lap(u) = -1 on the
unit square (summed here as a double Fourier series, not typed in),
* that the discrete sag approaches z_c as the net is refined (N = 10, 20, 40),
* and that the published page prints the same numbers.
Usage:
python skills/architecture/a15/verify_a15_force_density_net.py
python skills/architecture/a15/verify_a15_force_density_net.py --planted-defect
python skills/architecture/a15/verify_a15_force_density_net.py --planted-defect=sign-flip
Model values for an idealized, weightless, inextensible-geometry cable net under a uniform
vertical load. This is an explanation of a form-finding method, not a design method:
none of its numbers may be used on a real structure.
"""
from __future__ import annotations
import json
import math
import re
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parents[3]
PAGES = (
ROOT / "src" / "architecture" / "a15" / "index.html",
ROOT / "src" / "es-mx" / "architecture" / "a15" / "index.html",
)
_DEFECT_ARG = next((a for a in sys.argv[1:] if a.startswith("--planted-defect")), "")
DEFECT = (_DEFECT_ARG.split("=", 1)[1] if "=" in _DEFECT_ARG else "drop-tributary") if _DEFECT_ARG else ""
VALID_DEFECTS = {"", "drop-tributary", "sign-flip"}
# Reference net (model values, not a real roof).
L_M = 30.0
N_BAYS = 10
Q_KN_M = 10.0
W_KN_M2 = 0.30
def poisson_centre_coefficient(terms: int = 401) -> float:
"""Centre value of u on the unit square with lap(u) = -1 and u = 0 on the edge.
u(x, y) = sum over odd m, n of 16 / (pi^4 m n (m^2 + n^2)) sin(m pi x) sin(n pi y).
"""
total = 0.0
for m in range(1, terms, 2):
sm = 1.0 if (m // 2) % 2 == 0 else -1.0
for n in range(1, terms, 2):
sn = 1.0 if (n // 2) % 2 == 0 else -1.0
total += sm * sn / (m * n * (m * m + n * n))
return 16.0 * total / math.pi ** 4
def _solve_dense(a: list[list[float]], b: list[float]) -> list[float]:
n = len(b)
m = [row[:] + [b[i]] for i, row in enumerate(a)]
for col in range(n):
piv = max(range(col, n), key=lambda r: abs(m[r][col]))
if abs(m[piv][col]) < 1e-14:
raise ValueError("Force density matrix is singular")
m[col], m[piv] = m[piv], m[col]
inv = 1.0 / m[col][col]
for r in range(col + 1, n):
f = m[r][col] * inv
if f:
row_r, row_c = m[r], m[col]
for c in range(col, n + 1):
row_r[c] -= f * row_c[c]
x = [0.0] * n
for r in range(n - 1, -1, -1):
s = m[r][n] - sum(m[r][c] * x[c] for c in range(r + 1, n))
x[r] = s / m[r][r]
return x
def build_net(n_bays: int, side_m: float):
"""Nodes on an (n+1) x (n+1) plan grid; bars join orthogonal neighbours."""
a = side_m / n_bays
nodes = [(i, j) for j in range(n_bays + 1) for i in range(n_bays + 1)]
index = {ij: k for k, ij in enumerate(nodes)}
bars = []
for (i, j) in nodes:
if i < n_bays:
bars.append((index[(i, j)], index[(i + 1, j)]))
if j < n_bays:
bars.append((index[(i, j)], index[(i, j + 1)]))
fixed = [k for k, (i, j) in enumerate(nodes) if i in (0, n_bays) or j in (0, n_bays)]
coords = [[i * a, j * a, 0.0] for (i, j) in nodes]
return a, nodes, bars, fixed, coords
def force_density_solve(
side_m: float = L_M,
n_bays: int = N_BAYS,
q_kn_m: float = Q_KN_M,
w_kn_m2: float = W_KN_M2,
planted_defect: str = "",
) -> dict[str, object]:
if side_m <= 0.0 or n_bays < 2:
raise ValueError("Net side must be positive and the net needs at least 2 bays per side")
if q_kn_m <= 0.0:
raise ValueError("Force density must be positive for a tension-only net")
a, nodes, bars, fixed, coords = build_net(n_bays, side_m)
fixed_set = set(fixed)
free = [k for k in range(len(nodes)) if k not in fixed_set]
fpos = {k: r for r, k in enumerate(free)}
nf = len(free)
tributary = 1.0 if planted_defect == "drop-tributary" else a * a
p_node = w_kn_m2 * tributary
load_sign = 1.0 if planted_defect == "sign-flip" else -1.0 # gravity acts in -z
d = [[0.0] * nf for _ in range(nf)]
rhs = [[0.0] * nf for _ in range(3)]
for (u, v) in bars:
for s, t in ((u, v), (v, u)):
if s in fpos:
r = fpos[s]
d[r][r] += q_kn_m
if t in fpos:
d[r][fpos[t]] -= q_kn_m
else:
for c in range(3):
rhs[c][r] += q_kn_m * coords[t][c]
for r in range(nf):
rhs[2][r] += load_sign * p_node
sol = [_solve_dense(d, rhs[c]) for c in range(3)]
xyz = [row[:] for row in coords]
for k in free:
for c in range(3):
xyz[k][c] = sol[c][fpos[k]]
# Equilibrium residual at each free node: sum of q (x_t - x_s) + p = 0.
p_true = w_kn_m2 * a * a # the true gravity load, independent of planted defects
resid = [[0.0, 0.0, -p_true] for _ in range(nf)]
forces = []
for (u, v) in bars:
dx = [xyz[v][c] - xyz[u][c] for c in range(3)]
length = math.sqrt(sum(e * e for e in dx))
forces.append(q_kn_m * length)
for s, sign in ((u, 1.0), (v, -1.0)):
if s in fpos:
for c in range(3):
resid[fpos[s]][c] += sign * q_kn_m * dx[c]
max_resid = max(abs(e) for row in resid for e in row)
plan_drift = max(
max(abs(xyz[k][0] - nodes[k][0] * a), abs(xyz[k][1] - nodes[k][1] * a)) for k in free
)
centre = nodes.index((n_bays // 2, n_bays // 2))
sag = -xyz[centre][2]
k_poisson = poisson_centre_coefficient()
z_cont = k_poisson * w_kn_m2 * side_m ** 2 / q_kn_m
return {
"side_m": side_m,
"n_bays": n_bays,
"spacing_m": round(a, 3),
"free_nodes": nf,
"bars": len(bars),
"fixed_nodes": len(fixed),
"centre_line_sag_m": [-xyz[nodes.index((i, n_bays // 2))][2] for i in range(n_bays + 1)],
"q_kn_m": q_kn_m,
"w_kn_m2": w_kn_m2,
"nodal_load_kn": round(p_node, 3),
"centre_sag_m": sag,
"max_bar_force_kn": max(forces),
"min_bar_force_kn": min(forces),
"max_residual_kn": max_resid,
"plan_drift_m": plan_drift,
"k_poisson": k_poisson,
"continuous_sag_m": z_cont,
"discrete_over_continuous": sag / z_cont if z_cont else float("nan"),
"sag_over_span": sag / side_m,
}
def centre_sag_cg(n_bays: int, side_m: float, q: float, w: float, tol: float = 1e-12) -> float:
"""Matrix-free conjugate gradient on q * (4 z_ij - sum of neighbours) = w a^2 (z = sag, + down)."""
a = side_m / n_bays
m = n_bays - 1
b = [w * a * a] * (m * m)
def apply(z):
out = [0.0] * (m * m)
for j in range(m):
for i in range(m):
k = j * m + i
s = 4.0 * z[k]
if i > 0:
s -= z[k - 1]
if i < m - 1:
s -= z[k + 1]
if j > 0:
s -= z[k - m]
if j < m - 1:
s -= z[k + m]
out[k] = q * s
return out
z = [0.0] * (m * m)
r = b[:]
p = r[:]
rr = sum(e * e for e in r)
for _ in range(10 * m * m):
ap = apply(p)
alpha = rr / sum(p[i] * ap[i] for i in range(len(p)))
z = [z[i] + alpha * p[i] for i in range(len(z))]
r = [r[i] - alpha * ap[i] for i in range(len(r))]
rr_new = sum(e * e for e in r)
if math.sqrt(rr_new) < tol:
break
p = [r[i] + (rr_new / rr) * p[i] for i in range(len(p))]
rr = rr_new
c = (m // 2) * m + (m // 2)
return z[c]
def fmt(ref: dict[str, object]) -> dict[str, str]:
return {
"sag": f"{ref['centre_sag_m']:.3f} m",
"force": f"{ref['max_bar_force_kn']:.2f} kN",
"ratio": f"{ref['discrete_over_continuous']:.3f}",
"cont": f"{ref['continuous_sag_m']:.3f} m",
"span": f"1/{1.0 / ref['sag_over_span']:.1f}",
}
def check_html_readouts(ref: dict[str, object]) -> list[str]:
errs: list[str] = []
f = fmt(ref)
printed_values = (f["sag"], f["force"], f["ratio"], f["cont"], f["span"])
for page in PAGES:
if not page.is_file():
errs.append(f"Missing built HTML page: {page.relative_to(ROOT).as_posix()}")
continue
txt = page.read_text(encoding="utf-8")
strip = re.search(r'<div class="tp-readout-strip".*?</div>\s*</div>', txt, re.S)
if not strip:
errs.append(f"{page.relative_to(ROOT).as_posix()} has no readout strip")
continue
scope = strip.group(0)
for shown in printed_values:
if shown not in scope:
errs.append(f"{page.relative_to(ROOT).as_posix()} missing readout value {shown!r}")
return errs
def close(a: float, b: float, tol: float) -> bool:
return abs(a - b) <= tol
def main() -> int:
if DEFECT not in VALID_DEFECTS:
print(json.dumps({"status": "FAIL", "error": f"Unknown planted defect {DEFECT!r}; expected one of {sorted(VALID_DEFECTS - {''})}"}))
return 1
ref = force_density_solve(planted_defect=DEFECT)
stiff = force_density_solve(q_kn_m=2.0 * Q_KN_M, planted_defect=DEFECT)
heavy = force_density_solve(w_kn_m2=2.0 * W_KN_M2, planted_defect=DEFECT)
failures: list[str] = []
# Printed reference values (tolerance on the value, not only its order).
expected = {
"centre_sag_m": (1.974, 0.0005),
"max_bar_force_kn": (30.99, 0.005),
"min_bar_force_kn": (30.00, 0.005),
"continuous_sag_m": (1.989, 0.0005),
"discrete_over_continuous": (0.992, 0.0005),
"k_poisson": (0.07367, 0.000005),
}
for key, (val, tol) in expected.items():
if not close(float(ref[key]), val, tol):
failures.append(f"Expected {key}={val} (±{tol}), got {ref[key]}")
for key, val in (("nodal_load_kn", 2.7), ("free_nodes", 81), ("bars", 220), ("fixed_nodes", 40)):
if not close(float(ref[key]), val, 1e-9):
failures.append(f"Expected {key}={val}, got {ref[key]}")
if not close(1.0 / float(ref["sag_over_span"]), 15.2, 0.05):
failures.append(f"Expected sag/span 1/15.2, got 1/{1.0 / float(ref['sag_over_span']):.2f}")
# Every worked slider case the page prints: (q, w) -> (sag m, largest bar force kN, span ratio or None).
cases = {
(20.0, 0.30): (0.987, 60.50, None),
(10.0, 0.60): (3.947, 33.80, None),
(5.0, 0.30): (3.947, None, None),
(30.0, 0.10): (0.219, 90.04, 136.8),
}
for (qc, wc), (sag_e, force_e, span_e) in cases.items():
rc = force_density_solve(q_kn_m=qc, w_kn_m2=wc, planted_defect=DEFECT)
if not close(float(rc["centre_sag_m"]), sag_e, 0.0005):
failures.append(f"q={qc}, w={wc}: expected sag {sag_e} m, got {rc['centre_sag_m']:.4f}")
if force_e is not None and not close(float(rc["max_bar_force_kn"]), force_e, 0.005):
failures.append(f"q={qc}, w={wc}: expected s_max {force_e} kN, got {rc['max_bar_force_kn']:.3f}")
if span_e is not None and not close(1.0 / float(rc["sag_over_span"]), span_e, 0.05):
failures.append(f"q={qc}, w={wc}: expected sag/span 1/{span_e}, got 1/{1.0 / float(rc['sag_over_span']):.2f}")
# The drawn centre-line section (30 px per metre below y = 60) must match the solve.
a15_src = ROOT / "tools" / "folios" / "architecture" / "a15.py"
if a15_src.is_file():
mp = re.search(r'id="tp-a15-profile" points="([^"]+)"', a15_src.read_text(encoding="utf-8"))
if not mp:
failures.append("a15.py has no tp-a15-profile polyline")
else:
drawn = [(float(p.split(",")[1]) - 60.0) / 30.0 for p in mp.group(1).split()]
solved = [float(z) for z in ref["centre_line_sag_m"]]
if len(drawn) != len(solved) or any(abs(d - s) > 0.002 for d, s in zip(drawn, solved)):
failures.append(f"Drawn section {drawn} does not match solved centre line {[round(s, 3) for s in solved]}")
if float(ref["max_residual_kn"]) > 1e-9:
failures.append(f"Equilibrium residual too large: {ref['max_residual_kn']:.3e} kN")
if float(ref["plan_drift_m"]) > 1e-9:
failures.append(f"Plan grid moved under uniform q: drift {ref['plan_drift_m']:.3e} m")
if float(ref["min_bar_force_kn"]) <= 0.0:
failures.append(f"A bar went slack or into compression: {ref['min_bar_force_kn']}")
if float(ref["centre_sag_m"]) <= 0.0:
failures.append(f"Net sags upward under gravity: centre sag {ref['centre_sag_m']}")
r_q = float(ref["centre_sag_m"]) / float(stiff["centre_sag_m"])
r_w = float(heavy["centre_sag_m"]) / float(ref["centre_sag_m"])
if not close(r_q, 2.0, 1e-9):
failures.append(f"Doubling q did not halve the sag exactly: ratio {r_q:.12f}")
if not close(r_w, 2.0, 1e-9):
failures.append(f"Doubling w did not double the sag exactly: ratio {r_w:.12f}")
# Refinement: discrete centre sag approaches the continuous membrane value.
k = float(ref["k_poisson"])
conv = {}
for nb in (10, 20, 40):
z = centre_sag_cg(nb, L_M, Q_KN_M, W_KN_M2)
if DEFECT == "drop-tributary":
z = z / ((L_M / nb) ** 2)
if DEFECT == "sign-flip":
z = -z
conv[nb] = z / (k * W_KN_M2 * L_M ** 2 / Q_KN_M)
if not close(conv[10], float(ref["discrete_over_continuous"]), 1e-6):
failures.append(f"CG and dense solves disagree at N=10: {conv[10]} vs {ref['discrete_over_continuous']}")
if not (conv[10] < conv[20] < conv[40] < 1.0 and abs(1.0 - conv[40]) < 0.003):
failures.append(f"Refinement does not approach the continuous value: {conv}")
# Second-order convergence: halving the bar spacing cuts the gap by about four.
order = [(1.0 - conv[10]) / (1.0 - conv[20]), (1.0 - conv[20]) / (1.0 - conv[40])]
if not all(3.8 < o < 4.2 for o in order):
failures.append(f"Gap does not shrink about fourfold per halving: {order}")
for got, want, tol, name in (
(conv[20], 0.99804, 5e-6, "ratio at 20 bays"),
(conv[40], 0.99951, 5e-6, "ratio at 40 bays"),
(order[0], 3.961, 5e-4, "gap shrink 10->20"),
(order[1], 3.990, 5e-4, "gap shrink 20->40"),
):
if not close(got, want, tol):
failures.append(f"Expected {name}={want}, got {got:.6f}")
# The page's sliders use two constants; they must match this solve.
kd = float(ref["centre_sag_m"]) / (W_KN_M2 * L_M ** 2 / Q_KN_M)
a_sp = L_M / N_BAYS
dz_edge = math.sqrt(max(0.0, (float(ref["max_bar_force_kn"]) / Q_KN_M) ** 2 - a_sp ** 2))
ce = dz_edge / (W_KN_M2 / Q_KN_M)
js = ROOT / "src" / "modules" / "solvers.mjs"
if js.is_file():
jt = js.read_text(encoding="utf-8")
mk = re.search(r"A15_SAG_COEFF\s*=\s*([0-9.]+)", jt)
me = re.search(r"A15_EDGE_DROP_COEFF\s*=\s*([0-9.]+)", jt)
mp_k = re.search(r"A15_POISSON_K\s*=\s*([0-9.]+)", jt)
if not mp_k or not close(float(mp_k.group(1)), k, 5e-6):
failures.append(f"solvers.mjs A15_POISSON_K missing or not {k:.5f}")
if not mk or not me:
failures.append("solvers.mjs is missing A15_SAG_COEFF or A15_EDGE_DROP_COEFF")
else:
if not close(float(mk.group(1)), kd, 5e-6):
failures.append(f"solvers.mjs A15_SAG_COEFF={mk.group(1)} but the solve gives {kd:.6f}")
if not close(float(me.group(1)), ce, 5e-3):
failures.append(f"solvers.mjs A15_EDGE_DROP_COEFF={me.group(1)} but the solve gives {ce:.3f}")
# Negative tests name the error they expect.
for bad, pattern in (({"q_kn_m": -1.0}, r"Force density must be positive"), ({"n_bays": 1}, r"at least 2 bays")):
try:
force_density_solve(**bad)
failures.append(f"Negative test {bad} did not raise")
except ValueError as exc:
if not re.search(pattern, str(exc)):
failures.append(f"Negative test {bad} raised the wrong error: {exc}")
failures.extend(check_html_readouts(ref))
payload = {
"status": "FAIL" if failures else "PASS",
"folio_id": "A.15",
"planted_defect": DEFECT or None,
"reference_net": {k2: (round(v, 6) if isinstance(v, float) else v) for k2, v in ref.items()},
"printed": fmt(ref),
"halve_on_double_q": round(r_q, 9),
"double_on_double_w": round(r_w, 9),
"refinement_ratio": {str(nb): round(v, 5) for nb, v in conv.items()},
"gap_shrink_per_halving": [round(o, 3) for o in order],
"js_sag_coeff": round(kd, 6),
"js_edge_drop_coeff": round(ce, 3),
"failures": failures,
}
print(json.dumps(payload, indent=2, ensure_ascii=False))
return 1 if failures else 0
if __name__ == "__main__":
raise SystemExit(main())
Edition history & reviewPublished 2026-11-28 · Updated 2026-11-28 (REV 1.0)
REV 1.0 (Published 2026-11-28): Volume VII Architecture folio continuing A.01, A.12 and A.13 with the force density method for cable nets, a worked 10 × 10 bay square net, and its continuous membrane limit.
Independent verification: the three cited DOIs were matched to their titles, authors and years through the Scite index on 2026-11-28 (no retraction notices; full text not available to this run, so each is cited for its subject only), and every number on the page is recomputed offline by skills/architecture/a15/verify_a15_force_density_net.py (with --planted-defect).