AcousticWaveEquation#

Module for defining the acoustic wave equation.

class AcousticWaveEquation(c)[source]#

Bases: Equation

Implementation of the N-dimensional isotropic acoustic wave equation. The equation is defined as follows:

\[\frac{\partial^2 u}{\partial t^2} - c^2 \Delta u = 0\]

or alternatively:

\[\Box u = 0\]

Here, \(c\) is the wave propagation speed, and \(\Box\) is the d’Alembert operator.

Example:
>>> from pina.equation import AcousticWaveEquation
>>> eq = AcousticWaveEquation(c=1.0)
>>> # Use within a Condition:
>>> # condition = Condition(domain=domain, equation=eq)

Initialization of the AcousticWaveEquation class.

Parameters:

c (float | int) – The wave propagation speed.