Skip to content

Add moving-plate shear response and finite-mass fluid coupling - #52

Closed
MrScripty wants to merge 1 commit into
feature/bounded-obstacle-stokes-20261013from
feature/moving-plate-coupling-20261013
Closed

MrScripty wants to merge 1 commit into
feature/bounded-obstacle-stokes-20261013from
feature/moving-plate-coupling-20261013

Conversation

@MrScripty

@MrScripty MrScripty commented Oct 13, 2026 •

Copy link
Copy Markdown
Owner

This next broader-physics slice adds moving-wall response and finite-mass fluid/solid impulse exchange to Rheon's existing reduced shear geometry. A plate can prescribe a tangential speed or carry finite scalar inertia and recoil from equal/opposite viscous impulse. Fluid and plate velocities publish together only after independent momentum, energy/work and cancellation gates pass.

Stacked on PR #45 (bbc6089), not main. New head: fd281ebf51d63b5406f86a74cdc67873ea9a0174. The nine-file write set adds one experimental workspace, native example, tests, independent rational checker, focused CI and a standards-planned milestone. It changes no production API/source, renderer, Cargo dependencies or book-owned file. The API contract handoff is in docs/plans/moving-plate-coupling/reports/contract.md for API task 01a134aa-6179-75ab-b738-c1db75dbf00d / PR48 (f06a127); the public session adapter remains its owner's decision.

The model is one-dimensional tangential Newtonian shear in an invariant/periodic planar channel. Normal geometry stays fixed during plate translation. Borrowed StaticObstacleShear supplies actual layer volumes, centers and no-slip/Navier conductances. A backward-Euler chain solve includes dynamic plate masses and eliminates prescribed endpoints; actual stored output must satisfy each node equation, combined energy plus dissipation equals actuator work, and total momentum changes only by prescribed-wall impulse. Exact disconnected common-translation states are preserved without tolerance snapping.

Quantitative acceptance:

  • One fluid layer with mass 1, wall conductances 2, dt=1/4: prescribed speeds (0,1) produce fluid speed 1/4 and wall impulses (-1/8,3/8). A lower dynamic mass 1 initially moving at 1 recoils to 8/11 and drives fluid to 2/11 against a fixed upper wall. Two dynamic plates initially at ±1 relax to ±2/3 with fluid at rest.
  • Transient Couette sine mode at T=0.125 s, mu=rho=H=1, dt=h²/8: RMS errors are 1.13628e-3, 2.85263e-4, 7.13905e-5 m/s for N=8,16,32. Each refinement reduces error by more than 3; fine error is below 1e-4. This is a finite reference case, not general convergence/calibration.
  • Independent dense-rational verification of 18 actual native steps checks geometry, represented coefficients, velocities, node equations, impulses, work, dissipation and interval acceptance. Eleven hostile-record changes must refuse.

Validation on fd281eb:

  • cargo test --locked --no-default-features --test plate_coupling_contract --test obstacle_flow_contract --test static_obstacle_contract -- --nocapture: 37 passed.
  • cargo test --locked --test plate_coupling_contract --example plate_coupling: 11 + 4 passed (example repeats interval primitives).
  • cargo fmt --all --check; focused core and all-target default Clippy with -D warnings: passed.
  • Clean-source python3 and python3 -O tools/check_plate_coupling.py --native ... --output ...: each passed 18 steps and 11 corruption rejections. Receipts: /tmp/rheon-plate-fd281eb-normal/qualification.json and /tmp/rheon-plate-fd281eb-optimized/qualification.json in the task environment.
  • Independent reviewer ran all 11 Rust tests and rechecked 18 native records/11 corruption refusals. It found an oracle interval-width admission gap; fixed and reviewed, no remaining blocking findings.

Supported arithmetic remains Linux x86_64 with default scalar binary64 controls. Other OS/CPU/GPU, general rigid-body orientation/contact/torque, normal wall motion, moving topology, pressure/body loads, liquid interfaces and engineering accuracy are unqualified. No new Lean proof is claimed; the inherited interval backend's arithmetic premise remains explicit. No merge or deployment.

PR45 hosted closure on exact bbc6089: core/default/desktop, executable aggregate, native/rational, Lean and dense3D checks all passed. Book build alone fails the frozen Cargo.lock admission, independently reproduced on unchanged main 2209012; deployment skipped. That shared book issue remains with its owner and no acceptance check is weakened here.

Exact-head hosted evidence

At fd281ebf51d63b5406f86a74cdc67873ea9a0174, Moving-plate shear coupling run 38383793295 passed native-coupling in 29 seconds: formatting, focused core Clippy, 37 Rust contracts, native build, and normal/optimized independent rational qualification, with source-bound evidence uploaded. Dense3D scoped checks also passed. The inherited full Rust and aligned-Stokes jobs also completed successfully; final details follow.

Final inherited CI closure

All checks are complete and successful for head fd281ebf51d63b5406f86a74cdc67873ea9a0174. Rust matrix run 38383793099 passed strict all-target Clippy and cargo test --locked for core-only (351 tests), default (358 tests), and desktop (388 tests); executable smoke/lifecycle checks and the aggregate gate also passed. Counts were read from completed job logs. The temporary merge commit d253b1ba830be7769e6d6d01575c9cbe41710c77 has the same tree 1610280f8f7a6c5c66cf0c0fb12ac25ae95075e0 as the published head.

Inherited aligned-Stokes run 38383793101 passed both native-rational and conditional-kernel-contracts. Coupling evidence artifact 11804203818 is retained by the dedicated successful run. No source regression or additional commit was needed.

PR45's separately reproduced baseline book/Cargo.lock binding failure remains a book/validation-owner dependency. No book workflow was triggered for the PR52-only delta. Remaining implementation dependencies are the API owner's adapter (atomic time/generation publication) and future explicit swept-volume/work and pressure-accuracy contracts before arbitrary moving geometry, pressure loads, rotation or contact can be added. The bounded scope and hardware limitations above are unchanged.

@coderabbitai

coderabbitai Bot commented Oct 13, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copy link
Copy Markdown
Owner Author

Included with preserved Git history in PR67 and PR70, now on main 8baf459. This exact PR head was verified as an ancestor before closure. Closing the superseded review; no branch deletion or squash. Final ordinary CI and approved exact-source visual qualification are recorded in PR70. The main Pages workflow is still being monitored, so closure does not claim completed live publication.

@MrScripty MrScripty closed this Oct 14, 2026
@MrScripty
MrScripty deleted the feature/moving-plate-coupling-20261013 branch October 16, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant