Modeling the Evolution of Galaxy Properties across Cosmic Time with Numerical Simulations