Current And Magnetic Field Simulation