PyElastica Tutorials

We have developed a number of different Jupyter notebook tutorials to explain how to use Elastica to simulate Cosserat rods in a number of different cases. Thanks to BinderHub, you can run these tutorials in directly in your web browser without needing to first download and install PyElastica.

We suggest beginning with the Timoshenko beam tutorial available here. It walks through how to set up and simulate a very simple Cossert rod model and explains the basics of how to use Elastica. timoshenko_beam_figure

After this, for a tutorial covering more complicated use cases of a single Cosserat rods, check out the slithering snake tutorial, available here. This tutorial covers a possible use case of Cosserat rods and shows how to post-process the simulation to get quantitative data about the system as well as visualize the output.

A list of all the available Jupyter notebook tutorials is here. We are working to add more. If you think you have an interesting use case of Cosserat rods and Elastica and would like to showcase please make a pull request so we can add it!

There are also a number of example Python scripts available here that cover convergence testing, parameter optimization and other more complex use cases. As a warning, these more complex cases take a much longer time to run.

More about PyElastica

If you want to learn more bout PyElastica and Cosserat rods, visit the project website. Or visit the PyElastica GitHub repo.

PyElastica Documentation

Documentation of PyElastica is available online here. There is also a getting started guide on the project website here.

In [ ]: