### Abstract

Reservoir simulation models describe the flow of various fluid models, such as black oil, compositional, reactive transport, and chemical flooding. Implementing new fluid models in reservoir simulators requires significant manpower to rewrite the simulation code, especially if the original simulator was not designed properly. One such example is to include geochemical reactive transport processes. In this paper, a general modeling framework is developed for easy implementation of new fluid models including time-independent (equilibrium) and time-dependent (kinetic) correlations. The approach is physically sound, robust and naturally extends black oil and compositional models to multiphase reactive systems for a variety of complex flow processes. The fundamental physical laws (including conservation laws of mass/momentum/energy and thermodynamics laws) govern multiphase flow in porous media. Here we consistently applied the general principles under different assumptions to obtain the mass conservation equations for various processes. The framework includes a definition of components under the instantaneous phase and chemical equilibrium, mass conservation equations, a volume balance equation, and equilibrium relations. That is, primary equations for various fluids are represented by a unique set of mass conservation equations with different secondary algebraic constraints. The differential equations do not need to be changed as new processes are added. IMPEC and FIM are used to solve for flow. A robust algorithm is developed to calculate the phase equilibrium together with chemical equilibrium. The simulator was validated with SPE comparative solution projects using Eclipse 300 and CMG-GEM. Large-scale reservoir models including SPE 10 and a field case from Europe were compared with various commercial simulators, showing that the simulator is significantly faster and more robust. New coupled reactive phase behavior models were implemented, including low salinity waterflooding, CO_{2} WAG with reactions, alkali/surfactant/polymer (ASP) flooding with the HLD-NAC EoS model, and fines migration. Those models have been implemented with minimal additional coding owing to the novel and consistent framework. The modeling framework provides a handy and powerful tool to understand the detailed interaction between species, easily update the physics as needed, and to better predict its impact on the ultimate oil recovery. This framework differs from previous research because the equilibrium chemical reactions are included without changing the structure of the compositional model. Similar to conventional compositional models, the flow, transport and local interactions are treated in two parts. This paper generalizes the simulation technology (named PennSim) that we have used in various applications. The novel formulation also enables fast linear solver performance due to the natural decoupling techniques.

Original language | English (US) |
---|---|

Title of host publication | Society of Petroleum Engineers - SPE Reservoir Simulation Conference 2017 |

Publisher | Society of Petroleum Engineers |

Pages | 2079-2096 |

Number of pages | 18 |

ISBN (Print) | 9781510838864 |

State | Published - Jan 1 2017 |

Event | SPE Reservoir Simulation Conference 2017 - Montgomery, United States Duration: Feb 20 2017 → Feb 22 2017 |

### Publication series

Name | Society of Petroleum Engineers - SPE Reservoir Simulation Conference 2017 |
---|

### Other

Other | SPE Reservoir Simulation Conference 2017 |
---|---|

Country | United States |

City | Montgomery |

Period | 2/20/17 → 2/22/17 |

### Fingerprint

### All Science Journal Classification (ASJC) codes

- Geochemistry and Petrology
- Modeling and Simulation

### Cite this

*Society of Petroleum Engineers - SPE Reservoir Simulation Conference 2017*(pp. 2079-2096). (Society of Petroleum Engineers - SPE Reservoir Simulation Conference 2017). Society of Petroleum Engineers.

}

*Society of Petroleum Engineers - SPE Reservoir Simulation Conference 2017.*Society of Petroleum Engineers - SPE Reservoir Simulation Conference 2017, Society of Petroleum Engineers, pp. 2079-2096, SPE Reservoir Simulation Conference 2017, Montgomery, United States, 2/20/17.

**A general purpose reservoir simulation framework for multiphase multicomponent reactive fluids.** / Qiao, Changhe; Khorsandi, Saeid; Johns, Russell Taylor.

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution

TY - GEN

T1 - A general purpose reservoir simulation framework for multiphase multicomponent reactive fluids

AU - Qiao, Changhe

AU - Khorsandi, Saeid

AU - Johns, Russell Taylor

PY - 2017/1/1

Y1 - 2017/1/1

