Viscoelastic flow simulations in random porous media