-
Notifications
You must be signed in to change notification settings - Fork 111
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
121 rigid body rod contact friction #124
121 rigid body rod contact friction #124
Conversation
Codecov Report
@@ Coverage Diff @@
## update-0.2.4 #124 +/- ##
================================================
- Coverage 86.87% 86.50% -0.38%
================================================
Files 40 40
Lines 2567 2578 +11
Branches 345 346 +1
================================================
Hits 2230 2230
- Misses 315 325 +10
- Partials 22 23 +1
Continue to review full report at Codecov.
|
@poratamir I am adding you to this PR, since you are interested in rod-cylinder contact. |
Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor changes, @armantekinalp have a look and see if they make sense, I can help out in implementing these changes.
... k=1e4, | ||
... nu=10, | ||
... velocity_damping_coefficient=10, | ||
... kinetic_friction_coefficient=10, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
show illustration range value in 0-1 range maybe?
examples/RigidBodyCases/RodRigidBodyContact/rod_cylinder_contact_friction.py
Outdated
Show resolved
Hide resolved
examples/RigidBodyCases/RodRigidBodyContact/rod_cylinder_contact_friction.py
Outdated
Show resolved
Hide resolved
examples/RigidBodyCases/RodRigidBodyContact/rod_cylinder_contact_friction.py
Outdated
Show resolved
Hide resolved
examples/RigidBodyCases/RodRigidBodyContact/rod_cylinder_contact_friction.py
Outdated
Show resolved
Hide resolved
examples/RigidBodyCases/RodRigidBodyContact/rod_cylinder_contact_friction.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Fixes #121 We implemented friction model between rod and cylinder that are in contact, together with example cases.
Here are the some of the results.
rod_one
is the Cosserat Rod,rod_two
is the cylinder. We apply a force onrod_one
and fix the position ofcylinder
. For the below case there is no friction between them.2D_xz_rod_cylinder_contact.mp4
In the second case we added friction and
rod_one
does not move.2D_xz_rod_cylinder_contact.mp4
Also we varied the the applied force on
rod_one
and plotted the energy vs applied external force. As it can be seen from the below graph after applied force is greater than some value, energy ofrod_one
starts to increase. In other wordsrod_one
starts to move.