CoupleSystem 2D/3D• CoupleSystem is the head of the data object returned by SetCouple. • The format of the CoupleSystem data object: CoupleSystem[counters, initialconditions, initialguesses, equations, Jacobian, compsyms]. • CoupleSystem is not intended to be used external to Mech. • See also: SolveCouple. Further Examples Load the Modeler2D package and define a simple model. Here we rebuild the RelativeDistance1 constraint in the help model so that the distance between the link end and the ground pivot is parameterized by the new variable endDistance. This constraint is identical to the original constraint with the addition of endDistance in place of the constant 4.0.
Out[4]= | |
Now we build a CoupleSystem object that can be used to find the value of endDistance that causes the Y coordinate of the origin of the slider, Y3, to be equal to 1.9 when time, T, is equal to 0.2.
Out[5]= | |
Here we solve the CoupleSystem object to find the value of endDistance and the configuration of the entire model.
Out[6]= | |
See HelpModel2D.
|