![]() ![]() My interest in Julia leans more toward ways to use it for “production work” and less toward research, though there’s obviously a lot of overlap. My background is primarily computational solid mechanics, with most of that being in explicit dynamics. Hi probably not the best person to answer that question, but let me offer some rambling thoughts that are hopefully at least moderately interesting, and might even be helpful! It might also be good for you to open another topic to pull others into the discussion and explore this in more depth.įirst, let me start with a little context. The following is a mesh of a single HEX27 element for VTKFile 2.2: The following is a mesh of a single HEX27 element for VTKFile 1.0: ![]() This makes it so that the MidEdge node ordering for version 2.2 is consistent between Z=-1, Z=0, and Z=1, whereas for version 1.0 the Z=0 MidEdge node order was different from Z=+/-1.Īs further demonstration of this, I have provided sample VTK files for each of these below. Note that the only change in the order is for the last two MidEdge Z=0 nodes, which get swapped. Vtk_model = vtk_grid("HEX27_ex", points, cells)įor VTKFile 1.0 the node numbering is as follows: # VTKFile Version 1.0įor VTKFile 2.2 the node numbering is as follows: # VTKFile Version 2.2 # Define cells for WriteVTK (imitating my larger program's logic)Ĭells = MeshCell(VTKCellTypes.VTK_LAGRANGE_HEXAHEDRON, elem) # I THINK the permutation for VTK should be: # From what I've output from ParaView, this is what # generated via Sources to my node numbering: # The following shows the mapping of ParaView's node numbering Here’s my code and the resulting mesh shown in ParaView. I just threw the following script together to show what I’m seeing. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |