Riemann problem for constant flow with single-point heating source