Dataset Viewer
Auto-converted to Parquet Duplicate
x
array 3D
params
listlengths
0
0
y
array 3D
source
stringclasses
3 values
family
stringclasses
3 values
[[[12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,3.0,3.0,3.0,12.0,12.0,3.0,3.0,3.0,12.0,12.0,3.0,3.0,3.0,1(...TRUNCATED)
[]
[[[0.17547185719013214,0.17390155792236328,0.17233124375343323,0.17076094448566437,0.169190645217895(...TRUNCATED)
synthetic
binary
[[[2.975343704223633,2.7952630519866943,2.1968700885772705,2.813161611557007,4.827188968658447,5.141(...TRUNCATED)
[]
[[[0.01339840516448021,0.20301495492458344,0.2036190927028656,0.20422323048114777,0.2048273682594299(...TRUNCATED)
synthetic
lognormal
[[[0.792518138885498,0.9295838475227356,0.7019510269165039,0.4141341745853424,0.4307970404624939,0.7(...TRUNCATED)
[]
[[[-0.005166472401469946,-0.6515795588493347,-0.6281721591949463,-0.6047647595405579,-0.581357359886(...TRUNCATED)
synthetic
lognormal
[[[1.203768253326416,1.1010667085647583,0.7693040370941162,0.4875945448875427,0.32358452677726746,0.(...TRUNCATED)
[]
[[[-0.5380414724349976,-0.4461660087108612,-0.4441579580307007,-0.4421498775482178,-0.44014182686805(...TRUNCATED)
synthetic
lognormal
[[[0.4793379604816437,0.4983406364917755,0.7600528001785278,1.1057167053222656,0.9256202578544617,0.(...TRUNCATED)
[]
[[[-0.46628791093826294,-0.4661727249622345,-0.46596643328666687,-0.46571701765060425,-0.46538054943(...TRUNCATED)
synthetic
lognormal
[[[0.35567864775657654,0.21498002111911774,0.2384108304977417,0.3423925042152405,0.49572962522506714(...TRUNCATED)
[]
[[[0.2973952293395996,0.07903582602739334,0.09160231798887253,0.10416881740093231,0.1167353168129921(...TRUNCATED)
synthetic
lognormal
[[[12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3(...TRUNCATED)
[]
[[[0.1180925965309143,0.9525427222251892,0.9386387467384338,0.9247347712516785,0.9108308553695679,0.(...TRUNCATED)
synthetic
binary
[[[0.5695100426673889,0.6008635759353638,0.49012789130210876,0.34799861907958984,0.29601892828941345(...TRUNCATED)
[]
[[[-0.22889216244220734,-0.8026156425476074,-0.7744522094726562,-0.7462887763977051,-0.7181252837181(...TRUNCATED)
synthetic
lognormal
[[[3.0,3.0,12.0,12.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12(...TRUNCATED)
[]
[[[-0.7611321210861206,-0.695792555809021,-0.6657893061637878,-0.653319776058197,-0.6293012499809265(...TRUNCATED)
synthetic
binary
[[[0.9981266856193542,0.9654940962791443,0.9825001358985901,0.9809386134147644,0.8865588903427124,0.(...TRUNCATED)
[]
[[[0.5461259484291077,0.5116273760795593,0.4751156270503998,0.43682122230529785,0.3945966064929962,0(...TRUNCATED)
synthetic
lognormal
End of preview. Expand in Data Studio

Khaos Darcy Flow 2D (scenario-conditioned)

Steady-state Darcy flow, -div(a grad u) = f on the unit square, with scenario-specific boundary conditions. Each sample gives the permeability, the source and the boundary condition as input channels and the pressure field as the target. Real benchmark solutions (PDEBench, Li et al.) are combined with solutions computed by a finite-volume solver under randomized boundary conditions.

This dataset was built for the pde_darcy_flow_2d artifact of Khaos, a local-first library of pre-trained models for domain-specific tasks. It is part of the v1 release.

Sources

Source License How it is used
Nionio/PDEBench_2D_DarcyFlow_beta1.0 CC BY 4.0 real Darcy solutions (zero Dirichlet boundary, f = 1), 700 samples
PINNeAPPle-Labs/darcy-2d-li2021 CC BY 4.0 real Darcy solutions from the Fourier Neural Operator benchmark, 600 samples
Khaos finite-volume solver (training/physics/solvers.py) generated 1,350 solutions with random permeability, source and boundary conditions

How it was built

  1. Real PDEBench and Li et al. fields (128 x 128) are block-averaged 2x2 to 64 x 64. Their boundary is encoded as a Dirichlet ring with value 0 and the source as the constant f = 1; this is an assumption about how those benchmarks were generated.
  2. Synthetic scenarios: permeability is lognormal (random contrast) or binary (3 / 12); the source is a constant in [0.1, 10] or a set of Gaussian wells; each of the 4 edges is independently Dirichlet (random linear value profile) or no-flow, with at least one Dirichlet edge.
  3. Synthetic solutions come from a harmonic-mean finite-volume discretization solved with float64 conjugate gradients; samples with relative residual above 1e-5 are dropped.
  4. test_ood holds only synthetic high-contrast permeability fields (sigma 1.6 to 2.2), outside the training range.

Columns

Column Description
x (4, 64, 64) float32 input channels: permeability, source, dirichlet_mask, dirichlet_value.
params Empty for this equation.
y (1, 64, 64) float32 pressure field.
source synthetic, pdebench_darcy_beta1.0 or li2021_darcy.
family lognormal, binary or real.

Splits

Split Rows
train 2,140
validation 280
test 280
test_ood 150

Files are stored as data/<split>.parquet.

Intended use

Training and evaluating pde_darcy_flow_2d, a Fourier Neural Operator that maps a scenario (fields plus boundary conditions) to its steady pressure field.

Channel layout

x[0] permeability a, x[1] source f, x[2] 1 on boundary nodes with a prescribed pressure, x[3] the prescribed pressure. Boundary nodes outside the mask are no-flow.

Limitations

  • Boundary conditions are limited to Dirichlet and no-flow on the four edges of a square.
  • Real data is downsampled to 64 x 64, so it is not a faithful reproduction of the original benchmarks.
  • Real samples all share the same boundary condition; boundary diversity comes from the synthetic part.

License

PDEBench and the Li et al. Darcy data are CC BY 4.0, and the synthetic solutions are generated by Khaos code. The combined dataset is released under CC BY 4.0.

Downloads last month
-