EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Pychastic: Precise Brownian dynamics using Taylor-Itō integrators in Python

Radost Waszkiewicz, Maciej Bartczak, Kamil Kolasa, Maciej Lisicki

SciPost Physics Codebases · 2023

DOI: 10.21468/scipostphyscodeb.11 ↗

Kurz gefasst

Fachartikel in der Zeitschrift SciPost Physics Codebases, 2023. Verfasst von Radost Waszkiewicz und 3 weiteren Autor:innen. Die Arbeit wurde bisher 7-mal zitiert (Crossref) und nennt 39 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Narodowe Centrum Nauki.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

In the last decade, Python-powered physics simulations ecosystem has been growing steadily, allowing greater interoperability, and becoming an important tool in numerical exploration of physical phenomena, particularly in soft matter systems. Driven by the need for fast and precise numerical integration in colloidal dynamics, here we formulate the problem of Brownian Dynamics (BD) in a mathematically consistent formalism of the Itō calculus, and develop a Python package to assist numerical computations. We show that, thanks to the automatic differentiation packages, the classical truncated Taylor-Itō integrators can be implemented without the burden of computing the derivatives of the coefficient functions beforehand. Furthermore, we show how to circumvent the difficulties of BD simulations such as calculations of the divergence of the mobility tensor in the diffusion equation and discontinuous trajectories encountered when working with dynamics on S^2 S 2 and SO(3) S O ( 3 ) . The resulting Python package, Pychastic, is capable of performing BD simulations including hydrodynamic interactions at speeds comparable to dedicated implementations in lower-level programming languages, but with a much simpler end-user interface.

Förderung

  • Narodowe Centrum Nauki

Zitieren

APA

Waszkiewicz, R., Bartczak, M., Kolasa, K., & Lisicki, M. (2023). Pychastic: Precise Brownian dynamics using Taylor-Itō integrators in Python. SciPost Physics Codebases. https://doi.org/10.21468/scipostphyscodeb.11

Vancouver

Waszkiewicz R, Bartczak M, Kolasa K, Lisicki M. Pychastic: Precise Brownian dynamics using Taylor-Itō integrators in Python. SciPost Physics Codebases. 2023. doi:10.21468/scipostphyscodeb.11

BibTeX
@article{Waszkiewicz2023,
  author = {Waszkiewicz, Radost and Bartczak, Maciej and Kolasa, Kamil and Lisicki, Maciej},
  title = {Pychastic: Precise Brownian dynamics using Taylor-Itō integrators in Python},
  journal = {SciPost Physics Codebases},
  year = {2023},
  doi = {10.21468/scipostphyscodeb.11}
}
Kostenlos starten →