symplectic_wave_equation

pymor-demo symplectic_wave_equation [ARGS]

Symplectic MOR experiment for linear wave equation discretized with FD.

The experiment closely follows the experiment described in [PM16]. The reduced models are trained on the trajectory of one parameter and try to reproduce this solution in the reduced simulation (reproduction experiment).

It compares structure-preserving MOR for Hamiltonian systems (known as symplectic MOR) with classical (non-structure-preserving) MOR. Different symplectic basis generation techniques are compared (‘cotangent_lift’, ‘complex_svd’, ‘svd_like’) to a non-symplectic basis (‘pod’). The experiment shows: Although ‘pod’ has the best projection error, its reduction error is comparably high. In contrast to this, the reduction error of all symplectic bases is close to their respective projection error.

Note that compared to the experiments in [PM16], the POD gives better results here.

Parameters:

FINAL-TIME, --final-time

Final time of the simulation [Default: 10.0]

RBSIZE, --rbsize

Maximal reduced basis size [Default: 80]