File:Relativistic field of a charge.gif

Summary

Description
English: The electric field generated by a point charge at rest points radially outward, but if the charge is moving at a sizeable fraction of c the field is compressed along the axis of movement and a magnetic field appears around the charge.
Date
Source https://twitter.com/j_bertolotti/status/1276105762876600320
Author Jacopo Bertolotti
Permission
(Reusing this file)
https://twitter.com/j_bertolotti/status/1030470604418428929

Mathematica 12.0 code

\[Gamma] = 1/Sqrt[1 - v^2/c^2];
\[Phi] = 1/(4 \[Pi] \[Epsilon]0) (\[Gamma] q)/
   Sqrt[\[Gamma]^2 (x - v t)^2 + y^2 + z^2];
A = {v/c^2 \[Phi], 0, 0}
el = FullSimplify[-Grad[\[Phi], {x, y, z}] - D[A, t]];
b = FullSimplify[Curl[A, {x, y, z}]];
s = FullSimplify@Cross[el, b];
stopstep[t_] := t (2 - t);
p0 = Table[
   Show[
    GraphicsGrid[{
      {
       Show[
        SliceVectorPlot3D[
         el /. {\[Epsilon]0 -> 1, c -> 1, t -> 0, q -> 1, v -> stopstep[vel]}, "CenterSphere", {x, -1, 1}, {y, -1, 1}, {z, -1, 1}, VectorStyle -> {Thick, Blue}, PlotStyle -> {Opacity[0.05]}, Lighting -> "Neutral", Boxed -> False, Axes -> False, PlotLabel -> "\!\(\*OverscriptBox[\(E\), \(\[Rule]\)]\)", LabelStyle -> {Black, Bold, FontSize -> 16}],
        Graphics3D[{Gray, Sphere[{0, 0, 0}, 0.2], Thickness[0.015], Arrowheads[0.06], Arrow[{{0, 0, 0}, {0.8 stopstep[vel], 0, 0}}] }] ]
       ,
       Show[
        SliceVectorPlot3D[
         b /. {\[Epsilon]0 -> 1, c -> 1, t -> 0, q -> 1, v -> stopstep[vel]}, "CenterSphere", {x, -1, 1}, {y, -1, 1}, {z, -1, 1}, VectorStyle -> {Thick, Red}, PlotStyle -> {Opacity[0.05]}, Lighting -> "Neutral", Boxed -> False, Axes -> False, PlotLabel -> "\!\(\*OverscriptBox[\(B\), \(\[Rule]\)]\)", LabelStyle -> {Black, Bold, FontSize -> 16}],
        Graphics3D[{Gray, Sphere[{0, 0, 0}, 0.2], Thickness[0.015], Arrowheads[0.06], Arrow[{{0, 0, 0}, {0.8 stopstep[vel], 0, 0}}] }] ]
       ,
       Show[
        SliceVectorPlot3D[
         s /. {\[Epsilon]0 -> 1, c -> 1, t -> 0, q -> 1, v -> stopstep[vel]}, "CenterSphere", {x, -1, 1}, {y, -1, 1}, {z, -1, 1}, VectorStyle -> {Thick, Black}, PlotStyle -> {Opacity[0.05]}, Lighting -> "Neutral", Boxed -> False, Axes -> False, PlotLabel -> "\!\(\*OverscriptBox[\(S\), \(\[Rule]\)]\)", LabelStyle -> {Black, Bold, FontSize -> 16}],
   Graphics3D[{Gray, Sphere[{0, 0, 0}, 0.2], Thickness[0.015], Arrowheads[0.06], Arrow[{{0, 0, 0}, {0.8 stopstep[vel], 0, 0}}] }] ]
       }
      }, ImageSize -> Large, Frame -> True, FrameTicks -> All]
    ,
    Graphics[{
      Text[
       Style[StringForm["v =`` c", NumberForm[stopstep[vel], {3, 2}]], Purple, Bold, FontSize -> 14], {560, -400}]
      }]
    ]
   , {vel, 0, 0.8, 0.01}];
ListAnimate[p0]

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Category:CC-Zero#Relativistic%20field%20of%20a%20charge.gif
Category:Self-published work Category:Animations of special relativity Category:Lorentz transformation Category:Animations of electrodynamics Category:Images with Mathematica source code Category:Animated GIF files
Category:Animated GIF files Category:Animations of electrodynamics Category:Animations of special relativity Category:CC-Zero Category:Images with Mathematica source code Category:Lorentz transformation Category:Pages using deprecated source tags Category:Self-published work