-
I have a mesh that has labeled regions, surfaces and edges: For the context, I want to add a boundary condition (nonlinear flux) on a 1D region in the 3D simulation (a feature similar tohttps://doc.comsol.com/5.5/doc/com.comsol.help.heat/heat_ug_ht_features.09.089.html ) |
BetaWas this translation helpful?Give feedback.
All reactions
At the moment MFEM does not support meshes with boundary elements with dimensions lower than dim-1 where dim is the dimension of the regular elements.
Replies: 1 comment 3 replies
-
At the moment MFEM does not support meshes with boundary elements with dimensions lower than dim-1 where dim is the dimension of the regular elements. |
BetaWas this translation helpful?Give feedback.
All reactions
-
That said, I think you can still implement integrals or essential b.c. on lower dimension boundaries, however you'll need to do it in separate loops over those boundary elements. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Thank you for the reply and information. I would like to check the suggested method, but is there a way to find these elements after reading the mesh? It seems like information about these regions is omitted when importing the mesh into MFEM, and in my target mesh, the boundary elements are not as simple as in the example, so I need it to be done automatically. |
BetaWas this translation helpful?Give feedback.
All reactions
-
You'll probably need to either modify the reader in MFEM or write your own reader (e.g. based on the one in MFEM) to read and store the lower dimensional boundaries. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1