SlideShare a Scribd company logo
1 of 32
SimTK Simbody™
High speed multibody dynamics for
biosimulation
Michael Sherman (Sherm)
OpenSim Science Advisor Workshop, 2 June 2006
2
Topics
• Motivation: DBPs
• Multibody mechanics
• Several S’s of SimTK Simulation
• Where does Simbody fit in?
• Simbody features
• Simbody release schedule
3
RNA structure prediction
4
Myosin dynamics
5
Neuromuscular dynamics
F.C. Anderson, M. Pandy
6
What do these have in common?
• Biological structures
• Dynamics well described by classical
physics — that is, F=ma
• They’re “chunky”
7
Multibody systems
• Rigid parts …
• … mobilized by Joints
• … influenced by Forces
• … and restricted by Constraints.
• Key feature: motion is localized.
8
Multibody mechanics
9
Abstractions for classical physics
• Matter
• Energy
• Um …
10
Matter
• Mass
• Spatial distribution
• Motion
11
Abstract matter
• The rigid body
• What is a rigid body?
Bi
• Mass distribution: 10 constants
• Decorate w/geom & other props
• Ground is a (heavy) rigid body
12
Abstract motion (1)
• The joint. What is it?
• Defines relative mobility btw 2 rigid bodies
• Examples
Ball
Slider
Pin
• Defines topology & mechanical
coordinates q
13
Multibody system (1)
• Tree of bodies interconnected by joints
14
Abstract motion (2)
• Oops! That’s a little too floppy …
• Restrict with constraints.
• Algebraic invariant relating q’s: g(q)=0
• Restricts allowable motion
15
Multibody system (2)
• Constraints permit loops
g(q)= 0
16
That’s it for rigid matter
• Rigid bodies + mobility – restrictions
• Solve for (response)
• Integrate for trajectory
• Still need forces …
but that’s another matter.
17
Summary
• Rigid body mechanics is a solved problem
– Everything else is much harder and more
interesting
• But … the implementation is a bit tricky
• Simbody addresses that problem.
18
Simbody in context
19
Terminology: modeling creates a
“System”
System
Physical world
Modeling
• We’re not talking about modeling today
• A “System” is a computational embodiment of a
mathematical model
20
Properties of a System
System
• Defines its
parametrization
• But … it is stateless.
• Given a State, performs
useful computations
State
21
Studying a system
• System+State+Study  Simulation
Study
State
System
Results
states
22
Under the hood: subsystems
• Interlocking computations
• System provides the “edge pieces”
Study
State
System
subsystem
23
What’s in a multibody system?
• Matter and energy
• Simbody deals with matter
Forces
(User supplied)
Simbody
Multibody System
State
24
Software stack
Lapack/Blas
Simmatrix
Simbody Forces
CVODE
Root finding
Spatial
operators
State
Multibody system Time
stepper
Projection
Study Results
25
Software stack
(where’s Waldo?)
OpenSim
26
Simbody™
a SimTK toolset for internal coordinate
(torsion angle) mechanics
27
SimTK Core
GUI Tools | Documentation Tools | Installation
Modeling
Linear
Algebra
Multi
Body
Dynamics
Simbody
TAO
•
Integrator
ODE
DAE
Contact
Rigid
Penalty
•
Optimize
Sim Anneal
Genetic
SQ Prog Control
PD
PDEs
Solids
Fluids
Meshing
Monte
Carlo
Force
Fields
28
Ancestry
IVM (Charles
Schweiters, NIH)
TAO (Chang,
Ruspini, Arachi Corp.)
Simbody
Spatial operator algebra,
Jain & Rodriguez, JPL
Feathersone, Australian
Natl. U.
Khatib lab, Stanford
Rosenthal &
Sherman,
Symbolic Dynamics,
Protein Mechanics
Linda Petzold,
UCSB
SD/FAST,
Pro/Mechanica, Imagiro
Thomas Kane,
Stanford
William Gear,
UIUC
29
Simbody vs. SD/FAST
• All numerical – no compiler needed
• No dealing with, um, (a company)
– Completely open source, not GPL (MIT/BSD license)
– But can I <whatever>? Yes.
• O(N) all the time; targeted at 1000 bodies + 100 constraints
– Goal: within 2X of sd/fast O(n) on small problems, faster on big ones
• Structured as a set of O(N) operators
– Including Operational Space Control
• No internal state
• Shareable subsystems, systems & studies
– Mechanical models
– Forces, constraints, custom joints
– Numerical methods
• Coordinate projection instead of Baumgarte stabilization
• Advanced numerical integration (implicit/explicit/multistep)
30
Simbody basic features
• A linkable library with nice API
• Solid theory; not a “game engine”
• Technology is internal coordinate mechanics
• Open & closed-chain models
• Forward/inverse kinematics & dynamics
• Parametrization/design studies
• Easily extensible (e.g., new joint types)
• Multiplatform binaries (Windows,Mac,Linux) & easily
portable to more
• Agnostic about forces & numerical methods, but …
• … will come with some good ones.
31
Schedule
• Simbody 0.5 available now
– Very rough; brave souls only
– Basic functions; C++ only; lightly tested
– Everything will change before 1.0
• Simbody 1.0 (March 2007)
– Complete functionality; SD/FAST replacement
– Extensive testing & good documentation
– Stable API: C++, C, Fortran, SD/FAST compatible
– Integrated into several GUIs (OpenSim, ToRNAdo)
• Simbody 2.0 (~ +1 year)
– Analytic Jacobian in O(n2)
– High level modeling support
– Matlab/Java/Python wrapping
– (Even) faster
– Extensive libraries of force, constraint, joint, studies, reporters, etc.
Simbody info & downloads:
https://simtk.org/home/simbody
32
Acknowledgments (software)
• Charles Schwieters
• Arachi Corp. (K.C. Chang & D. Ruspini)
• Paul Mitiguy
• Bryan Keller
• Jack Middleton
Simbody info & downloads:
https://simtk.org/home/simbody

