Skip to content

Diagnostics : EM fields on particles #5637

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 127 commits into
base: development
Choose a base branch
from

Conversation

grobertdautun
Copy link
Contributor

@grobertdautun grobertdautun commented Feb 4, 2025

This PR implements the options Ex Ey Ez Bx By and Bz on the particles diagnostics to output the electromagnetic fields seen by the particles.

I added a test case test_2d_particle_EM_diagnostics with its analysis. This case represents a single particle fixed in a box traversed by a laser pulse, and the analysis verifies that the fields are matching the theoretical ones.

There are two limitations to this diagnostics that should be updated later :

  • the external fields are not yet written on the diagnostics as it would require a change in the getExternalEBField template
  • it only works without mesh refinement

@ax3l ax3l added the component: diagnostics all types of outputs label Feb 4, 2025
@ax3l ax3l requested review from atmyers and RemiLehe February 4, 2025 18:39
@EZoni
Copy link
Member

EZoni commented Apr 8, 2025

Thank you, @grobertdautun!

We just merged in development a big updated of the physical constants as well as an update of the Ubuntu version used in our CI Azure pipelines, see #5661.

Could you please merge development in this PR's head branch diags_em_on_particles_2, to reflect that change and possibly update any CI test's checksums?

…stics.json


Update checksum using result obtained by github runner (I get the same on my local machine)
@lucafedeli88 lucafedeli88 self-requested a review April 9, 2025 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: diagnostics all types of outputs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants