- #1

RiseFox

- 3

- 0

Moved from a technical forum, so homework template missing

Hello, I have a project (model reaction diffusion brusselator 2d)

∂u/∂t=A+u^2v-(B−1)u+D

∂v/∂t=Bu−u^2v+D

initial conditions:

u(x,y,0) = 0.5 + y,

v(x,y,0) = 1 + 5x.

boundary conditions:

∂u/∂n = 0, ∂v/∂t = 0

n-external normal to the boundary

for numerical experiment:

A=1;B=3.4; D

I attached .zip with MATLAB code, but it is not working properly for some reason (( pls help me with code (problems with initial conditions)

∂u/∂t=A+u^2v-(B−1)u+D

_{1}((∂^2)u/∂(x^2)+(∂^2)u/∂(y^2))∂v/∂t=Bu−u^2v+D

_{2}((∂^2)v/∂(x^2)+(∂^2)v/∂(y^2))initial conditions:

u(x,y,0) = 0.5 + y,

v(x,y,0) = 1 + 5x.

boundary conditions:

∂u/∂n = 0, ∂v/∂t = 0

n-external normal to the boundary

for numerical experiment:

A=1;B=3.4; D

_{1}=D_{2}=2*10^{-3}I attached .zip with MATLAB code, but it is not working properly for some reason (( pls help me with code (problems with initial conditions)