afivo-streamer 1.1
1D/2D/3D streamer simulations with AMR
Loading...
Searching...
No Matches
m_units_constants.f90
Go to the documentation of this file.
1!> Module that contains physical and numerical constants
3 implicit none
4 public
5
6 integer, parameter, private :: dp = kind(0.0d0)
7
8 ! Numerical constants
9 real(dp), parameter :: uc_pi = acos(-1.0_dp)
10
11 ! Permitivity of vacuum (SI)
12 real(dp), parameter :: uc_eps0 = 8.8541878128e-12_dp
13
14 ! The elementary charge in Coulombs
15 real(dp), parameter :: uc_elem_charge = 1.602176634e-19_dp
16
17 ! The electron charge in Coulombs
18 real(dp), parameter :: uc_elec_charge = -uc_elem_charge
19
20 ! The eV in joules
21 real(dp), parameter :: uc_elec_volt = uc_elem_charge
22
23 ! The electron mass in kg
24 real(dp), parameter :: uc_elec_mass = 9.1093837015e-31_dp
25
26 ! The atomic mass unit in kg
27 real(dp), parameter :: uc_atomic_mass = 1.6605390666e-27_dp
28
29 ! The mass of a N2 molecule
30 real(dp), parameter :: uc_n2_mass = 28.0d0 * uc_atomic_mass
31
32 ! The mass of an O2 molecule
33 real(dp), parameter :: uc_o2_mass = 32.0d0 * uc_atomic_mass
34
35 ! The speed of light in m/s
36 real(dp), parameter :: uc_lightspeed = 299792458.0_dp
37
38 ! The Boltzmann constant in J/K
39 real(dp), parameter :: uc_boltzmann_const = 1.380649e-23_dp
40
41 ! The Bohr radius (m)
42 real(dp), parameter :: uc_bohr_radius = 5.29177210903e-11_dp
43
44 ! One Torr in units of bar
45 real(dp), parameter :: uc_torr_to_bar = 133.32236842105263_dp * 1.0e-5_dp
46
47 ! Electron charge over epsilon0
48 real(dp), parameter :: uc_elec_q_over_eps0 = uc_elec_charge / uc_eps0
49
50 ! Electron charge over electron mass
51 real(dp), parameter :: uc_elec_q_over_m = uc_elec_charge / uc_elec_mass
52
53end module m_units_constants
Module that contains physical and numerical constants.
real(dp), parameter uc_elec_q_over_eps0
real(dp), parameter uc_n2_mass
real(dp), parameter uc_o2_mass
real(dp), parameter uc_elem_charge
real(dp), parameter uc_pi
real(dp), parameter uc_eps0
real(dp), parameter uc_boltzmann_const
real(dp), parameter uc_elec_mass
real(dp), parameter uc_atomic_mass
real(dp), parameter uc_lightspeed
real(dp), parameter uc_torr_to_bar
real(dp), parameter uc_elec_q_over_m
real(dp), parameter uc_elec_volt
real(dp), parameter uc_bohr_radius
real(dp), parameter uc_elec_charge