Explaining add-on

Two-dimensional
wave fields.

Propagate bounded wave fields with affine or directly evaluated nonlinear spatial operators, explicit edge conditions, and CFL evidence.

← All documentation

What it supports

NumericalWavePde2DAnalyzer accepts u_tt = F(x,y,t,u,u_xx,u_yy,u_xy). Affine operators require non-negative wave coefficients and a positive-semidefinite principal part; nonlinear combinations are sampled directly when finite.

$analysis = (new NumericalWavePde2DAnalyzer())->analyze('u_tt = u_xx^2 + u_yy', 'sin(3.141592653589793*x)*sin(3.141592653589793*y)', '0', '0', '0', '0', '0', firstPoints: 25, secondPoints: 25, timeSteps: 100, targetTime: 0.1);

How the numerical contract works

01

Initialize

Sample displacement and velocity over the rectangular grid and apply positional Dirichlet defaults or configured edge conditions.

02

Propagate

Use a centered leapfrog update with diagonal mixed-derivative coupling. Nonlinear operators receive local sensitivity estimates for the CFL guard.

03

Report

Return time-stamped grids, normalized boundary metadata, operator mode, effective time step, and explicit solved/partial status.

Scope is intentional:Periodic/nonlocal edges, unstable affine coefficients, higher dimensions, and symbolic closed forms remain unsupported. A completed grid is an approximation, never a proof.