Add your description here
Project description
Hard Spheres in 2d
Simulating hard spheres in two dimensions using event driven molecular dynamics and visualizing rotational symmetry using psi-6.
Setup
git clone
cd hardspheres-2d
uv sync
For the installation of uv see here.
Note: this project uses Rust 1.82. So you may need to install the rust toolchain.
How to use
Command Line
To run the event driven molecular dynamics simulation from your command line you can check out
uv run hardspheres2d --help
Notebook
Alternatively, the notebook ./melting-hard-sphere-hexagons.ipynb contains all the steps to set up and run event driven molecular dynamcis on your machine. As well as some sanity checks to better understand what is going on.
To visualize the dynamics you may want to install ovito. The base version is sufficient.
Developing
During your rust edits you want to update your build artefacts so you can use them from python / a notebook. For this please use
make update
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hardspheres_2d-0.1.0.tar.gz.
File metadata
- Download URL: hardspheres_2d-0.1.0.tar.gz
- Upload date:
- Size: 5.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab3f2684fcbf80937ed733cdf89e6baf65554055a0320b42042aaecabedd0019
|
|
| MD5 |
94054540916320e5807f7feb29f277e1
|
|
| BLAKE2b-256 |
0836c60fb610ee9720b3e7512064fe29c4a677eb8684b20a7e5e861e8a23ec55
|
File details
Details for the file hardspheres_2d-0.1.0-cp39-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: hardspheres_2d-0.1.0-cp39-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 298.2 kB
- Tags: CPython 3.9+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6541c549f251931ba5b9a4b5e9491543a71681fc872009c606d1ab93883234a0
|
|
| MD5 |
95c057c194796cb5d5b088aee2b7161a
|
|
| BLAKE2b-256 |
7f77a11c5faa7b6ffa2914641b01bc154af519d604ecdccb7ebd38ed5ad0ac5c
|