One of my patients had 2 knees and 2 hips replaced, and rode the DALMAC every year. (300-400 miles)
Every one of my TKR patients gets put on the stationary bike immediately. Rocking the pedals back and forth helps mobilize the knee and is incredibly useful even if they can't pedal in full circles.
Before your surgery your doctor will send you to "prehab". That will be 2 or 3 visits where the PT evaluates your entire leg and gives you specific exercises and stretches to address the tissue problems that need to be improved before surgery.
Surgery itself is intense, I won't sugar-coat that. But they will not let you out of the room or wake you up until they've put your knee through full range of motion and are sure it's perfect.
Rehab may be with the same PT who did your prehab. Rehab is all about getting your tissues healed up from the incisions and getting your muscles and nerves caught up with the perfect knee. The joint itself is fabulous, you just have to get everything around the joint up to speed. You'll leave the surgical suite with a knee that goes from 0-120, but the next day it will hardly move as your body goes into high gear to heal. Don't panic! It all comes back!
I would think that after trying all the non-surgical options and being in pain every day, you will be very pleased with your replacement!
"If Americans want to live the American Dream, they should go to Denmark." - Richard Wilkinson