An electromagnetic system includes a channel and at least one chambercomprising a first end and a second end.The channel traverses at least a portion of a longitudinal length of the atleast one chamber, whereby the channel enters the chamberat the first portion and exits the chamber at the second portion. The channelincludes an internal cavity for allowing materialsto flow therein and be exposed to electromagnetic energy. In one embodiment,the chamber is designed so that the materials in thechannel is exposed to lower electromagnetic energy at the first end of thechamber and exposed to a higher electromagnetic energyat the second end of the chamber