. If all you really want to do is heat water you can use a heat exchanger with hot flue gas on one side and water on the other.
If you want to boil and superheat the water you will probably need several heat exchangers. You may even need to decide appropriate UA and heat exchanger geometry if you want to model a real plant situation and size equipment.
A very simple way to model this is to cool the flue gas with a cooler and connect the heat stream from the cooler to a heater to heat up the water.
Thank you for your answer but my doubt is different i want to combust methane obtained from biogas plant(mainly from cowdung etc)and want to heat water to generate steam for a tubine just for a purpose of electricity generation. How i can do this from methane combustion.
Burning methane produced from biomass.i's the same as burning any other methane/gas fuel. If you actually want to partially burn the biomas to form a syngas that's a little more complicated but still very do able.
Any boiler will have a radiant section and a convection section typically with boiler feed water circulating in tubes for preheat, steam generation and additional tube to superheat the steam. The boiler tubes should always be mixed phase typically >80% liquid. The steam water mix goes to a steam drum. The vapor steam is typically sent back to the furnace and through convection section heat exchange tube to be superheated. Boilers feed water preheat and additional steam generation are other common convection section services. There is a trade-off between cost and efficiency because adding convection section heat exchange increases cost..