Construct uniform mass distribution with given total mass
Use an object of the
simscape.multibody.UniformMass class to construct a
uniform mass distribution with a given total mass. If you use a
object to define the mass distribution of a solid, the solid has a constant density over the
entire geometry. The density is equal to the given total mass divided by the volume of the
solid. To compute the properties of a solid, such as center of mass, moments of inertia, and
products of inertia, the
UniformMass object uses the geometry and mass of the
For information on class attributes, see Class Attributes.
constructs a uniform mass distribution with default values.
umass = simscape.multibody.UniformMass
constructs a uniform mass distribution with the specified total mass.
umass = simscape.multibody.UniformMass(
Mass — Total mass
simscape.Value(1,"kg") (default) |
Total mass, specified as a
simscape.Value object that represents a scalar with a unit of mass. The
scalar can be positive or negative. Use a negative value to capture the effect of a void
or cavity in a compound body that comprises multiple solids. The total mass of the
compound body must be positive.