Positivity-Preserving Adaptive Runge-Kutta Methods

Stephan Nüßlein, Hendrik Ranocha, David I Ketcheson
5/13/2020
math.NA

Official code: ketch/Positive_RK_Reproducibility (3 stars, Jupyter Notebook, MIT, last commit 2021-03-02).

Abstract

Many important differential equations model quantities whose value must remain positive or stay in some bounded interval. These bounds may not be preserved when the model is solved numerically.

Show full abstract

We propose to ensure positivity or other bounds by applying Runge-Kutta integration in which the method weights are adapted in order to enforce the bounds. The weights are chosen at each step after calculating the stage derivatives, in a way that also preserves (when possible) the order of accuracy of the method. The choice of weights is given by the solution of a linear program. We investigate different approaches to choosing the weights by considering adding further constraints. We also provide some analysis of the properties of Runge-Kutta methods with perturbed weights. Numerical examples demonstrate the effectiveness of the approach, including application to both stiff and non-stiff problems.

View on arXivView PDF

Code Implementations(1)

MIT

Code to reproduce examples from paper on positivity-preserving adaptive Runge-Kutta methods

32Jupyter Notebook, PythonMay 10, 20205 years agoMIT

Similar Papers

Cite this paper

@article{nlein2020positivitypreserving,
  title  = {Positivity-Preserving Adaptive Runge-Kutta Methods},
  author = {Stephan Nüßlein and Hendrik Ranocha and David I Ketcheson},
  year   = {2020},
  eprint = {2005.06268},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.06268}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2005.06268.svg)](https://codeofpaper.com/paper/2005.06268)

Discussion