Explanation of Cell-Centered data when using NumPy Arrays in PyTecplot
Problem: In PyTecplot, why is the length of my array of cell-centered data of an IJK ordered zone (Imax)*(Jmax)*(Kmax-1) instead of (Imax-1)*(Jmax-1)*(Kmax-1)? For example, from a zone with 5x4x3 nodal values, I expect my cell-centered variable array to have a length of 4x3x2 = 24; however, the cell-centered variable array has a length of 40, (5x4x2 = 40). In other words: zone.num_elements == 24 len(zone.values(“CellCentered”)) == 40 Shouldn’t these be […]