Skip to main content

Simulation and visualization of Stokesian dynamics for N interacting particles

Project description

StokeD

StokeD solves the Stokesian dynamics (SD) equations for N interacting particles. SD is a generalization of Brownian dynamics (BD) that includes hydrodynamic coupling interactions.


Electrically charged particles repulsed from each other confined in a harmonic potential


Seven particles spinning due to an applied torque; the rotation of the fluid results in translational motion of the outer particles

Features

  • Hydrodynamic coupling interactions can be turned on or off
  • Flexible interface for user-defined particle interactions
  • Several interactions already available: point electrostatics and electrodynamics, screened Coulomb, van der Walls, hard-sphere collisions, gravity
  • Animation module for visualizing trajectories

Installation

StokeD can be installed with pip

pip install stoked

Usage

See the examples folder for how to use StokeD.

Run any of the available examples without explicit installation using uv:

Command Description
uvx stoked free_particle Free Brownian diffusion in 3D
uvx stoked estatics Electrostatic interactions with harmonic confinement
uvx stoked ellipsoid Ellipsoidal particle with external force and torque
uvx stoked tt_coupling Hydrodynamic translation-translation coupling
uvx stoked rt_coupling Hydrodynamic rotation-translation coupling
uvx stoked bigaussian_potential Particle in double-well potential

For full documentation, see docs folder.

License

StokeD is licensed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stoked-1.0.0.tar.gz (24.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stoked-1.0.0-py3-none-any.whl (37.0 kB view details)

Uploaded Python 3

File details

Details for the file stoked-1.0.0.tar.gz.

File metadata

  • Download URL: stoked-1.0.0.tar.gz
  • Upload date:
  • Size: 24.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for stoked-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d7e6c5ca6df065d94573943cd8bc3e03df4494dd52db4f59f4a8af74b621360c
MD5 2d7084872f822629884923fa609f0134
BLAKE2b-256 5cc2fba624c7a56e25e0c7c63a8f86a1e599c5091660b7d518c4f5d57fe9d517

See more details on using hashes here.

File details

Details for the file stoked-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: stoked-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 37.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for stoked-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6fd0bc19b8b4bf2ac210a953c4d0eafebbdce144b93ab9ae110292cbb1c6c00d
MD5 4d78638ff9122f71b8b5026db5cc15f4
BLAKE2b-256 ca252047a531d717e9479be033ba8facf9a76548d23c1daa5392ba79e9173ff0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page