This directory contains number of examples illustrating usage of MagnetoPyElastica. Each of the example cases is stored in separate subdirectories, containing case descriptions, run file, and all other data/scripts necessary to run.
In order to run examples, you will need to install additional dependencies via
make install_examples_dependencies
Examples can serve as a starting template for customized usages.
- ConstantMagnetiField
- Purpose: Physical convergence test of simple magnetic rod under constant field.
- Features: CosseratRod, MagneticForces, ConstantMagneticField
- RotatingMagneticField
- Purpose : Magnetic rod under rotating magnetic field.
- Features: CosseratRod, MagneticForces, SingleModeOscillatingMagneticField
- Magnetic2DCiliaCarpet
- Purpose : Many magnetic rods that have different magnetization direction under rotating magnetic field.
- Features: CosseratRod, MagneticForces, SingleModeOscillatingMagneticField