You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tested the magnetic field solution on a current loop on a 3D Cartesian grid. The solution is correct when warpx_magnetostatic=True, but is wrong when warpx_relativistic=True. Compared to the latter case, the solution also changes when bothwarpx_magnetostatic=True and warpx_relativistic=True. All the E fields are fine in all cases.
If more details are needed, or a reproducer is needed, let me know.
Image comparing Bx By Bz for warpx_relativistic=True vs warpx_magnetostatic=True:
Image comparing Bx By Bz for warpx_relativistic=True vs {warpx_relativistic=True & warpx_magnetostatic=True}:
The text was updated successfully, but these errors were encountered:
jwestern
changed the title
picmi.Electrostaticsolver's B field solution is wrong when warpx_relativistic=True
picmi.ElectrostaticSolver's B field solution is wrong when warpx_relativistic=True
Jan 2, 2025
Could you share your WarpX input script for this setup? This would help us reproduce the issue and investigate why the relativistic solver gives incorrect results.
I tested the magnetic field solution on a current loop on a 3D Cartesian grid. The solution is correct when
warpx_magnetostatic=True
, but is wrong whenwarpx_relativistic=True
. Compared to the latter case, the solution also changes when bothwarpx_magnetostatic=True
andwarpx_relativistic=True
. All the E fields are fine in all cases.If more details are needed, or a reproducer is needed, let me know.
Image comparing Bx By Bz for
warpx_relativistic=True
vswarpx_magnetostatic=True
:Image comparing Bx By Bz for
warpx_relativistic=True
vs {warpx_relativistic=True
&warpx_magnetostatic=True
}:The text was updated successfully, but these errors were encountered: