Model development and numerical simulation of magnetic-sensitive hydrogels subject to an externally applied magnetic field