Kinetic Simulations of Relativistic Electron Flows in Time-Dependent Electromagnetic Fields