To compartmentalize something means to divide it into separate sections. 分开; 划分
verb [vt. 及物动词]vt. 划分,区分
Traditionally men have compartmentalized their lives, never letting their personal lives encroach upon their professional lives. 过去,男人把他们的生活分开,不会让个人生活干扰职业生活。