An apparatus for heating or removing a water phase from material, the apparatus comprising: - a chamber, - an inlet, - an outlet, where the chamber has a lower portion with a cylindrical or semi- shape and an upper portion closing the chamber and where the chamber is divided into at least three sections, and, wherein each section comprises a set of heat exchange elements, said set of heat exchange elements comprising: • a first, a second and a third jacket arranged around their corresponding section, and • a plurality of cylindrical or semi-cylindrical disc-shaped hollow compartments, arranged parallel with space between them in the lower portion of the chamber, each cylindrical or semi-cylindrical disc-shaped hollow compartment comprising hollow protrusions connecting the disc-shaped hollow compartments to the corresponding jacket through connection openings, wherein the device further comprises: - an axis arranged centrally within the container, and - scrapers attached to, and rotating on the centrally arranged axis between the cylindrical or semi-cylindrical disc-shaped hollow compartments, - a first duct leading to the first jacket of the first section for feeding steam under pressure from externals source into the heat exchange elements of the first section, - a second duct leading from the upper portion of the chamber to the jacket of the second section for feeding steam generated in the chamber into the heat exchange elements of the second section, - the third jacket receiving steam directly from the upper portion of the chamber through a duct, and - one or more high pressure fans in the duct between the upper portion and the jacket for increasing the pressure and the temperature of the steam before injecting it into jacket and its corresponding disc-shaped hollow compartments. - a chamber, - an inlet, - an outlet, where the chamber has a lower portion with a cylindrical or semi- shape and an upper portion closing the chamber and where the chamber is divided into at least three sections, and, wherein each section comprises a set of heat exchange elements, said set of heat exchange elements comprising: • a first, a second and a third jacket arranged around their corresponding section, and • a plurality of cylindrical or semi-cylindrical disc-shaped hollow compartments, arranged parallel with space between them in the lower portion of the chamber, each cylindrical or semi-cylindrical disc-shaped hollow compartment comprising hollow protrusions connecting the disc-shaped hollow compartments to the corresponding jacket through connection openings, • a first, a second and a third jacket arranged around their corresponding section, and • a plurality of cylindrical or semi-cylindrical disc-shaped hollow compartments, arranged parallel with space between them in the lower portion of the chamber, each cylindrical or semi-cylindrical disc-shaped hollow compartment comprising hollow protrusions connecting the disc-shaped hollow compartments to the corresponding jacket through connection openings, - an axis arranged centrally within the container, and - scrapers attached to, and rotating on the centrally arranged axis between the cylindrical or semi-cylindrical disc-shaped hollow compartments, - a first duct leading to the first jacket of the first section for feeding steam under pressure from externals source into the heat exchange elements of the first section, - a second duct leading from the upper portion of the chamber to the jacket of the second section for feeding steam generated in the chamber into the heat exchange elements of the second section, - the third jacket receiving steam directly from the upper portion of the chamber through a duct, and - one or more high pressure fans in the duct between the upper portion and the jacket for increasing the pressure and the temperature of the steam before injecting it into jacket and its corresponding disc-shaped hollow compartments.