Gas and solid flow in the freeboard of a fluidized bed combustor