|
| 1 | +{ |
| 2 | + "cells": [ |
| 3 | + { |
| 4 | + "cell_type": "markdown", |
| 5 | + "metadata": {}, |
| 6 | + "source": [ |
| 7 | + "# CPP-600-Cell Dream Model\n", |
| 8 | + "## Velocity-Dependent DP Sea Polarization & Inertial Resistance\n", |
| 9 | + "\n", |
| 10 | + "Inspired by dream insight after 60-probe handedness paper.\n", |
| 11 | + "\n", |
| 12 | + "Goal: reproduce silly-putty behavior (transparent → viscous → solid) and converge to Lorentz γ(v)." |
| 13 | + ] |
| 14 | + }, |
| 15 | + { |
| 16 | + "cell_type": "code", |
| 17 | + "execution_count": null, |
| 18 | + "metadata": {}, |
| 19 | + "outputs": [], |
| 20 | + "source": [ |
| 21 | + "import numpy as np\n", |
| 22 | + "import matplotlib.pyplot as plt\n", |
| 23 | + "from scipy.constants import c\n", |
| 24 | + "\n", |
| 25 | + "# Constants (tunable)\n", |
| 26 | + "v0 = c # characteristic velocity (m/s)\n", |
| 27 | + "alpha = 1.8 # sharpness of transition\n", |
| 28 | + "k_omega = 2.0 # frequency coupling\n", |
| 29 | + "beta = 3.0 # closest-approach coupling\n", |
| 30 | + "k_q = 1.5 # charge enhancement\n", |
| 31 | + "k_f = 1.0 # force multiplier\n", |
| 32 | + "omega0 = 1e20 # base ZBW frequency (rad/s)\n", |
| 33 | + "d0 = 1e-15 # base closest approach (m)\n", |
| 34 | + "\n", |
| 35 | + "def P(v, r=None):\n", |
| 36 | + " \"\"\"Polarization of DP Sea (v in m/s)\"\"\"\n", |
| 37 | + " if r is None:\n", |
| 38 | + " return np.tanh(v / v0)\n", |
| 39 | + " else:\n", |
| 40 | + " v0_r = v0 * (r / 1e-10)**0.5 # example radial dependence\n", |
| 41 | + " return np.tanh(v / v0_r)\n", |
| 42 | + "\n", |
| 43 | + "# Example plot\n", |
| 44 | + "v = np.linspace(0, 0.999*c, 1000)\n", |
| 45 | + "plt.figure(figsize=(10,6))\n", |
| 46 | + "plt.plot(v/c, P(v), label='P(v) (tanh)')\n", |
| 47 | + "plt.xlabel('v / c')\n", |
| 48 | + "plt.ylabel('Polarization P')\n", |
| 49 | + "plt.title('DP Sea Polarization vs Velocity')\n", |
| 50 | + "plt.grid(True)\n", |
| 51 | + "plt.legend()\n", |
| 52 | + "plt.show()" |
| 53 | + ] |
| 54 | + }, |
| 55 | + { |
| 56 | + "cell_type": "markdown", |
| 57 | + "metadata": {}, |
| 58 | + "source": [ |
| 59 | + "## Tranche 2 – Oscillation Parameters" |
| 60 | + ] |
| 61 | + }, |
| 62 | + { |
| 63 | + "cell_type": "code", |
| 64 | + "execution_count": null, |
| 65 | + "metadata": {}, |
| 66 | + "outputs": [], |
| 67 | + "source": [ |
| 68 | + "def omega(v):\n", |
| 69 | + " return omega0 * np.exp(k_omega * P(v))\n", |
| 70 | + "\n", |
| 71 | + "def d_min(v):\n", |
| 72 | + " return d0 * np.exp(-beta * P(v))\n", |
| 73 | + "\n", |
| 74 | + "plt.figure(figsize=(10,6))\n", |
| 75 | + "plt.semilogy(v/c, omega(v)/omega0, label='ω(v)/ω₀')\n", |
| 76 | + "plt.semilogy(v/c, d_min(v)/d0, label='d_min(v)/d₀')\n", |
| 77 | + "plt.xlabel('v / c')\n", |
| 78 | + "plt.ylabel('Relative value')\n", |
| 79 | + "plt.title('Oscillation Parameters vs Velocity')\n", |
| 80 | + "plt.grid(True)\n", |
| 81 | + "plt.legend()\n", |
| 82 | + "plt.show()" |
| 83 | + ] |
| 84 | + }, |
| 85 | + { |
| 86 | + "cell_type": "markdown", |
| 87 | + "metadata": {}, |
| 88 | + "source": [ |
| 89 | + "## Tranche 3 – Repulsive Force (at closest approach)" |
| 90 | + ] |
| 91 | + }, |
| 92 | + { |
| 93 | + "cell_type": "code", |
| 94 | + "execution_count": null, |
| 95 | + "metadata": {}, |
| 96 | + "outputs": [], |
| 97 | + "source": [ |
| 98 | + "def F_rep(v):\n", |
| 99 | + " return (1 + k_q * P(v))**2 * (omega(v)/omega0) * (d0 / d_min(v))**2\n", |
| 100 | + "\n", |
| 101 | + "plt.figure(figsize=(10,6))\n", |
| 102 | + "plt.semilogy(v/c, F_rep(v), label='F_rep(v) / F₀')\n", |
| 103 | + "plt.xlabel('v / c')\n", |
| 104 | + "plt.ylabel('Relative force amplification')\n", |
| 105 | + "plt.title('Repulsive Force Amplification vs Velocity')\n", |
| 106 | + "plt.grid(True)\n", |
| 107 | + "plt.legend()\n", |
| 108 | + "plt.show()" |
| 109 | + ] |
| 110 | + }, |
| 111 | + { |
| 112 | + "cell_type": "markdown", |
| 113 | + "metadata": {}, |
| 114 | + "source": [ |
| 115 | + "## Tranche 4 – Effective Mass & Lorentz Convergence" |
| 116 | + ] |
| 117 | + }, |
| 118 | + { |
| 119 | + "cell_type": "code", |
| 120 | + "execution_count": null, |
| 121 | + "metadata": {}, |
| 122 | + "outputs": [], |
| 123 | + "source": [ |
| 124 | + "def gamma(v):\n", |
| 125 | + " return 1 / np.sqrt(1 - (v/c)**2)\n", |
| 126 | + "\n", |
| 127 | + "def m_eff(v, k=0.04):\n", |
| 128 | + " # Simple linear + gamma term\n", |
| 129 | + " return 1 + k * (v/c) * gamma(v)\n", |
| 130 | + "\n", |
| 131 | + "plt.figure(figsize=(10,6))\n", |
| 132 | + "plt.plot(v/c, gamma(v), 'k--', label='Lorentz γ(v)')\n", |
| 133 | + "plt.plot(v/c, m_eff(v), label='m_eff(v) / m₀')\n", |
| 134 | + "plt.xlabel('v / c')\n", |
| 135 | + "plt.ylabel('Relative mass')\n", |
| 136 | + "plt.title('Effective Mass vs Velocity')\n", |
| 137 | + "plt.grid(True)\n", |
| 138 | + "plt.legend()\n", |
| 139 | + "plt.show()" |
| 140 | + ] |
| 141 | + } |
| 142 | + ], |
| 143 | + "metadata": { |
| 144 | + "kernelspec": { |
| 145 | + "display_name": "Python 3", |
| 146 | + "language": "python", |
| 147 | + "name": "python3" |
| 148 | + }, |
| 149 | + "language_info": { |
| 150 | + "codemirror_mode": { |
| 151 | + "name": "ipython", |
| 152 | + "version": 3 |
| 153 | + }, |
| 154 | + "file_extension": ".py", |
| 155 | + "mimetype": "text/x-python", |
| 156 | + "name": "python", |
| 157 | + "nbconvert_exporter": "python", |
| 158 | + "pygments_lexer": "ipython3", |
| 159 | + "version": "3.10.12" |
| 160 | + } |
| 161 | + }, |
| 162 | + "nbformat": 4, |
| 163 | + "nbformat_minor": 5 |
| 164 | +} |
| 165 | + |
0 commit comments