Consider a pair of solenoid magnets as shown in the figure. Based on the magnetic field (B) at each point and corresponding Current Density, (J), I can calculate the Lorentz Force density at each point as F = J x B. Since it is a solenoid (axisymmetric), if I consider, say YZ plane, I can get axial force density as Fz = Jx * By and radial force density as Fy = Jx * Bz for each discrete point in the coil.
From this Force density map( vectors at each point), how can one calculate the net force in each solenoid? My intuition was adding all the values in a face, and multiplying it with the area of the face will give the force in that face. If it is correct, how do I find the net force in the body? multiply it by 2 pi?