forked from BLAST-WarpX/warpx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinputs_3d
189 lines (160 loc) · 5.91 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
#################################
####### 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.25e-6 -0.25e-6 -0.25e-6 # physical domain
geometry.prob_hi = 0.25e-6 0.25e-6 0.25e-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 qsp_1 qsp_2 qsp_3 qsp_4 dummy_ele dummy_pos
particles.photon_species = qsp_1 qsp_2 qsp_3 qsp_4
#################################
p1.species_type = "electron"
p1.injection_style = "NUniformPerCell"
p1.profile = "constant"
p1.num_particles_per_cell_each_dim = 8 8 4
p1.density = 1e1
p1.momentum_distribution_type = "constant"
p1.ux = 10.0
##########QED####################
p1.do_qed_quantum_sync = 1
p1.qed_quantum_sync_phot_product_species = qsp_1
#################################
p2.species_type = "electron"
p2.injection_style = "NUniformPerCell"
p2.profile = "constant"
p2.num_particles_per_cell_each_dim = 8 8 4
p2.density = 1e1
p2.momentum_distribution_type = "constant"
p2.uy = 100.0
##########QED####################
p2.do_qed_quantum_sync = 1
p2.qed_quantum_sync_phot_product_species = qsp_2
#################################
p3.species_type = "positron"
p3.injection_style = "NUniformPerCell"
p3.profile = "constant"
p3.num_particles_per_cell_each_dim = 8 8 4
p3.density = 1e1
p3.momentum_distribution_type = "constant"
p3.uz = 1000.0
##########QED####################
p3.do_qed_quantum_sync = 1
p3.qed_quantum_sync_phot_product_species = qsp_3
#################################
p4.species_type = "positron"
p4.injection_style = "NUniformPerCell"
p4.profile = "constant"
p4.num_particles_per_cell_each_dim = 8 8 4
p4.density = 1e1
p4.momentum_distribution_type = "constant"
p4.ux = 5773.502691896
p4.uy = 5773.502691896
p4.uz = 5773.502691896
##########QED####################
p4.do_qed_quantum_sync = 1
p4.qed_quantum_sync_phot_product_species = qsp_4
#################################
### PRODUCT SPECIES ###
qsp_1.species_type = "photon"
qsp_1.injection_style = "none"
qsp_1.do_qed_breit_wheeler = 1
qsp_1.qed_breit_wheeler_ele_product_species = dummy_ele
qsp_1.qed_breit_wheeler_pos_product_species = dummy_pos
qsp_2.species_type = "photon"
qsp_2.injection_style = "none"
qsp_2.do_qed_breit_wheeler = 1
qsp_2.qed_breit_wheeler_ele_product_species = dummy_ele
qsp_2.qed_breit_wheeler_pos_product_species = dummy_pos
qsp_3.species_type = "photon"
qsp_3.injection_style = "none"
qsp_3.do_qed_breit_wheeler = 1
qsp_3.qed_breit_wheeler_ele_product_species = dummy_ele
qsp_3.qed_breit_wheeler_pos_product_species = dummy_pos
qsp_4.species_type = "photon"
qsp_4.injection_style = "none"
qsp_4.do_qed_breit_wheeler = 1
qsp_4.qed_breit_wheeler_ele_product_species = dummy_ele
qsp_4.qed_breit_wheeler_pos_product_species = dummy_pos
#################################
dummy_ele.species_type = "electron"
dummy_ele.injection_style = "none"
dummy_pos.species_type = "positron"
dummy_pos.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 = 0.0
#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 opticalDepthQSR
diag1.p2.variables = x y z ux uy uz w opticalDepthQSR
diag1.p3.variables = x y z ux uy uz w opticalDepthQSR
diag1.p4.variables = x y z ux uy uz w opticalDepthQSR
diag1.qsp_1.variables = x y z ux uy uz w opticalDepthBW
diag1.qsp_2.variables = x y z ux uy uz w opticalDepthBW
diag1.qsp_3.variables = x y z ux uy uz w opticalDepthBW
diag1.qsp_4.variables = x y z ux uy uz w opticalDepthBW