Simulation of a 2D gas of colliding circular balls

バージョン 1.0.0 (2.69 KB) 作成者: ofer v
Simple simulation of a 2D gas of elastically colliding circular balls of various masses and radii
ダウンロード: 115
更新 2019/7/16

ライセンスの表示

run_sim2d(N,mass,radius)

Simple simulation of a 2D gas of colliding circular balls.
N,mass & radius are vectors of the same length specifying the
number,masses & radii of the balls.

example : run_sim2d([400 100],[1 2],[0.005 0.01])
creates a simulation with 400 balls of mass 1 and radius 0.005, and 100
balls of mass 2 and radius 0.01

The box coordinates are defined such that min(width,height) is 1 unit.
The simulation is initialized with uniformly random positions and a
constant speed in the horizontal direction.

引用

ofer v (2024). Simulation of a 2D gas of colliding circular balls (https://www.mathworks.com/matlabcentral/fileexchange/72157-simulation-of-a-2d-gas-of-colliding-circular-balls), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2019a
R2016b 以降のリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersOil, Gas & Petrochemical についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0