I would like to run a parametric study, varying the pressure load and run multiple analysis using Embedded PyMechanical. Using ansys-mechanical-core==0.12.7 and tried using the app.new() method, which doesn't seem to work as expected.
app.new()
Use this structure for the code:
app = App(…) # Initialize for i in range(…): app.new() model = app.Model … … app.save_as(…) app.close()