They are often used to replace manual valves or for remote control. Solenoid valve function involves either opening or closing an orifice in a valve body, which either allows or prevents flow through the valve. ... Once the solenoid coil is energized, the resultant magnetic field raises the plunger, enabling flow.