{'fraction_non_alphanumeric': 0.017430600387346677, 'fraction_numerical': 0.0, 'mean_word_length': 5.326530612244898, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Multi-Level Non-Linear Solver for Complex Well Modelling


 Complex well model has proved to be important for capturing the full physics in wellbore, including pressure losses, multiphase effects, and advanced device modelling. Numerical instability may be observed especially when the well is produced at a low rate from a highly productive multi-phase zone. In this paper, a new multi-level nonlinear solver is presented in a state-of-the-art parallel complex wellbore model for addressing some difficult numerical convergence problems. A sequential two-level nonlinear solver is implemented, where the inner solver is used to address the convergence in the constraint rate equation, and then the entire complex network is solved using an outer solver. Finally, the wellbore model is coupled with the grid solution explicitly, sequentially, or implicitly. This novel formulation is robust enough to greatly improve the numerical stability due to the lagging in the computation of mixture density in wellbore constraint rate equation and the variation in the fluid composition over Newton iterations in network nonlinear solver.
 The numerical challenge in the complex well model and the improvement of performance with the new nonlinear solver are demonstrated using reservoir simulation. Models with complex wells running into convergence problems are constructed and simulated. With this novel nonlinear solver, simulation gives much more reliable results on well productions without numerical oscillations and computational cost is much less.