Tsimech2000/Space_Layer_Simulator
0
1---2title: Space-Flow Hypothesis Workbench3emoji: ๐4colorFrom: blue5colorTo: purple6sdk: docker7app_port: 78608pinned: false9license: mit10---11 12# Space-Flow Hypothesis Workbench13 14This application turns the original space-layer visualization into a transparent,15dimensionally consistent hypothesis-testing workbench. It compares a speculative16inward-flow ansatz with a Newtonian monopole plus an axisymmetric J2 reference field.17 18## Scientific status19 20The flow model is a **toy ansatz**, not an established alternative to general21relativity. When beta=1 and kappa=0, the Newtonian-calibrated speed22 23`|v| = sqrt(2GM/r)`24 25gives `Phi_flow = -|v|^2/2 = -GM/r` by construction. Reproducing the monopole in26that limit is an identity and is not independent evidence for flowing space.27Research value must come from quantitative, pre-registered predictions that are28not used in calibration.29 30## What changed31 32- SI units throughout; no arbitrary-unit sink strength.33- Oblate geometry now enters the field explicitly.34- The speculative field and Newtonian/J2 reference are calculated separately.35- Vector residual maps identify where the ansatz disagrees with the reference.36- Pole and equator altitude profiles are exportable as CSV.37- Every run exports its complete configuration as JSON.38- Slow nested Python loops were replaced with vectorized NumPy operations.39- The spherical case is no longer forced to zero.40- Rotation was removed until a dimensionally valid dynamical equation is supplied.41- A flux-conserving r^-2 speed model is retained as a negative control; its far-field42 acceleration scales as r^-5 and therefore does not reproduce inverse-square gravity.43 44## Equations45 46The workbench defines a kinetic-potential ansatz47 48`Phi_flow = -|v|^2/2`, `g_flow = -grad(Phi_flow)`.49 50The comparison field is51 52`Phi_J2 = -(GM/r) [1 - J2 (a/r)^2 P2(cos(theta))]`.53 54The shape term is phenomenological and explicit:55 56`S(r,theta) = 1 + kappa f (a/r)^2 P2(cos(theta))`,57 58where `f=(a-c)/a`. The coefficient kappa must be constrained on training data and59then frozen before evaluating withheld observations.60 61## Recommended research sequence62 631. Reproduce the beta=1, kappa=0 monopole identity.642. Fit beta and kappa on a declared subset of precision gravity data.653. Freeze parameters and predict withheld altitudes and latitudes.664. Compare residual structure and information criteria with the same J2 reference.675. Reject or revise the ansatz if it requires body-specific retuning or exceeds68 observational uncertainty.696. Add rotation or relativistic structure only after writing dimensional field70 equations and identifying a new observable.71 72## References and conceptual context73 74- Hamilton, A. J. S. & Lisle, J. P., *The river model of black holes*, arXiv:gr-qc/0411060.75- IERS Conventions (2010), Technical Note 36, for conventional terrestrial reference and geopotential modeling.76- NASA/JPL GRACE documentation for the measured relation between C20 and J2.77 78These references motivate comparison and measurement practice; they do not validate79the phenomenological shape-coupling term used here.80 81## Local validation82 83```bash84python -m venv .venv85source .venv/bin/activate86pip install -r requirements.txt87python -m unittest -v88streamlit run app.py89```90 