T.C.
Hi G.,
I am an OT and treat folks who have had knee replacements.
Julie and TF are correct: keeping the surgical knee mobile; doing daily stretches and exercises and prescribed by your PT is the most important thing you can do.
Also, avoid propping up your legs when in bed or reclining on a sofa or chair: you should be sleeping with your legs flat every night.
Having said that, I can tell you most of my clients still have at least *some* swelling for 6 months or longer. You can use ice packs; massage therapy; and a PTA I work with is an herbalist, and made a massage oil for the other PTs to use on all the client's with knee replacements that is supposed to help with swelling. I also suggest you keep wearing anti-embolism stockings for as long as you can after surgery to help with swelling throughout your daily activities.
Good luck!
t