You don’t sepcify the mic location in a modal analysis, you do that in the Modal Superposition (see related article).
Anyway, after the modal participation computation you calculate the pressure field vector with the multiplication p = Φϕ. Then, you can project such vector in an empty dolfinx function:
Hi,
How did you specify the location of the microphone here using dolfinx?
Hi Ekrem,
You don’t sepcify the mic location in a modal analysis, you do that in the Modal Superposition (see related article).
Anyway, after the modal participation computation you calculate the pressure field vector with the multiplication p = Φϕ. Then, you can project such vector in an empty dolfinx function:
uh = Function(V)
uh.vector[:] = p.array
uh.name = “u”
The rest is nearly identical to the case you find in the first article.