Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not parse all parts for .inp files #1456

Open
gabemorris12 opened this issue Feb 12, 2024 · 0 comments
Open

Does not parse all parts for .inp files #1456

gabemorris12 opened this issue Feb 12, 2024 · 0 comments

Comments

@gabemorris12
Copy link

I have an Abaqus input file that has two meshed parts. The contents of Job-1.inp are

*Heading
** Job name: Job-1 Model name: Model-1
** Generated by: Abaqus/CAE 2022
*Preprint, echo=NO, model=NO, history=NO, contact=NO
**
** PARTS
**
*Part, name=Part1-1
*Node
      1,           1.,           0.,           0.
      2,           1.,          0.5,           0.
      3,           1.,           1.,           0.
      4,           1.,           0.,          0.5
      5,           1.,          0.5,          0.5
      6,           1.,           1.,          0.5
      7,           1.,           0.,           1.
      8,           1.,          0.5,           1.
      9,           1.,           1.,           1.
     10,          0.5,           0.,           0.
     11,          0.5,          0.5,           0.
     12,          0.5,           1.,           0.
     13,          0.5,           0.,          0.5
     14,          0.5,          0.5,          0.5
     15,          0.5,           1.,          0.5
     16,          0.5,           0.,           1.
     17,          0.5,          0.5,           1.
     18,          0.5,           1.,           1.
     19,           0.,           0.,           0.
     20,           0.,          0.5,           0.
     21,           0.,           1.,           0.
     22,           0.,           0.,          0.5
     23,           0.,          0.5,          0.5
     24,           0.,           1.,          0.5
     25,           0.,           0.,           1.
     26,           0.,          0.5,           1.
     27,           0.,           1.,           1.
*Element, type=C3D8R
1, 10, 11, 14, 13,  1,  2,  5,  4
2, 11, 12, 15, 14,  2,  3,  6,  5
3, 13, 14, 17, 16,  4,  5,  8,  7
4, 14, 15, 18, 17,  5,  6,  9,  8
5, 19, 20, 23, 22, 10, 11, 14, 13
6, 20, 21, 24, 23, 11, 12, 15, 14
7, 22, 23, 26, 25, 13, 14, 17, 16
8, 23, 24, 27, 26, 14, 15, 18, 17
*End Part
**  
*Part, name=Part1-2
*Node
      1,           0.,           1.,           0.
      2,           0.,           1.,          0.5
      3,           0.,           1.,           1.
      4,           0.,          1.5,           0.
      5,           0.,          1.5,          0.5
      6,           0.,          1.5,           1.
      7,           0.,           2.,           0.
      8,           0.,           2.,          0.5
      9,           0.,           2.,           1.
     10,          0.5,           1.,           0.
     11,          0.5,           1.,          0.5
     12,          0.5,           1.,           1.
     13,          0.5,          1.5,           0.
     14,          0.5,          1.5,          0.5
     15,          0.5,          1.5,           1.
     16,          0.5,           2.,           0.
     17,          0.5,           2.,          0.5
     18,          0.5,           2.,           1.
     19,           1.,           1.,           0.
     20,           1.,           1.,          0.5
     21,           1.,           1.,           1.
     22,           1.,          1.5,           0.
     23,           1.,          1.5,          0.5
     24,           1.,          1.5,           1.
     25,           1.,           2.,           0.
     26,           1.,           2.,          0.5
     27,           1.,           2.,           1.
*Element, type=C3D8R
1, 10, 11, 14, 13,  1,  2,  5,  4
2, 11, 12, 15, 14,  2,  3,  6,  5
3, 13, 14, 17, 16,  4,  5,  8,  7
4, 14, 15, 18, 17,  5,  6,  9,  8
5, 19, 20, 23, 22, 10, 11, 14, 13
6, 20, 21, 24, 23, 11, 12, 15, 14
7, 22, 23, 26, 25, 13, 14, 17, 16
8, 23, 24, 27, 26, 14, 15, 18, 17
*End Part
**  
**
** ASSEMBLY
**
*Assembly, name=Assembly
**  
*Instance, name=Part1-1-1, part=Part1-1
*End Instance
**  
*Instance, name=Part1-2-1, part=Part1-2
*End Instance
**  
*End Assembly

If you read in this file, it will only include data from the last part:

>>> meshio info Job-1.inp
<meshio mesh object>
  Number of points: 27
  Number of cells:
    hexahedron: 8
    hexahedron: 8

It looks like the cell data is correct, but the point data is not correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant