Replies: 2 comments 6 replies
-
Are you sure happi managed to do the conversion? Try to remove the units arguments and see if the value is the same |
Beta Was this translation helpful? Give feedback.
4 replies
-
So the trick, in your case, is that the quantity Anyways, your laser is not well injected. Check fields diagnostics |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone, I am recently using Smilei and there is one thing I am missing. I read in the documentation that for a 2D simulation environment the kinetic energy obtained from the Scalar module, as well as the total and electromagnetic energy, should be in K_r N_r L_r^D, where D = 2 in my case. So with SI units, the unit of measurement should be J/m. To see if I get results that are consistent with what I want to simulate, I have done several tests and I don't understand how I can convert this value J/m with the energy that I actually want to put into the system with the laser.
In some test I had simulated confirmed the intuitive idea I had, that is it was enough to just multiply that value by the size of the simulation window divided by the wavelength of the laser.
Subsequent tests, however, disproved this, as in the image below:
Where the yellow column represents the values I expect for laser energy, and the green column the maximum value measured after simulation with Smilei. The last column represents the ratio between the two quantities.
Here how I calculate the a0 value for simulating my laser:
Here my namelist simulation code:
Here how I read the results with happi:
Maybe I'm getting lost in a glass of water, but I just can't figure out if I'm actually simulating the laser under the conditions I want. As a proof, I was hoping to make up for it in the total energy fed into the system, but I can't figure out how I can bring the value estimated from the simulations into an energy value.
Beta Was this translation helpful? Give feedback.
All reactions