Tuesday, July 29, 2014

Hairer & Wanner’s Brusselator problem

A good test of the Rosenbrock methods can be applied to the PDE from Hairer & Wanner. The PDE’s for the diffusion equation (also known as the Brusselator in one spatial coordinate) are:
 


The initial & boundary conditions are:



The first step in the solution of this PDE is to convert it into equivalent ODE’s, with the use of the finite difference technique & the MOL. Here is the procedure to solve the PDE’s:
  • Choose the number of grid points N to be used for the finite difference method.
  • Calculate the discrete location of the points on the grid:
  •  Calculate the spacing between the grid points 
  •  Use the finite difference technique to represent the 2nd order PDE’s as ODE’s
 
  •  Use the MOL to convert the PDE’s to ODE’s



Plotted below are the 3D solutions of vectors u & v. 



 

No comments:

Post a Comment