More Related Content

Similar to High speed multibody dynamics _ sherman_Simbody _ 2006.ppt

Software Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniquesSoftware Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniquesAngelos Kapsimanis
 
COMSOL Training Series (NNMDC Initiative)
COMSOL Training Series (NNMDC Initiative)COMSOL Training Series (NNMDC Initiative)
COMSOL Training Series (NNMDC Initiative)Aniket Tekawade
 
Parallel programming in .NET
Parallel programming in .NETParallel programming in .NET
Parallel programming in .NETPeter Csala
 
A Benchmark for Simulated Manipulation
A Benchmark for Simulated ManipulationA Benchmark for Simulated Manipulation
A Benchmark for Simulated ManipulationJack Collins
 
Lock-free algorithms for Kotlin Coroutines
Lock-free algorithms for Kotlin CoroutinesLock-free algorithms for Kotlin Coroutines
Lock-free algorithms for Kotlin CoroutinesRoman Elizarov
 
Areva10 Technical Day
Areva10 Technical DayAreva10 Technical Day
Areva10 Technical DaySDTools
 
Parallelizing Conqueror's Blade
Parallelizing Conqueror's BladeParallelizing Conqueror's Blade
Parallelizing Conqueror's BladeIntel® Software
 
Modern Java Concurrency (Devoxx Nov/2011)
Modern Java Concurrency (Devoxx Nov/2011)Modern Java Concurrency (Devoxx Nov/2011)
Modern Java Concurrency (Devoxx Nov/2011)Martijn Verburg
 
The nine system model
The nine system modelThe nine system model
The nine system modelJoseph KAsser
 
Decima Engine: Visibility in Horizon Zero Dawn
Decima Engine: Visibility in Horizon Zero DawnDecima Engine: Visibility in Horizon Zero Dawn
Decima Engine: Visibility in Horizon Zero DawnGuerrilla
 
lec01-intro (1).ppt Operating System by prof John Pantanagar
lec01-intro (1).ppt Operating System by prof John Pantanagarlec01-intro (1).ppt Operating System by prof John Pantanagar
lec01-intro (1).ppt Operating System by prof John Pantanagarthukralyash256
 
Scaling with mongo db (with notes)
Scaling with mongo db (with notes)Scaling with mongo db (with notes)
Scaling with mongo db (with notes)emiltamas
 
Programming physics games with Python and OpenGL
Programming physics games with Python and OpenGLProgramming physics games with Python and OpenGL
Programming physics games with Python and OpenGLDaniel Pope
 

Similar to High speed multibody dynamics _ sherman_Simbody _ 2006.ppt (20)

Software Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniquesSoftware Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniques
 
