How to improve stabilities of numerical solutions of PDEs

Click For Summary

Discussion Overview

The discussion revolves around improving the stability of numerical solutions for a system of partial differential equations (PDEs) in two variables, specifically focusing on time evolution methods. Participants explore various numerical techniques and their effectiveness in addressing instabilities that arise during computations.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant describes their experience with instabilities in numerical methods for PDEs, mentioning various techniques tried, including finite differences, Runge Kutta, and pseudospectral methods.
  • Another participant inquires about the tools being used for the numerical computations, suggesting that the choice of software or programming approach may influence stability.
  • A different participant suggests that using backward Euler can often stabilize first-order time problems and mentions the availability of automatic integrators based on this method.
  • One participant challenges the request for "all possible ideas" by emphasizing the need to analyze the system for sensitivity to input changes and the presence of regions with rapid variations, suggesting that context is crucial for selecting appropriate methods.
  • Examples are provided regarding situations where special methods are required, such as near turbulence onset, material failure, or critical points in physical systems, indicating that generic methods may not suffice.

Areas of Agreement / Disagreement

Participants express differing views on the best approaches to stabilize numerical solutions, with no consensus on a single method or solution. The discussion remains unresolved regarding the most effective strategies for the specific PDE system described.

Contextual Notes

Participants highlight the importance of understanding the specific characteristics of the PDE system, including non-linearity and the nature of the derivatives involved, which may affect the choice of numerical methods. There is an acknowledgment of the complexity and variability in behavior based on the system's parameters.

Kurret
Messages
141
Reaction score
0
This is a quite general question, but I am working with a system of partial differential equations in two variables. There is one time direction t and one spatial direction z and the numerical method is formulated by stepping forward in time. The problem is that I obtain instabilities, either at the endpoints or sometimes even in the interior, depending on which method I am using.

I have tried to approximate the spatial derivatives with finite differences of different orders, Runge Kutta, Euler backwards/forwards, pseudospectral methods based on Chebychev polynomials, I have tried to put the different functions on different grids, different methods to step forward in time, countless of ways to rewrite the equations or the order derivatives are evaluated. Even though there are some improvements, there is always some instability left and I am becoming desperate.

Is there any expert out there who could just list all possible ideas one can try to make time evolution of PDEs stable? I don't think there is any point in writing out the equations here since they are quite long and complex and would just intimidate, BUT I can say that they are non-linear, involve both first and second order derivatives in both z and t (but they can be formulated in the standard form ∂_t f=… by suitable redefinitions) and the system includes five different functions that will constitute the solution.
 
Physics news on Phys.org
Are you using a tool like Maple/Mathematica/Mathcad/MATLAB or are you programming this yourself or using other libraries?
 
If they're first order in time, backward euler usually does the trick. There are automatic integrators out there also that use the C. W. Gear method, or modifications thereof, based on higher order versions of backward euler. That would be my first choice.

Chet
 
Kurret said:
Is there any expert out there who could just list all possible ideas one can try to make time evolution of PDEs stable?

Um... Do you really want to ask it that way? "All possible ideas" would include a lot of ideas, only very few likely to be in any way useful.

The first thing you should try to do is check analytically if the system is in fact subject to wild variation. What do I mean? Does the system involve large changes in outcome from minute changes in input? Are there regions where minor variations will have a strong tendency to grow? Are the various derivatives rapidly changing in the regime you are working in?

Examples of such things: If you were near the onset of turbulence in a fluids problem, you need to use very different methods from the case when you are very far from turbulence. If you are near the point where a material is about to fail due to cracking, likewise. If you are near a change of state such as boiling, likewise. If you had elastic materials with widely different restorative forces, likewise. Or, in my little field, if you are close to criticality in a nuclear reactor, you have to use some special methods. Any time a material property changes rapidly or abruptly with changes in inputs, you need special methods.

Without knowing those kinds of details, it would be just whistling in the dark to guess what methods to use. Generically, one class of such methods deals with "stiffness." Another with "cliff edges." Another with changes of state. Another with explosions. And so on. The generic feature is, they do something different near an abrupt or large change.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 14 ·
Replies
14
Views
3K