-
What do you think of the forum? We want to hear from you!
Hello Everyone! The Ansys Developer Forum has been in operation for some time now and we want to hear what you (non-Ansys users) think of it. If you have any feedback on how things could be developed further, areas you think could be improved and how useful the site has otherwise been for you and your company please please…
-
Simulation is pretty *cool* but how *cool* is it really?
Back in 2024 I presented a little introduction to simulation at PyCon. Introduction to Simulation And in that presentation I asked a fundamental physics question. If a heavy cat sits on a bridge of ice. Does that bridge break? But in that situation everything was simply two dimensional (to save time). But what if it…
-
Is your scripting up to scratch?
We want to hear from you! What's the most useful Ansys scripting tip you've found? It could be on the forum, in documentation, or anywhere else. It just has to be... * About Ansys * A developer tool tip (to do with coding or PyAnsys) * Something small, like a specific command or tool you noticed We'd love if you could…
-
New search functionality for the Ansys dev portal
Hello to our forum and portal users! We are very excited to be on the verge of rolling out our new unified search for the Ansys Developer Portal and Forums. This search will bring together the documentation and articles from the dev portal and posts and information on the forum into a new single search. Over time we will…
-
Welcome! Please Read Before Posting
Welcome to the Ansys Developer community! If you are using the developer tool packages with Ansys simulation tools then this is your community space. This community has been created to ask questions of your peers, exchange ideas, and converse about developer issues within an Ansys context. Here are some guidelines: Keep…
-
Change number of significant digits in legend in figure.
Hello everyone. Number of significant digits in legends of results can be modified like this: legend = Ansys.Mechanical.Graphics.Tools.CurrentLegendSettings() legend.Digits = 2 However, when I try to do something similar with the legend in a Figure that is a children of a result, I get the following error: Current legend…
-
error in pymapdl plotting
trying to follow the PyMAPDL example: Overview of PyMAPDL | Ansys Innovation Courses (exact course: Overview of Ansys PyMAPDL — Lesson 1) have downloaded the jupyter notebook. I see an error with regard to plotting. local python: 3.11.8 (and 3.13.9) pyansys 2025.2.5 ansys.mapdl.core 0.70.2 (and 0.71.3) jupyterlab 4.5.1…
-
How can I create probe labels on figure objects?
Let's assume you are trying to add a probe to a figure for one of your result objects: The Graphics.LabelManager.CreateProbeLabel( ) does not support figure objects as input:
-
PyAnsys - How to get node deformations/displacements fast?
Hello, is there a way to access node displacements with PyAnsys without querying each node individually? For large models it takes a very long time due to the loop. Does Ansys offer the option of querying the displacements of all nodes directly , e.g. as array or list? Or are there other suggestions to speed up the…
-
Boussinesq
Hello friends, I need help with a project I received. I am designing air flow in a thermosyphon loop where a section of the right wall is a heat source and a section of the left wall is a sink. The rest of the walls are adiabatic. The goal of the project is to validate the Boussinesq model against an ideal gas model for…
-
How to reset the Mechanical GUI layout using scripting?
If my scripted workflow requires having Mechanical GUI open, how can I reset the layout of the GUI window before graphics export?
-
Problem with PyAEDT installation
Hello everyone. I have a question regarding the PyAEDT installation. It seems to have installed successfully, but the PyAEDT console icon is missing. Could anyone suggest what the problem might be and how to resolve it?
-
SpaceClaim script to list component/body suppress-for-physics status
Hello, I'm trying to make a script to list all the components / bodies and their suppress-for-physics status (true or false) in a SpaceClaim model. But the suppressed body still shows suppressed = false status. Would somebody be able to point out what's wrong about my script? # Python Script, API Version = V242document =…
-
Fluent 2025 R2: solve/execute-commands/add-edit fails with “api-set-var: the object is not active” (
In Fluent 2020 R2, the following command worked correctly: solve/execute-commands/add-edit command-101 40 "iteration" "report/system/sys-stats" However, in Fluent 2025 R2, the command no longer works. Error message: solve/execute-commands/add-edit command-101 Adding command-101 40 "iteration" "report/system/sys-stats"…
-
How to make SN fatigue material properties dependent on flow stress values in Ansys nCode DesignLife
Assuming that my fatigue material properties are calculated by some relationships with UTS (ultimate tensile strength), I would like to update UTS based on nodal stress values given by a text file and then calculate fatigue damage based on updated fatigue material properties.