COMSOL Training Series (NNMDC Initiative)
COMSOL Training Series (NNMDC Initiative)COMSOL Training Series (NNMDC Initiative)
COMSOL Training Series (NNMDC Initiative)
 
Industry Training: 03 Awareness Simulation
Industry Training: 03 Awareness SimulationIndustry Training: 03 Awareness Simulation
Industry Training: 03 Awareness Simulation
 
Intro_2.ppt
Intro_2.pptIntro_2.ppt
Intro_2.ppt
 
Intro.ppt
Intro.pptIntro.ppt
Intro.ppt
 
Intro.ppt
Intro.pptIntro.ppt
Intro.ppt
 
OOW-IMC-final
OOW-IMC-finalOOW-IMC-final
OOW-IMC-final
 
Parallel programming in .NET
Parallel programming in .NETParallel programming in .NET
Parallel programming in .NET
 
A Benchmark for Simulated Manipulation
A Benchmark for Simulated ManipulationA Benchmark for Simulated Manipulation
A Benchmark for Simulated Manipulation
 
Lock-free algorithms for Kotlin Coroutines
Lock-free algorithms for Kotlin CoroutinesLock-free algorithms for Kotlin Coroutines
Lock-free algorithms for Kotlin Coroutines
 
Areva10 Technical Day
Areva10 Technical DayAreva10 Technical Day
Areva10 Technical Day
 
Parallelizing Conqueror's Blade
Parallelizing Conqueror's BladeParallelizing Conqueror's Blade
Parallelizing Conqueror's Blade
 
Fuzzy logic 2014
Fuzzy logic 2014Fuzzy logic 2014
Fuzzy logic 2014
 
Modern Java Concurrency (Devoxx Nov/2011)
Modern Java Concurrency (Devoxx Nov/2011)Modern Java Concurrency (Devoxx Nov/2011)
Modern Java Concurrency (Devoxx Nov/2011)
 
The nine system model
The nine system modelThe nine system model
The nine system model
 
Decima Engine: Visibility in Horizon Zero Dawn
Decima Engine: Visibility in Horizon Zero DawnDecima Engine: Visibility in Horizon Zero Dawn
Decima Engine: Visibility in Horizon Zero Dawn
 
lec01-intro (1).ppt Operating System by prof John Pantanagar
lec01-intro (1).ppt Operating System by prof John Pantanagarlec01-intro (1).ppt Operating System by prof John Pantanagar
lec01-intro (1).ppt Operating System by prof John Pantanagar
 
Scaling with mongo db (with notes)
Scaling with mongo db (with notes)Scaling with mongo db (with notes)
Scaling with mongo db (with notes)
 
JavaFX 101
JavaFX 101JavaFX 101
JavaFX 101
 
Programming physics games with Python and OpenGL
Programming physics games with Python and OpenGLProgramming physics games with Python and OpenGL
Programming physics games with Python and OpenGL
 

Recently uploaded

APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 

Recently uploaded (20)

APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 

