Bioinspired milliscale near-boundary undulatory motion for effective fluid transport
Abstract
Numerical implementation based on the Cosserat rod model can effectively solve for dynamic deformations of slender rods, including bending, stretching, twisting, and shearing, as well as interactions with complex environments, such as contact and friction. To solve for the dynamic deformation of magnetically actuated flexible sheets, the sheet is equivalent to two identical slender rods with the same bending stiffness and total mass. Utilizing the PyElastica library, this code implements the deformation of magnetic sheets driven by a given magnetic field and introduces interactions with a rigid substrate.
This is a project for simulating assemblies of beam structures using Cosserat Rod theory with PyElastic.
Follow these steps to set up the project:
PyElastica is compatible with Python 3.10+.
Setup PyElastica:
Install PyElastica with the command:
pip install pyelastica
Additionally, magneto-pyelastica is designed for simulating magnetic Cosserat rods interacting with external magnetic environments.
Install magneto-pyelastica with the command:
pip install magneto_pyelastica
After completing the setup process, just run the code (share.py).
