jlian / 2d-gas-simulator

A 2D gas collision simulator written in MATLAB
MIT License
1 stars 3 forks source link

boltzmann constant and Temperature #2

Open ArisuTsuberuku opened 2 years ago

ArisuTsuberuku commented 2 years ago

Hi JLian, i am working with Matlab, and I have read about your 2d gas simulation. I have a question about TwoDSim.m image Can you explain why k = 1 and Temp = 1/2 Thanks a lot

jlian commented 1 year ago

Sorry, it's been a long time and I can't remember exactly. I think these figures came from the relevant chapter in Molecular Dynamics Simulation by Haile, J. M..