Skip to main content
This example considers a breakable joint. A breakable joint is a joint that cannot withstand an internal force higher than a given value. To create a breakable joint:
  1. Get the joint by inserting a command on a planar joint:
  2. Create a joint condition to prescribe zero velocity on the two translational degrees of freedom:
  3. Define the value of the velocity, then retrieve the time measure:
  4. Define the time as a variable, and use constant values for the two components:
    Next, make the driver only active if the force in the joint is less than a maximum threshold of 3N. To do that, create a Condition based on the joint force measure norm.
  5. Retrieve the force on the joint:
  6. Create a component measure, that is the norm 2 of the force. To be computed at each time step, this measure has to be added to the system.
  7. Now, create the condition and assign it to the driver:
  8. Finally, add the driver to the environment: