DarcyOperatorBenchmarkOptions
Options & Configuration · AiDotNet.PhysicsInformed.Benchmarks
Configures the 2D Darcy-flow operator-learning dataset that OperatorBenchmarkSuite generates: each
sample pairs a random permeability field a(x, y) with the pressure u solving -∇·(a∇u) = f on the unit square.
For Beginners
Think of water seeping through rock of varying porosity. The input image is how easily water flows at each point; the output image is the resulting pressure. A model that learns this mapping can replace a slow physics solver.
How It Works
The permeability is exp of a random sine series, and u is solved by
iterating to Tolerance with zero boundary values. A neural operator learns the map a ↦ u.
Constructors
| Constructor | Summary |
|---|---|
DarcyOperatorBenchmarkOptions() |
Properties
| Property | Summary |
|---|---|
double ForcingValue { get; set; } |
Gets or sets the constant source term f on the right-hand side. |
double LogPermeabilityScale { get; set; } |
Gets or sets the amplitude of the random log-permeability field before it is exponentiated. |
double Tolerance { get; set; } |
Gets or sets the largest change of any grid value in a sweep at which the solver stops. |
int GridSize { get; set; } |
Gets or sets the number of grid points per side of the unit square. |
int MaxFrequency { get; set; } |
Gets or sets the highest sine mode per axis in the random log-permeability series. |
int MaxIterations { get; set; } |
Gets or sets the most solver sweeps run for each sample. |
int SampleCount { get; set; } |
Gets or sets the number of (permeability, pressure) pairs generated. |
int Seed { get; set; } |
Gets or sets the seed of the random fields, so a dataset can be regenerated exactly. |
Methods
| Method | Summary |
|---|---|
void Validate() |
Throws ArgumentOutOfRangeException for any value outside its documented range. |