MassWithWeight

Sliding mass with inertia and gravitational force (=m*g)

Library

Mechanics/Translational/Components

Description

Sliding mass with inertia and gravitational force, without friction and two rigidly connected flanges.

The sliding mass has the length L, the position coordinate s is in the middle. Sign convention: A positive force at flange flange_a (left) moves the sliding mass in the positive direction. A negative force at flange flange_a moves the sliding mass to the negative direction.

The gravitational force (=m*g) is acting in positive direction as indicated by the arrow.

Parameters

    MassWithWeight_0

  • m [kg] : Mass of the sliding mass (m): Scalar.
  • initType [-] : Type of initial value for [s,v] (0=guess,1=fixed) (initType): Vector of Size 2.
  • s_start [m] : Initial value for absolute position of center of mass (s_start): Scalar.
  • v_start [m/s] : Initial value for absolute velocity of mass (v_start): Scalar.
  • L [m] : length of component from left flange to right flange (= flange_b.s - flange_a.s) (L): Scalar.

Ports

  • Port 1 at left position: implicit input fixedport numbered 1.
  • Port 1 at right position: implicit output fixedport numbered 1.

See Also