---
title: 'PVD-ONet: Deep Operator Network for Boundary Layers'
url: https://www.emergentmind.com/topics/prandtl-van-dyke-deep-operator-network-pvd-onet
type: topic
---

# PVD-ONet: Deep Operator Network for Boundary Layers

The Prandtl–Van Dyke Deep Operator Network (PVD-ONet) is a neural-operator-based framework designed to solve singularly perturbed boundary layer problems, embedding matched-asymptotic analysis into deep operator learning. PVD-ONet leverages both Prandtl’s leading-order and Van Dyke’s high-order matching principles to decompose solutions into inner (boundary layer) and outer (bulk) expansions, enforcing rigorous matching at their interface. This approach enables stable and highly accurate predictions, even in the challenging $\varepsilon \to 0$ limit, a regime notorious for causing convergence failures in standard physics-informed neural networks (PINNs) and physics-informed DeepONet (PI-DeepONet) architectures. PVD-ONet generalizes the PVD-Net finite-parameter architecture to an operator-learning setting, enabling fast, data-free evaluation of solution operators for families of boundary value problems without retraining [2507.21437].

## 1. Mathematical Framework of Singularly Perturbed Boundary Layers

PVD-ONet is constructed for problems such as the one-dimensional convection–diffusion boundary-layer equation:
\[
\varepsilon\,\frac{d^2u}{dx^2}(x) + a(x)\,\frac{du}{dx}(x) + b(x)\,u(x) = 0, \quad x\in(0,1),
\]
supplemented with Dirichlet boundary conditions:
\[
u(0) = \alpha, \quad u(1) = \beta,
\]
where $\varepsilon \ll 1$ denotes the singular perturbation that induces steep gradients ("layers") near domain boundaries. The method extends conceptually to higher dimensions, for example,
\[
\varepsilon\,\Delta u(x) + \mathbf{b}(x)\cdot\nabla u(x) + c(x)\,u(x) = f(x), \quad u|_{\partial\Omega} = g,
\]
but primary exposition and numerical tests focus on the prototypical 1D ODE [2507.21437].

## 2. Matched Asymptotic Expansions: Prandtl and Van Dyke Principles

Classical matched asymptotic expansions underpin the architecture:

**2.1 Outer Expansion:** Away from boundary layers, a regular expansion
\[
u^o(x;\varepsilon) = \sum_{k=0}^\infty \varepsilon^k\,\varphi_k(x)
\]
yields, at leading and first order,
\[
\mathcal{O}(\varepsilon^0):\quad a(x)\,\varphi_0'(x)+b(x)\,\varphi_0(x)=0.
\]
Boundary condition: $\varphi_0(1)=\beta$; higher-order terms vanish at $x=1$.

**2.2 Inner Expansion:** Near the layer (typically at $x=0$), the problem is rescaled via the stretched variable $\xi = (x-0)/\varepsilon$, seeking
\[
u^i(\xi;\varepsilon) = \sum_{k=0}^{\infty} \varepsilon^k\,\psi_k(\xi).
\]
The leading equation in the layer is
\[
\psi_0''(\xi) + a(0)\,\psi_0'(\xi) = 0, \quad \psi_0(0) = \alpha.
\]

**2.3 Prandtl’s Matching:** Enforces leading-order consistency at the interface:
\[
\lim_{x\to 0^+}u^o_0(x) = \lim_{\xi\to\infty}u^i_0(\xi).
\]

**2.4 Van Dyke’s Matching:** Systematically matches higher-order terms, ensuring all terms in the asymptotic series agree in the common region.

**2.5 Composite Solution:** Prandtl’s composite combines expansions:
\[
u^c(x) = u^o_0(x) + u^i_0\left(\frac{x}{\varepsilon}\right) - u^{o,i}_0,
\]
with analogous constructions for higher-order (Van Dyke) corrections.

## 3. PVD-Net Neural Network Architectures

PVD-Net translates these expansions into composite physics-informed neural networks, available in two principal variants:

**3.1 Leading-order PVD-Net:** Comprises two subnetworks:
- Outer net $\widehat u^o_{(0)}(x;\theta_1)$, approximating $u^o_0$;
- Inner net $\widehat u^i_{(0)}(\xi;\theta_2)$, approximating $u^i_0$.

A matching penalty at $(x=0,\xi=\xi_0)$,
$|\widehat u^o_{(0)}(0) - \widehat u^i_{(0)}(\xi_0)|^2$,
is enforced in the loss function. The composite prediction is assembled as
\[
\widehat u(x) = \widehat u^o_{(0)}(x) + \widehat u^i_{(0)}(x/\varepsilon) - \widehat u^o_{(0)}(0).
\]

**3.2 High-order (Van Dyke) PVD-Net:** Five subnetworks encode second-order asymptotics:
\[
\begin{gathered}
\widehat u^o(x) = \widehat u^o_{(0)}(x) + \varepsilon\,\widehat u^o_{(1)}(x), \\
\widehat u^i(\xi) = \widehat u^i_{(0)}(\xi) + \varepsilon \big[ \xi\, \widehat u^i_{(c)}(\xi) + \widehat u^i_{(1)}(\xi) \big].
\end{gathered}
\]
Van Dyke matching terms are included in the loss, with the composite solution subtracting the matching polynomial.

