An apparatus includes a foam metal panel heat exchanger core positioned in a duct, an inlet flow passage for directing a first fluid to the heat exchanger core, and an exit flow passage for directing the first fluid from the heat exchanger core, wherein the inlet flow passage is tapered relative to an inlet face of the heat exchanger core and the exit flow passage is tapered relative to an outlet face of the heat exchanger core. The first fluid has a substantially uniform flow distribution through the core. The inlet and exit flow passages can be adjacent to each other. The core can be formed of a compressed foam.