Simulation of Dislocated Flux in Space Plasma Environments: Applications in Geospace Modeling and Ionosphere-Magnetosphere Coupling