zhangty019 / S3_DeformFDM

S^3-Slicer: A General Slicing Framework for Multi-Axis 3D Printing
BSD 3-Clause "New" or "Revised" License
87 stars 14 forks source link

Use tetrahedral mesh generated in Abaqus #11

Closed moorjuli closed 1 year ago

moorjuli commented 1 year ago

Hi again,

I would like to use the strength reinforcement. Therefore, I used a .step file and did the tetrahedral meshing and a FEA analysis in Abaqus. I exported the stress results in the correct format and wrote a parser to generate .tet files out of the Abaqus .inp file, similar to the .inp export option in the ReinforcedFDM project, just the other way around. When I try to read that .tet file I get a read access violation in line 77 of GLKObList.cpp (if (tailPos) tailPos->InsertAfter(newNode);). I double-checked my script and it looks alright. Can you help me with this? I attached my created .tet file, it is just a simple beam, meshed in abaqus. Maybe you can spot what's wrong with it? test.tet.txt

Or do i need to change my workflow on creating FEA analysis results out of a model? Thanks again for any help

zhangty019 commented 1 year ago

Yeah, I meet the same problem when I import the shared tet file, maybe it is from the format of tet file, I am not sure.

We use "Tetgen" to get a .tet model from the obj file. And the .tet file is exported as .inp to do the FEA.