Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

mfem

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

1D named regions (segments) in 3D mesh#4695

Answeredbyv-dobrev
buchaniec asked this question inQ&A
Discussion options

I have a mesh that has labeled regions, surfaces and edges:
https://mega.nz/file/SvZRgTBa#_RnDooT0YIIdpq8bIfncfaKIcN83vZue1TLCaHbQpDw
When I open it in Paraview, I can extract all of them: two volumes, seven surfaces, and two curves. However, when I open the mesh in MFEM, I can only see two attributes and seven boundary attributes. Is the data from the mesh lost? Is it possible to define such regions in MFEM?

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 )

You must be logged in to vote

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

Comment options

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.

You must be logged in to vote
3 replies
@v-dobrev
Comment options

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.

@buchaniec
Comment options

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.

@v-dobrev
Comment options

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.

Answer selected bybuchaniec
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@buchaniec@v-dobrev

[8]ページ先頭

©2009-2025 Movatter.jp