Transport simulation of armchair graphene ribbons with a generic potential in the presence of an orthogonal magnetic field