Is there a way to use Euler-Lagrange equations to derive the following formula?
I can derive the term not due to damping, I guess the damping force should be somehow modeled using a generalized force. Can you please show me how?
My attempt was starting by
$$ F_{d,ij} = k_d \lVert v_{ij} \rVert u_{ij} $$
Where $v_{ij}$ is the relative velocity vector and $u_{ij}$ is the unit vector going from mass $i$ to $j$. But I'm missing how should I go from here to the generalized forces.
Thank you.
