Searcharxiv⌕ Search

arXiv · 2611.23027

Right shape, wrong time: phase errors of ODE solvers in the flame problem

Abstract

The flame model $y'=y^2-y^3$, $y(0)=δ$, is a standard illustration of stiffness: for $δ=10^{-4}$ the stiff MATLAB solvers ode23s and ode15s need only 99 and 140 steps, against 3040 for ode45. We show that these cheap solutions have the right shape at the wrong time: they place the front 29 and 329 time units early, with maximal errors 0.95 and 1.00. Because all solutions are time translates of one master profile, the global error of every numerical solution with values in $[δ,1)$ is exactly a phase error, $y_k=y_δ(t_k-D_k)$. For fixed-step one-step methods of order $p$ we prove $D=h^p\int_δ^{y}g+O(h^{p+1})$ with a remainder bounded uniformly in $δ$, so that the delay grows at most like $h\ln(1/δ)$ for $p=1$ and stays bounded for $p\geq2$. For any computed solution the delay is exactly the sum of its defects with respect to the exact flow, converted into time; a heuristic model, confirmed by MATLAB runs, explains why it is created in the first few steps and why tightening the tolerances is an expensive cure. Integrating for $1/y$, which runs like a clock in the slow phase, with an absolute tolerance reduces the error by several orders of magnitude, at a median cost close to that of the standard formulation. The mechanism needs only that the equation is autonomous; its general form is the subject of a companion paper.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Imre Boros. 2026-11-17. Right shape, wrong time: phase errors of ODE solvers in the flame problem. https://searcharxiv.com/abs/2611.23027

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Searcharxiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Adaptive mesh refinement for the Landau-Lifshitz-Gilbert equation

We propose a new adaptive algorithm for the approximation of the Landau--Lifshitz--Gilbert equation via a higher-order tangent plane scheme. We show that the adaptive approximation satisfies an energy inequality and demonstrate numerically that the adaptive algorithm outperforms uniform approaches.

math.NA↗

A one-dimensional model of catheter aspiration in blood vessels

Aspiration thrombectomy is a primary endovascular treatment option for acute ischemic stroke caused by large vessel occlusions, in which a catheter is navigated to the occlusion site and suction is applied to remove the thrombus. This work introduces a reduced one-dimensional model for aspiration in blood vessels that accounts for the elasticity of both the vessel wall and the catheter. The inclusion of vessel wall visco-elasticity transforms the governing equation for the flow rate into a parabolic form, enabling an accurate resolution of the diffuse pressure gradients near the catheter tip observed in CFD simulations. The numerical treatment is based on a relaxation of the hyperbolic subsystem that facilitates nodal solvers, enabling efficient coupling between catheterized and uncatheterized vessel segments, including bifurcations and the catheter tip. A splitting strategy ensures that the visco-elastic terms incur only negligible additional computational cost relative to the purely hyperbolic model. The model is benchmarked against three-dimensional CFD simulations and reference data from the literature. Numerical experiments investigating the role of catheter elasticity and suction force on the hemodynamics are presented, and an uncertainty quantification study demonstrates the suitability of the framework for efficient parameter studies. The results indicate that the proposed model resolves blood flow comparably accurate to three-dimensional simulations at a fraction of the computational cost. While further in vitro and in vivo validation is required, the framework represents a promising step toward computationally efficient preoperative planning and uncertainty-aware decision support in aspiration thrombectomy.

math.NA↗

Exploiting the nonzero diagonal pattern in matrix function computations

We consider the task of approximating a matrix function $f(A)$, where $A$ is a matrix in which only a relatively small number of (not necessarily consecutive) sub- and superdiagonals contain nonzero entries. Approximating $f$ by a low-degree polynomial $p$ allows us to obtain sparse approximations to $f(A)$, which one can efficiently work with (while, in general, $f(A)$ is a dense matrix, even when $A$ is sparse). Our approach is based on carefully inspecting the locations where nonzeros can occur in $p(A)$, and identifying the entries in $A$ that influence them. In particular, we illustrate how this approach can be used for efficiently approximating the trace of $f(A)$ and identify how this approach is related to established (stochastic) probing methods for trace estimation. Another application area in which our approach works particularly well is the computation of functions of Toeplitz matrices. Here, studying the sparsity pattern of $p(A)$ allows us to reduce the computation of the whole matrix polynomial to that of a single small-scale submatrix, yielding an algorithm that scales exceptionally well to large problem sizes.

math.NA↗