Natural convection in a cubical porous cavity with partially active lateral walls