Tsimech2000/Space_Layer_Simulator
Space-Flow Hypothesis Workbench
This application turns the original space-layer visualization into a transparent, dimensionally consistent hypothesis-testing workbench. It compares a speculative inward-flow ansatz with a Newtonian monopole plus an axisymmetric J2 reference field.
Scientific status
The flow model is a toy ansatz, not an established alternative to general relativity. When beta=1 and kappa=0, the Newtonian-calibrated speed
|v| = sqrt(2GM/r)
gives Phi_flow = -|v|^2/2 = -GM/r by construction. Reproducing the monopole in that limit is an identity and is not independent evidence for flowing space. Research value must come from quantitative, pre-registered predictions that are not used in calibration.
What changed
- SI units throughout; no arbitrary-unit sink strength.
- Oblate geometry now enters the field explicitly.
- The speculative field and Newtonian/J2 reference are calculated separately.
- Vector residual maps identify where the ansatz disagrees with the reference.
- Pole and equator altitude profiles are exportable as CSV.
- Every run exports its complete configuration as JSON.
- Slow nested Python loops were replaced with vectorized NumPy operations.
- The spherical case is no longer forced to zero.
- Rotation was removed until a dimensionally valid dynamical equation is supplied.
- A flux-conserving r^-2 speed model is retained as a negative control; its far-field acceleration scales as r^-5 and therefore does not reproduce inverse-square gravity.
Equations
The workbench defines a kinetic-potential ansatz
Phi_flow = -|v|^2/2, g_flow = -grad(Phi_flow).
The comparison field is
Phi_J2 = -(GM/r) [1 - J2 (a/r)^2 P2(cos(theta))].
The shape term is phenomenological and explicit:
S(r,theta) = 1 + kappa f (a/r)^2 P2(cos(theta)),
where f=(a-c)/a. The coefficient kappa must be constrained on training data and then frozen before evaluating withheld observations.
Recommended research sequence
- Reproduce the beta=1, kappa=0 monopole identity.
- Fit beta and kappa on a declared subset of precision gravity data.
- Freeze parameters and predict withheld altitudes and latitudes.
- Compare residual structure and information criteria with the same J2 reference.
- Reject or revise the ansatz if it requires body-specific retuning or exceeds observational uncertainty.
- Add rotation or relativistic structure only after writing dimensional field equations and identifying a new observable.
References and conceptual context
- Hamilton, A. J. S. & Lisle, J. P., The river model of black holes, arXiv:gr-qc/0411060.
- IERS Conventions (2010), Technical Note 36, for conventional terrestrial reference and geopotential modeling.
- NASA/JPL GRACE documentation for the measured relation between C20 and J2.
These references motivate comparison and measurement practice; they do not validate the phenomenological shape-coupling term used here.
Local validation
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python -m unittest -v
streamlit run app.py