TAGGED: ansys-mechanical, python-scripting
June 29, 2022 at 4:12 pmkramerSubscriber
I would like to automate my Mechanical simulation (including the solution process) via a Python script. However, if I type
in my script (this command can be found in the official scripting help under https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v221/en/act_script/act_script_examples_solve_track_core.html), I get an error reading "Unable to get working directory". Typing the same command in the shell works fine. Does anyone know a fix? This problem is very annoying since it forces me to always run the analysis manually.
July 5, 2022 at 12:35 pmAniketAnsys Employee
- which version are you using? I am assuming it is 2022R1
- can you please add a screenshot of your mechanical window and where you are typing this in?
August 13, 2022 at 7:53 am
August 30, 2022 at 4:25 pmAniketAnsys Employee
I am sorry but don't see any error in the shell... and what is the variable "defomationsavepath"?
How to access Ansys help links
- You must be logged in to reply to this topic.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Saving & sharing of Working project files in .wbpz format
- Solver Pivot Warning in Beam Element Model
- Understanding Force Convergence Solution Output
- An Unknown error occurred during solution. Check the Solver Output…..
- What is the difference between bonded contact region and fixed joint
- whether have the difference between using contact and target bodies
- The solver engine was unable to converge on a solution for the nonlinear problem as constrained.
- User manual
- Colors and Mesh Display
- material damping and modal analysis
© 2023 Copyright ANSYS, Inc. All rights reserved.