Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Importing tetrahedral meshes
Posted 01.11.2016, 12:50 GMT-4 Mesh, Modeling Tools & Definitions Version 5.1 2 Replies
Please login with a confirmed email address before reporting spam
I'm working on a barycentric mesh refinement code in MATLAB of triangular and tetrahedral COMSOL meshes. The code works perfectly for the 2-d case, just the 3-d case has a big problem: when I try and import the refined mesh (provided as a .mphtxt file) I get following error message:
Failed to enrich mesh:
- Detail: Two elements connect to the same side of the shared element face.
After playing around with some minimal tetrahedral meshes created with COMSOL, I have discovered, that the problem seems to be the order in which nodes that make up an element are given in the .mphtxt file in the section #Elements (e.g. 0 3 1 4; 0 4 1 2). Unfortunately, I have not been able to discover the pattern, the ordering of the nodes that make up an element follows.
Does any one know, how I have to order the four nodes that make up a tetrahedron, so that COMSOL loads the refined mesh?
Failed to enrich mesh:
- Detail: Two elements connect to the same side of the shared element face.
After playing around with some minimal tetrahedral meshes created with COMSOL, I have discovered, that the problem seems to be the order in which nodes that make up an element are given in the .mphtxt file in the section #Elements (e.g. 0 3 1 4; 0 4 1 2). Unfortunately, I have not been able to discover the pattern, the ordering of the nodes that make up an element follows.
Does any one know, how I have to order the four nodes that make up a tetrahedron, so that COMSOL loads the refined mesh?
2 Replies Last Post 19.11.2016, 08:36 GMT-5