Boundary condition for multidomain geometry
6 次查看(过去 30 天)
显示 更早的评论
I want to solve my PDE problem on multidomain geometry. I imported mesh definition to Matlab and I tried to specify multidomain geometry using geometryFromMesh(model,nodes,elements,ElementIDToRegionID) I get the geometry with appropriate number of cells, but several faces that I don't understand where from they comes. In particular, my geometry has three cells/materials and six material interfaces (material1/material2, material1/material3, material2/material3, material1/exterior, material2/exterior and material3/exterior). However, Matlab somehow defines 39 faces.
I would like to know:
- How Matlab define those faces?
- How I can get info which nodes are in any particular face?
- How to force a Matlab to define faces reasonably for my problem (e.g. on different material interface), so that I can specify boundary conditions?
0 个评论
回答(3 个)
Ravi Kumar
2019-5-21
Hi Urban,
Would you be able to share your code and data? Geometric faces are identified by analyzing how drastic the normal changes between adjacent element facets.
You can find nodes associated with a face using findNodes(model.Mesh,'region','Face',fID) function.
Regards,
Ravi
0 个评论
Urban Simoncic
2019-5-21
1 个评论
Ravi Kumar
2019-5-21
Currenlty, finding the required faces might be the only option. An example data would help me figure out if there are any workaround.
Urban Simoncic
2019-5-24
1 个评论
Ravi Kumar
2019-5-24
You might want to refine the mesh that you used in geometryFromMesh call. When I plot the geometry, there seems to a bunch of spurious faces at the bottom as shown in the figure below. These can lead to problem during analysis.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Geometry and Mesh 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!