Rotational spring / damping

18 views
Skip to first unread message

n doherty

unread,
Sep 13, 2017, 7:06:01 AM9/13/17
to PyDy
Hi,

I'm trying to set up a pydy solution for ship roll damping.  This problem is essentially a mass spring damper problem but rotating rather than translating.

What I've tried to do is set it up as a rigid body with an inertia dyadic (learned from the human standing tutorial).

I'm coming unstuck trying to apply a righting moment (spring) and a damping moment.  Is there an equivalent in rotational terms to calculate the righting moment as a function of angle as the 'Point.pos_from()' function that can be used to calculate a linear spring force?

Thanks,
Nick

Jason Moore

unread,
Sep 13, 2017, 11:30:26 AM9/13/17
to py...@googlegroups.com
 Nick,

You can determine the orientation between two reference frames with the .dcm() method. If you constructed it as a simple rotation, you can use the specific angle dynamic symbol that you used in the construction.

Jason

--
You received this message because you are subscribed to the Google Groups "PyDy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pydy+unsubscribe@googlegroups.com.
To post to this group, send email to py...@googlegroups.com.
Visit this group at https://groups.google.com/group/pydy.
For more options, visit https://groups.google.com/d/optout.

n doherty

unread,
Sep 13, 2017, 11:56:55 AM9/13/17
to PyDy
Thanks a lot Jason much appreciated


On Wednesday, 13 September 2017 16:30:26 UTC+1, moorepants wrote:
 Nick,

You can determine the orientation between two reference frames with the .dcm() method. If you constructed it as a simple rotation, you can use the specific angle dynamic symbol that you used in the construction.

Jason
On Wed, Sep 13, 2017 at 4:06 AM, n doherty <chis...@gmail.com> wrote:
Hi,

I'm trying to set up a pydy solution for ship roll damping.  This problem is essentially a mass spring damper problem but rotating rather than translating.

What I've tried to do is set it up as a rigid body with an inertia dyadic (learned from the human standing tutorial).

I'm coming unstuck trying to apply a righting moment (spring) and a damping moment.  Is there an equivalent in rotational terms to calculate the righting moment as a function of angle as the 'Point.pos_from()' function that can be used to calculate a linear spring force?

Thanks,
Nick

--
You received this message because you are subscribed to the Google Groups "PyDy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pydy+uns...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages