Hi Ji,
You can follow the attached link to learn how to select the different surfaces in the Mechanical with the APDL command snippet.
https://forum.ansys.com/forums/topic/convection-coefficient-on-a-specifique-side-of-a-surface-bogy-shell/
Let me know if you face any issues
Regards,
Sampat