Multibody Contact Force Block Examples in Simscape Multibody

Examples demonstrating contact force modeling in Simscape Multibody
435 Downloads
Updated 18 Aug 2024
This repository contains a set of examples that demonstrate the Spatial Contact Force block and Planar Contact Force block. The examples cover:
  • Solid-to-solid contact between parameterized solids like bricks, spheres, and cylinders
  • Contact between CAD geometry including STEP files.
  • Point Cloud definition for efficient contact modeling of complex shapes.
  • Grid Surface modeling for efficient contact modeling with terrain.
  • Custom force law definition including collision and friction forces.
Use the "Download from GitHub" button above to access files compatible with the current release of MATLAB.
Use the links below to access files compatible with earlier releases of MATLAB.
Open the project file Spatial_Contact_Force_Examples.prj to get started.
To learn more about contact modeling with Simscape Multibody, please visit:
Product Capabilities:
This submission uses the S^2 Sampling Toolbox Anton Semechko (2022). Suite of functions to perform uniform sampling of a sphere (https://github.com/AntonSemechko/S2-Sampling-Toolbox), GitHub. Retrieved March 24, 2022.

Cite As

Steve Miller (2024). Multibody Contact Force Block Examples in Simscape Multibody (https://github.com/mathworks/Spatial-Contact-Force-Examples-Simscape-Multibody/releases/tag/24.1.1.6), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2024a
Compatible with R2020a to R2024a
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Models/Bouncing_Ball

Models/Custom_Force_Law

Models/Disk_Basic

Models/Mesh_Grid

Models/Point_Cloud_Basic

Models/Point_Cloud_StrWhl

Models/Ratchet_Pawl/Scripts_Data

Models/Spinning_Top/Tippe

Models/Spinning_Top/Totem

Scripts_Data

Scripts_Data/Convex_Hull

Scripts_Data/Point_Cloud

Scripts_Data/Point_Cloud/Resources

Workflows/Testing

Models/Bouncing_Ball

Models/Contact_Pairs

Models/Custom_Force_Law

Models/Disk_Basic

Models/Mesh_Grid

Models/Point_Cloud_Basic

Models/Point_Cloud_StrWhl

Models/Ratchet_Pawl

Models/Ratchet_Pawl/Libraries

Models/Spinning_Top/Tippe

Models/Spinning_Top/Totem

Models/Bouncing_Ball/Overview

Models/Custom_Force_Law/Overview

Models/Disk_Basic/Overview

Models/Mesh_Grid/Overview

Models/Point_Cloud_Basic/Overview

Models/Point_Cloud_StrWhl/Overview

Models/Ratchet_Pawl/Overview

Models/Spinning_Top/Tippe/Overview

Models/Spinning_Top/Totem/Overview

Version Published Release Notes
24.1.1.6

See release notes for this release on GitHub: https://github.com/mathworks/Spatial-Contact-Force-Examples-Simscape-Multibody/releases/tag/24.1.1.6

23.2.1.6

See release notes for this release on GitHub: https://github.com/mathworks/Spatial-Contact-Force-Examples-Simscape-Multibody/releases/tag/23.2.1.6

23.1.1.5

See release notes for this release on GitHub: https://github.com/mathworks/Spatial-Contact-Force-Examples-Simscape-Multibody/releases/tag/23.1.1.5

22.2.1.5

See release notes for this release on GitHub: https://github.com/mathworks/Spatial-Contact-Force-Examples-Simscape-Multibody/releases/tag/22.2.1.5

22.1.1.5

See release notes for this release on GitHub: https://github.com/mathworks/Spatial-Contact-Force-Examples-Simscape-Multibody/releases/tag/22.1.1.5

22.1.1.4

See release notes for this release on GitHub: https://github.com/mathworks/Spatial-Contact-Force-Examples-Simscape-Multibody/releases/tag/22.1.1.4

21.2.1.3

See release notes for this release on GitHub: https://github.com/mathworks/Spatial-Contact-Force-Examples-Simscape-Multibody/releases/tag/21.2.1.3

21.1.1.2

See release notes for this release on GitHub: https://github.com/mathworks/Spatial-Contact-Force-Examples-Simscape-Multibody/releases/tag/21.1.1.2

20.2.1.1

See release notes for this release on GitHub: https://github.com/mathworks/Spatial-Contact-Force-Examples-Simscape-Multibody/releases/tag/20.2.1.1

20.1.1.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.