Another option:
You can use FE_Nothing inside the obstacle, see Step-46 for more details.

Best,
Ce

2017-05-09 11:01 GMT+08:00 Jianan Zhang <[email protected]>:

> 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
>
> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see https://groups.google.com/d/
> forum/dealii?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to