Open sandervdbroek opened 1 year ago
I believe it can be fixed by changing the pos_z to be zero initially - but I am unsure if this is a general solution
'# pos_z = corner_verts[0].copy()' '# pos_z = np.expand_dims(pos_z, axis=0)' 'pos_z = np.zeros([1,3])`
I believe one of the wedge faces also has the order of vertices different from what paraview uses
# quadrilateral_faces = [(0,1,4,3), (1,2,5,4), (0,2,5,3)]
quadrilateral_faces = [(0, 1, 4, 3), (1, 2, 5, 4), (2, 0, 3, 5)]
I noticed that interior nodes of wedges seem to be generated outside of the domain of the element.
If I specify the vertices to be [-1,1,-1,-1,1,-1],[-1,-1,1,-1,-1,1],[-1,-1,-1,1,1,1]] it generates the following nodes in space: With [-1.33333333 -1.33333333 -1.33333333] [-1.33333333 -1.33333333 -0.66666667]] not being within the domain of the wedge. This can be manually adjusted, but should probably be fixed in the code