February 25, 2023 at 11:45 am
Ansys Employee
The code in the journal is executed line by line. So until
resultsComponent1.Update(AllDependencies=True)
is executed fully, it will NOT go to
resultsComponent2.Update(AllDependencies=True)
for a better understanding of this, remove the sendcommand from your code and try updating the model. You will see the mesh of the first system is generated first (obviously it won't solve after that due to lack of BCs) and the mesh of the second system is generated AFTER the generation of the first system. You can add print() messages in your code to verify that.
-Aniket
How to access Ansys help links
Guidelines for Posting on Ansys Learning Forum