N2 - Reservoir simulation models describe the flow of various fluid models, such as black oil, compositional, reactive transport, and chemical flooding. Implementing new fluid models in reservoir simulators requires significant manpower to rewrite the simulation code, especially if the original simulator was not designed properly. One such example is to include geochemical reactive transport processes. In this paper, a general modeling framework is developed for easy implementation of new fluid models including time-independent (equilibrium) and time-dependent (kinetic) correlations. The approach is physically sound, robust and naturally extends black oil and compositional models to multiphase reactive systems for a variety of complex flow processes. The fundamental physical laws (including conservation laws of mass/momentum/energy and thermodynamics laws) govern multiphase flow in porous media. Here we consistently applied the general principles under different assumptions to obtain the mass conservation equations for various processes. The framework includes a definition of components under the instantaneous phase and chemical equilibrium, mass conservation equations, a volume balance equation, and equilibrium relations. That is, primary equations for various fluids are represented by a unique set of mass conservation equations with different secondary algebraic constraints. The differential equations do not need to be changed as new processes are added. IMPEC and FIM are used to solve for flow. A robust algorithm is developed to calculate the phase equilibrium together with chemical equilibrium. The simulator was validated with SPE comparative solution projects using Eclipse 300 and CMG-GEM. Large-scale reservoir models including SPE 10 and a field case from Europe were compared with various commercial simulators, showing that the simulator is significantly faster and more robust. New coupled reactive phase behavior models were implemented, including low salinity waterflooding, CO2 WAG with reactions, alkali/surfactant/polymer (ASP) flooding with the HLD-NAC EoS model, and fines migration. Those models have been implemented with minimal additional coding owing to the novel and consistent framework. The modeling framework provides a handy and powerful tool to understand the detailed interaction between species, easily update the physics as needed, and to better predict its impact on the ultimate oil recovery. This framework differs from previous research because the equilibrium chemical reactions are included without changing the structure of the compositional model. Similar to conventional compositional models, the flow, transport and local interactions are treated in two parts. This paper generalizes the simulation technology (named PennSim) that we have used in various applications. The novel formulation also enables fast linear solver performance due to the natural decoupling techniques.

AB - Reservoir simulation models describe the flow of various fluid models, such as black oil, compositional, reactive transport, and chemical flooding. Implementing new fluid models in reservoir simulators requires significant manpower to rewrite the simulation code, especially if the original simulator was not designed properly. One such example is to include geochemical reactive transport processes. In this paper, a general modeling framework is developed for easy implementation of new fluid models including time-independent (equilibrium) and time-dependent (kinetic) correlations. The approach is physically sound, robust and naturally extends black oil and compositional models to multiphase reactive systems for a variety of complex flow processes. The fundamental physical laws (including conservation laws of mass/momentum/energy and thermodynamics laws) govern multiphase flow in porous media. Here we consistently applied the general principles under different assumptions to obtain the mass conservation equations for various processes. The framework includes a definition of components under the instantaneous phase and chemical equilibrium, mass conservation equations, a volume balance equation, and equilibrium relations. That is, primary equations for various fluids are represented by a unique set of mass conservation equations with different secondary algebraic constraints. The differential equations do not need to be changed as new processes are added. IMPEC and FIM are used to solve for flow. A robust algorithm is developed to calculate the phase equilibrium together with chemical equilibrium. The simulator was validated with SPE comparative solution projects using Eclipse 300 and CMG-GEM. Large-scale reservoir models including SPE 10 and a field case from Europe were compared with various commercial simulators, showing that the simulator is significantly faster and more robust. New coupled reactive phase behavior models were implemented, including low salinity waterflooding, CO2 WAG with reactions, alkali/surfactant/polymer (ASP) flooding with the HLD-NAC EoS model, and fines migration. Those models have been implemented with minimal additional coding owing to the novel and consistent framework. The modeling framework provides a handy and powerful tool to understand the detailed interaction between species, easily update the physics as needed, and to better predict its impact on the ultimate oil recovery. This framework differs from previous research because the equilibrium chemical reactions are included without changing the structure of the compositional model. Similar to conventional compositional models, the flow, transport and local interactions are treated in two parts. This paper generalizes the simulation technology (named PennSim) that we have used in various applications. The novel formulation also enables fast linear solver performance due to the natural decoupling techniques.

UR - http://www.scopus.com/inward/record.url?scp=85048306360&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=85048306360&partnerID=8YFLogxK

M3 - Conference contribution

AN - SCOPUS:85048306360

SN - 9781510838864

T3 - Society of Petroleum Engineers - SPE Reservoir Simulation Conference 2017

SP - 2079

EP - 2096

BT - Society of Petroleum Engineers - SPE Reservoir Simulation Conference 2017

PB - Society of Petroleum Engineers

ER -