################################# ####### GENERAL PARAMETERS ###### ################################# my_constants.tau_fs = 20. my_constants.w0_um = 20 my_constants.n0 = 1.e24 my_constants.lramp = 10.e-6 my_constants.lplateau = 80.e-6 max_step = 500 amr.n_cell = 32 32 1024 # 256 256 2048 amr.check_input = 0 warpx.numprocs = 1 1 4 amr.max_level = 0 geometry.dims = 3 geometry.coord_sys = 0 # 0: Cartesian geometry.prob_lo = -200.e-6 -200.e-6 -25.e-6 geometry.prob_hi = 200.e-6 200.e-6 5.e-6 boundary.field_lo = none none none boundary.field_hi = none none none boundary.particle_lo = Absorbing Absorbing Absorbing boundary.particle_hi = Absorbing Absorbing Absorbing ################################# ############ NUMERICS ########### ################################# algo.maxwell_solver = ckc algo.particle_shape = 3 warpx.use_filter = 1 warpx.cfl = .999 warpx.do_moving_window = 1 warpx.moving_window_dir = z warpx.moving_window_v = 1. # in units of the speed of light #################################### ############ PARTICLES ############# #################################### particles.species_names = electrons # PLASMA ############################### electrons.charge = -q_e electrons.mass = m_e electrons.injection_style = "NUniformPerCell" electrons.zmin = 0.e-6 electrons.zmax = 1. electrons.xmin = -50.e-6 electrons.xmax = 50.e-6 electrons.ymin = -50.e-6 electrons.ymax = 50.e-6 electrons.density_min = 1.e20 electrons.profile = constant electrons.density = n0 electrons.num_particles_per_cell_each_dim = 1 1 1 electrons.momentum_distribution_type = "constant" electrons.do_continuous_injection = 1 lasers.names = laser1 laser1.profile = Gaussian laser1.position = 0. 0. -.1e-6 # This point is on the laser plane laser1.direction = 0. 0. 1. # The plane normal direction laser1.polarization = 0. 1. 0. # The main polarization vector laser1.a0 = .01 # Maximum amplitude of the laser field (in V/m) laser1.profile_waist = w0_um*1.e-6 # The waist of the laser (in m) laser1.profile_duration = tau_fs*1.e-15 # The duration of the laser (in s) laser1.profile_t_peak = 2*tau_fs*1.e-15 # Time at which the laser reaches its peak (in s) laser1.profile_focal_distance = 50.e-6 # Focal distance from the antenna (in m) laser1.wavelength = 0.8e-6 # The wavelength of the laser (in m) laser1.phi0 = 0. ########################### ####### DIAGNOSTICS ####### ########################### diagnostics.diags_names = beams beams.intervals = 100 beams.format = openpmd beams.diag_type = Full beams.openpmd_backend = bp beams.species = electrons beams.plasma_e.plot_filter_function(t,x,y,z,ux,uy,uz) = "abs(x) < 10.e-6" beams.coarsening_ratio = 8 8 8 beams.fields_to_plot = part_per_cell