TAGGED: ansys-apdl, ansys-structural, mapdl, python, python-scripting
-
-
July 6, 2022 at 8:04 pm
j.peach2
SubscriberHello to whoever is reading this.....,
currently, i'm trying to use Python in combination with Ansys 2022 R1 for the first time using all the packages that falls under PyAnsys. This is the program in question......
However, i'm running into an issue. When I run this program, it shows a new window saying "Mechanical APDL Batch running with 2 cores requested" but in task manager, its listed as "not responding". Furthermore, when I try to click on this new window, i'm met with the following System Errors:
1) "The code excecution cannot proceed because AnsMPI.dll was not found. Reinstalling the programme may fix this problem"
2) "The code excecution cannot proceed because AnsGPU.dll was not found. Reinstalling the programme may fix this problem"
3) "The code excecution cannot proceed because ansScaLAPACK.dll was not found. Reinstalling the programme may fix this problem"
4) "The code excecution cannot proceed because libifcoremd.dll was not found. Reinstalling the programme may fix this problem"
I've checked all these aforementioned files and they're all present within the Ansys folder.
It should also be noted that both Python and Ansys are on seperate storage drives on the same laptop due to storage issues. However, when I reinstalled Python onto the same storage drive that stored Ansys, the problem still persisted.
Any help to fix this issue will be greatly appreciated. How do I fix this issue?
Regards, Jordan.
-
July 7, 2022 at 5:49 am
Erik Kostson
Ansys EmployeeI would suggest to post this type of questions (pyANsys related) in the dedicated forum for pyMAPDL:
https://github.com/pyansys/pymapdl/discussions
-
July 7, 2022 at 9:45 am
Vigneswaran Sridharan
Ansys EmployeeHi,
When you do a pip install pip install ansys-mapdl-core, you should be able to get the installed version using 'print(mapdl)'.
from ansys.mapdl.core import launch_mapdl
mapdl = launch_mapdl()
This automatically searches for the latest local version of MAPDL, launches it as a background process, and immediately connects to it. You can then start sending python commands to MAPDL.A successful connection returns:
Vigneswaran
-
- 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.

Ansys Blog
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
- User manual
- The solver engine was unable to converge on a solution for the nonlinear problem as constrained.
- Colors and Mesh Display
- material damping and modal analysis
-
3930
-
2649
-
1865
-
1272
-
610
© 2023 Copyright ANSYS, Inc. All rights reserved.