AnnieC, I am a few weeks ahead of you and the pain was a constant thing for me, too, no matter what I did or didn't do. So, I opted to really take it easy and rest, elevate, and ice for weeks. I had a very good PT who was trained for TKR recovery and it was very gentle, so that helped a lot, too. Much of her focus was to have me move safely for the things I HAD to do (go to the bathroom, etc.).
Jockette, you are so right about having a PT who is trained for TKR recovery. My current rehab PT actually shadowed several patients (not me) through surgery and recovery, and was specially trained for joint replacement work. She has been a miracle worker. But, I didn't start working with her until several weeks after surgery, and she has the same attitude as my first in-home PT: no pain. Work with what you have, gently push within your comfort zone, and rest, elevate, and ice! We end every session with a nice long icing session, and it really helps. Sure, I still have stiffness, and sometimes those quads really get a bee in their bonnet no matter what I do. But, the hard pain is over and now it's mostly stiffness and the occasional soreness if I overdo things. As someone else said, we become knee whisperers (love that).