Library

simbody Simbody-3.9

VersionSimbody-3.9
Stars★ 2,571
Released2026-11-05

High-performance C++ multibody dynamics/physics library for simulating articulated biomechanical and mechanical systems like vehicles, robots, and the human skeleton.

Release notes

This release requires C++20 and includes several changes that may require
updates to code or build scripts that use Simbody; see "Breaking changes" below.
It also includes the CableSpan improvements needed by OpenSim 4.6 (including a
fix for folded paths), variable `MobilizedBody::Ellipsoid` radii with Jacobian
operators, and Jacobian operators with respect to mobilizer frame positions.

**CableSpan** (used for muscle and ligament paths in OpenSim 4.6)
* Added support for via points in a `CableSpan` path; see
  `CableSpan::addViaPoint()`. Via points divide the cable into segments, each
  of which is optimized independently. (PR #828)
* `CableSpan` now implements the Subsystem position and velocity realization
  methods, fixing erratic path behavior (jumping to invalid configurations)
  during time-stepping simulations. (PR #832)
* The `CableSpan` unit force calculation methods (`calcOriginUnitForce()`,
  `calcTerminationUnitForce()`, `calcCurveSegmentUnitForce()`, and
  `calcViaPointUnitForce()`) now ensure that the position-level cache is valid.
  (PR #846)
* Added `CableSpan::calcResampledDecorativePathPoints()`, which generates
  decorative points along the whole path with curve segments resampled at equal
  length intervals. (PR #855)
* Added `CableSpan` methods for calculating path tangent directions at the
  origin, termination, and via points (e.g.,
  `calcOriginTangentDirection()`), to make it easier to apply cable tension as
  a set of point forces. (PR #857)
* Added `CableSpan::getUseWarmStart()` and `setUseWarmStart()` to control
  whether the previous path solution is used as the starting point for the next
  path solve. Disabling warm starts makes the path (and moment arms) depend only
  on the current configuration and the contact point hints. (PR #858)
* `CableSpan::calcResampledDecorativePathPoints()` and
  `CableSpan::calcCurveSegmentResampledPoints()` now always emit decorative
  points whether or not a curve segment is in contact with an obstacle, so that
  the number of emitted points is constant. Previously they emitted NaN points,
  or read out of bounds, for obstacles that were not in contact. (PR #872)
* Fixed the `CableSpan` solver's per-iteration step size limit, which ignored
  the sign of the angular displacement of the curve segment boundary frames, so
  that large rotations in the negative direction were not limited. (PR #881)
* `CableSpan` path smoothness is now measured as the angle between each
  straight-line segment and the geodesic tangent where they meet. Folded
  paths, where the straight line runs backwards along the geodesic, are no
  longer reported as converged. The initial path from a contact point hint
  now uses a tangent that bisects the adjacent straight segments, and falls
  back to touchdown detection when the hint aligns poorly. (PR #890)

**Other new features and improvements**
* Added support for variable mobilizer inboard and outboard frames. (PR #859)
* Added `SimbodyMatterSubsystem` operators for the Jacobians of mobilized body
  origin positions with respect to mobilizer inboard and outboard frame
  positions: `multiplyByPositionJacobianWrtInboardFramePositions()`,
  `multiplyByPositionJacobianWrtOutboardFramePositions()`, and the
  corresponding transpose operators. The transpose operators map a gradient
  with respect to body origin positions to a gradient with respect to the
  mobilizer frame positions, which is useful for optimizing model geometry.
  (PR #866)
* Added `MobilizedBody::CantileverFreeBeam`, a mobilizer for modeling spinal
  joints and other flexible structures. (PR #844)
* `MobilizedBody::Ellipsoid` can now be mirrored about the plane normal to one
  axis of its inboard frame F, which can be useful for building left/right joint
  pairs (e.g., shoulder joints) driven by the same coordinates. (PR #875) The
  mirror axis can also be set or cleared after construction with
  `setMirrorAxis()` and `cle…

Share this resource


Discovered 2026-11-06 Source GitHub Archive 2026-11 →