Previous section-----Next section


SolveCouple[cpsys, options] solves the CoupleSystem object cpsys built by SetCouple. SolveCouple returns a list of rules representing the solution to cpsys.

• If cpsys is a symbol that evaluates to a CoupleSystem object, cpsys is updated with a new set of initial guesses as specified by the current solution of cpsys.
• The following options can be given:

InitialCondition must be a list of rules of length n for an n configuration CoupleSystem. The list of rules is of the form InitialCondition->{Time->t1, Time->t2, ... }.
• See also:

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.

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.

Here we solve the CoupleSystem object to find the value of endDistance and the configuration of the entire model.

See HelpModel2D.

Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information