Text this: Identification of the boundary regime in the process of water-oil displacement from the reservoir