An apparatus for heating and removing a water phase from material, the apparatus comprising: - a chamber, said chamber further comprising: • cooker section, • a dryer section, and said chamber having a lower portion with a cylindrical or semi- shape and an upper portion closing the chamber, said chamber further comprising: - an inlet at the beginning of the cooker section, - an outlet at the end of the dryer section, wherein the cooker section and the dryer section each comprise heat exchange elements, said heat exchange elements comprising: • a jacket (8,9) arranged around each 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 jacket through connection openings, wherein the apparatus further comprises: - an axis arranged centrally within the container, and - scrapers attached to, and configured to rotate on the centrally arranged axis between the cylindrical or semi-cylindrical disc-shaped hollow compartments, - a first duct leading to the jacket of the dryer section for feeding steam under pressure from a steam boiler into the heat exchange elements of the dryer section, - a second duct leading from the upper portion of the chamber to the jacket of the cooker section for feeding steam generated in the dryer section into the heat exchange elements of the cooker, wherein the cooker section is separated from the dryer section with a water tight panel attached to the interior of the chamber, and wherein the apparatus further comprises an overflow or a scooping device attached to a scraper between the last two hollow discs of the cooker section for transferring the material in the cooker section to the intermittent section or the dryer section. - a chamber, said chamber further comprising: • cooker section, • a dryer section, and said chamber having a lower portion with a cylindrical or semi- shape and an upper portion closing the chamber, said chamber further comprising: • cooker section, • a dryer section, and said chamber having a lower portion with a cylindrical or semi- shape and an upper portion closing the chamber, said chamber further comprising: - an inlet at the beginning of the cooker section, - an outlet at the end of the dryer section, wherein the cooker section and the dryer section each comprise heat exchange elements, said heat exchange elements comprising: • a jacket (8,9) arranged around each 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 jacket through connection openings, • a jacket (8,9) arranged around each 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 jacket through connection openings, - an axis arranged centrally within the container, and - scrapers attached to, and configured to rotate on the centrally arranged axis between the cylindrical or semi-cylindrical disc-shaped hollow compartments, - a first duct leading to the jacket of the dryer section for feeding steam under pressure from a steam boiler into the heat exchange elements of the dryer section, - a second duct leading from the upper portion of the chamber to the jacket of the cooker section for feeding steam generated in the dryer section into the heat exchange elements of the cooker, wherein the cooker section is separated from the dryer section with a water tight panel attached to the interior of the chamber, and wherein the apparatus further comprises an overflow or a scooping device attached to a scraper between the last two hollow discs of the cooker section for transferring the material in the cooker section to the intermittent section or the dryer section.