Defining tangential boundary functions for Nedelec 1 curl basis
Hi,
I am trying to define a boundary condition for N1curl basis functions in three dimensions. This boundary condition is defined as tangential to the boundary edge and only defined on the exterior boundary e.g. BC = n x F, that is -- BC = normal cross F
If I define the expression for BC using a N1curl FunctionSpace the facet integration is incorrect because the function is projected onto N1curl elements, see https:/
It is also not possible to create a BoundaryMesh from my mesh and use this to generate a N1curl FunctionSpace as this gives
m = D.UnitCube(1,1,1)
bm = D.BoundaryMesh(m)
fs = D.FunctionSpace(bm, "N1curl", 1)
*** -------
*** Error: Unable to create mapping of degrees of freedom.
*** Reason: Geometric dimension of the UFC dofmap and the mesh do not match.
*** Where: This error was encountered inside DofMap.cpp.
*** -------
and I don't think this is the correct space to use in any case.
I can also not restrict the N1curl FunctionSpace to only facets on the original mesh as this is not supported!
Is there some way to implement a tangential boundary condition in this manner?
Regards
Renier
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Renier Marchand for more information if necessary.