a b s t r a c tWe present a numerical study of the magnetic structure of nanostructured iron fluoride, using the Monte Carlo Metropolis simulated annealing technique and a classical Heisenberg Hamiltonian with superexchange angle dependent interactions. The parameters are adjusted on experimental results, and the atomic structure and topology taken from a previous atomistic model of grain boundaries in the same system. We find perfect antiferromagnetic crystalline grains and a disordered magnetic configuration (speromagnetic) at the grain boundary, in agreement with experimental features. Both the lowest magnetic energy and the rate of magnetic frustration are found to be dependent on the relative disorientation of crystalline grains, i.e. on the cationic topology. We conclude on possible extensions of the model.