Numerical Modeling of the Initial Stages of Dam-Break Problems