Reinforced Concrete Research¶
Research milestone, 2026-11-17 — no RC solver or workspace is exposed.
Reinforced-concrete frames and slabs need a material and section formulation separate from the steel interaction-law study. Existing concrete presets remain elastic. A test-only monotonic fibre-section envelope now provides a bounded starting point for that work; it is not full concrete plasticity.
Each supplied fibre has a positive area A, coordinate y and concrete/steel material. Plane sections use ε(y)=ε0−κy. Resultants are N=ΣAσ and M=−ΣAyσ; their consistent 2×2 tangent is ΣAEt[1,−y]ᵀ[1,−y]. Stress and axial strain are tension-positive. Moment is work-conjugate to the stated curvature convention. Fibre areas must represent the intended material geometry: the helper does not generate bar holes, remove displaced concrete or infer reinforcement from a section catalogue.
The explicit benchmark material laws are:
- Concrete compression magnitude fc>0 and peak strain magnitude εc>0. For −εc≤ε<0, r=−ε/εc and σ=−fc(2r−r²); Et=2fc(1−r)/εc. Tensile stress is zero from the outset. Strains beyond the compressive peak are rejected.
- Reinforcement has elastic modulus E, yield magnitude fy and post-yield tangent bE, 0≤b<1. Its monotonic stress envelope is elastic up to |ε|=fy/E and then sign(ε)[fy+bE(|ε|−fy/E)]. Steel strain magnitude is bounded to 0.02.
These are stateless envelope queries. Reversing curvature checks mathematical symmetry, not cyclic unloading or hysteresis. Zero concrete tensile strength does not simulate crack initiation or tension stiffening. No plastic dissipation, confinement, crushing, bond slip, shear failure or design-code resistance is claimed. The peak compression limit applies at entered fibres, not all unsampled points.
For a prescribed curvature and axial force, a bracketed scalar solve determines ε0 inside every fibre's admissible strain interval. It rejects unattainable axial loads and zero axial tangent rather than continuing onto an unqualified branch. The fixed-N flexural tangent is the Schur complement Kκκ−KκεKεκ/Kεε. There is no member, geometric-nonlinearity or structural equilibrium solver in this module.
Independent checks and illustrative section
The benchmark has a concrete rectangle of area 240 in² distributed over y=±10 in and two additional 1 in² steel fibres at y=±8 in. Total supplied area is 242 in²; this is a mathematical composite-section benchmark, not a gross 12×20 in RC section with correctly displaced bar concrete. Defaults fc=4 ksi, εc=0.002, E=29,000 ksi, fy=60 ksi and b=0.01 are test inputs, not recommended design data. With 96-point concrete integration and N=0:
| Curvature (1/in) | Axial strain ε0 | Moment (kip-in) |
|---|---|---|
| 0.00005 | 0.0003048894 | 339.227283 |
| 0.00010 | 0.0006045792 | 674.788682 |
| 0.00020 | 0.0013024410 | 1005.092720 |
| 0.00030 | 0.0021221580 | 1023.083047 |
Tests compare uniform compression/tension to hand resultants, fully compressed bending to independent continuous integration, and N=0 moment–curvature points to a separately integrated continuous section/root solve (0.2% comparison gate). They also check material/section/condensed derivatives, reinforcement yield, 24/48/96-fibre refinement, signs, reference-origin covariance, inch-kip/mm-N conversion and rejection beyond the stated domain. No ultimate section capacity or experimental calibration is inferred from these numerical checks.
Backend evaluation and next gates
OpenSees is a candidate for a separate RC backend because its documented fibre sections combine uniaxial materials with fibre areas/locations. Its Concrete01 includes degraded unloading/reloading and no tensile strength; Concrete02 adds tensile-softening parameters. Its Steel01 includes cyclic hardening behaviour. Those full models are not implemented or substituted by the envelope prototype. The following assessment separately exercises a pinned external engine. No OpenSees dependency is added to Brecon.
Before selecting a production backend: verify supported-platform packaging and
licensing/distribution, isolate mutable solver sessions, compare material cycles
and section results against a pinned engine, define physical reinforcement and
confinement input, and qualify member/frame equilibrium and stability. RC slabs
need separate membrane/plate/shell, cracking-direction and reinforcement-layer
benchmarks; a beam fibre section does not qualify slab behaviour. Persistence,
undo, UI, MCP, exports and design interpretation must follow those engineering
gates. production_ready=false remains explicit; the main RC TODO stays open.
python -B scripts/test.py test_rc_fibre_section
Pinned external RC backend assessment (2026-11-17)
An optional, isolated research assessment now runs OpenSeesPy 3.8.0.0 with openseespymac 3.8.0.0, engine 3.8.0, on native macOS arm64 / Python 3.12.13. This is a real external-engine run, not a stub or an application dependency. Each bounded JSON request launches a fresh Python process with a 30-second timeout; only fixed material/section/member jobs are accepted, with no user program text. The host rejects failure codes, malformed JSON and unexpected engine contracts. No session or mutable material state is shared across jobs.
The recorded assessment includes engine, package, platform and licence-notice hashes, raw results, source hashes and explicit gates. Its checks are:
- Steel01 signed yield/unload/reverse cycles match a separately implemented linear kinematic-hardening return calculation. No optional isotropic hardening is enabled.
- Concrete01 virgin compression matches the ascending parabola and one descending linear point. Zero tensile stress, changed reloading response after compression and exact fresh-process replay are checked. The concrete cycle is characterized, not certified against an independent Karsan–Jirsa unloading oracle.
- Four zeroLengthSection cases at N=0 and curvatures 0.00005/0.0001/0.0002/0.0003 1/in match the same 20 concrete fibres plus two steel fibres used by the local monotonic reference. These are virgin single-increment comparisons; they do not assert parity for arbitrary cyclic section paths.
- Four 120-inch, five-point Lobatto forceBeamColumn cantilevers under constant end couple match section moment, axial extension ε0L, tip rotation κL and transverse displacement κL²/2. A Linear geometric transformation is used. Global axial/shear reactions and section N/M at all five integration points are checked; solver success status alone is insufficient.
Maximum sampled section/member moment discrepancy from the local envelope is below 3.2e-11 kip-in. Internal force-based section moments have residual up to 2.51e-5 kip-in and axial force up to 3.20e-6 kip; their explicit gates are 1e-4 kip-in and 1e-5 kip respectively. These residuals are reported rather than hidden behind the much smaller global reaction errors. This verifies the constant-couple benchmark, not general nonlinear members, RC frames or geometric instability. The same area/geometry limitations of the mathematical section benchmark above still apply.
The installed build does not expose testSection; actual finite-element section
and member models are used instead. Rotations are imposed with the solver's
DisplacementControl integrator under a reference end moment, following the
official RC moment–curvature workflow.
The ordinary test suite validates the stored report, source records and host
failure/timeout handling. It does not rerun OpenSees. Reproduction requires a
separate native macOS arm64 environment, for example:
uv venv --python 3.12 /tmp/brecon-opensees
uv pip install --python /tmp/brecon-opensees/bin/python openseespy==3.8.0.0 openseespymac==3.8.0.0
python -B scripts/benchmark_opensees_rc.py --python /tmp/brecon-opensees/bin/python --output /tmp/opensees-rc-evaluation.json
python -B scripts/test.py test_opensees_rc_evaluation test_rc_fibre_section
The packaged OpenSeesPy notice states conditions for commercial redistribution;
the upstream licensing documentation
also distinguishes redistribution rights. This assessment records those notices
but does not approve bundling, compatibility or distribution. No engine, wheel or
licence grant is bundled with Brecon, and no OpenSees dependency is added.
Windows/Linux, other Python versions, distribution terms, independent concrete
cycle parity, physical reinforcement/confinement, lateral-load members, frames,
RC slabs and app integration remain explicit gates. The assessment is scoped to
macOS arm64 and rejects other platforms rather than claiming untested support.
production_ready=false, bundling_approved=false and
other_platforms_validated=false remain explicit.
Source: GUIDE.md. This manual follows the current repository; the published rc1 wheel has a smaller feature set.