MATLAB: How to define physical (material) point in simmechanics or other tool

kinematicsmaterial pointmechanicsmotionphysical pointrigid bodysimmechanicsSimscapeSimscape Multibodysimulink

In model I constructing with use of SIMMECHANICS there is no meaning for inertia or shape of rigid bodies. Only motion properties make sense. I know that rigid body's big quantity makes to the model run slowly.
Is it possible force the model run more quickly by defining material/physical point block or system?

Best Answer

The key parameters for a SimMechanics Body block are its mass and inertia tensor relative to the centre of gravity of the body. These are obviously dependent on the shape and material properties of the body, but you need to compute the mass and inertia tensor outside of SimMechanics. I have seen examples where people create their own libraries with various templates (e.g. cylinder, sphere, etc...), which are essentially a masked subsystem with a Body block underneath it. The user enter the geometric dimensions and the material of the shape in question, and the mass and inertia calculations are done in the mask initialization.
Once you have defined the mass and inertia tensor, you can then add points (CS) to the Body to connect it to other bodies or parts of the system, and also improve the visualization.
There are various examples on the File Exchange, I suggest you have a look.
The alternative is to define you mechanical system in a supported CAD package and then use SimMechanics Link to generate the model.
HTH,
Arnaud