Numerical Simulation of Frictional Contact Problems in Flexible Multibody Dynamics