[M1] |
Compute ‘free-flight positions’ of heat bath particles and the heavy particle at time t+Δt using step [A1]. |
[M2] |
Compute post-collision velocities by (2.5) for every pair of particles which collided using step [A2]. |
[M3] |
Terminate trajectories of heat bath particles which left the subdomain ΩD=(−L,0). Update n accordingly. |
[M4] |
Implement the influx of heat bath particles through the boundary x=−L using step [A4]. |
[M5] |
If X(t)∉(−R,R), then generate a random number r2 uniformly distributed in (0,1). If r2<γ(μ+1)Δt/8, then increase n by 1, and introduce a new heat bath particle at position xn(t+Δt) with velocity vn(t+Δt) which are sampled according to probability distributions (4.6) and (4.7). |
[M6] |
If X(t)∈(−R,R), then update the heavy particle velocity using (4.1). |
[M7] |
If X(t)∈[R,L), then update the velocity of the heavy particle using (4.8). |
[M8] |
Continue with step [M1] using time t=t+Δt. |