Solving the wave equation as a first-order system in time using space-time finite elements.
The strong form of the wave equation is given by
As a firs-order system in time this reads
Usually the wave equation is complemented with the initial conditions for
However, in a recent publication on space-time variatonal material modeling Junker and Wick [1] derived that instead one should have an initial and a final condition for the velocity
Install FEniCS, NumPy and matplotlib. Running the normal wave equation:
jupyter notebook Wave_Normal.ipynb
Running the wave equation with initial and final condition for velocity:
jupyter notebook Wave_FinalCondition.ipynb
Link for the normal wave equation:
https://githubtocolab.com/mathmerizing/SpaceTimeWave/blob/main/Wave_Normal.ipynb
Link for the wave equation with initial and final condition for velocity:
https://githubtocolab.com/mathmerizing/SpaceTimeWave/blob/main/Wave_FinalCondition.ipynb
[1] Junker, P., Wick, T. Space-time variational material modeling: a new paradigm demonstrated for thermo-mechanically coupled wave propagation, visco-elasticity, elasto-plasticity with hardening, and gradient-enhanced damage. Comput Mech 73, 365–402 (2024). https://doi.org/10.1007/s00466-023-02371-2