Simulating flow caused by rising heated air

Is there any way I could simulate flow through a cylinder in which air is heated,it rises and then replaced by cold air at the bottom and then the cycle continues.If yes which boundary conditions should I apply.If no what is the closest thing I could do?

I want to find the velocity which will be created beacause of this cycle at the bottom of the long cylinder.

Thank you.