*SetPointmassBody() - symmetric point mass body pair

Sets the mass properties of a symmetric point mass body pair.

Syntax

*SetPointmassBody(pmb_name, LEFT|RIGHT, mass)

Arguments

pmb_name
The variable name of an existing point mass body pair.
Data type: varname
LEFT|RIGHT
If LEFT is specified, the properties are assigned to the left point mass body, and the right point mass body properties are symmetric to the left point mass body.
If RIGHT is specified, the properties are assigned to the right point mass body and the left point mass body properties are symmetric to the right point mass body.
mass
The mass of the point mass body pair.
Data type: real

Example

*BeginMDL( model, "The Model" )
*PointPair(p_3, "Point 3 pair")
*PointPair(p_4, "Point 4 pair")
*SetPoint(p_3, LEFT, 31, 32, 33)
*SetPoint(p_4, LEFT, 34, 35, 36)
 
*PointmassBodyPair(pmb_2, "Point mass body 2", p_3, p_4)
*SetPointmassBody(pmb_2, LEFT, 15)
*SetPointmassBodyIC(pmb_2, 81, 82, 83, 84, 85, 86)
*SetPointmassBodyICFlag(pmb_2, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE)
*EndMDL()

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()