This example solves adaptively the pressure field in an apartment, that is caused by a harmonic local acoustics source. The geometry and initial mesh are shown below.
Equation solved:
Boundary conditions are Dirichlet (prescribed pressure) on one edge. The rest of the boundary are wall with a Newton condition (matched boundary).
Here is pressure,
density of air,
angular frequency, and
speed of sound. See
the main.cpp file for concrete values.