2D mass spring damper square lattice
Show older comments
Equations of motion for a 2D mass spring damper system and code for modelling on matlab needed.
4 Comments
William Rose
on 22 May 2021
@Muhammad Ali, Please provide more details. Show us what have you done so far on this problem.
Muhammad Ali
on 23 May 2021
William Rose
on 24 May 2021
The equation of motion for a M-S-D system may be written as

where
is a position vector,
is frictional drag,
is spring force, and
is the external force (if any).
may have 1 or 2 or 3 dimension (or more, I suppose). We assume that the spring pulls the object directly toward the origin, with a force proportional to the distance from the origin, and that frictional drag is the direction oppostite to the velocity, and proportional to the magnitude of velocity. These assumptions can be written as
and 
Therefore we get the equation

In the 2-D case, we have, in the x-direction,
which looks totally normal. It involves the x-components of the spring force and the drag force. But here's where it gets tricky and then simple again. What are the equations for
and
? It turns out the equations are
and
? It turns out the equations are
and

So we end up with
You get a similar result for the y-component:
So we see that for this special case - a linear mass-spring-dashpot system - the x- and y-parts do not affect each other, i.e. the equations of motion are totally separable. These two equations are what you need to solve. Since they are not coupled, you can solve them separately, in either order.
Akhil Narayan
on 12 Mar 2024
Hello Team,
Could you please help me to find the Equation of motion for a 1D Spring damper system and code for modelling on matlab. The equation should be with n number of segments/ nodes. Each node represents a connection between two dimers on Mictorubule. Thus, the node has a displacement of X and the other node has a displacement of X2. In this case, it should resemble a linear chain of microtubule components (attached a model for reference). Please do needfull.
Thanks,
Accepted Answer
More Answers (1)
William Rose
on 24 May 2021
0 votes
The equation of motion for a M-S-D system may be written as

where
is a position vector,
is frictional drag,
is spring force, and
is the external force (if any).
may have 1 or 2 or 3 dimension (or more, I suppose). We assume that the spring pulls the object directly toward the origin, with a force proportional to the distance from the origin, and that frictional drag is the direction oppostite to the velocity, and proportional to the magnitude of velocity. These assumptions can be written as
and 
Therefore we get the equation

In the 2-D case, we have, in the x-direction,
which looks totally normal. It involves the x-components of the spring force and the drag force. But here's where it gets tricky and then simple again. What are the equations for
and
? It turns out the equations are
and
? It turns out the equations are
and

So we end up with
You get a similar result for the y-component:
So we see that for this special case - a linear mass-spring-dashpot system - the x- and y-parts do not affect each other, i.e. the equations of motion are totally separable. These two equations are what you need to solve. Since they are not coupled, you can solve them separately, in either order.
1 Comment
Muhammad Ali
on 26 May 2021
Categories
Find more on Assembly in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




