On 01/16/2018 01:41 AM, Pascal Kraft wrote:
I am currently using a FeSystem composed of two 3D Fields (real and imaginary E-field) and I want to impose Dirichlet conditions of the sort E(x,y,z) = E_{in}(x,y,z) on the input interface (in an xy-plane). Earlier the z-component had been 0 so I did not run into real problems and could use the project_boundary_values_curl_conforming_l2 function (for the x and y components) and my own code for the z-components (setting them 0 in the first cell layer). Now however I would like to impose different values on the z-component. Since my cells have variable thickness in z-direction (i.e. hanging node constraints appear) I would like to use some library function for the interpolation.
Are there any feasible solutions to this?
Ideally I would like to keep using project_boundary_values_curl_conforming_l2 for the tangential components and just add some code for the z-components.

The question doesn't quite have enough information:
* Are you using Nedelec elements for the two fields?
* If the input face is in the xy-plane, and you are using a finite element that is only curl-conforming (such as the Nedelec element), isn't it correct that you can only prescribe *tangential* components for boundary values? In other words, you cannot prescribe z-components anyway.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/

--
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