forked from BLAST-WarpX/warpx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinputs_3d
219 lines (186 loc) · 6.74 KB
/
inputs_3d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
#################################
####### GENERAL PARAMETERS ######
#################################
max_step = 2
amr.n_cell = 16 16 16
amr.max_grid_size = 16 # maximum size of each AMReX box, used to decompose the domain
amr.blocking_factor = 8 # minimum size of each AMReX box, used to decompose the domain
geometry.dims = 3
geometry.prob_lo = -0.5e-6 -0.5e-6 -0.5e-6 # physical domain
geometry.prob_hi = 0.5e-6 0.5e-6 0.5e-6
amr.max_level = 0 # Maximum level in hierarchy (1 might be unstable, >1 is not supported)
#################################
####### Boundary condition ######
#################################
boundary.field_lo = periodic periodic periodic
boundary.field_hi = periodic periodic periodic
#################################
############ NUMERICS ###########
#################################
algo.current_deposition = esirkepov
algo.charge_deposition = standard
algo.field_gathering = energy-conserving
algo.particle_pusher = boris
warpx.verbose = 1
warpx.do_dive_cleaning = 0
warpx.use_filter = 1
warpx.cfl = 1. # if 1., the time step is set to its CFL limit
warpx.serialize_initial_conditions = 1
# Order of particle shape factors
algo.particle_shape = 3
#################################
############ PLASMA #############
#################################
particles.species_names = p1 p2 p3 p4 ele1 ele2 ele3 ele4 pos1 pos2 pos3 pos4 dummy_phot
particles.photon_species = p1 p2 p3 p4 dummy_phot
#################################
p1.species_type = "photon"
p1.injection_style = "NUniformPerCell"
p1.profile = "constant"
p1.num_particles_per_cell_each_dim = 8 8 4
p1.density = 1e19
p1.momentum_distribution_type = "constant"
p1.ux = 2000.0
##########QED####################
p1.do_qed_breit_wheeler = 1
p1.qed_breit_wheeler_ele_product_species = ele1
p1.qed_breit_wheeler_pos_product_species = pos1
#################################
p2.species_type = "photon"
p2.injection_style = "NUniformPerCell"
p2.profile = "constant"
p2.num_particles_per_cell_each_dim = 8 8 4
p2.density = 1e19
p2.momentum_distribution_type = "constant"
p2.uy = 5000.0
##########QED####################
p2.do_qed_breit_wheeler = 1
p2.qed_breit_wheeler_ele_product_species = ele2
p2.qed_breit_wheeler_pos_product_species = pos2
#################################
p3.species_type = "photon"
p3.injection_style = "NUniformPerCell"
p3.profile = "constant"
p3.num_particles_per_cell_each_dim = 8 8 4
p3.density = 1e19
p3.momentum_distribution_type = "constant"
p3.uz = 10000.0
##########QED####################
p3.do_qed_breit_wheeler = 1
p3.qed_breit_wheeler_ele_product_species = ele3
p3.qed_breit_wheeler_pos_product_species = pos3
#################################
p4.species_type = "photon"
p4.injection_style = "NUniformPerCell"
p4.profile = "constant"
p4.num_particles_per_cell_each_dim = 8 8 4
p4.density = 1e19
p4.momentum_distribution_type = "constant"
p4.ux = 57735.02691896
p4.uy = 57735.02691896
p4.uz = 57735.02691896
##########QED####################
p4.do_qed_breit_wheeler = 1
p4.qed_breit_wheeler_ele_product_species = ele4
p4.qed_breit_wheeler_pos_product_species = pos4
#################################
### PRODUCT SPECIES ###
ele1.species_type = "electron"
ele1.injection_style = "none"
ele1.do_not_push = 1
ele1.do_qed_quantum_sync = 1
ele1.qed_quantum_sync_phot_product_species = dummy_phot
ele2.species_type = "electron"
ele2.injection_style = "none"
ele2.do_not_push = 1
ele2.do_qed_quantum_sync = 1
ele2.qed_quantum_sync_phot_product_species = dummy_phot
ele3.species_type = "electron"
ele3.injection_style = "none"
ele3.do_not_push = 1
ele3.do_qed_quantum_sync = 1
ele3.qed_quantum_sync_phot_product_species = dummy_phot
ele4.species_type = "electron"
ele4.injection_style = "none"
ele4.do_not_push = 1
ele4.do_qed_quantum_sync = 1
ele4.qed_quantum_sync_phot_product_species = dummy_phot
pos1.species_type = "positron"
pos1.injection_style = "none"
pos1.do_not_push = 1
pos1.do_qed_quantum_sync = 1
pos1.qed_quantum_sync_phot_product_species = dummy_phot
pos2.species_type = "positron"
pos2.injection_style = "none"
pos2.do_not_push = 1
pos2.do_qed_quantum_sync = 1
pos2.qed_quantum_sync_phot_product_species = dummy_phot
pos3.species_type = "positron"
pos3.injection_style = "none"
pos3.do_not_push = 1
pos3.do_qed_quantum_sync = 1
pos3.qed_quantum_sync_phot_product_species = dummy_phot
pos4.species_type = "positron"
pos4.injection_style = "none"
pos4.do_not_push = 1
pos4.do_qed_quantum_sync = 1
pos4.qed_quantum_sync_phot_product_species = dummy_phot
dummy_phot.species_type = "photon"
dummy_phot.injection_style = "none"
#################################
##########QED TABLES####################
qed_bw.chi_min = 0.001
qed_bw.lookup_table_mode = "builtin"
#qed_bw.lookup_table_mode = "generate"
#qed_bw.tab_dndt_chi_min = 0.01
#qed_bw.tab_dndt_chi_max = 1000.0
#qed_bw.tab_dndt_how_many = 256
#qed_bw.tab_pair_chi_min = 0.01
#qed_bw.tab_pair_chi_max = 1000.0
#qed_bw.tab_pair_chi_how_many = 256
#qed_bw.tab_pair_frac_how_many = 256
#qed_bw.save_table_in = "bw_table"
#qed_bw.lookup_table_mode = "load"
#qed_bw.load_table_from = "bw_table"
qed_qs.chi_min = 0.001
qed_qs.lookup_table_mode = "builtin"
qed_qs.photon_creation_energy_threshold = 2
#qed_qs.lookup_table_mode = "generate"
#qed_qs.tab_dndt_chi_min = 0.001
#qed_qs.tab_dndt_chi_max = 1000.0
#qed_qs.tab_dndt_how_many = 256
#qed_qs.tab_em_chi_min = 0.001
#qed_qs.tab_em_frac_min = 1.0e-12
#qed_qs.tab_em_chi_max = 1000.0
#qed_qs.tab_em_chi_how_many = 256
#qed_qs.tab_em_frac_how_many = 256
#qed_qs.save_table_in = "qs_table"
#qed_qs.lookup_table_mode = "load"
#qed_qs.load_table_from = "qs_table"
#################################
### EXTERNAL E FIELD ### (3e15 * [-0.811107105653813 0.324442842261525 0.486664263392288] )
particles.E_ext_particle_init_style = "constant"
particles.E_external_particle = -2433321316961438 973328526784575 1459992790176863
####
### EXTERNAL B FIELD ### (1e7 * [0.28571429 0.42857143 0.85714286] )
particles.B_ext_particle_init_style = "constant"
particles.B_external_particle = 2857142.85714286 4285714.28571428 8571428.57142857
####
# Diagnostics
diagnostics.diags_names = diag1
diag1.intervals = 2
diag1.diag_type = Full
diag1.fields_to_plot = Ex
diag1.p1.variables = x y z ux uy uz w opticalDepthBW
diag1.p2.variables = x y z ux uy uz w opticalDepthBW
diag1.p3.variables = x y z ux uy uz w opticalDepthBW
diag1.p4.variables = x y z ux uy uz w opticalDepthBW
diag1.ele1.variables = x y z ux uy uz w opticalDepthQSR
diag1.ele2.variables = x y z ux uy uz w opticalDepthQSR
diag1.ele3.variables = x y z ux uy uz w opticalDepthQSR
diag1.ele4.variables = x y z ux uy uz w opticalDepthQSR
diag1.pos1.variables = x y z ux uy uz w opticalDepthQSR
diag1.pos2.variables = x y z ux uy uz w opticalDepthQSR
diag1.pos3.variables = x y z ux uy uz w opticalDepthQSR
diag1.pos4.variables = x y z ux uy uz w opticalDepthQSR
diag1.format = plotfile