Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Source

The Brusselator PDE:

∂u∂t=1+u2v−4.4u+α(∂2u∂x2+∂2u∂y2)+f(x,y,t)∂v∂t=3.4u−u2v+α(∂2u∂x2+∂2u∂y2)\begin{align} \frac{\partial u}{\partial t} &= 1 + u^2v - 4.4u + \alpha (\frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2}) + f(x, y, t) \\ \frac{\partial v}{\partial t} &= 3.4u - u^2 v + \alpha (\frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2}) \end{align}

where

f(x,y,t)={5if(x−0.3)2+(y−0.6)2≤0.12 and t≥1.10otherwisef(x, y, t) = \begin{cases} 5 \qquad \text{if} (x - 0.3)^2 + (y - 0.6)^2 \leq 0.1^2 \ \text{and} \ t \geq 1.1 \\ 0 \qquad \text{otherwise} \end{cases}

and the initial conditions are

u(x,y,0)=22(y(1−y))1.5v(x,y,0)=27(x(1−x))1.5\begin{align} u(x, y, 0) &= 22(y(1-y))^{1.5} \\ v(x, y, 0) &= 27(x(1-x))^{1.5} \end{align}

with the periodic boundary condition

u(x+1,y,0)=u(x,y,t)u(x,y+1,0)=u(x,y,t)\begin{align} u(x+1, y, 0) &= u(x, y, t) \\ u(x, y+1, 0) &= u(x, y, t) \end{align}

on a time span of t∈[0,11.5]t \in [0, 11.5].

Setup parameters, variables, and differential operators

┌ Warning: The system contains interface boundaries, which are not compatible with system transformation. The system will not be transformed. Please post an issue if you need this feature.
└ @ MethodOfLines ~/.julia/packages/MethodOfLines/0m4Gg/src/system_parsing/pde_system_transformation.jl:55
Build problem: 81.661626 seconds (147.41 M allocations: 7.873 GiB, 2.68% gc time, 99.35% compilation time: 7% of which was recompilation)
Solve problem: 66.777245 seconds (39.00 M allocations: 2.688 GiB, 1.84% gc time, 96.40% compilation time: <1% of which was recompilation)

Extract data

4.930747443605161

Visualization

Interval == 2:end since in periodic condition, end == 1.

[ Info: Saved animation to /tmp/jl_n0LEbAdIlS.mp4
Loading...
[ Info: Saved animation to /tmp/jl_twDOn8RCNy.mp4
Loading...

This notebook was generated using Literate.jl.