Add second variable (Nedelec first kind) to boundary edge dofs only #3292
-
Hi, all, I wanted to try a different formulation for my Mie Scattering model to see whether it produces better results. It requires to add a second variable, i.e. the tangential H field for boundary edge dofs when imposing boundary conditions. I studied about the relevant examples: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
There's no direct support for adding a variable to only part of an element, but you can "fake it": libMesh lets you combine multiple elements of different dimension - e.g. a mesh can include both a Tet10 and a Tri6 sharing the 6 nodes on one of the tet's sides - and if you give them different subdomain ids, that allows you to define variables that are only active on one but not the other. There are a few unit tests and IIRC an example you might look at, but I'm afraid nothing very advanced. |
Beta Was this translation helpful? Give feedback.
There's no direct support for adding a variable to only part of an element, but you can "fake it": libMesh lets you combine multiple elements of different dimension - e.g. a mesh can include both a Tet10 and a Tri6 sharing the 6 nodes on one of the tet's sides - and if you give them different subdomain ids, that allows you to define variables that are only active on one but not the other. There are a few unit tests and IIRC an example you might look at, but I'm afraid nothing very advanced.