awslabs / palace

3D finite element solver for computational electromagnetics
https://awslabs.github.io/palace/dev
Apache License 2.0
224 stars 50 forks source link

Impedance boundary condition for wave port mode solve #265

Open sebastiangrimberg opened 3 weeks ago

sebastiangrimberg commented 3 weeks ago

Current the eigenmode solve for wave ports supports only PEC (homogenous Dirichlet) or PMC (natural) boundary conditions. It inherits these from the parent 3D model, but this can lead to confusion when a 3D model surface has an impedance BC (conductivity, surface impedance, absorbing) and that does not get correctly handled by the wave port automatically. The current expectation is that the user can manually chose whether an impedance boundary maps to a PEC or PMC BC in the wave port using the "WavePortPEC" object, but this might be overly complex and correctly supporting impedance BCs in the 2D mode solve should not be too difficult.

This might help issues like https://github.com/awslabs/palace/pull/264 tries to solve in the future.