<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Hello,<br><br><hr id="zwchr"><blockquote id="DWT7229" style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;">Hi again,<br><br>Thanks for your help. &nbsp;It's really appreciated you getting back to me so quickly. &nbsp;I think the major problem I am having is that the I have already created the faces and edges of every TET in the mesh before I start changing things. &nbsp;The analysis checks whether to split the mesh of not at every load step in my analysis so I require edge and face info in different places unfortunately. &nbsp;This is why I go about changing edges and faces as they are already there.<br><br>I'll try and figure out what I am doing wrong as clearly I am missing something. &nbsp;<br><br></blockquote>One question:<br>Does the vtk file contain only tets? or it contains edges and faces too?<br><br>If you started from tets only, and if you created edges and faces using moab get_adjacency methods, the edges and faces shared by elements are NOT duplicated. You can obtain the side and orientation of each face/edge within a tet, using"side" methods.<br><br>Creating the edges and faces with "create_element" method would be an overkill, probably, as you have to carefully set the right connectivity yourself. But you can be more selective, in the sense that you maybe want to create only in specific areas (crack??) those edges and faces.<br><br>But even if you want them created in a specific area, maybe you should use "moab::INTERSECT"; if you have 2 elements, one on each side of the crack, you can create just the face and edges between them (in the crack plane), with proper get_adjacency call<br><br>If you already created all faces and edges, you may have to duplicate yourself. <br>Again, the "set_connectivity" will adjust up-vertex adjacency, but it will not create new edges/faces. (a subsequent call to get_adjacency will, though, with "create" flag true)<br><br>Iulian<br><br><br><br></div></body></html>