How to define the thermal boundary condition?

Like a adiabatic boundary condition,and how to choose the parameter with the thermal boundary condition?