A hamiltonian global nodal position finite element method for dynamics analysis of submarine cables. (15th December 2022)