Skip to content

faster way to use apdl, pymapdl #1720

Answered by germa89
francesco123212 asked this question in Q&A
Discussion options

You must be logged in to vote

Short answer

Solving is not affected by PyMAPDL overhead. However sending many PyMAPDL commands is slower than MAPDL commands.

Long answer

Each PyMAPDL command gets converted to an MAPDL command and then sent to the MAPDL instance. This conversion, sending this command, processing it and getting back takes time. If we compare PyMAPDL and MAPDL commands, the time difference will be only the conversion, which in most of the cases is negligible.

Longest answer

However because PyMAPDL interact with an MAPDL instance (exchanging commands), the more command you send at once the better (you not need to wait for the current command before sending the other one). Hence I can recommend you to use m…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
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
Converted from issue

This discussion was converted from issue #1719 on December 20, 2022 15:33.