Still unsure, but things fixed
There was an issue with the calculation of theta and phi for the rotation from W to C. This was causing some velocities not being correct. Now the angles are properly computed. Still unsure about the e-i collisions as they seem to be quite small. Probably a numerical issue with the mass ratios still exists.
This commit is contained in:
parent
f63e34e266
commit
a891360b7a
2 changed files with 15 additions and 20 deletions
|
|
@ -83,9 +83,9 @@ MODULE moduleCoulomb
|
|||
|
||||
self%lnCoulomb = 10.0 !Make this function dependent
|
||||
|
||||
scaleFactor = (n_ref * qe**4) / (eps_0**2 * m_ref**2 * v_ref**3) * ti_ref
|
||||
scaleFactor = (n_ref * qe**4 * ti_ref) / (eps_0**2 * m_ref**2 * v_ref**3)
|
||||
|
||||
self%A_i = Z_i**2*Z_j**2*self%lnCoulomb / (2.D0 * PI**2 * self%sp_i%m**2) * scaleFactor
|
||||
self%A_i = Z_i**2*Z_j**2*self%lnCoulomb / (2.D0 * PI**2 * self%sp_i%m**2) * scaleFactor !Missing density because it's cell dependent
|
||||
|
||||
self%l2_j = self%sp_j%m / 2.D0 !Missing temperature because it's cell dependent
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue