The virtual speeds will appear in the force equations, but you then just set them to zero because they are fictitious. You force equation should then be correct.
Jason moorepants.info +01 530-601-9791 On Thu, Feb 3, 2022 at 9:58 AM Peter Stahlecker <peter.stahlec...@gmail.com> wrote: > When I use a velocity constraint to force a particle not to move in a > certain direction, there must be a 'reaction force' on the particle. > I use KM.auxiliary_eqs to find reaction forces, which works very well in > general! > > However, if I try to find the reaction force due to a velocity > constraint, it does no seem to work: > The force term of the equations of motion contains the 'virtual speed', > its time derivative and the reaction force. > > Am I doing something wrong, or do velocity_constraints and > KM.auxiliary_eqs just not work together? > I attach some code, showing my problem. > > *Any help is greatly appreciated!* > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sympy+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/e8091bb4-9730-4dc2-8e31-59662ef09e56n%40googlegroups.com > <https://groups.google.com/d/msgid/sympy/e8091bb4-9730-4dc2-8e31-59662ef09e56n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAP7f1AhH-qNnwFcYELWJyrEMJ4V0np5-KixUgnQ8GJSicujnwA%40mail.gmail.com.