Skip to content
Discussion options

You must be logged in to vote

The performance difference was caused by the overhead of generating output files for each command (/OUT,anstmp) and transferring those files back to PyMAPDL.

Although the command itself is short, MAPDL produces a significant amount of console output when solving models that require multiple iterations. This output is written to the anstmp file, which can become fairly large. Transferring this file back to PyMAPDL adds enough overhead to noticeably increase the execution time.

To avoid this cost, the /SOLVE output can be suppressed:

mapdl.solve(mute=True)

This approach is much faster because only the command itself is sent, while the potentially large solver output is ignored.

However, the…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@HazemEldahshan
Comment options

@germa89
Comment options

@HazemEldahshan
Comment options

@HazemEldahshan
Comment options

@germa89

This comment has been hidden.

Comment options

You must be logged in to vote
0 replies
Answer selected by germa89
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants