Exploring relativistic gravity with numerical simulations