Skip to content

Commit

Permalink
FEM: CalculiX file, boundaries one line for each axis
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach authored and wwmayer committed Apr 10, 2015
1 parent 08be917 commit 56b15fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Mod/Fem/MechanicalAnalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,9 @@ def writeCalculixInputFile(self):
inpfile.write('\n** constaints\n')
for FixedObject in FixedObjects:
inpfile.write('*BOUNDARY\n')
inpfile.write(FixedObject['Object'].Name + ',1,3,0.0\n\n')
inpfile.write(FixedObject['Object'].Name + ',1\n')
inpfile.write(FixedObject['Object'].Name + ',2\n')
inpfile.write(FixedObject['Object'].Name + ',3\n\n')

# write loads
#inpfile.write('*DLOAD\n')
Expand Down

0 comments on commit 56b15fb

Please sign in to comment.