Created
January 27, 2022 21:59
-
-
Save akaszynski/fe4c5a4f33a1452c002d27b8a61c77e8 to your computer and use it in GitHub Desktop.
Demo how to write output from MAPDL to disk with PyMAPDL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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