-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathlangmuirWarm.ini
79 lines (67 loc) · 2.64 KB
/
langmuirWarm.ini
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
;
; @file input.ini
; @author Sigvald Marholm <[email protected]>
; @copyright University of Oslo, Norway
; @brief PINC input file template.
; @date 11.10.15
;
[files]
output = data/ ; data file path (including filename prefix)
[objects]
objects = sphere.h5, sphere2.txt ; paths to objects
[msgfiles]
parsedump = parsedump.txt ; Info on how input was parsed
[time]
nTimeSteps = 600 ; Number of time steps
timeStep = 0.1 ; Time step (in 1/omega_p of specie 0)
startTime = 0.0 ; Start time, in case of continuing a simulation
; Use comma-separated lists to specify several dimensions.
[grid]
nDims=3
nSubdomains=1,2,2 ; Number of subdomains
nEmigrantsAlloc=1 pc, 2 pc, 4 pc ; Number of particles to allocate for (corner, edge, face)
debye=0.52 ; Debye length of specie 0 (in meters)
trueSize=32,16,16 ; Number of (true) grid points per MPI node
stepSize=0.2 ; Cell size (in Debye lengths of specie 0)
nGhostLayers = 1 ; Number of Ghost points [x_min, y_min,...,x_max,...]
thresholds=0.1 ; Thresholds for particle migration
boundaries = PERIODIC ; Boundary conditions at edges
; Domain size computed as (nSubdomains*trueSize-1)*stepSize
[fields]
BExt=0,0,0 ; Externally imposed B-field
EExt=0,0,0 ; Externally imposed E-field
[population]
; Use comma-separated lists to specify several species.
; The first specie is used for normalizing
nSpecies = 2
nParticles = 64 pc
nAlloc = 96 pc ; Number of particles to allocate memory for
charge = -1,1
mass = 1,1836
multiplicity = auto
thermalVelocity = 0.02,0.00046
;thermalVelocity = 0,0
maxVel = 1
drift = 0
perturbAmplitude = 0,0,0.1,0,0,0
perturbMode = 0,0,1,0,0,0
[methods]
; TBD: which solvers/algorithms to use?!
mode = regular
poisson = mgSolver
acc = puAcc3D1KE
distr = puDistr3D1
migrate = puExtractEmigrants3D
[multigrid]
; Specific parameters of each algorithm? E.g. depth of MG, BCs
cycle = mgVRecursive ; Choice of mg cycle type
preSmooth = gaussSeidelRB ; Choice of presmoother method (Only 1 possible option yet)
postSmooth = gaussSeidelRB ; Choice of postsmoother method
coarseSolver = gaussSeidelRB ; Choice of coarse grid solver
mgLevels = 5 ; Number of Multigrid levels
mgCycles = 15 ; Number of cycles
nPreSmooth = 10 ; Number of iterations for the presmoother
nPostSmooth = 10 ; Number of iterations for the postsmoother
nCoarseSolve = 10
prolongator = bilinear ; Prolongation stencil
restrictor = halfWeight ; Restrictor stencil