Numerical simulation of the steady-state deformation of a smart hydrogel under an external electric field