Skip to content

Commit

Permalink
update readme and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeshrinet committed Apr 28, 2024
1 parent 776a3ec commit e2844c2
Show file tree
Hide file tree
Showing 13 changed files with 413 additions and 155 deletions.
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -20,6 +20,12 @@

[PyStokes](https://github.com/rajeshrinet/pystokes) is a numerical library for phoresis and Stokesian hydrodynamics in Python. It uses a grid-free method, combining the integral representation of Laplace and Stokes equations, spectral expansion, and Galerkin discretization, to compute phoretic and hydrodynamic interactions between spheres with slip boundary conditions on their surfaces. The library also computes suspension scale quantities, such as rheological response, energy dissipation and fluid flow. The computational cost is quadratic in the number of particles and upto 1e5 particles have been accommodated on multicore computers. The library has been used to model suspensions of **microorganisms**, **synthetic autophoretic particles** and **self-propelling droplets**.

You can take PyStokes for a spin online using Google Colab: <a target="_blank" href="https://colab.research.google.com/github/rajeshrinet/pystokes/blob/master/examples/ex01a-colab.ipynb">
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
</a>

<br>

Please read the PyStokes [paper](https://doi.org/10.21105/joss.02318) and [Wiki](https://github.com/rajeshrinet/pystokes/wiki) before you use PyStokes for your research. Included below are some examples from [PyStokes Gallery](https://github.com/rajeshrinet/pystokes/wiki/Gallery):

### Periodic orbits of active particles
Expand Down Expand Up @@ -181,3 +187,4 @@ A selected list of publications is given below. See full publication list [here]
## License
We believe that openness and sharing improves the practice of science and increases the reach of its benefits. This code is released under the [MIT license](http://opensource.org/licenses/MIT). Our choice is guided by the excellent article on [Licensing for the scientist-programmer](http://www.ploscompbiol.org/article/info%3Adoi%2F10.1371%2Fjournal.pcbi.1002598).


6 changes: 6 additions & 0 deletions docs/sphinx/unbounded.rst
Expand Up @@ -14,3 +14,9 @@ Flow
.. autoclass:: pystokes.unbounded.Flow
:members:


Power Dissipation (PD)
--------------------------
.. autoclass:: pystokes.unbounded.PD
:members:

5 changes: 5 additions & 0 deletions docs/sphinx/wallBounded.rst
Expand Up @@ -14,3 +14,8 @@ Flow
.. autoclass:: pystokes.wallBounded.Flow
:members:


Power Dissipation (PD)
--------------------------
.. autoclass:: pystokes.unbounded.PD
:members:
132 changes: 132 additions & 0 deletions examples/ex01-unboundedFlow.ipynb

Large diffs are not rendered by default.

169 changes: 149 additions & 20 deletions examples/ex1-unboundedFlow.ipynb → examples/ex01a-colab.ipynb

Large diffs are not rendered by default.

File renamed without changes.
113 changes: 113 additions & 0 deletions examples/ex03-crystalNucleation.ipynb

Large diffs are not rendered by default.

Expand Up @@ -147,7 +147,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.13"
"version": "3.10.9"
}
},
"nbformat": 4,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
134 changes: 0 additions & 134 deletions examples/ex3-crystalNucleation.ipynb

This file was deleted.

0 comments on commit e2844c2

Please sign in to comment.