Instabilities, fluids structures and hamiltonian systems