.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "api/gallery/nuclear/structure/plot_04_bethe_peierls_deuteron.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_api_gallery_nuclear_structure_plot_04_bethe_peierls_deuteron.py: Bethe and Peierls: the deuteron as a square well =================================================== The deuteron, one proton and one neutron, is the only bound two-nucleon system, held by just 2.22 MeV. In 1935 Bethe and Peierls showed how much that one number reveals. Model the force as an attractive square well of depth :math:`V_0` and range :math:`R`. Inside, the s-wave radial function is :math:`u=A\sin kr`; outside, it is :math:`u=Be^{-\kappa r}`, with .. math:: k=\sqrt{2\mu(V_0-B)}/\hbar,\qquad \kappa=\sqrt{2\mu B}/\hbar . Matching :math:`u'/u` at :math:`r=R` gives :math:`k\cot kR=-\kappa`. A weak binding means :math:`kR` is just past :math:`\pi/2`: the well can barely hold one bound state. And because :math:`1/\kappa\approx4.3` fm is twice the force range, the deuteron spends most of its time *outside* the well. This example uses :func:`~physicskit.nuclear.deuteron.deuteron_well_depth`, :func:`~physicskit.nuclear.deuteron.deuteron_kappa`, :func:`~physicskit.nuclear.deuteron.deuteron_binding_energy`, and :func:`~physicskit.nuclear.deuteron.deuteron_wavefunction`. .. GENERATED FROM PYTHON SOURCE LINES 27-40 .. code-block:: Python import matplotlib.pyplot as plt import numpy as np from physicskit.nuclear.deuteron import ( DEUTERON_BINDING, MU_NP, deuteron_binding_energy, deuteron_kappa, deuteron_wavefunction, deuteron_well_depth, ) from physicskit.nuclear.units import HBARC .. GENERATED FROM PYTHON SOURCE LINES 41-43 Depth of the well --------------------- .. GENERATED FROM PYTHON SOURCE LINES 43-51 .. code-block:: Python R = 2.1 V0 = deuteron_well_depth(R) kappa = deuteron_kappa() k = np.sqrt(2 * MU_NP * (V0 - DEUTERON_BINDING)) / HBARC print(f"binding energy B = {DEUTERON_BINDING:.4f} MeV, size 1/kappa = {1 / kappa:.2f} fm") print(f"for R = {R} fm the well depth is V0 = {V0:.1f} MeV (Krane: about 35 MeV)") print(f"kR = {k * R:.3f} rad (pi/2 = {np.pi / 2:.3f}): barely one bound state") .. rst-class:: sphx-glr-script-out .. code-block:: none binding energy B = 2.2246 MeV, size 1/kappa = 4.32 fm for R = 2.1 fm the well depth is V0 = 33.7 MeV (Krane: about 35 MeV) kR = 1.831 rad (pi/2 = 1.571): barely one bound state .. GENERATED FROM PYTHON SOURCE LINES 52-54 Where the nucleons are -------------------------- .. GENERATED FROM PYTHON SOURCE LINES 54-59 .. code-block:: Python r = np.linspace(0.0, 20.0, 4001) u = deuteron_wavefunction(r, R) p_out = np.trapezoid(np.where(r > R, u**2, 0.0), r) print(f"probability the nucleons are farther apart than R: {p_out:.2f}") .. rst-class:: sphx-glr-script-out .. code-block:: none probability the nucleons are farther apart than R: 0.63 .. GENERATED FROM PYTHON SOURCE LINES 60-65 The depth-range trade-off ----------------------------- One binding energy cannot fix both :math:`V_0` and :math:`R`, only the combination: a narrower well must be deeper, with :math:`V_0R^2\to\pi^2\hbar^2c^2/8\mu` as :math:`R\to0`. .. GENERATED FROM PYTHON SOURCE LINES 65-88 .. code-block:: Python Rs = np.linspace(0.5, 3.0, 60) V0s = np.array([deuteron_well_depth(x) for x in Rs]) zero_range = np.pi**2 * HBARC**2 / (8 * MU_NP) fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(12, 4.2)) ax1.plot(r, u, color="firebrick", label=r"$u(r)=r\,\psi(r)$") ax1.plot(r, np.exp(-kappa * r) * u[r > R][0] / np.exp(-kappa * r[r > R][0]), "k:", lw=1, label=r"$e^{-\kappa r}$ tail") ax1.axvspan(0, R, color="steelblue", alpha=0.15, label=f"well, R = {R} fm") ax1.set_xlabel("n-p separation r [fm]") ax1.set_ylabel(r"$u(r)$ [fm$^{-1/2}$]") ax1.set_title(f"Deuteron: {p_out:.0%} of the time outside the force") ax1.legend(fontsize=8) ax2.plot(Rs, V0s, color="firebrick", label="exact $k\\cot kR=-\\kappa$") ax2.plot(Rs, zero_range / Rs**2, "k--", label=r"$\pi^2\hbar^2c^2/(8\mu R^2)$") ax2.set_xlabel("well range R [fm]") ax2.set_ylabel(r"well depth $V_0$ [MeV]") ax2.set_ylim(0, 300) ax2.set_title("All wells that bind the deuteron by 2.22 MeV") ax2.legend(fontsize=8) fig.tight_layout() plt.show() .. image-sg:: /api/gallery/nuclear/structure/images/sphx_glr_plot_04_bethe_peierls_deuteron_001.png :alt: Deuteron: 63% of the time outside the force, All wells that bind the deuteron by 2.22 MeV :srcset: /api/gallery/nuclear/structure/images/sphx_glr_plot_04_bethe_peierls_deuteron_001.png :class: sphx-glr-single-img .. GENERATED FROM PYTHON SOURCE LINES 89-93 Check ----- The matching condition holds, inverting the depth recovers 2.2246 MeV, u is normalised, and the deuteron is mostly outside the well. .. GENERATED FROM PYTHON SOURCE LINES 93-97 .. code-block:: Python assert abs(k / np.tan(k * R) + kappa) < 1e-10 assert abs(deuteron_binding_energy(V0, R) - DEUTERON_BINDING) < 1e-9 assert abs(np.trapezoid(deuteron_wavefunction(np.linspace(0, 80, 80001), R) ** 2, np.linspace(0, 80, 80001)) - 1) < 1e-5 assert 30 < V0 < 37 and p_out > 0.5 and abs(1 / kappa - 4.32) < 0.01 .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.105 seconds) .. _sphx_glr_download_api_gallery_nuclear_structure_plot_04_bethe_peierls_deuteron.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_04_bethe_peierls_deuteron.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_04_bethe_peierls_deuteron.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_04_bethe_peierls_deuteron.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_