Modeling Friction with Lagrange: Easiest Method?

  • Context: Graduate 
  • Thread starter Thread starter Dale
  • Start date Start date
  • Tags Tags
    Friction Lagrange
Click For Summary

Discussion Overview

The discussion revolves around modeling friction within a Lagrangian framework, specifically exploring methods to incorporate energy dissipation due to friction in a system. Participants consider various approaches to include friction in the equations of motion, addressing both theoretical and practical aspects of the Lagrange method.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant suggests modeling friction as a constant energy dissipation term added to potential energy, questioning its validity.
  • Another participant argues that simply adding a term will not affect the equations of motion and recommends using the Euler-Lagrange equations to incorporate friction directly.
  • A third participant introduces the concept of a "dissipation function" that represents power lost to friction, noting that it is often a quadratic function of generalized velocities.
  • There is a discussion about the conditions under which the dissipation function is quadratic, specifically for ordinary friction versus viscous cases.
  • A participant seeks clarification on the relationship between energy dissipation and velocity, confirming that energy dissipated by ordinary friction is proportional to velocity.
  • One participant acknowledges a mistake in their earlier post regarding the sign in the equation and provides a corrected version, detailing the form of the dissipation function.
  • References to classical mechanics texts are mentioned as sources for further understanding of the topic.

Areas of Agreement / Disagreement

Participants express differing views on how to effectively model friction within the Lagrangian framework. While some propose specific methods, there is no consensus on the best approach, and the discussion remains unresolved regarding the optimal incorporation of friction into the equations of motion.

Contextual Notes

Participants note that the treatment of friction may depend on the specific characteristics of the frictional forces involved, such as whether they are linear or viscous. The discussion highlights the complexity of integrating these factors into the Lagrangian formalism.

Messages
36,787
Reaction score
15,747
Hi Everyone,

I want to use the Lagrange approach (which I am not terribly familiar with) to model a system with friction. I was thinking of modeling the losses due to friction as a simple constant dissipation of energy over time. Can I simply add a term of the form -Ft to the potential energy? (F is the amount of energy lost to friction in a unit time)

If not, what is the easiest way to add an energy-dissapation term?

-Thanks
Dale
 
Physics news on Phys.org
If you add a term -Ft it will not appear then it will not appear in the equations of motion!

Better to use the Euler-Lagrange equations to find the equations of motion, and then insert your friction directly into the equations of motion.

Edit: Some treatments due this by making the RHS of the Euler-Lagrange equations non-zero.
 
There is a standard way to do this, by means of a "dissipation function" [itex]\mathcal F[/itex]. The dissipation function represents the power lost to friction, so it is often a quadratic function of the generalized velocities [itex]\dot q_i[/itex]. Lagrange's equations of motion then become:

[tex]\frac d{dt} \left( \frac{\partial L}{\partial \dot q_i} \right) - \frac{\partial L}{\partial q_i} = - \frac{\partial {\mathcal F}}{\partial \dot q_i}[/tex]

Note that [itex]\mathcal F[/itex] is quadratic in the velocities only when the frictional forces are linear in the velocities; that is, for ordinary friction. For viscous cases when the forces are proportional to the square of the velocity, [itex]\mathcal F[/itex] would take on a different form.
 
Last edited:
Crosson said:
Edit: Some treatments due this by making the RHS of the Euler-Lagrange equations non-zero.
Ben Niehoff said:
There is a standard way to do this, by means of a "dissipation function" [itex]\mathcal F[/itex]. The dissipation function represents the power lost to friction, so it is often a quadratic function of the generalized velocities [itex]\dot q_i[/itex]. Lagrange's equations of motion then become:

[tex]\frac d{dt} \left( \frac{\partial L}{\partial \dot q_i} \right) - \frac{\partial L}{\partial q_i} = \frac{\partial {\mathcal F}}{\partial \dot q_i}[/tex]
Thanks, to both of you, this is exactly what I need.
Ben Niehoff said:
Note that [itex]\mathcal F[/itex] is quadratic in the velocities only when the frictional forces are linear in the velocities; that is, for ordinary friction. For viscous cases when the forces are proportional to the square of the velocity, [itex]\mathcal F[/itex] would take on a different form.
By frictional forces being linear in velocity I assume that you mean something to the effect that the energy dissipated by ordinary friction over a unit time is proportional to the velocity, because the force is constant. Is that correct? I am just trying to figure out how to construct this function. It looks like it should be in units of energy/time, perhaps representing the rate at which energy enters the system (negative numbers for dissipation, and 0 for purely conservative).

Edit: never mind, I just noticed that you already said it was power (energy/time) lost to friction (positive for dissipation). But if you have any references that discuss this in depth I would be appreciative!
 
Last edited:
Ack, I forgot a minus sign! I've fixed the original post. The revised equation is:

[tex]\frac d{dt} \left( \frac{\partial L}{\partial \dot q_i} \right) - \frac{\partial L}{\partial q_i} = - \frac{\partial {\mathcal F}}{\partial \dot q_i}[/tex]

[itex]\mathcal F[/itex] is then a positive definite quadratic form in the generalized velocities. Specifically, if the generalized forces of friction are

[tex]Q_i = -k_i \dot q_i[/tex]

then [itex]\mathcal F[/itex] is given by

[tex]{\mathcal F} = \frac 12 \sum_i k_i \dot q_i^2[/tex]

such that

[tex]Q_i = - \frac{\partial {\mathcal F}}{\partial \dot q_i}[/tex]

The reference I'm using is Classical Mechanics, by Goldstein, Poole, & Safko. I looked in Marion & Thornton also, but I couldn't find it (it may be in there; I didn't look very hard).
 
Last edited:

Similar threads

Replies
15
Views
3K
  • · Replies 18 ·
Replies
18
Views
2K
  • · Replies 21 ·
Replies
21
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 31 ·
2
Replies
31
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 0 ·
Replies
0
Views
327
  • · Replies 4 ·
Replies
4
Views
3K