-
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…
-
How to calculate signed von mises in PyDPF?
I want to calculate signed von mises in Python Result. I see there is a long winded way.
-
PyAnsys Example - modal analysis of a cylinder in stiff ground
This example was built during the PyANSYS 2025 at Lyon with the help of R.LIBERT (JE) and F.GOMEZ (JE). In this example we build an circular cylinder fixed on stiff ground, mesh, perform a modal analysis and display results using PyAnsys and ansys products in headless mode. The project is built with: * main.py => python…
-
How to set the S=intfor command line option in the run_dyna function
Hi there I am running simulations from Python scripts and need to output the intfor file of the simulation to the results directory. When I run the input.k file from LS-Run, manually, I get the warning that I must add the S=intfor option to the command line expression. When I do so, the intfor file is created along with…
-
How to create a new Contact and scope it to user-provided Named Selections?
Assume I have two Named Selections that I want to use as scoping for a new Contact (one would be contact side, and the other the target side). How do I approach this using scripting?
-
How to merge Named Selections with the same name prefix?
Assume I have some Named Selections with the same name prefix, for example 'CONT_1', 'CONT_2', etc. How can I merge them into a new Named Selection using Mechanical Scripting?
-
How to add beams for faces in named selections ?
If i have 2 named selections created through scripting, i need to create a beam between one face of first named selection and one face of the second named selection when the faces are below/above each other representing a bolted connection.
-
How to perform Blend with Guide Curves in PyAnsys Geometry?
I would like to create a single solid object in PyAnsys Geometry by smoothly connecting (blending) faces that have slightly different shapes. In SpaceClaim, I typically achieve this by connecting the vertices of the faces with lines and using them as guides (guide curves) for the blend operation to create a solid object.…
-
Help using the fields calculator in Maxwell 2D design
Hello all, I'm interested in creating named expressions in PyAEDT and then evaluating them within the fields calculator. I'm running Maxwell 2D simulations, and as a starting point into learning these capabilities of PyAEDT, I'm trying to do something straightforward, which is the find the max B field in a non-model sheet…
-
Error in example for PyMechanical
I am trying to run the example https://embedding.examples.mechanical.docs.pyansys.com/examples/02_technology_showcase/contact_wear_simulation.html#sphx-glr-examples-02-technology-showcase-contact-wear-simulation-py in Visual Studio Code but am getting errors as shown below: In my opinion they are all related to the imports…
-
How to find out the bodies the contact and target faces belong to from a contact ?
If i have a contact defined by some faces - now from contact and target faces, how to identify the bodies they belong to ?