I want to model a mechanism (see attached image) with the following setup:
Body 1 and Body 2 are in contact, and Body 3 is an arm connected to the mechanism.
I want to pull the end of Body 3 at a constant speed of 30 mm/s.
While pulling, I need to track the force (magnitude and direction) at the pulling point until Body 1 and Body 2 slip relative to each other.
A constant 100 N force is applied to Body 1, trying to rotate it counterclockwise (CCW).
Could you guide me on how to create the basic shapes for these bodies in PyChrono and how to simulate this pulling motion and measure the reaction force?
A good start would probably be to use the Solidworks to PyChrono pipeline.
Not that you have to, but it could give you a jump start.
Dan
---------------------------------------------
Bernard A. and Frances M. Weideman Professor
NVIDIA CUDA Fellow
Department of Mechanical Engineering
Department of Computer Science
University of Wisconsin - Madison
4150ME, 1513 University Avenue
Madison, WI 53706-1572
---------------------------------------------

--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
projectchron...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/projectchrono/52f2d3e4-42f7-42c7-beb5-5e42c7b30d40n%40googlegroups.com.
Dear Sir,
I currently do not have access to SolidWorks. My present goal is to generate a basic planar mechanism, and I would appreciate your guidance on the best approach to start.
For example, if I need to create one body composed of three basic shapes, should I model it as three separate bodies or use the VisualShape method? Similarly, for linkages, would it be better to use EasyBox or LinkSegment?
Could you kindly provide a quick overview of the most suitable methods or components to use for this purpose? I would like to try implementing an initial-level code based on your suggestions.
Thank you for your time and support.
I’m working on a design optimization algorithm.
I don’t have any CAD geometry — instead, I want to generate 2D planar mechanisms using basic shapes such as circles, lines, and arcs (optionally with thickness). I don’t intend to create any full CAD models.
I need to check whether the mechanism works as expected when an external force is applied at a point. The simulation should run without considering the body’s own inertia or gravity — I only want to account for the moment generated by the external force and contact friction.
I plan to create the shapes in PyChrono programmatically, using parameters such as points, arm length, and circle radius.
Hi Alvaro,
I’m not an MBD specialist, so I’d appreciate your advice.
I need to model a system without detailed body shapes, but I still need to handle collision/contact and detect slippage.
Body 1 is always trying to rotate CCW due to a constant 100 N load, but its motion is resisted by Body 2.
A linear pull is applied to Body 3; this force is transferred to Body 2, causing Body 2 to try to rotate CCW.
During this continuous pull, I need to track the force in the pulling direction up to the moment when slip occurs between Body 1 and Body 2.
Body 1 has a torsional spring (CCW) that helps it rotate CCW more easily.
Body 2 has a torsional spring (CW) that keeps it in its initial position after slippage occurs.
How can I model this kind of force transfer and slip detection without using basic geometry?
Any guidance or recommended approach would really help me kick-start this project.
A couple of comments:
Siddharth – I suggest you start by carefully looking through the Chrono documentation (in particular this) and through the many demos we provide. You seem to have a few misunderstanding (e.g., use of visual shapes to define collision geometry). Understand what geometry means in the context of a multibody model (for collision and for visualization – they do not have to, and often are not, the same). For instance, I would model your problem with a single collision shape per body: the blue circle for body 1, the yellow circle for body 3, and the purple arc and line segment for body 3 are the only relevant geometry. You do not need to have geometry to apply an external force to a body or to connect that body to another one through a joint.
Alvaro – while your suggestion of starting simple is very often a good approach, in this case I believe the contact is integral to the problem dynamics. A model based on kinematic joints would be of little use. And “updating prismatic joints to contacts” is not a simple change; it practically means remodeling everything from scratch.
While Chrono always works in 3D, we do support line contacts in 2D, provided the mechanism is correctly kinematically constrained to evolve in a plane. You define such 2D collision geometry as a collection of circle arcs and line segments – precisely what you need here. Look at demo_MBS_collision_2D for an example.
--Radu
To view this discussion visit https://groups.google.com/d/msgid/projectchrono/0173d398-5a4c-4bab-9814-2558ae4a52b2n%40googlegroups.com.
