InitialGuess 2D/3D• InitialGuess is an option for Body that specifies the initial guesses for a body's location coordinates in the form InitialGuess->{{x, y}, } (2D) or InitialGuess->{{x, y, z}, {eo, ei, ej, ek}} (3D). • InitialGuess[bnum] returns the current initial guesses of body bnum in the formats noted above. • InitialGuess is also an option for SetCouple that specifies initial guess for all coordinates as a list of rules. Rules are given in the same format as rules for SetGuess. • InitialGuess is also an option for SetFree that specifies initial guesses for the dependent variables in the system as a list of rules. Lower-order terms (independent variables) are given with InitialCondition. Rules are given in the same format as rules for SetGuess. • If no initial guess is specified for a body, the initial guess is in alignment with the global coordinate system. • The default setting InitialGuess->Automatic leaves the current guesses unchanged. • In Modeler2D, initial guesses may also be specified in the format {{x, y}, {ei, ej}} where the degenerate Euler parameters ei and ej are immediately converted to . • In Modeler3D, initial guesses may also be specified in the format {{x, y, z}, {vx, vy, vz}} where the second element is a virtual rotation vector, or the format {{x, y, z}, {, {x, y, z}}} where the second element is an angle and axis of rotation. The given rotation is immediately converted to a set of Euler parameters. • See also: Centroid, Inertia, PointList, Mass, SetBodies. Further Examples Load the Modeler3D package and define a simple model. Here is the default initial guess of the link body.
Out[2]= | |
The link body is given a new initial guess in the angle-axis format.
Out[4]= | |
See HelpModel3D.
|