An assembly for a compartment of a gas turbine engine, the assembly comprising: a housing defining a portion of the compartment; a gear disposed within the compartment and connected to a rotary shaft (46, 48); and a baffle (86, 86A) disposed about the gear, the baffle (86, 86A) comprising: an upstream portion disposed on an upstream side of the gear, the upstream portion comprising: an upstream outer wall separated from the gear; and an upstream inner wall positioned between the upstream outer wall and the gear, the upstream inner wall and the upstream outer wall of the upstream portion forming an upstream flow channel therebetween; and a downstream portion disposed on a downstream side of the gear opposite from the upstream portion, the downstream portion connected to the upstream portion and comprising: a downstream outer wall separated from the gear; and a downstream inner wall positioned between the downstream outer wall and the gear, the downstream outer wall and the downstream inner wall of the downstream portion forming a downstream flow channel therebetween. a housing defining a portion of the compartment; a gear disposed within the compartment and connected to a rotary shaft (46, 48); and a baffle (86, 86A) disposed about the gear, the baffle (86, 86A) comprising: an upstream portion disposed on an upstream side of the gear, the upstream portion comprising: an upstream outer wall separated from the gear; and an upstream inner wall positioned between the upstream outer wall and the gear, the upstream inner wall and the upstream outer wall of the upstream portion forming an upstream flow channel therebetween; and a downstream portion disposed on a downstream side of the gear opposite from the upstream portion, the downstream portion connected to the upstream portion and comprising: a downstream outer wall separated from the gear; and a downstream inner wall positioned between the downstream outer wall and the gear, the downstream outer wall and the downstream inner wall of the downstream portion forming a downstream flow channel therebetween. an upstream portion disposed on an upstream side of the gear, the upstream portion comprising: an upstream outer wall separated from the gear; and an upstream inner wall positioned between the upstream outer wall and the gear, the upstream inner wall and the upstream outer wall of the upstream portion forming an upstream flow channel therebetween; and an upstream outer wall separated from the gear; and an upstream inner wall positioned between the upstream outer wall and the gear, the upstream inner wall and the upstream outer wall of the upstream portion forming an upstream flow channel therebetween; and a downstream portion disposed on a downstream side of the gear opposite from the upstream portion, the downstream portion connected to the upstream portion and comprising: a downstream outer wall separated from the gear; and a downstream inner wall positioned between the downstream outer wall and the gear, the downstream outer wall and the downstream inner wall of the downstream portion forming a downstream flow channel therebetween. a downstream outer wall separated from the gear; and a downstream inner wall positioned between the downstream outer wall and the gear, the downstream outer wall and the downstream inner wall of the downstream portion forming a downstream flow channel therebetween.