Create by Domenico Cacozza - domenico.cacozza@gmail.com
This Python code converts some Nastran format cards to a Calculix format statement.
Convert the following cards:
- GRID → *Node
- CTRIA3 → S3
- CQUAD4 → S4R
- CQUAD8 → S8
- CHEXA → C3D8
- CHEXA20 → C3D20
- CPENTA → C3D6
- CPENTA15 → C3D15
- CTET → C3D4
- CTET10 → C3D10
Instruction to run the code:
>python Nastran2Calculix.py "Nastran input file"
A file with the same name and extension .inp it will be created in the Nastran file folder.