Hi all,
I've been studying deal.ii for like a month and want to use it to characterize discontinuities in a rectangular waveguide. So I am using FE_Nedelec elements to solve the curl-curl equation:
curl(mu^(-1)curl(E)) + (-omega^2*epsilon+j*omega*sigma)*E=0,
with boundary conditions: n x E = 0, on waveguide walls
n x (curl(E)) + gamma*n x (n x E) = U, on port 1
n x (curl(E)) + gamma*n x (n x E) = 0, on port 2
where U and gamma are known.
I consider that the waveguide is loaded with an obstacle of PEC, so the boundary conditions will be n x E = 0 on its surfaces and inside the obstacle E is zero. Since we know E is zero inside the obstacle, we can ignore the its existence when we do mesh generation.
So basically the mesh we need is a block (hyper rectangle in 3D) subtracted by some small blocks or cylinders. Has anyone done this before and can provide any hints on how to generate this kind of mesh?
According to the topic on "How do I create the mesh for my problem?" in FAQ, it seems that creating it by hand is not feasible. or maybe I can generate it using Gmsh (which I am going to look into)?
Thanks in advance.
Jianan Zhang