## 4. PVD-ONet: Neural Operator Construction

PVD-ONet generalizes PVD-Net to operator learning using DeepONet modules in place of fully connected networks. Each DeepONet realizes a mapping
\[
G_\theta: \mathcal V \to \mathcal U, \quad G_\theta(v)(x) = \sum_{i=1}^p b_i( v(x_1),\dots,v(x_M) )\, t_i(x)
\]
where the branch net encodes the problem data $v$, and the trunk net maps the location ($x$ or $\xi$).

**4.1 Leading-order PVD-ONet:** Uses outer and inner DeepONets $G^o_{(0)}(v)$ and $G^i_{(0)}(v)$, with training loss terms that parallel the leading-order PVD-Net but are summed over $N$ sampled problem data $v_n$.

**4.2 High-order PVD-ONet:** Employs five DeepONet modules ($G^o_{(0)}, G^o_{(1)}, G^i_{(0)}, G^i_{(c)}, G^i_{(1)}$), constructing composite solution operators with higher-order matching.

Inference involves a single forward pass for new boundary data $v^*$, evaluating $G^o_{(0)}(v^*)$ and $G^i_{(0)}(v^*)$, then composing with the matching formula—no retraining is required for out-of-sample problems in the boundary data family.

## 5. Training Protocols and Implementation

- **Collocation:** $\mathcal T_o$ (outer domain) and $\mathcal T_i$ (inner stretched layer, $\xi\in[0,\xi_0]$); matching at $(x=0, \xi=\xi_0)$.
- **Network Dimensions:** Leading-order: two networks, 5 layers $\times$ 100 neurons (1000 neurons total); High-order: five networks, 5 layers $\times$ 40 neurons (also 1000 total).
- **Activation:** SiLU functions throughout.
- **Optimizer:** Adam, learning rate $10^{-3}$, 100,000 iterations, best validation checkpoint retained.
- **Normalization:** Scale all coordinates and boundary data to $[0,1]$.
- **Matching Parameter:** $\xi_0 = 20$ approximates $\xi\to\infty$ for practical training.
- **Automatic Differentiation:** Computes all residuals, including matching and equation residuals.

## 6. Comparative Accuracy and Robustness

Performance on constant-coefficient test problems ($\varepsilon u'' + u' + u = 0$, $\varepsilon=10^{-3}$, $\alpha=1$, $\beta=2$) demonstrates marked superiority of PVD architectures over both traditional BL-PINN, MSM-NN, and PI-DeepONet, especially as $\varepsilon$ decreases:

| Method                   | Global $L^2$ Error  | Global $L^\infty$ Error |
|--------------------------|--------------------:|------------------------:|
| BL-PINN                  | $1.50\times 10^{-3}$| $2.27\times10^{-2}$     |
| MSM-NN                   | $5.54\times 10^{-4}$| $8.94\times10^{-3}$     |
| Leading-order PVD-Net    | $9.43\times 10^{-4}$| $5.39\times10^{-3}$     |
| High-order PVD-Net       | $1.44\times 10^{-4}$| $1.90\times10^{-3}$     |
| PI-DeepONet              | $\sim 0.87$         | $\sim 4.8$              |
| Leading-order PVD-ONet   | $\sim 1.0 \times 10^{-3}$ | $\sim 5.8\times10^{-3}$ |
| High-order PVD-ONet      | $1.5\times 10^{-4}$ | $1.8\times10^{-3}$      |

Standard PINN/DeepONet degrade in sharp layer regimes; PVD frameworks maintain stability and accuracy across all error metrics, including global $L^2$, $L^\infty$, inner-region, and interface (junction) errors [2507.21437].

## 7. Practical Guidelines and Theoretical Implications

- **Selection of Model Order:** Leading-order (stability-focused, 2 networks/DeepONets) offers rapid training for moderate accuracy; high-order (Van Dyke, 5 networks/DeepONets) delivers reduced error (5–10$\times$ lower), essential for resolving fine-scale layers or gradient-sensitive observables.
- **Matching Parameter $\xi_0$:** Should approximate $\xi\to\infty$, but excessive size may hinder convergence during training.
- **Architecture Balancing:** Total neuron count is fixed across leading/high-order designs to allow for controlled comparison of convergence and accuracy.
- **Operator Advantage:** PVD-ONet enables rapid generalization—one training suffices for a family of boundary data—at the cost of greater training time and data volume relative to fixed-instance methods.
- **Domain of Applicability:** The method remains robust as $\varepsilon\to0$, where traditional PINN and DeepONet architectures are prone to numerical instability or convergence failure.

PVD-ONet exemplifies the fusion of classical asymptotic boundary layer analysis with contemporary operator learning, providing a principled, architecture-level approach for multi-scale elliptic and convection–diffusion equations, especially those characterized by boundary-layer separation and sharp interior gradients [2507.21437].

Source: https://www.emergentmind.com/topics/prandtl-van-dyke-deep-operator-network-pvd-onet