A computer enclosure includes a chassis with a plurality of heat generating components installed therein and an airflow guide structure. The airflow guide structure includes a fan and a duct attached to the fan. A pair of airflow outlets aligned with the fan is defined in the duct. The duct includes a plurality of pivot panels pivotally attached at airflow outlets. The pivot panels are configured to guide airflow from the fan to different positions of heat generating components in the chassis.