Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magnetic elastica #75

Closed

Conversation

armantekinalp
Copy link
Contributor

This PR adds magnetic rod features to PyElastica

  • Magnetic rod, which is derived from a Cosserat Rod is implemented.
  • Two new forcing classes are added in order to actuate magnetic rod under constant and rotating magnetic field.
  • Unit test cases and documentations are added.
  • Magnetic rod implementation is validated by comparing with analytical solution.
  • In order to demonstrate deformations of magnetic rod under the rotating magnetic field, a magnetic cilia carpet example is added based on this paper.

armantekinalp and others added 30 commits April 17, 2022 12:18
This commit adds a script for simulating elastic clamped beam under
constant magnetic field. We also included the analytical solution here
as well.
Magnetic rod derived from Cosserat rod and we added a new variable
called 'magnetization_collection'. We also added new memory block
structure.
This commit changes the magnetic rod inputs.
Now magnetic rod will take magnetization density and magnetization
direction in lab frame. Then using these we compute
magnetization_collection.
This commit updates magnetic rod simulation for the new magnetic force
interface.
This commit adds the example code for a rod under rotating magnetic
field.
@armantekinalp armantekinalp added the enhancement New feature or request label Apr 26, 2022
@armantekinalp armantekinalp added this to the Version 0.2.3 milestone Apr 26, 2022
@armantekinalp armantekinalp requested a review from skim0119 April 26, 2022 16:03
@skim0119 skim0119 changed the base branch from update-0.2.3 to update-0.3.0 April 26, 2022 20:12
@skim0119
Copy link
Collaborator

I'm gonna go over this PR later. I don't think it is urgent for 0.2.3, so I changed the base to 0.3.0.

armantekinalp and others added 3 commits May 11, 2022 16:57
We added friction plane, connection between two perpendicular rods and
run script for magnetic milipede
@skim0119
Copy link
Collaborator

skim0119 commented Jun 7, 2022

@armantekinalp @bhosale2 Did we decide to put these updates in PyElastica repo?

@armantekinalp
Copy link
Contributor Author

We will have a separate repo for magnetism. However, we need to do code refactoring in PyElastica end. We can cancel this PR.

@skim0119
Copy link
Collaborator

skim0119 commented Jun 7, 2022

@armantekinalp Can you make another PR with the necessary changes cherry-picked?

@bhosale2
Copy link
Collaborator

bhosale2 commented Jun 8, 2022

@armantekinalp let's finalize the consensus on this and close the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants