Mechanical Stop
Mechanics
Run the live example
Free · no sign-up · runs in your browser
Acausal translational mechanical end-stop and backlash element (MechanicalStop) between flange_a and flange_b. Inside [minGap, maxGap] the flanges move freely (); outside those bounds a stiff elastic contact force opposes further travel.
Mathematical Model
Let with :
Inputs & Outputs
| Direction | ID | Label | Type | Status |
|---|---|---|---|---|
| → In | flange_a |
A | number | Required |
| → In | flange_b |
B | number | Required |
| ← Out | force |
Force | number | Output |
Parameters
| Parameters | Label | Type | Default | Description |
|---|---|---|---|---|
minGap |
Min Gap (Lower Stop) | number | -0.1 |
Lower relative displacement limit [m] |
maxGap |
Max Gap (Upper Stop) | number | 0.1 |
Upper relative displacement limit [m] |
stiffness |
Contact Stiffness | number | 100000 |
Elastic contact stiffness outside [minGap, maxGap] |
initialGap |
Initial Displacement | number | 0 |
Initial relative displacement dx = x_A - x_B [m] |
Usage Examples
Example 1: Mass Hitting Hard End-Stop
Drive a Mass and TranslationalDamper with a 100 N ForceSource into a MechanicalStop (maxGap = 0.1 m) to observe free travel followed by equilibrium contact at .
Example 2: Symmetric Backlash Deadband
Place MechanicalStop between two Mass blocks with minGap = -0.01 m, maxGap = 0.01 m to model mechanical play.
Remarks & Best Practices
- Contact Damping: Pair with a parallel
TranslationalDamperwhen modeling inelastic impacts. - Step Size: Very high
stiffnessvalues reduce the natural contact period; usetrbdf2or a smallersampleTimefor stiff impacts.
Related Components
- TranslationalSpring/docs.md" class="bw-link">TranslationalSpring
- TranslationalDamper/docs.md" class="bw-link">TranslationalDamper
- Mass/docs.md" class="bw-link">Mass