Finite Difference Numerical Solution to NL coupled PDEs

Click For Summary

Discussion Overview

The discussion centers on the numerical solution of a system of non-linear coupled partial differential equations (PDEs) using finite difference methods. Participants explore various approaches and considerations for implementing these methods, including initial and boundary conditions.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant seeks guidance on numerically solving non-linear coupled PDEs and expresses a preference for finite difference methods over numerical packages like MatLab or Mathematica.
  • Another participant suggests that the triangle symbol likely represents the Laplacian and mentions the necessity of a CFL condition for stability in numerical solutions.
  • A different participant proposes using an explicit finite difference technique known as FTCS (Forward Time Centered Space) and provides a brief explanation of its formulation.
  • There is a mention that the shallow water equations are first-order equations, which may relate to the system being discussed.

Areas of Agreement / Disagreement

Participants express differing views on the nature of the equations and the appropriate numerical methods to use. There is no consensus on a single approach or solution, and multiple techniques are suggested without agreement on their effectiveness.

Contextual Notes

Participants discuss the implications of using explicit versus implicit methods, including the complexity of implementing implicit techniques and the conditions required for stability in explicit methods. The discussion does not resolve the mathematical steps or assumptions involved in the proposed methods.

cjvolz
Messages
1
Reaction score
0
I have a system of non-linear coupled PDEs, taken from a paper from the 1980s which I would like to numerically solve. I would prefer not to use a numerical Package like MatLab or Mathematica, though I will if I need to.

I would like to know if anyone knows how to solve non-linear coupled PDEs numerically or can point me to a textbook/reference which can explain how to do so. I am most familiar with finite difference methods, so it would be preferable if I could get an algorithm which used a finite difference method, but I am flexible.

The system of equations are

∂b/∂t = dΔb + εnb - a(b,n)b
∂s/∂t = a(b,n)b
∂n/∂t = Δn - nb

where b(x,t), s(x,t), and n(x,t) are all functions of space and time; a(b,n) is some decreasing function of b and n (something simple, but not constant); ε and d are constants. The initial and boundary conditions are will be either dirichlet or neumann and the initial conditions are simple.

Any help would be appreciated. Thank you for your time.
 
Physics news on Phys.org
I presume the triangle is the Laplacian? You're going to need a CFL condition aren't you?

To solve them numerically, all you do is discretize them and then put them in a for loop for time. My advice is to try a 1D case first to see whatthe solution looks like and then crank up the dimensions.
 
Are those the Shallow Water equations?

Using a finite differencing technique; there are several ways to solve the problem:

If you use an explicit technique (meaning an iterative [n+2] relies on [n+1] and [n]), I could recommend something called the:

FTCS ---> (Forward Time Centered Space)

Forward time: f_{t} = (f(t+h) - f(t))/h = (f^{n+1}_{i} - f^{n}_{i})/h

Space Centered: f_{x} = (f(x+h) - f(x-h))/(2h) = (f^{n}_{i+1} - f^{n}_{i-1})/(2h)The idea is this...
t
4|x . . . . x
3|x . . . . x
2|x . . . . x
1|o o o o o o
----------------------> x
_-1 2 3 4 5 6
"o" represents the Initial conditions.
"x" represents the Boundary conditions.
"." represents an unknown.

Represent your Nonlinear system of PDES such that:

(time+1) = (time) && (Space+1) && (Space-1)

Think about how you'd use this scheme to solve or the first "." on the bottom left. If you use this scheme explicitly then it will be subject to the
CFL condition... you should look it up, this is what will determine the stability of the explicit FTCS technique (whether or not the solution will converge, or blow up).
Not to confuse the issue further, but you can effectively ignore the CFL condition if you write an implicit FTCS technique. This will become a system of matrices that you need to solve. It's more complicated to write something like this. So I wouldn't advise it unless you feel like challenging yourself. The explicit technique is easier to start with.
 
Last edited:
The shallow water are first order equations.
 

Similar threads

  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 0 ·
Replies
0
Views
4K