SmileiPIC / Smilei

Particle-in-cell code for plasma simulation
https://smileipic.github.io/Smilei
335 stars 119 forks source link

EM Bound conditions #641

Closed Sanjeev273 closed 1 year ago

Sanjeev273 commented 1 year ago

Hi I am using 2 D simulation simulation for counter propagation two laser pulses. But both laser pulses reflecting back from the opposite boundry. Can you help me how to get the absorbe the laser reaching to the other boundary ?

beck-llr commented 1 year ago

Do you use a moving window ?

If you don't, Silver-Muller or PML boundary conditions should work. If it doesn't, try using the PML boundaries and increase the number of PML cells until the reflection suits your needs.

mccoys commented 1 year ago

@Sanjeev273 This is not an issue. Please ask questions in the chat room

Sanjeev273 commented 1 year ago

I am not using moving window. I used the Silver-Muller but still its not working. `Main( geometry = "2Dcartesian",

interpolation_order = 2,

timestep = dt,
simulation_time = Tsim, #int(1*Lx/dt)*dt,

cell_length = [ 0.5, 1. ],
grid_length = [ Lsimx, Lsimy ],

number_of_patches = [npatch_x, npatch_y],

#clrw = nx/npatch_x,

reference_angular_frequency_SI = 2.0*math.pi*3e8/0.8e-6,
EM_boundary_conditions = [
    ["silver-muller","silver-muller"],
    ["silver-muller","silver-muller"],
],

solve_poisson = False,

solve_relativistic_poisson = True,

print_every = 100,

random_seed = smilei_mpi_rank

)`