Effects of gravity on structure and entropy generation of confined laminar diffusion flames