Code Monkey home page Code Monkey logo

Comments (3)

RemiLehe avatar RemiLehe commented on July 18, 2024

Thanks for the question.

The laser centroid z0 corresponds to the position of the laser centroid at t=0. (Note that this example uses the default direct laser injection, whereby the laser is initialized entirely in the box at t=0 - as opposed to being emitted from one of the boundaries of the simulation as is often the case in other PIC codes. More details here: https://fbpic.github.io/api_reference/lpa_utilities/laser.html)

When using z0 = 38e-6, the laser centroid is outside of the simulation box (which goes from -10e-6 to +30e-6 here) by a good margin (8e-6). In this case, the laser intensity in the box corresponds to the wings of the Gaussian intensity distribution and is probably very weak (and is clipped by the righthand side of the box).

Regarding the particles in the diagnostics: in this particular example, only particles with uz higher than 1. (i.e. energetic electrons) are written in the diagnostics. In the case z0 = 38e-6, I am guessing that the laser intensity too weak for any of the electrons to reach this kind of energy. Does that seem to be the case here?

from fbpic.

RemiLehe avatar RemiLehe commented on July 18, 2024

Btw, here is a nice image that @MKirchen made, in order to illustrate the distinction between z0 (centroid position) and zf (focal position):
Screenshot 2023-11-17 at 3 59 17 PM

from fbpic.

PrometheusPi avatar PrometheusPi commented on July 18, 2024

Thank you @RemiLehe for providing an explanation of what happens.

I see, that I should have set zf and not z0 for the focal plane position.

from fbpic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.