Theory analyses and applications of magnetic fluids in sealing