three way valve in ore processing