Well, at the basic level, it’s a force in the opposite direction based on the damping coefficient, in meters per second. But reverse-translating that from the Box2D world could be tricky…
Did you search around on Stack Overflow? There are usually some interesting tidbits and suggestions on there, even if they’re aimed at another language or development platform… and if you find one written in Javascript or Obj-C, you might be able to to convert it to Lua (depending on your familiarity with those languages).
