CoolFace
Apppublic

Tsimech2000/Space_Layer_Simulator

sourceHugging Facemitupdated 17d agoView on Hugging Face
0likes
App README

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

  1. 1.Reproduce the beta=1, kappa=0 monopole identity.
  2. 2.Fit beta and kappa on a declared subset of precision gravity data.
  3. 3.Freeze parameters and predict withheld altitudes and latitudes.
  4. 4.Compare residual structure and information criteria with the same J2 reference.
  5. 5.Reject or revise the ansatz if it requires body-specific retuning or exceeds observational uncertainty.
  6. 6.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

bash
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python -m unittest -v
streamlit run app.py