Narrative:

We experienced right engine compressor stalls after lift-off. You could physically feel it; the aircraft was yawing on each surge; there were about seven of them. ATC reported fire out the back of the engine. We continued our climb profile; declared an emergency; leveled off at a safe altitude and reduced power which stopped the surging. I elected to let the first officer continue as pilot flying; I read the climb check; the in-range check; notified the cabin crew and advised the passengers of our situation. We maintained VMC and landed visually at the departure airport. We then taxied the aircraft to the gate with a crash fire rescue equipment escort. Turns out after a boroscope inspection that the engine was coming apart internally.

Google
 

Original NASA ASRS Text

Title: A B717 experienced extensive compressor stalls from the right engine shortly after takeoff. The flight crew declared an emergency and returned to the departure airport.

Narrative: We experienced right engine compressor stalls after lift-off. You could physically feel it; the aircraft was yawing on each surge; there were about seven of them. ATC reported fire out the back of the engine. We continued our climb profile; declared an emergency; leveled off at a safe altitude and reduced power which stopped the surging. I elected to let the First Officer continue as Pilot Flying; I read the climb check; the in-range check; notified the Cabin Crew and advised the passengers of our situation. We maintained VMC and landed visually at the departure airport. We then taxied the aircraft to the gate with a CFR escort. Turns out after a boroscope inspection that the engine was coming apart internally.

Data retrieved from NASA's ASRS site as of April 2012 and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.