American Mardy Fish attended Roddick's retirement announcement after defeating Russian Nikolay Davydenko 4-6 6-7 6-2 6-1 6-2 to reach the third round.
Roddick, who won the 2003 U.S. Open and was a Wimbledon finalist in 2004, 2005 and 2009, will play Tomic in the first match of the prime-time night session on Friday night.
"There's a lot of eyeballs on TV sets from people who don't even normally watch tennis during night matches of the US Open," he said. "I think I've played as many as anyone.
"It's just something I'll look back on with really fond memories. Hopefully won't be my last one."
In Image: Mardy Fish reacts after his match with Russia's Nikolay Davydenko