Hello. I try to find shielding effectiveness of shielding enclosure using ngsolve.
For finite element analysis in the frequency domain, the governing wave equation can be written as: curl(1/mu*curl(E)) + k*k*E=f.
I created FES as: fes = HCurl(mesh, order=4, nograds = True, complex=True),
defined materials and constants,
defined bilinear form: a = BilinearForm(fes)
a += SymbolicBFI(1/mu*curl(u)*curl(v) + k*k*u*v).
But I don't now how to define boundary conditions and how to set the incident electric field as a plane wave.
Can anyone give me some example how to solve Maxwell's equations in time-harmonic form in NGSolve?