Although there is substantial information on finding force between two identical cylindrical magnets. Can anyone please explain me how to find force for two non-identical cylindrical magnets
I came across a conference paper entitled "Analytical Calculation of the Interactions between two Cylinder-shaped Magnets" by Hicham Allag, Jean-Paul Yonnet, and Benoit Delinchant. The title does not specify whether the cylindrical magnets are identical or not. Perhaps, you could ask the authors to send you the full-text. I know this group; they have very strong expertise in this field.
I have worked with a very similar problem, in computing torque in reluctance motors and generators. I compute the energy stored in the field, By integrating 1/2*B*H over the near volume, then assume a small displacement, and recompute. The change in energy divided by distance of the displacement, is force.
B represents magnetic flux density in Tesla
H represents magnetic field strength in Ampere turns per meter.