A computational design of a magnetic field applied to control magnetic adsorbent used in liquid/gas adsorption processes