A physics-informed convolutional neural network (PICNN) is proposed to simulate two-phase flow in porous media with time-varying well controls. While most PICNNs in the existing literature worked on parameter-to-state mapping, our proposed network parameterizes the solutions with time-varying controls to establish a control-to-state regression. Firstly, a finite volume scheme is adopted to discretize flow equations and formulate a loss function that respects mass conservation laws. Neumann boundary conditions are seamlessly incorporated into the semi-discretized equations so no additional loss term is needed. The network architecture comprises two parallel U-Net structures, with network inputs being well controls and outputs being the system states (e.g., oil pressure and water saturation). To capture the time-dependent relationship between inputs and outputs, the network is well designed to mimic discretized state-space equations. We train the network progressively for every time step, enabling it to simultaneously predict oil pressure and water saturation at each timestep. After training the network for one timestep, we leverage transfer learning techniques to expedite the training process for a subsequent time step. The proposed model is used to simulate oil–water porous flow scenarios with varying reservoir model dimensionality, and aspects including computation efficiency and accuracy are compared against corresponding numerical approaches. The comparison with numerical methods demonstrates that a PICNN is highly efficient yet preserves decent accuracy.
Read full abstract