I am trying to simulate some nano-photonics device/optical guide. On the input surface (i.e. the boundary on which the light enters the device) the boundary conditions (optical modes) are the solution of a surface eigenvalue problem given by:
with f_{\parallel} being only the X and Y component of the respective vector/operator, \beta^2 the eigenvalue and E = (E_{\parallel}, E_z) the eigenvector. Here all components only depend on x and y but not on z.
I would like to directly compute the solution of the EVP on the respective boundary of the 3-dimensional mesh and then use E_{\parallel} for the boundary values of the main problem.
I looked up tutorial 6.1.2 for the definition of surface PDEs and I’m using the Arnoldi eigensolver accoridng to 1.7.1.
My main question is: Can I acces the 2-dimensional HCurl FE space (only dependend on x and y) for the E_{\parallel} component on a 3-dimensional mesh? Or is there an elegant way to force E_z to be 0?
Currently I’m using a compound FE space consisting of HCurl * H1 (since E_z has more regularity than E_{\parallel}).
you can define the restriction of an HCurl-space to a part of the boundary.
dofs are assigned to all edges of the mesh, but only dofs at the port-boundary are marked as freedofs.
You can build boundary-mass and boundary curl-stiffness matrices using the boundary trace operator.
Hi Philipp,
a(u, v) = Int( u * f )dx * Int( v * g)dx
would lead to a completely dense matrix. A possibility is to introduce another unknown mu representing the integral Int( uf ), i.e. mu=Int( uf ), mu is just a number. Then the equivalent saddle point problem
new problem, same topic: I’d like to extend this problem to multiple (given) functions f and g, i.e. list of functions (f_i, g_i)_i. At first I defined a separate NumberSpace for each f_i, yet this quickly became very cumbersome. Therefore, since the number of f_i will be computed as part of the problem, I’d like to make it a bit more adaptive.
Initially I thought I could simply make use of the “dim” flag during the definition of the NumberSpace and then take the product space of HCurl and NumberSpace. However, as soon as I set dim greater than 1, I get the error “Product space needs same dimension for all components”.