A new approach to computations of forces in magnetic fluids