Treatment of waste water or sewer by means of physical, chemical or biological processes