Text this: Optimization in Finite Elements to Define the Friction Factor Through Ring Compression Tests