simulateforwardmagneticfield