all i can find on the internet are the attractive and repulsive forces between 2 magnets... where can i find the relationship between distance and attractive force , between a magnet and i.e. a piece of iron?
with [itex]\vec{m}_{1}[/itex] and [itex]\vec{m}_{2}[/itex] being the two magnetic dipole moments, and [itex]\vec{r}[/itex] is the displacement vector from the location of m1 to m2
You may be able to obtain a dipole based representation of each magnet. The permanent magnet would have "bound current", which is which is obtainable from the magnetization.
It is complicated to determine the attraction between a magnet and a piece of iron (or other ferromagnetic material). What you can do, if you know exactly how the magnetic field is configured, is to calculate the energy stored in that field and then calculate how much that energy would change when you place a ferromagnetic material around it. This is totally analogous to the problem Feynman analyzed on the Feynman Lectures, volume 2, chapter 10, section 10-5, with the difference Feynman did the math for electric fields and dielectrics. But the reasoning is precisely the same.
Anyways, unless you have a very simple system (such as a uniform magnetic field and a ferromagnetic plate), the math you will need to solve your problem can be quite messy.