*SetPointmassBody() - single point mass body

Sets the mass properties of a point mass body.

Syntax

*SetPointmassBody(pmb_name, mass)

Arguments

pmb_name
The variable name of an existing point mass body.
Data type: varname
mass
The mass of the point mass body.
Data type: real

Example

*BeginMDL( the_model, "The Model" )
*Point(p_1, "Point 1")
*Point(p_2, "Point 2")
*SetPoint(p_1, 21, 22, 23)
*SetPoint(p_2, 24, 25, 26)
*PointmassBody(pmb_1, "Point mass body 1", p_1, p_2)
*SetPointmassBody(pmb_1, 10)
*SetPointmassBodyIC(pmb_1, 71, 72, 73)
*SetPointmassBodyICFlag(pmb_1, TRUE, TRUE, TRUE)
*EndMDL()

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()