Optimization volumetric heating in condensing steam flow by a novel method