Wellbore Genius
Help

Downhole Simulator

Performance modeling

Sign in
Solver spec

Drift-guard tolerance configuration

Tune the Peaceman / coupled-run test suite's tolerance bundle. Each metric resolves as(baseline × |q|·μ/k × grid × preset) × multiplierunless an absolute override [psi] is set, in which case the override wins. Settings persist locally and feed tolerancesFor(...) via buildDriftGuardOverrides().

Linear uses the analytical tolerancesFor(...) ladder (|q|·μ/k × grid × preset). Adaptive derives the per-μ envelope empirically from the finest-dt deviation via calibrateAdaptiveEnvelopes(...) — tighter when the solver runs quieter than the analytical envelope predicts.

Applied before per-metric multipliers and absolute overrides.

MetricMultiplier [×]Absolute override [psi]
p_init envelope [psi]
Max |p_cell − p_init| the well block is allowed to reach.
Spread across sweep [psi]
Max − min of a metric across a refinement / dt sweep.
Successive-gap headroom [psi]
How much coarser-level gaps may exceed finest-level gap.
Far-field probe spread [psi]
Spread of an offset probe across sweep levels.
Overshoot vs finest [psi]
How much a coarser level may overshoot the finest-level value.
Producer/injector symmetry [psi]
Residual when mirroring producer ↔ injector results.