Skip to content
Discussion options

You must be logged in to vote

@Qin-Shaowen Here is some changes and comments for the code. I left Note comments where I made changes.
Mainly,

  • Showed how to use ea.Sphere with fixed relative orientation (I believe this is what you want: link the angular momentum).
  • Tuned some parameters

Most of the code should be the same. Please take a look.

Probably, few physical parameters (contact springs and dissipation) needs to be reconsidered to match the timescale exactly, but I would start from this.

bell_simulation.mp4
import numpy as np
import matplotlib.pyplot as plt
from elastica import *
from elastica._rotations import get_relative_rotation_two_systems

rod_length = 0.4
radius = 1.2e-3
density = 1200.0
E = 0.8e6

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Qin-Shaowen
Comment options

@skim0119
Comment options

Answer selected by skim0119
@Qin-Shaowen
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
2 participants