|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
contact slipI want to set a value for the force dependent slip function, but can't figure out how to set the flag/mode for the function. Also, any help on good values for k would be appreciated too. Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ode-users" group. To post to this group, send email to ode-users@... To unsubscribe from this group, send email to ode-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/ode-users?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: contact slipHi gq,
I don't really understand what you want but you can use below to support contact slip in nearcallback function; contact.surface.mode = dContactBounce | dContactSlip1 | dContactSlip2 | dContactSoftERP | dContactSoftCFM | dContactMu2; contact.surface.mu = dInfinity; contact.surface.mu2 = dInfinity; contact.surface.bounce = (dReal)0.5; contact.surface.bounce_vel = (dReal)0.01; contact.surface.slip1 = 0.003; contact.surface.slip2 = 0.003; contact.surface.soft_erp = 0.75; contact.surface.soft_cfm = 0.005; Hope this helps; Regards. Ümit Uzun 2009/11/6 gq <guanqing.ou@...>
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ode-users" group. To post to this group, send email to ode-users@... To unsubscribe from this group, send email to ode-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/ode-users?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: contact slipHi, thanks for the info! I was wondering two things: why is your mu infinity? What surface are you simulating here? And to try to clarify my original question......the coders on my team don't really know how to set the mode for contact slip.....but I think you solved it, so thanks! gq On Nov 7, 4:55 am, Ümit Uzun <umituzu...@...> wrote: > Hi gq, > > I don't really understand what you want but you can use below to support > contact slip in nearcallback function; > > contact.surface.mode = dContactBounce | dContactSlip1 | dContactSlip2 | > dContactSoftERP | dContactSoftCFM | dContactMu2; > contact.surface.mu = dInfinity; > contact.surface.mu2 = dInfinity; > contact.surface.bounce = (dReal)0.5; > contact.surface.bounce_vel = (dReal)0.01; > contact.surface.slip1 = 0.003; > contact.surface.slip2 = 0.003; > contact.surface.soft_erp = 0.75; > contact.surface.soft_cfm = 0.005; > > Hope this helps; > Regards. > > Ümit Uzun > > 2009/11/6 gq <guanqing...@...> > > > > > I want to set a value for the force dependent slip function, but can't > > figure out how to set the flag/mode for the function. > > > Also, any help on good values for k would be appreciated too. > > > Thanks! You received this message because you are subscribed to the Google Groups "ode-users" group. To post to this group, send email to ode-users@... To unsubscribe from this group, send email to ode-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/ode-users?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: contact slipOn 8 Nov 2009, at 21:39, gq wrote: > > Hi, > thanks for the info! I was wondering two things: why is your mu > infinity? What surface are you simulating here? According to documentation of contact joint: ----- mu : Coulomb friction coefficient. This must be in the range 0 to dInfinity. 0 results in a frictionlesscontact, and dInfinity results in a contact that never slips. Note that frictionless contacts are less time consuming to compute than ones with friction, and infinite friction contacts can be cheaper than contacts with finite friction. ----- together with having force dependent slip: ----- FDS is an effect that causes the contacting surfaces to side past each other with a velocity that isproportional to the force that is being applied tangentially to that surface. Consider a contact point where the coefficient of friction mu is infinite. Normally, if a force f is applied to the two contacting surfaces, to try and get them to slide past each other, they will not move. However, if the FDS coefficient is set to a positive value k then the surfaces will slide past each other, building up to a steady velocity of k*f relative to each other. ----- Klaus --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ode-users" group. To post to this group, send email to ode-users@... To unsubscribe from this group, send email to ode-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/ode-users?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: contact slipSo, I've read all that, but I can't find a general range for k values, and I'm also having trouble using it in pyode for some reason. It always says contactslip is undefined, and I don't know if I'm flagging it wrong. If you could provide examples of how it's generally used in pyode, that would be ideal. And k values that have worked for, say, sand or clay, would be amazing. gq On Nov 8, 4:52 pm, Klaus Backert <Klaus.Back...@...> wrote: > On 8 Nov 2009, at 21:39, gq wrote: > > > > > Hi, > > thanks for the info! I was wondering two things: why is your mu > > infinity? What surface are you simulating here? > > According to documentation of contact joint: > ----- > mu : Coulomb friction coefficient. This must be in the range 0 to > dInfinity. 0 results in a frictionlesscontact, and > dInfinity results in a contact that never slips. Note that > frictionless contacts are less time consuming to compute than ones > with friction, and infinite friction contacts can be cheaper than > contacts with finite friction. > ----- > > together with having force dependent slip: > ----- > FDS is an effect that causes the contacting surfaces to side past each > other with a velocity that isproportional to the force that is being > applied tangentially to that surface. > > Consider a contact point where the coefficient of friction mu is > infinite. Normally, if a force f is applied to the two contacting > surfaces, to try and get them to slide past each other, they will not > move. However, if the FDS coefficient is set to a positive value k > then the surfaces will slide past each other, building up to a steady > velocity of k*f relative to each other. > ----- > > Klaus You received this message because you are subscribed to the Google Groups "ode-users" group. To post to this group, send email to ode-users@... To unsubscribe from this group, send email to ode-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/ode-users?hl=en -~----------~----~----~----~------~----~------~--~--- |
| Free embeddable forum powered by Nabble | Forum Help |