I recall learning, but am unsure of the source, that a couple who has been married for 10 years but has no children either should get divorced. What is the source and reason for this? Is it an obligation or just recommended as a praiseworthy thing? Does it matter if the husband already fulfilled the mitzvah of being fruitful and multiplying?
The Rama (EH 1:3) writes that nowadays we are not accustomed to force people to get divorced over this issue. The Bet Shemuel there adds that in such a case the husband may divorce his wife against her will if he chooses to, without worrying about the Cherem of Rabbeinu Gershom.