Narrative:

Was on a military instrument training flight as the instructor with a student pilot. We had been cleared direct to the IAF for the VOR and was told to climb from 11;000 ft to 17;000 ft. My student began to turn left; when the fix was to the right. I told him that he needed to turn right; followed shortly by ATC telling him that he was going the wrong way. He was not prepared for the approach and I wanted him to have a chance to figure it out without me having to tell him how to do everything. ATC called again telling us to turn right immediately and to level off at 12;000 (we were passing 12;500 at the time of the call). I immediately took the plane and bunted over to 0g to expedite leveling at 12;000 and began a 4g turn direct to the clearance fix. I did not receive any TAS warnings about hazardous traffic; but did see that there was another aircraft at our 6 o'clock position about 5 miles in trail. Upon landing; tower asked me to call center. I called as was told that a pilot deviation was being filed for the incident. They told me that there was an aircraft at our 6 o'clock; 5 miles away at 13;000 when we were giving our clearance to the fix and the climb from 11k to 17k. They said that by the time we got turned in the correct direction; we had gotten 3.4 miles and 400ft away from the other aircraft (less than the 5 miles and 1;000ft required for center separation). Worth noting; if the aircraft was at 5 miles when we began the climb and a turn; due to the fact that are airspeed slows in a climb; it would have been impossible to keep 5 miles separation with him already being at 5 miles. Also; center control was beyond task saturated at the time due to the fact that there were [multiple aircraft] trying to do approaches. The student was debriefed on the situation after landing.

Google
 

Original NASA ASRS Text

Title: Military flight instructor reported a loss of required separation with another aircraft while attempting to comply with ATC instructions.

Narrative: Was on a military Instrument training flight as the instructor with a student pilot. We had been cleared direct to the IAF for the VOR and was told to climb from 11;000 ft to 17;000 ft. My student began to turn left; when the fix was to the right. I told him that he needed to turn right; followed shortly by ATC telling him that he was going the wrong way. He was not prepared for the approach and I wanted him to have a chance to figure it out without me having to tell him how to do everything. ATC called again telling us to turn right immediately and to level off at 12;000 (we were passing 12;500 at the time of the call). I immediately took the plane and bunted over to 0g to expedite leveling at 12;000 and began a 4g turn direct to the clearance fix. I did not receive any TAS warnings about hazardous traffic; but did see that there was another aircraft at our 6 o'clock position about 5 miles in trail. Upon landing; tower asked me to call center. I called as was told that a pilot deviation was being filed for the incident. They told me that there was an aircraft at our 6 o'clock; 5 miles away at 13;000 when we were giving our clearance to the fix and the climb from 11k to 17k. They said that by the time we got turned in the correct direction; we had gotten 3.4 miles and 400ft away from the other aircraft (less than the 5 miles and 1;000ft required for center separation). Worth noting; if the aircraft was at 5 miles when we began the climb and a turn; due to the fact that are airspeed slows in a climb; it would have been impossible to keep 5 miles separation with him already being at 5 miles. Also; center control was beyond task saturated at the time due to the fact that there were [multiple aircraft] trying to do approaches. The student was debriefed on the situation after landing.

Data retrieved from NASA's ASRS site 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.