The Brazil international would welcome his compatriot with open arms if he were to arrive at Camp Nou, but understands the difficulty in attaining his signature
The Camp Nou side are keen to add some fresh blood to their defence this summer and tabled a €25 million offer for the 26-year-old Luiz earlier this month, while their advances for Liverpool's Daniel Agger have also been spurned.
Chelsea manager Jose Mourinho has since stressed that Barca have little chance of getting their man, but Alves would welcome his compatriot with open arms if the transfer were to take place.
"I would be happy if David Luiz would come to Barcelona. I always want the best for my friends and advise them to join Barca if they get the chance," Alves told El Mundo Deportivo.
"He's not just a friend, but he has a lot of quality, too.
"The problem is not whether he would like to come here, but that you have to take him away from Mourinho and that will not be easy.
"Letting David Luiz join Barca will not be an option for him and even less so as it would make us stronger. It will be incredibly difficult, nearly impossible."
Luiz has a contract with Chelsea until June 2017.