Pendulum force?

How would I keep a pendulum object swaying back and forth, without slowing down?

I have a simple circle body attached to a constant distance joint, with all damping and friction
factors set to zero.

I searched the forums, but I don't fully understand where and how to apply a force to keep it going.
I couldn't find any example code either. Thanks for any help.

Original thread: https://box2d.org/forum/viewtopic.php?t=7994