Erik Kostson
Ansys Employee
Hi

You can do that using say Material Dependent Damping in engineering data for the material used by the beam (say Structural Steel as shown below).

All the best

Erik