Virginia Tech forward Allan Chaney underwent surgery on his heart Tuesday in Philadelphia, and after a day of rest, he will have another procedure Thursday, the school announced Tuesday evening.

The procedures are the result of the viral myocarditis and subsequent scarring around the heart that forced Chaney to miss the entire 2010-2011 basketball season.

Chaney was visiting with Dr. Francis Marchlinski, a heart specialist at the University of Pennsylvania, as he attempts to gain clearance to return to the basketball court. Virginia Tech said it will not release any more information regarding Chaney’s condition until the medical team has a chance to evaluate the procedures.

But Chaney indicated on his twitter account Wednesday morning that “he was tired and in pain after the nine-[hour] surgery” on Tuesday. He also wrote that “The surgery was a success and we are moving in the right direction.”

Chaney, who collapsed during a workout in April 2010, has been unable to gain clearance to play once doctors diagnosed him with viral myocarditis, an infection of the heart that has no clear causes but can sometimes result in sudden death.

Chaney has since recovered from the viral myocarditis, but developed scarring around his heart that has been a point of concern with doctors. Over the course of the year he’s paid several visits to heart specialists at the University of Virginia, but nobody has been able to get a handle on whether Chaney will be able to play competitive basketball again.

Virginia Tech Coach Seth Greenberg said this week’s appointment with Marchlinski would go a long way toward determining whether Chaney will ever compete for the Hokies.

Chaney, a Baltimore native, transferred to Virginia Tech from Florida prior to the 2009-10 season and sat out the entire campaign due to NCAA rules. The 6-foot-9, 235 pound forward averaged just three points and 2.1 rebounds per game during his freshman season in Gainesville, Fla., but Greenberg raved about Chaney’s skills when he practiced with the Hokies during his redshirt year.

If Chaney were to play next season, he would be classified as a redshirt junior.