High speed multibody dynamics _ sherman_Simbody _ 2006.ppt

  • 1. SimTK Simbody™ High speed multibody dynamics for biosimulation Michael Sherman (Sherm) OpenSim Science Advisor Workshop, 2 June 2006
  • 2. 2 Topics • Motivation: DBPs • Multibody mechanics • Several S’s of SimTK Simulation • Where does Simbody fit in? • Simbody features • Simbody release schedule
  • 6. 6 What do these have in common? • Biological structures • Dynamics well described by classical physics — that is, F=ma • They’re “chunky”
  • 7. 7 Multibody systems • Rigid parts … • … mobilized by Joints • … influenced by Forces • … and restricted by Constraints. • Key feature: motion is localized.
  • 9. 9 Abstractions for classical physics • Matter • Energy • Um …
  • 10. 10 Matter • Mass • Spatial distribution • Motion
  • 11. 11 Abstract matter • The rigid body • What is a rigid body? Bi • Mass distribution: 10 constants • Decorate w/geom & other props • Ground is a (heavy) rigid body
  • 12. 12 Abstract motion (1) • The joint. What is it? • Defines relative mobility btw 2 rigid bodies • Examples Ball Slider Pin • Defines topology & mechanical coordinates q
  • 13. 13 Multibody system (1) • Tree of bodies interconnected by joints
  • 14. 14 Abstract motion (2) • Oops! That’s a little too floppy … • Restrict with constraints. • Algebraic invariant relating q’s: g(q)=0 • Restricts allowable motion
  • 15. 15 Multibody system (2) • Constraints permit loops g(q)= 0
  • 16. 16 That’s it for rigid matter • Rigid bodies + mobility – restrictions • Solve for (response) • Integrate for trajectory • Still need forces … but that’s another matter.
  • 17. 17 Summary • Rigid body mechanics is a solved problem – Everything else is much harder and more interesting • But … the implementation is a bit tricky • Simbody addresses that problem.
  • 19. 19 Terminology: modeling creates a “System” System Physical world Modeling • We’re not talking about modeling today • A “System” is a computational embodiment of a mathematical model
  • 20. 20 Properties of a System System • Defines its parametrization • But … it is stateless. • Given a State, performs useful computations State
  • 21. 21 Studying a system • System+State+Study  Simulation Study State System Results states
  • 22. 22 Under the hood: subsystems • Interlocking computations • System provides the “edge pieces” Study State System subsystem
  • 23. 23 What’s in a multibody system? • Matter and energy • Simbody deals with matter Forces (User supplied) Simbody Multibody System State
  • 24. 24 Software stack Lapack/Blas Simmatrix Simbody Forces CVODE Root finding Spatial operators State Multibody system Time stepper Projection Study Results
  • 26. 26 Simbody™ a SimTK toolset for internal coordinate (torsion angle) mechanics
  • 27. 27 SimTK Core GUI Tools | Documentation Tools | Installation Modeling Linear Algebra Multi Body Dynamics Simbody TAO • Integrator ODE DAE Contact Rigid Penalty • Optimize Sim Anneal Genetic SQ Prog Control PD PDEs Solids Fluids Meshing Monte Carlo Force Fields
  • 28. 28 Ancestry IVM (Charles Schweiters, NIH) TAO (Chang, Ruspini, Arachi Corp.) Simbody Spatial operator algebra, Jain & Rodriguez, JPL Feathersone, Australian Natl. U. Khatib lab, Stanford Rosenthal & Sherman, Symbolic Dynamics, Protein Mechanics Linda Petzold, UCSB SD/FAST, Pro/Mechanica, Imagiro Thomas Kane, Stanford William Gear, UIUC
  • 29. 29 Simbody vs. SD/FAST • All numerical – no compiler needed • No dealing with, um, (a company) – Completely open source, not GPL (MIT/BSD license) – But can I <whatever>? Yes. • O(N) all the time; targeted at 1000 bodies + 100 constraints – Goal: within 2X of sd/fast O(n) on small problems, faster on big ones • Structured as a set of O(N) operators – Including Operational Space Control • No internal state • Shareable subsystems, systems & studies – Mechanical models – Forces, constraints, custom joints – Numerical methods • Coordinate projection instead of Baumgarte stabilization • Advanced numerical integration (implicit/explicit/multistep)
  • 30. 30 Simbody basic features • A linkable library with nice API • Solid theory; not a “game engine” • Technology is internal coordinate mechanics • Open & closed-chain models • Forward/inverse kinematics & dynamics • Parametrization/design studies • Easily extensible (e.g., new joint types) • Multiplatform binaries (Windows,Mac,Linux) & easily portable to more • Agnostic about forces & numerical methods, but … • … will come with some good ones.
  • 31. 31 Schedule • Simbody 0.5 available now – Very rough; brave souls only – Basic functions; C++ only; lightly tested – Everything will change before 1.0 • Simbody 1.0 (March 2007) – Complete functionality; SD/FAST replacement – Extensive testing & good documentation – Stable API: C++, C, Fortran, SD/FAST compatible – Integrated into several GUIs (OpenSim, ToRNAdo) • Simbody 2.0 (~ +1 year) – Analytic Jacobian in O(n2) – High level modeling support – Matlab/Java/Python wrapping – (Even) faster – Extensive libraries of force, constraint, joint, studies, reporters, etc. Simbody info & downloads: https://simtk.org/home/simbody
  • 32. 32 Acknowledgments (software) • Charles Schwieters • Arachi Corp. (K.C. Chang & D. Ruspini) • Paul Mitiguy • Bryan Keller • Jack Middleton Simbody info & downloads: https://simtk.org/home/simbody