Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
spatial_coordinates
listlengths
2
2
solution_field
listlengths
256
256
forcing_function
listlengths
256
256
boundary_condition_bottom
listlengths
256
256
boundary_condition_top_gradient
listlengths
256
256
[[[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0(...TRUNCATED)
[[2.8810089417056e-6,0.000022149486990339067,0.000058393459373023895,0.00010726936836413683,0.000163(...TRUNCATED)
[[0.18638610223096436,0.08704397373291947,-0.01386782041232626,-0.02661994069963408,0.03238172869724(...TRUNCATED)
[[-8.317112195650638e-9],[0.00037700664128331827],[0.0007629150916714792],[0.0011568531662364374],[0(...TRUNCATED)
[[-3.0435820160382758e-9],[0.00011130308406984542],[0.0002082369367266279],[0.000290809634490535],[0(...TRUNCATED)
[[[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0(...TRUNCATED)
[[1.7124323121106566e-6,0.000012686010193180969,0.0000325808743293389,0.000060583396996070904,0.0000(...TRUNCATED)
[[-0.7755426374052248,-0.3039965529045088,0.19916570453724408,0.2830321665145558,-0.0827340767219568(...TRUNCATED)
[[-1.0821180485889193e-8],[-0.000026518197929677333],[-0.00008513944124028118],[-0.00017548733559604(...TRUNCATED)
[[-3.474084354407139e-9],[0.00026135354039544625],[0.0005175092167224115],[0.0007682864726267664],[0(...TRUNCATED)
[[[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0(...TRUNCATED)
[[6.404863944631115e-6,0.00006065473604539016,0.00017021588655968312,0.00033703040947149153,0.000563(...TRUNCATED)
[[-0.3290387716460115,-0.2901585748572747,-0.22461993190794804,-0.1530862115152323,-0.09828239924826(...TRUNCATED)
[[-5.411071273741162e-9],[0.002373165896630697],[0.004737338565772039],[0.007088723957964459],[0.009(...TRUNCATED)
[[-4.277101326461448e-9],[-0.00001712271881613984],[-0.000028366905954339213],[-0.000033696464664444(...TRUNCATED)
[[[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0(...TRUNCATED)
[[6.8348437784401805e-6,0.000055711161905717954,0.00015010150080802323,0.00028446705103169975,0.0004(...TRUNCATED)
[[0.11196512858398083,0.11914663249526022,0.13226989513040832,0.14906979572778528,0.1666464954997043(...TRUNCATED)
[[1.2987140921031379e-8],[0.0007072249006787301],[0.001435119626521661],[0.002183108633011634],[0.00(...TRUNCATED)
[[2.1028550485694912e-9],[0.00028104532067553707],[0.0005632012641722377],[0.0008464041716769207],[0(...TRUNCATED)
[[[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0(...TRUNCATED)
[[-3.6158242947923608e-6,-0.00003034430967570334,-0.00008187439412968636,-0.0001562854450261504,-0.0(...TRUNCATED)
[[0.4612476910224951,0.26396224755819286,-0.014002272860825393,-0.21486304232012662,-0.2418125320132(...TRUNCATED)
[[9.743364316908593e-9],[0.00006280196298577894],[0.00012100799881473946],[0.00017390299394278775],[(...TRUNCATED)
[[-1.6369122091156784e-9],[0.0001667585952451246],[0.0003417866612322856],[0.00052486992530729],[0.0(...TRUNCATED)
[[[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0(...TRUNCATED)
[[-0.000023189253776430274,-0.00019085030365272038,-0.0005156751529887746,-0.0009787447926841268,-0.(...TRUNCATED)
[[-0.6094649855042462,-0.42405893582628207,-0.18280153731522347,-0.04627258489408265,-0.084345485091(...TRUNCATED)
[[7.517453136156307e-9],[0.00020118645887692743],[0.00034092402377586966],[0.0004191463178893933],[0(...TRUNCATED)
[[9.821579681730106e-10],[-0.0001938750162180887],[-0.00039549237238086643],[-0.000604806364824631],(...TRUNCATED)
[[[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0(...TRUNCATED)
[[-2.7800001920694206e-6,-0.00001658163480503655,-0.00003812478184341689,-0.00005723664857490429,-0.(...TRUNCATED)
[[0.519579841079674,0.491114304446279,0.43511335135628015,0.3543223207500508,0.25454452105280767,0.1(...TRUNCATED)
[[-2.6761344509083803e-8],[0.0005679143452790143],[0.0011860860769097603],[0.0018506043442228538],[0(...TRUNCATED)
[[1.626288765193875e-8],[0.00010508159465912926],[0.00021399311069464442],[0.00032701545561724635],[(...TRUNCATED)
[[[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0(...TRUNCATED)
[[4.35011746123537e-6,0.000035447184917533625,0.00009575253682990448,0.00018356389000380446,0.000298(...TRUNCATED)
[[-0.08147653989872966,0.1155461176268246,0.35728311235488114,0.45503238099572035,0.3263371484607851(...TRUNCATED)
[[2.965201269514889e-10],[0.00023498085531135465],[0.00045539693890659847],[0.0006607352463239934],[(...TRUNCATED)
[[2.4594320666030777e-9],[-1.8328492214566911e-6],[-0.000012017454068129598],[-0.0000305989837122823(...TRUNCATED)
[[[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0(...TRUNCATED)
[[0.000014703660985852449,0.00012064846161397025,0.0003257001152929227,0.0006216133954581437,0.00099(...TRUNCATED)
[[-1.101380463570756,-0.07206257028551644,0.6503861650714984,0.15617426068475732,-0.8816657717303368(...TRUNCATED)
[[1.0095919966463842e-9],[0.00039828615194290756],[0.0007761690174453228],[0.0011334807255230779],[0(...TRUNCATED)
[[-1.126848520804154e-9],[0.00030365043326168524],[0.0006093515268941562],[0.0009169937702173109],[0(...TRUNCATED)
[[[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0(...TRUNCATED)
[[-2.6840873596847836e-6,-0.00001826757784505889,-0.000046474780096054935,-0.00008151037942513012,-0(...TRUNCATED)
[[-0.5021371312828148,-0.22212825989767337,-0.016546363626792404,-0.095406524247797,-0.2893240797960(...TRUNCATED)
[[-5.268739384661974e-8],[-0.00029760140077385804],[-0.0005111518198385004],[-0.0006417393637098547](...TRUNCATED)
[[-6.024029594456589e-9],[-0.00022111674717393507],[-0.0004294724433210909],[-0.0006250493469687633](...TRUNCATED)
End of preview. Expand in Data Studio

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

2D Poisson Equation Dataset

Numerical solutions to the 2D Poisson equation with mixed boundary conditions using Dedalus spectral methods.

Sample Plot

Equation

The 2D Poisson equation boundary value problem:

PDE: ∇²u = f(x,y) in Ω = [0, Lx] × [0, Ly]

Boundary Conditions:

  • u(x,0) = g(x) (Dirichlet on bottom)
  • ∂u/∂y(x,Ly) = h(x) (Neumann on top)

Variables

The dataset returns a dictionary with the following fields:

Coordinates

  • spatial_coordinates: (2, Nx, Ny) - Combined X,Y coordinate meshgrids

Solution Fields

  • solution_field: (Nx, Ny) - Solution u(x,y)
  • forcing_function: (Nx, Ny) - Random forcing function f(x,y)

Boundary Conditions

  • boundary_condition_bottom: (Nx,) - Bottom Dirichlet BC g(x)
  • boundary_condition_top_gradient: (Nx,) - Top Neumann BC h(x)

Dataset Parameters

  • Domain: [0, 2π] × [0, π] (2D rectangular domain)
  • Grid points: 256 × 128 (Nx × Ny)
  • Discretization: Fourier(x) × Chebyshev(y) spectral methods
  • Solver: Dedalus LBVP (Linear Boundary Value Problem)

Randomization

  • Forcing function: Generated using Gaussian processes with random length scales
  • Boundary conditions: Fixed sinusoidal bottom BC, zero top gradient BC
  • Amplitude: Random amplitude scaling for forcing functions (0.5 to 3.0)

Physical Context

This dataset simulates steady-state physical systems governed by the 2D Poisson equation. The equation models phenomena where the spatial distribution depends on source/sink terms, including:

Applications:

  • Electrostatic potential in the presence of charge distributions
  • Steady-state heat conduction with internal heat sources
  • Fluid stream functions for incompressible flow
  • Gravitational potential from mass distributions

Usage

from dataset import PoissonDataset

# Create dataset
dataset = PoissonDataset()

# Generate a sample
sample = next(iter(dataset))

# Access solution data
spatial_coords = sample["spatial_coordinates"]  # X, Y meshgrids
solution = sample["solution_field"]            # u(x,y)
forcing = sample["forcing_function"]           # f(x,y)

Visualization

Run the plotting script to visualize samples:

python plot_sample.py      # 2D visualization of forcing, solution, and BCs

Data Generation

Generate the full dataset:

python generate_data.py

This creates train/test splits saved as chunked parquet files in the data/ directory.

Downloads last month
5