A system for separating components of a fluid containing at least a first component and a second component includes a device having an inlet for introducing the fluid into the device, a first outlet for directing the first component of the fluid from the device, and a second outlet for directing the second component of the fluid from the device. A material that has a gradient in properties is located in the device between the inlet and the first and second outlets. The material has a first portion with an affinity for the first fluid component and a second portion with an affinity for the second fluid component. The first portion is positioned with relation to the first outlet such that the first component is directed from said device through the first outlet. The second portion is positioned with relation to the second outlet such that the second component is directed from the device through the second outlet.
STATEMENT AS TO RIGHTS TO INVENTIONS MADE UNDER FEDERALLY SPONSORED RESEARCH AND DEVELOPMENT
 The United States Government has rights in this invention pursuant to Contract No. DE-AC52-07NA27344 between the United States Department of Energy and Lawrence Livermore National Security, LLC for the operation of Lawrence Livermore National Laboratory.