The present invention concerns a process for producing a solid product and a liquid product, comprising the steps of a. heating by direct steam injection a finely divided starting material, b. separating the heated starting material in the solid product and an aqueous liquid, c. heating and pressurizing the aqueous liquid, and d. reducing the pressure of the aqueous liquid thereby generating steam and the liquid product, wherein the steam generated in step d is returned to step a for injection into the finely divided starting material. The process suggests a solution for extracting the additional water appearing in the aqueous liquid due to condensed steam.