-
-
February 14, 2023 at 8:27 pm
Rabia Altunay
SubscriberI want to learn how I can execute the simulation from Ansys Mechanical? I want to do a simulation automatically out of Workbench.
- Automatic mechanical simulation.
- Not inside WB.
-
February 15, 2023 at 3:27 pm
Gary Stofan
Ansys EmployeeHi Rabia We do not understand what you are asking. Please explain in more details.
-
February 15, 2023 at 3:43 pm
Rabia Altunay
SubscriberIs it possible to combine with Ansys and Matlab/Python in mechanical area. I want to do my simulations in Ansys to finite element method and then I want to execute the data from Ansys and continue to optimize my model with a programming language like a Matlab or Python. As I understand there is APDL and Scripting section in Ansys but I do not know which one could be good to execute a simulation. Is there any batch scripting? If so, how I can learn what to do? Thanks.
-
February 15, 2023 at 3:47 pm
SaiD
Ansys EmployeeHello,
You may find this course helpful: Getting Started with Ansys Mechanical | Ansys Courses
Ansys Workbench helps with the data flow, e.g., Geometry component or Geoemtry cell in a system allows you to either import a geometry or allows you to create a new geometry in Ansys Discovery, SpaceClaim or Designer Modeler; Engineering Data allows you to define the material data needed for the model.
Ansys Mechanical cannot do the above things on its own. So if you try to open Ansys Mechanical, it will open Ansys Workbench with a Mechanical Model Component created by default.
The simulation is actually executed in Ansys Mechanical (not Workbench). Workbench is a more like a tool to manage the data flow between different components and systems.
Is there a reason you don't want to use Ansys Workbench?
-
February 15, 2023 at 3:56 pm
Gary Stofan
Ansys EmployeeThere are several examples like this on YouTube search for "Matlab Ansys".
There was good example titled "Interface MATALB and ANSYS" where MATLAB runs Ansys APDL in batch mode and passes parameter data back/forth via simple text files.
The concept to understand is that we do not "build" the Ansys analysis via script. The analysis (base APDL input file) is pre-built by the user, and only the desired parameter data is fed into the Analysis by Matlab. -
February 15, 2023 at 3:57 pm
Rabia Altunay
SubscriberI could not maybe explain very well. Let me give more details. I want to write a code file with Matlab or Python for stress analysis. As you might know, this is very limited and long process directly in a programming language that is why, I want to use Ansys to simulate the design and obtain the results of stress analysis. If I do this in Workbench, there is no way to take the simulations and put the inside of the any kind of code file -as I have known. If there is a way, please inform me.
For this reason, Workbench is not a good plathform for me. I need to design geometry and then mesh, give boundary conditions and have results. BUT at the end of the simulation, I want to able to take the all process outside of Ansys like in fluent (journal file).
Is there any way to execute the simulation like in the fluent for stractural analysis?
Thanks.
-
February 15, 2023 at 4:33 pm
Mike Rife
Ansys EmployeeHi Rabia
Please see this linke w.r.t. PyMAPDL. It is a Python API to 'MAPDL as a Service'. https://mapdl.docs.pyansys.com/release/0.64/
Mike
-
March 3, 2023 at 12:07 pm
Ashishkumar Gupta
SubscriberWhat has to be done when ANSYS EDT has to be called from MATLAB command using actxserver(progid). Where do I find valid progid?
-
March 4, 2023 at 1:44 am
Mike Rife
Ansys EmployeeHi Rabia - Asking about calling AEDT from Matlab is not an appropriate question for a sub-forum specific to materials. You may want to at least post that to the Electronics sub-forum. Mike
-
- 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.
- How do I make a chart with multiple material parameters on y-axis?
- Invalid Assignment error
- *LOCAL COORDINATE SYSTEM ANSYS APDL ? how Ansys transform coordinates system?
- Material library
- PLA Material
- ANSYS 19.0 with Additive Manufacturing Extension
- How to add SN curve for new material in Fatigue analysis?
- properties of balsa wood
- Looking for Spring steel (55Si7) library material
- Ansys material damage
-
3812
-
2593
-
1849
-
1244
-
600
© 2023 Copyright ANSYS, Inc. All rights reserved.