Solid sphere with variable mass and size
Simscape / Multibody / Body Elements / Variable Mass
The Variable Spherical Solid block adds to the attached frame a solid sphere with variable mass and size. The mass and radius of the sphere can each be constant or vary with time. A variable quantity can be specified directly as a physical signal or it can be calculated as a function of the remaining quantity. Only one quantity, mass or radius, can be calculated during simulation.
A reference frame encodes the position and orientation of the solid relative to other components in a model. The frame is defined relative to the solid geometry so that its origin is located at the center of the sphere. This relationship is preserved during simulation. The radius increases symmetrically in all directions with respect to the frame origin.
Variable Sphere with Radius Calculated from Mass
Visualization is dynamic. Solid dimensions update continuously as they occur, in the visualization pane of Mechanics Explorer. The initial dimensions of the solid depend on the parameters and physical signals that you specify. It is possible for a variable dimension to begin with a zero value—for example, if it derives from a physical signal whose initial value is zero also.
Density can itself be constant or variable. This quantity is specified as a constant if either mass or radius is calculated during simulation. It is calculated as a variable if both mass and radius are explicitly specified, either as (constant) block parameters or as physical signals. As in the case of the solid blocks, you can specify a negative density, for example, to model voids in compound bodies.
Brick Solid | Cylindrical Solid | Ellipsoidal Solid | Extruded Solid | Revolved Solid | Rigid Transform | Spherical Solid | Variable Brick Solid | Variable Cylindrical Solid