Code Monkey home page Code Monkey logo

magnetopyelastica's Introduction

MagnetoPyElastica

CI codecov DOI

MagnetoPyElastica is an open-source project for simulating magnetic Cosserat rods interacting with external magnetic environments, and is an extension of PyElastica.

cilia_carpet_cropped.mov

Visit cosseratrods.org to learn more about Elastica and Cosserat rod theory.

Installation

MagnetoPyElastica is compatible with Python 3.8 - 3.10. The easiest way to install MagnetoPyElastica is with PIP.

$ pip install magneto_pyelastica

Tutorials

We have included example scripts for some illustration cases and these scripts located under examples folder (examples/).

Contribution

If you would like to participate, please read our contribution guideline

MagnetoPyElastica is developed by the Gazzola Lab at the University of Illinois at Urbana-Champaign.

Citation

@software{yashraj_bhosale_2023_7658892,
  author       = {Yashraj Bhosale and
                  Arman Tekinalp},
  title        = {{MagnetoPyElastica:  Open-source software for 
                   simulating magnetic Cosserat rods}},
  month        = feb,
  year         = 2023,
  publisher    = {Zenodo},
  version      = {v.0.0.1.post1},
  doi          = {10.5281/zenodo.7658892},
  url          = {https://doi.org/10.5281/zenodo.7658892}
}

Senior Developers ✨

Names arranged alphabetically

magnetopyelastica's People

Contributors

armantekinalp avatar bhosale2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

magnetopyelastica's Issues

Force induced by non-uniform magnetic field

Hi there,

I am wondering if MagnetoPyElastica only consider magnetic torque $\tau = m \times B$, where $m$ represents magnetization and $B$ is the externel magnetic field, or if it also accounts for the force induced by non-uniform magnetic field $F = \nabla (m\cdot B)$? I noticed that in magnetic_forces.py, the MagneticForces class only applies torque to the rod.

Thank you in advance for your response.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.