Skip to content

Boundary conditions and external torque implementation for a simply supported rod #431

Closed

Description

@Srishti-Siddharth-iitb

For one of my applications, I wish to simulate the Cosserat rod with the following boundary conditions:

  1. Base of the rod: Position $r=[0;0;0]$ is fixed, the orientation $Q \in $ SO(3) is free, and there is an external torque (only at the base) to rotate the rod.
  2. Tip of the rod: free, no external forces or torques.

I have attached a figure explaining the setup. Could you please let me know how to simulate this rod using PyElastica?

Rotating_rod

Activity

  1. armantekinalp commented on Aug 22, 2024

    @armantekinalp
    Contributor

    Hey

    You can use GeneralConstraints as a boundary condition in PyElastica. Please see the documentation.

    For the rotating torque you have to write a custom forcing class for you application. Please see EndPointForces class here. Although this forcing classs applies tip force, implementation wise it is very similar to your application.

  2. armantekinalp commented on Aug 22, 2024

    @armantekinalp
    Contributor

    I am converting this to a discussion since it is not an issue.

  3. locked and limited conversation to collaborators on Aug 22, 2024
  4. converted this issue into a discussion #433 on Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions