News for hackers. Stuff that matters.
Re:A simplified Python simulation of diffusion by ijustlovemath on Sunday June 30, 2024 @07:43PM (#40841381)
Wouldn't they lose momentum to heating the environment?
Re:A simplified Python simulation of diffusion by powersnail on Sunday June 30, 2024 @08:33PM (#40841591)
At the level of particles, isn't "heating" the same as speeding up?
Re:A simplified Python simulation of diffusion by ijustlovemath on Monday July 01, 2024 @12:50AM (#40842608)
Yes! I was pointing out that particles typically lose energy to collision with the environment, not gain it (as the OP implied)
Re:A simplified Python simulation of diffusion by topherclay on Monday July 01, 2024 @01:08AM (#40842681)
OP was suggesting a way to artificially control the temperature, so they would artificially add energy to raise temperature.
Re:A simplified Python simulation of diffusion by programjames on Monday July 01, 2024 @05:09PM (#40850721)
Nah, the goal isn't to add or subtract energy, just change the entropy. If you have a process that on average doesn't change energy, but makes the distribution of speeds more or less narrow, then that is temperature control. I thought adding a fixed amount of momentum in a random direction (where higher temperature = more momentum) would be a way to control temperature. However, that actually increases energy on average, so you would need some way to lose energy to the environment as @ijustlovemath pointed out.