Rheon

18 Validation and remaining research

Formal algebra, numerical fixtures, integration tests and visual review prove different things. A proof build cannot replace camera-export validation; a beautiful render cannot replace divergence or volume checks.

Executed evidence

The companion builds a closed 8-cubed graph with 512 cells and 1344 faces. It gauge-fixes pressure and projects deterministic random velocity. CG uses 78 iterations at the chosen tolerance. Divergence L2 decreases from 49.74366159 to 4.4429×10−104.4429\times10^{-10}. Unweighted kinetic energy decreases from 642.9265376 to 401.9458778. The scalar update retains total 512 in the executed binary64 computation.

These are sparse-reference results, not Rust, cut-cell or laboratory evidence. Energy decrease is an observation consistent with projection, not a general proof. An exact rational three-cell flux example updates to 199/630, 96/175 and 61/450, summing exactly to one.

Transport and diffusion experiments are described in Chapters 7 and 10. Scripts assert stated properties and preserve data used by figures. No script timing is claimed as production performance.

Production evidence matrix

Geometry tests cover shape arithmetic, transforms and orientation. Operator tests cover nullspaces, adjointness, symmetry and compatibility. Solver tests cover residual/divergence, termination and singularity. Transport tests cover smooth and discontinuous data, variable velocity and boundaries.

Forces need rest and decay tests. Liquids need sphere transport, volume drift, merging, thin sheets, rest and contact. Rendering needs calibration, invalid depth, normals and temporal rest stability. Integration needs coherent state versions, resource rejection, cancellation and replay. Each class requires an owner and diagnosis.

Convergence and performance

Report grid, time step, norm, duration, boundaries and reference with each error plot. Several refinements reveal whether slopes stabilize. Coarse points can be pre-asymptotic and fine points can reach solver or rounding floors; neither should be discarded without explanation. Limiters and topology changes can lower observed order.

Choose representative sparse and dense scenes, obstacles, sources and output resolution. Measure simulation, pressure, rendering, readback and full-frame distributions, plus peak memory with host model allocations. The README supplies no numeric budget or target hardware. Until chosen, memory arithmetic is an estimate and real time remains an objective.

Next research

The highest-value integrated study links coarse simulation error to spatial conditioning quality. Measure how displaced interfaces, missing thin features and flicker affect a pinned diffusion pipeline. More simulation detail may consume memory without improving final guidance.

Numerical priorities are component-aware pressure, obstacle sampling and bounded liquid volume. Formal priority is connecting array assembly to the abstract model. Non-Newtonian stress, APIC and sparsity follow needed capability rather than the project’s name.

Every result should retain its level of certainty: derived identity, checked theorem, executed fixture, measured implementation or proposed design. That distinction makes a small reusable solver dependable.

Match the benchmark boundary operator

The research record works through the official steady DFG Re20 specification. Its outlet uses a velocity-gradient traction; substituting full symmetric traction changes the problem. Before comparing a drag number, reproduce the declared geometry, normal convention, inlet, boundary operator and pressure samples. Reference values are not Rheon measurements. The linked record separates remaining spatial, iteration and model-validation requirements.

Midpoint refinement with a known answer

Integrate y² over [0,1] by midpoint quadrature. The exact answer is 1/3. With n cells the independently derived sum is 1/3−1/(12n²). The browser actually samples and accumulates the rectangles, then computes three grids n, 2n and 4n. At n = 4 their values are 0.328125, 0.33203125 and 0.3330078125. Successive differences give observed order 2; Richardson extrapolation gives 1/3. The fine-grid absolute GCI estimate with factor 1.25 is approximately 0.000406901. The rectangles depict the selected coarse quadrature; the dots and curve show the exact integrand. NASA’s spatial-convergence procedure supplies the GCI context. Here the smooth quadratic fixture establishes the error model directly; arbitrary CFD data require a separate asymptotic check.

Refining a biased model

Add a constant 1/16 to every sampled integrand. The observed order remains 2 and the GCI estimate is unchanged, but extrapolation now gives 1/3+1/16. The spatial estimator measures convergence to this biased model, not agreement with the original exact target. Report model/input/measurement discrepancy separately from discretization, iteration and temporal error. A GCI safety factor is not a probability statement or a universal bound on physical truth. Nonmonotonic differences, unresolved changes, varying ratios and nonsmooth solutions need explicit refusal or an appropriate alternative analysis. The control domain here intentionally contains only the two stated smooth fixtures; it does not silently fit an order to arbitrary results.

Practical study proof scope

PracticalStudy.lean states the exact real-arithmetic premises. The pinned kernel build and 330-declaration audit passed; the integrated proof files match that checked source. The independent finite oracle checks the browser formulas; it does not prove a Rust refinement, IEEE solver, continuum prediction or runtime speed.

Original reference illustration for 18 Validation and remaining research

Chapter introduction

Loading 3D…