First conservative implementation of Coulomb

I am doing a trick in which I ensure that energy is conserved for
Coulomb collisions. This was not happening and what an issue for
different mass ratios. Still, this can cause an issue on getting the
right relaxation rates, still necessary to check it.
This commit is contained in:
Jorge Gonzalez 2023-03-08 16:37:45 +01:00
commit fe94615a27
4 changed files with 26 additions and 13 deletions

View file

@ -144,7 +144,6 @@ MODULE moduleInput
EF_ref = qe*n_ref*L_ref/eps_0 !reference electric field
Volt_ref = EF_ref*L_ref !reference voltage
B_ref = m_ref / (ti_ref * qe) !reference magnetic field
e_ref = qe/(m_ref*v_ref**2) !reference charge
!If a reference cross section is given, it is used
CALL config%get(object // '.sigmaVrel', sigmavRel_ref, found)