Question:
Unfortunately, my wife had to have a hysterectomy due to a cancerous tumor found in her womb, is there a halachic problem that we will continue to live together.
Answer:
First I share in your grief, Hashem will give you health and joy.
To your question, even though the woman is infertile and cannot give birth, there is no prevention at all from living with her. The prohibition of the torah that doesn’t allow a marriage if you can’t give birth, is only for men and not for women. Also there is no problem of mutilation of sperm, since you are living together in a normal way.
Sources