We investigate a (n + 1)-dimensional generalized Randall-Sundrum model with an anisotropic metric which has three different scale factors. One obtain a positive effective cosmological constant Ω ef f ∼ 10 −124 (in Planck unit) which only need a solution kr ≃ 50 − 80 without fine tuning, and both the visible and hidden brane tensions are positive which results in the two branes to be stable. Then, we find that the Hubble parameter is seem to be a constant in a large region near its minimum, thus causing the acceleration of the universe. Therefore, the fine tuning problem also can be solved in this model. Meanwhile, the scale of extra dimensions is smaller than the observed scale but greater than the Planck length. This demonstrates that the observed present acceleration of the universe is caused by the extra-dimensional evolution rather than dark energy.