Commit graph

7 commits

Author SHA1 Message Date
4b040c35c3 Fixes to random variables
After reading some works and reviewing what I had, I've done some
corrections to how the randomb velicities in Maxwellian distributions
are calculated. These should be correct now.
2025-08-02 13:25:48 +02:00
7f73b69dc2 Fix injection
Half-Maxwellian distribution should inject particles correctly
2025-07-27 17:14:38 +02:00
626e970d82 Some progress
Fixed an issue with random integer numbers.
Cylindrical coordinates are not perfect yet:
  - Box (cylinder) with initial constant density loses particles at r =
    0
  - Injection density still low in r = 0
2024-07-06 19:14:44 +02:00
b972120ed5 Switching to variable particle weight
I have to change the injection of particles. Each edge will receive a
similar number of particles and their weight will change to have a
constant density based on the geometry.

Still testing.
2024-07-04 10:56:13 +02:00
5386114d15 Cylindrical injection working better
Seems things are a bit better. Still, more cases are needed and still
not perfectly uniform...
2024-06-29 14:58:48 +02:00
6389c8ba2d Quick because food
Cartesian fixed now
2024-06-27 12:08:08 +02:00
9484502d0b Most of modules organized
Most of the modules are organized in subfolders.

Maybe some big re-organization is needed in the future, but for now I am
happy.
2022-12-24 13:26:10 +01:00
Renamed from src/modules/moduleRandom.f90 (Browse further)