Systems and methods for thermal preservation (sterilization) of heterogeneous and multiphase foods and biomaterials in order to achieve their shelf stability at ambient level temperatures. Flowing heterogeneous, multiphase foods and biomaterials are exposed to single or multiple stages of electromagnetic energy under continuous flow conditions within conduits passing through the electromagnetic energy exposure chambers.