Arrangements for separating materials produced by the well