main content

simulation and analysis -凯发k8网页登录

run a simulation, visualize a model, and run a kinematic analysis

update the block diagram to assemble the multibody model and visualize its initial configuration. the visualization opens in . simulate the model to play an interactive animation. be sure to pick a solver suited for physical models, such as daessc, and to specify a maximum time step small enough to capture the fastest meaningful change expected during simulation.

open to add a moving, dynamic camera with which to capture the animation. dynamic cameras can be of two types: keyframed or tracking. keyframed cameras move between view points created interactively in mechanics explorer. tracking cameras attach to and aim at frames in the model. use or the function to record an animation in a video format.

use the class to create a kinematic representation of a model and formulate a kinematic problem to solve. kinematicssolver objects contain all the joint variables available in a model. complement them with frame variables and assign both joint and frame variables as targets, guesses, and outputs for analysis.

apps

create, edit, and delete dynamic cameras
visualize and explore multibody models
configure and create multibody animation videos

functions

read tir file
configure and create multibody animation videos
configure and create multibody animation videos

representing the assembly

solve kinematics problems for a multibody model

configuring options

change physical unit of kinematic variable

listing variables

list kinematic variables associated with frame pairs
list all kinematic variables assigned as initial guesses
list all kinematic variables associated with joint velocities
list all kinematic variables associated with joint positions
list all kinematic variables assigned as outputs
list kinematic variables assigned as targets

adding variables

create kinematic variables from select frame pair in kinematicssolver object
assign kinematic variables from kinematicssolver object as guesses
assign kinematic variables from the kinematicssolver object as outputs
assign kinematic variables from kinematicssolver object as targets

clearing variables

drop all frame variables from the kinematicssolver object
drop all guess variables from the kinematicssolver object
drop all output variables from the kinematicssolver object
drop all target variables from the kinematicssolver object

removing variables

drop select frame variables from the kinematicssolver object
drop select guess variables from the kinematicssolver object
drop select output variables from the kinematicssolver object
drop select target variables from the kinematicssolver object

running the analysis

generate c code to run kinematic analysis on kinematicssolver object
run kinematic analysis for kinematicssolver object

visualize the solution of analysis

close the kinematics solver viewer window
open kinematics solver viewer window to visualize kinematicssolver solution

topics

basic visualization


  • set the model configuration parameters to ensure that mechanics explorer opens automatically on model update or simulation.

  • select a standard view, set the up-axis convention, and use mouse shortcuts to rotate, roll, pan, or zoom a model.

  • workflow steps for updating and simulating a simscape™ multibody™ model.

  • visualization is not only a central part of a multibody simulation, but also an essential tool in modeling bodies and verifying their shapes, sizes, frame placements, and colors. here is an overview of the visualization utilities available in the simscape multibody environment and the roles they play in your modeling workflow.

  • use mechanics explorer frame highlights and graphic blocks to visualize frames.

advanced visualization


  • use mechanics explorer to go to the block corresponding to a tree view pane node.

  • visualization filtering as a means to selectively show and hide solids, bodies, and multibody subsystems in mechanics explorer.

  • use selective model visualization to show only those model components that are relevant to you.

cameras and video creation


  • use camera manager to create or edit a model visualization camera with a moving viewpoint.

  • save an animation in video format using video creator or the smwritevideo function.

  • distinction between dynamic cameras and the global camera. camera manager as a tool for creating dynamic cameras. dynamic camera keyframe and tracking modes.

  • review how model animations work and explore the basic controls available for animations.

troubleshooting


  • learn about simscape multibody simulation issues.
网站地图