Dynamic analysis approach of nonlinear structures by minimizing the total potential dynamic work