Skip to content

Instantly share code, notes, and snippets.

@akaszynski
Created January 27, 2022 21:59
Show Gist options
  • Save akaszynski/fe4c5a4f33a1452c002d27b8a61c77e8 to your computer and use it in GitHub Desktop.
Save akaszynski/fe4c5a4f33a1452c002d27b8a61c77e8 to your computer and use it in GitHub Desktop.
Demo how to write output from MAPDL to disk with PyMAPDL
# enter the solver routine and solve
mapdl.slashsolu()
output = mapdl.solve()
# write output to disk
with open('mapdl_output.txt', 'w') as fid:
fid.write(outout)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment