Brinkman-Forchheimer 1D – unknown ν_e, K¶
| Example | |
|---|---|
| Source | DeepXDE example |
| Problem | Inverse (DeepXDE inverse example) |
| Dimension | 1D (x) |
| Regime | Steady |
| Geometry | Interval |
| Outputs | u |
| Settings | Default, Tuned |
Governing equations¶
Mathematical form (from the benchmark records):
As typed in PINNStudio's Equations page (each expression is a residual, set to zero):
Constants: g = 1, v = 1e-3, e = 0.4
Domain¶
- Interval: \(x \in [0, 1]\)
Boundary conditions¶
No boundary-condition rows: the boundary values are imposed exactly through the network's output transform (see Methods below), or the problem has no boundary terms.
Unknowns and measured data (Inverse)¶
| Trainable parameter | Initial value | True value |
|---|---|---|
v_e |
0.1 | 0.001 |
K |
0.1 | 0.001 |
Measured data (Inverse page, measured-data files):
reference_data/deepxde/brinkman_forchheimer/u_obs.txt→ outputu, weight 1
Settings¶
Settings: Default — DeepXDE's own settings
- Network: FNN, hidden layers 3 × 20, inputs (x), 1 output; activation tanh, initializer Glorot uniform
- Points: 100 domain, 0 boundary, 500 test
- Loss weights:
1(equations, then boundary-condition rows) - Methods: output transform
x*(1 - x)*u(reference)
| Phase | Optimizer | Iterations | Learning rate | Decay |
|---|---|---|---|---|
| 1 | Adam | 30,000 | 0.001 | none |
Settings: Tuned
The Training Log reports: Tuned settings: 3× the iterations of every training phase. The change is applied to the example's own settings.
- Network: FNN, hidden layers 3 × 20, inputs (x), 1 output; activation tanh, initializer Glorot uniform
- Points: 100 domain, 0 boundary, 500 test
- Loss weights:
1(equations, then boundary-condition rows) - Methods: output transform
x*(1 - x)*u(reference)
| Phase | Optimizer | Iterations | Learning rate | Decay |
|---|---|---|---|---|
| 1 | Adam | 90,000 | 0.001 | none |
Results¶
The configuration selected in PINNStudio's benchmark study, run on one RTX 4090. Forward: relative L₂ error of each output at the last reference time. Inverse: each parameter's relative error and, per seed, the largest of them (worst parameter error).
Inverse problem¶
Settings: Tuned — 3× iterations. Values: one run, seed 2026.
| Parameter | True value | Recovered | Relative error |
|---|---|---|---|
| v_e | 0.001 | 0.00115135 | 15 % |
| K | 0.001 | 0.00103409 | 3.4 % |
Worst parameter error: 15 %.
Full benchmark record: every setting tried, the per-seed values and all figures are in the benchmark records on GitHub.
Loading it in PINNStudio¶
- Inverse: toolbar Examples: › Inverse › under the ── 1D ── heading, Brinkman-Forchheimer 1D – unknown ν_e, K › Default or Tuned, then Solve.
Loading an example fills in every setting; anything you change before Solve is listed in the Training Log. Your save folder, GPU, random-seed and plot-style settings are kept.
Reference solution¶
- Exact solution, Error Analysis › reference from formula:
u = 1 - cosh(20*(x - 0.5))/cosh(10)
Notes¶
- Unknown effective viscosity v_e and permeability K (both 1e-3), from 5 measurements; u = 0 at both walls through the output transform.
Definition and records¶
- Definition:
EXAMPLESentry "Inverse: Brinkman-Forchheimer model" inpinnstudio/core/deepxde_examples.py- Settings: Tuned: entry "Inverse: Brinkman-Forchheimer model" in
pinnstudio/resources/tuned_settings.json
- Settings: Tuned: entry "Inverse: Brinkman-Forchheimer model" in
- Equations: Governing equations on this page
- Reference data: the exact-solution formula under Reference solution (no data files)
- Measured data (Inverse):
reference_data/deepxde/brinkman_forchheimer/, written bytools/make_deepxde_reference_data.py - Benchmark records:
benchmarks/problems/brinkman-forchheimer-1d-unknown-e-k.md, its entry in the examples overview, the benchmark collection - Tuning-study configurations (records of the tuning study; open one with Problem › Open Saved Problem...; not presets of the Examples list):
Brinkman-Forchheimer 1D – unknown ν_e, K (tuned).pinn.json - Methods (Default and Tuned settings): Networks and Fourier features
- DeepXDE example: brinkman_forchheimer.py
- Cite: Lu et al. 2021 (DeepXDE); the problem follows Yu et al. 2022
How the benchmark values were measured and checked: Reproducibility.