-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinput.deck
More file actions
78 lines (62 loc) · 1.34 KB
/
input.deck
File metadata and controls
78 lines (62 loc) · 1.34 KB
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
begin:control
nx = 1024
ny = 1024
# final time of simulation
nsteps = 100
# size of domain
x_min = 0
x_end = 1
y_min = 0
y_max = 1
stdout_frequency = 10
end:control
begin:boundaries
bc_x_min = simple_outflow
bc_x_max = simple_outflow
bc_y_min = periodic
bc_y_max = periodic
end:boundaries
begin:window
move_window = T
window_start_time = 0
bc_x_min_after_move = simple_outflow
bc_x_max_after_move = simple_outflow
window_v_x = 2e8
end:window
begin:constant
x0 = 1.31
y0 = 0.5
r0 = 0.4^2
r2 = (x - x0)^2 + (y - y0)^2
end:constant
begin:species
# electron
name = electron
charge = -1.0
mass = 1.0
nparticles_per_cell = 5
#number_density = if(r2 lt r0, 2*exp(-((time*5e8)^2)), 1)
number_density = if(abs(x-x0) lt 0.3, 2, 1)
number_density = if(abs(y-y0) lt 0.2, number_density(electron), 1)
#number_density = if(abs(x-x0) lt 0.3, if(abs(y-y0) lt 0.2, 2, 1), 1)
#temperature_ev = if(r2 lt r0, 2*exp(-((time*5e8)^2)), 1)
temperature_ev = 0
end:species
begin:output
name = normal
disabled = F
nstep_snapshot = 20
# Properties at particle positions
particles = never
px = never
py = never
pz = never
vx = never
vy = never
vz = never
particle_weight = never
# Properties on grid
grid = always
number_density = always + species
temperature = always + species
end:output