How to improve stabilities of numerical solutions of PDEs

Click For Summary
SUMMARY

This discussion focuses on improving the stability of numerical solutions for partial differential equations (PDEs) involving both time and spatial variables. The user has experimented with various numerical methods, including finite differences, Runge-Kutta, and pseudospectral methods, but continues to encounter instabilities. Recommendations include using backward Euler for first-order time integration and considering the C. W. Gear method for automatic integration. Additionally, it is crucial to analyze the system for sensitivity to input variations, especially in contexts such as turbulence onset or material failure.

PREREQUISITES
  • Understanding of partial differential equations (PDEs)
  • Familiarity with numerical methods such as finite differences and Runge-Kutta
  • Knowledge of stability analysis in numerical simulations
  • Experience with computational tools like MATLAB or Mathematica
NEXT STEPS
  • Research the C. W. Gear method for automatic integration of stiff systems
  • Learn about stability analysis techniques for PDEs
  • Explore advanced numerical methods for handling stiffness in PDEs
  • Investigate the impact of boundary conditions on numerical stability
USEFUL FOR

Researchers, mathematicians, and engineers working with numerical simulations of partial differential equations, particularly those dealing with stability issues in time evolution of complex systems.

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
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
4K