-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbrusselator.qmd
More file actions
210 lines (142 loc) · 10.7 KB
/
brusselator.qmd
File metadata and controls
210 lines (142 loc) · 10.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
---
title: "Brusselator Model"
subtitle: "Hexagonal Turing patterns with tight particle clusters"
---
## Field Dynamics
The concentration fields $(C_1, C_2)$ evolve according to the Brusselator reaction-diffusion system:
$$
\frac{\partial C_1}{\partial t} = D_1 \nabla^2 C_1 + \text{Da}_c \left( A - (B+1)C_1 + C_1^2 C_2 \right) + \chi \nabla^2 C_2
$$
$$
\frac{\partial C_2}{\partial t} = D_2 \nabla^2 C_2 + \text{Da}_c \left( B C_1 - C_1^2 C_2 \right)
$$
### Turing Analysis
The homogeneous steady state is $(C_1^*, C_2^*) = (A, B/A)$.
**Linear stability:** Perturbations $\delta C \propto e^{\lambda t + i\mathbf{k}\cdot\mathbf{x}}$ grow when:
$$
\lambda = \frac{1}{2}\left[ \text{tr}(\mathbf{J}_k) + \sqrt{\text{tr}(\mathbf{J}_k)^2 - 4\det(\mathbf{J}_k)} \right] > 0
$$
where $\mathbf{J}_k$ is the linearized Jacobian with diffusion:
$$
\mathbf{J}_k = \begin{pmatrix}
B - 1 - D_1 k^2 & A^2 \\
-B & -A^2 - D_2 k^2
\end{pmatrix}
$$
**Turing instability condition:**
$$
B > 1 + A^2 \quad \text{and} \quad D_2/D_1 > \frac{(A + \sqrt{B-1})^2}{B - 1 - A^2}
$$
### Parameters
| Symbol | Description | Optimal | Range |
|--------|-------------|---------|-------|
| $D_1$ | Activator diffusion | 0.015 | 0.01–0.5 |
| $D_2$ | Inhibitor diffusion | 0.15 | 0.1–1.0 |
| $\text{Da}_c$ | Damköhler number | 25 | 1–50 |
| $A$ | Feed concentration | 1.5 | 0.5–5.0 |
| $B$ | Reaction strength | 7.0 | 1.0–10.0 |
| $\chi$ | Cross-diffusion | 0 | -0.1–0.1 |
---
## Particle Dynamics: Diffusiophoresis
$$
\mathbf{v}_i = M_1 \nabla C_1\big|_{\mathbf{x}_i} + M_2 \nabla C_2\big|_{\mathbf{x}_i} + \sqrt{\frac{2}{\text{Pe}}} \boldsymbol{\eta}(t)
$$
**Particle → Field feedback:**
$$
\frac{\partial C_1}{\partial t}\bigg|_{\text{particle}} = -\gamma_c \sum_{j=1}^{N_p} w(\|\mathbf{x} - \mathbf{x}_j\|)
\quad , \quad
\frac{\partial C_2}{\partial t}\bigg|_{\text{particle}} = +\gamma_p \sum_{j=1}^{N_p} w(\|\mathbf{x} - \mathbf{x}_j\|)
$$
| Symbol | Description | Optimal |
|--------|-------------|---------|
| $M_1, M_2$ | Mobility coefficients | ±4 |
| $\gamma_c$ | Consumption rate | 180 |
| $\gamma_p$ | Production rate | -180 |
---
## Key Discoveries
::: {.callout-important}
## Mobility Sweet Spot
**M1=±4, M2=±4** is the optimal mobility magnitude. M1=±16 causes particle escape (0% retention). The ±4 range maintains strong field-particle coupling while preventing particle loss.
:::
::: {.callout-tip}
## Hexagonal Mode Selection
Extended simulation (6000 frames) reveals **ring→hexagonal symmetry breaking**. The concentric ring pattern evolves into hexagonal Turing spots.
:::
| Finding | Mechanism |
|---------|-----------|
| **Hexagonal is particle-type-independent** | 1, 2, or 3 particle types all achieve identical hexagonal mode |
| **~6 large spots** | Coarse spatial wavelength compared to FHN |
| **Tight clustering (0.6+)** | Particles form dense aggregates at field peaks |
| **Ring→hexagonal transition** | Occurs at 4000-6000 frames with extended simulation |
---
## Stripe/Labyrinth Mode (Block 4 Discovery)
::: {.callout-important}
## Breakthrough: Turing Boundary Controls Mode Selection
At the Turing instability boundary $B/(1+A^2) = 1$, the system transitions from hexagonal spots to **labyrinth/stripe patterns**. This is controlled by the Brusselator parameters $A$ and $B$.
:::
### Turing Bifurcation Map
| Regime | Condition | Pattern |
|--------|-----------|---------|
| Sub-Turing | $B/(1+A^2) < 1$ | No patterns (disordered) |
| Turing boundary | $B/(1+A^2) \approx 1$, low $A$ ($\leq 3$) | **Stripes/Labyrinth** |
| Deep Turing | $B/(1+A^2) > 1$ | Hexagonal spots |
| Extreme Turing | $B \geq 15$ | Pixel-scale noise (unusable) |
### Key Constraints
- **Stripe mode requires 1-type uniform particles**: Multi-type configurations (even with identical parameters) destroy stripe organization
- **Low A is critical**: $B/(1+A^2) = 1$ at $B=13, A=3.46$ gives spots, NOT stripes. Low $A$ ($\leq 3$) is required alongside the ratio
- **Practical limit**: $B \leq 13$ for 100x100 mesh; $B=15$ produces pixel-scale patterns too fine for particle organization
### Stripe vs Hexagonal Parameters
| Parameter | Hex Mode | Stripe Mode |
|-----------|----------|-------------|
| $A$ | 4.5 | 3.0 |
| $B$ | 6.5 | 10.0 |
| $B/(1+A^2)$ | 0.29 (deep) | 1.0 (boundary) |
| n_particle_types | 1-3 | 1 only |
### Robustness Hierarchy
Hexagonal (survives multi-type, reversed feedback) > Stripe (1-type uniform only)
---
## Nonlinear Diffusion: Labyrinthine and Vermiform Modes (Block 11)
::: {.callout-important}
## Breakthrough: PDE Modification Unlocks New Morphologies
After exhausting all 8 particle-level code features (80 iterations), the LLM modified the Brusselator PDE itself: **concentration-dependent diffusion** breaks single-wavelength lock and produces qualitatively new pattern types inaccessible to any parameter tuning.
:::
### Nonlinear Diffusion (NLD)
The activator diffusion becomes concentration-dependent (Gambino et al. 2013):
$$
D_1(C_1) = D_1^0 \left[ 1 + \delta \frac{(C_1 - A)^2}{A^2} \right]
$$
where $\delta$ controls the nonlinearity strength. At concentration peaks ($C_1 \gg A$), diffusion increases, spreading the activator and breaking the fixed Turing wavelength.
### NLD Pattern Selection
| B/A Ratio | NLD $\delta$ | Pattern | Best Example |
|:---------:|:----------:|---------|:------------:|
| 1.36 ($A$=5.5, $B$=7.5) | 2.0 | Hexagonal (slightly larger spots) | Iter 82 (7/10) |
| **1.83** ($A$=3.0, $B$=5.5) | **2.0** | **Labyrinthine** ridges | **Iter 83** (7/10) |
| **2.50** ($A$=2.0, $B$=5.0) | **2.0** | **Vermiform** filamentary chains | **Iter 87** (7/10) |
| 1.36 ($A$=5.5, $B$=7.5) | 3.0 | Over-damped hexagonal | Iter 86 (6/10) |
### Key Constraints
- **NLD requires moderate coupling**: |$\chi$| $\leq$ 8 and consumption $\leq$ 80. Stronger coupling ($\chi=-16$) with NLD $\delta \geq 1.0$ causes blowup (Iter 81)
- **High B/A ratio required**: NLD alone at $A=5.5/B=7.5$ does not trigger labyrinthine transition --- the B/A ratio must be $\geq 1.8$
- **$\delta=2.0$ is optimal**: $\delta=3.0$ over-damps fields (Iter 86). $\delta=1.0$ is insufficient for labyrinthine at moderate coupling
- **Vermiform = strongest fields ever**: Iter 87 achieved pattern\_growth=294, nearly $2\times$ the previous maximum
### Mode Hierarchy (Complete)
Hexagonal (deep Turing, most robust) > Labyrinthine ($B/A \approx 1.8$ + NLD) > Vermiform ($B/A \approx 2.5$ + NLD) > Stripe ($B/(1+A^2) = 1$, 1-type only)
---
## Exploration Gallery
### Iter 3 (5/10)
{.lightbox group="bruss"}
### Iter 12 (7/10)
{.lightbox group="bruss"}
### Iter 14 (8/10)
{.lightbox group="bruss"}
### Iter 31 (6/10)
{.lightbox group="bruss"}
### Iter 36 (5/10)
{.lightbox group="bruss"}
### Iter 45 (8/10)
{.lightbox group="bruss"}
### Iter 83 (7/10)
{.lightbox group="bruss"}
### Iter 85 (7/10)
{.lightbox group="bruss"}
### Iter 87 (7/10)
{.lightbox group="bruss"}