This should not have been a single commit. Now we have input files. Also, I've restructured the code and renamed modules.
33 lines
898 B
Text
33 lines
898 B
Text
&reference
|
|
m_ref = 1.9712258e-25 ! Ion mass [kg]
|
|
Temp_ref = 30.0 ! Plasma temperature [eV]
|
|
n_ref = 1.0e24 ! Plasma density [m^-3]
|
|
/
|
|
|
|
&grid
|
|
r0 = 10.0e-6 ! Initial position [m]
|
|
rf = 2.0e-3 ! Final position [m]
|
|
dr = 1.0e-6 ! Spatial step [m]
|
|
v0 = -80e3 ! Lower limit for velocity space [m s^-1]
|
|
vf = 240e3 ! Upper limit for velocity space [m s^-1]
|
|
nv = 301 ! Number of grid points in the velocity space
|
|
/
|
|
|
|
&time
|
|
t0 = 0.0 ! Initial time [s]
|
|
tf = 3.0e-7 ! Final time [s]
|
|
cfl = 0.5 ! CFL condition (dt = CFL * dr / vf)
|
|
/
|
|
|
|
&detector
|
|
rCum = 1.0e-3 ! Position of the detector [m]
|
|
/
|
|
|
|
&boundary
|
|
filename = 'data/boundary/bc_80ns_T6.csv' ! File for boundary value
|
|
/
|
|
|
|
&Zbins
|
|
filename = 'data/TNZ/Sn.csv' ! File with table to get Z from Te and ne
|
|
ZList = 0.1, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0 ! Bins of average Z
|
|
/
|