-
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…
-
I signed up but I can't post because of a "Permission Problem", how can I fix this?
So I came here to post a question, but I logged in and now I can't post? I get this error Who do I need to talk to to get this fixed?
-
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…
-
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…
-
How to specify license for ansys.geometry.core launch_modeler
When I do: from ansys.geometry.core import launch_modelermodeler = launch_modeler(hidden=True) The geometry service tries to connects to a disco_level1 license. I want it to connect to a mechanical enterprise license instead. ansys" v9999.9999, vendor: ansyslmd, expiry: 01-dec-2026 I just spoke to our tech support guy and…
-
How to create custom ACT Result Object with Scoping to a Construction Geometry Surface
I want to create an ACT Result Object with the Scoping set to a Construction Geometry Surface. Basically it should mimic the built-in Surface Result functionality, but I want to be able to map user created data (from scripting) to the cross section surface. It could be a Python Result object, or an ACT extension, or even…
-
Multistage cyclic Modal Energy Contribution
Hi Oscar / all, Building on this thread: in Mechanical there is a Modal-only postprocessing result called “Energy Contribution” that is extremely useful to classify modes (disk/drum vs blade modes) by comparing strain energy contribution per body for each mode. The Mechanical help states that Energy Contribution highlights…
-
Can I calculate modal mass and Kinetic Energy for modal analysis using DPF?
In MAPDL, the solver output prints a table with Modal Mass and Kinetic Energy per mode calculated with Unit Normalized modes. Can we get the same type of result from Mass Normalized modes using DPF for situations where this output is not available in MAPDL (cyclic, multistage?
-
Inquiry on CTE Homogenization Theory Used for Trace Mapping in Ansys Mechanical
I would like to inquire about the theoretical basis used in Ansys Mechanical for trace mapping during PCB thermal warpage analysis. Based on my validation and test results, I observed that Ansys Mechanical appears to adopt a rule-of-mixture approach for the equivalent CTE calculation of traces, where only the volume…
-
Issue with Material Definition (White Box)
I am having an issue when trying to define a material in ANSYS structural where I just get a white box. How do I fix this? I don't have the option in my settings to change UI options.
-
How can I scale the results plot in mechanical using mechdpf?
I would like to generate results using a python result and am trying to scale the visualized results. From the developer I have a link to the documentation, but am struggling to figure out how it works.…
-
SetValue callback of property not calling function
Hi all, I'm working with ANSYS 2025R2, I'm new in developing, sorry if I ask a silly question. I'm extending the VMStresses example from Ansys. Till now, I added three properties. I want to run a function after the values (of the first two properties) have been set or changed. But the TestCallback function gets not…
-
How to get Mechanical results from Workbench ?
Hi, I would like to solve some old Ansys archive, and I will use this code : here For most of these archive, there is some results probes (displacements, reaction forces, ...). Is there a way, from Workbench, to access these results ? Regards, Jean
-
How can I generate python results for every time step?
An excellent question. If you have a model with multiple time steps you can use a python code object to grab the time and create a unique python result. The python code object script example below will get the time steps: #analysis = ExtAPI.DataModel.Project.Model.Analyses[0] steps = analysis.AnalysisSettings.NumberOfSteps…
-
AttributeError: 'Modeler' object has no attribute 'run_script' in PyAnsys Geometry 3.10"
Hi everyone, I am building a geometry automation pipeline and trying to execute a SpaceClaim script using ansys-geometry-core in VS Code (Python 3.10). While SpaceClaim launches successfully, I encounter an AttributeError when trying to run the script. my code from ansys.geometry.core import launch_modeler modeler =…
-
Unable to connect PyAnsys (PyMechanical) with ANSYS Mechanical 2025 R2 Student – Fluent works, Mecha
Hi everyone, I am trying to learn and build a proper automation workflow for ANSYS Mechanical using PyAnsys (PyMechanical). My goal is to automate the Mechanical workflow using Python. My setup ANSYS Mechanical 2025 R2 (v252) – Student Version Python 3.10 ansys-mechanical-core = 0.11.8 Windows Os VS Code What works I am…
-
How to include deformation scaling into a plot created by Python Result? By default it is unscaled
By Adjusting Deformation scaling in Mechanical, one could scale the Deformed shape for any standard result. But, this doesn't seem to work for Python Result (scaling is greyed out).
-
PyMAPDL exits intermittently when run in a loop
Hi, I'm currently running a PyMAPDL script in a for loop. During each iteration, the script makes slight modifications to the mesh and performs a pre-stressed modal analysis. However, I'm encountering an intermittent issue where PyMAPDL exits with the following error message after few iterations: CRITICAL - pymapdl_global…
-
mapdl.post_processing.nodal_principal_stress return result differ from Mechanical APDL GUI
mapdl.post_processing.nodal_principal_stress("1") return result differ from Mechanical APDL GUI. other post process functions also exist errors when compared from Mechanical APDL GUI. although the error percentage is low, i still want to fix this problem.
-
How to move a contact object from one grouping folder to another?
I have grouped contacts as follows: I want to use scripting to move Contact1 to Group2 folder, how do I do that ?
-
HFSS 3D Layout: Encrypted 3D Component Bounding Box Intersection Mesh Hard Failure— Samtec GPPC
The following is a summary from Claude.ai about the debugging and problem I am facing, it was over a couple of days and working sessions, so I used the AI to summarize the data from me, which was unstructured bullet points and hard to follow. I have reviewed it for accuracy though. HFSS 3D Layout: Encrypted 3D Component…
-
How to find the closest pair of cylindrical faces with a specific radius in Mechanical scripting?
I have an Ansys Mechanical model with multiple cylindrical faces of 3mm radius distributed across different bodies. I want to write a Python script (in the Mechanical scripting console) that: 1.Finds all faces with a radius of 3mm and group faces who are adjacent 2.Identifies the closest pair of such faces based on…
-
In Mechanical, how to export animation file over a range of result sets instead of all result sets?
Mechanical doesn't have an option to choose a specific result set range to export animation and always exports the complete time history as an animation file. Eg: I have 10 result sets, but I want to export animation only for result set 1-3.
-
How to set Mechanical Graphics (Legend etc.) FontStyle using ACT?
How to set Mechanical Graphics (Legend etc.) FontStyle using ACT?
-
Extension to display a custom image on workbench
Is there something like this, where the user can create a custom system that receives an image and displays it, like on the picture i made below:
-
How to zero the EPS field in dyanin, before transferring to Static Structural?
This is for transferring LS-DYNA results (dynain ASCII file format) into Static Structural, via an External Model system. The effective plastic strain (EPS) data in dynain may be incompatible with the material model used in Static Structural. Zeroing EPS can fix errors associated with this, and means that only the stress…
-
Supported way to remove tree objects when removing a custom object
Hey all, I developed an application in Mechanical 25R1 that automatically inserts a custom object in my project and detects my named selections to automatically create a joint aswell as a bonded contact with predefined stiffness and thermal conductance. I can then use my custom object to switch between different presets…
-
Is there a way to add annotations to contact source or target centroids ?
Can we add annotations/labels to contact source or target location centroids something similar to the below image -
-
How can we automatically (say via mechanical scripting) create directional point masses?
How can we automatically (say via mechanical scripting) create directional point masses, say by first reading some data from a csv file (where the first column in that file gives the named selection to scope to, and the other columns contain the directional mass in x, y , z respectively for that point mass - so every row…
-
What is the correct approach between Merge and Share Topology, and how does each option affect:the p
Hi, In my current FEM model, the substrate is modeled as a solid block, and another layer is created on top region of the substrate to define a separate body with a thickness of 5–25 µm. The two bodies are geometrically in contact and form a common interface.In SpaceClaim, I see the options “Merge” and “Share'' Topology.…
-
How can we define body to ground springs from a named selection (vertex) using scripting?
Say we have a named selection containing vertices, and we want to automatically define body to ground springs using scripting?
-
Failed to preprocess Swan Test model
Hello, I am having an issue with Ansys Scade One. When running the simulation, the following error appears: Unable to build simulator files Failed to preprocess Swan Test model Groups – Invalid connection of instance No errors are shown in the modules, blocks, or connections in the editor. I would like to note that I have…
-
Question about the FEA Paths function
I am wondering how to check the FEA Paths result on each time step. I do not find any settings to display the sampling result by time step. I change the current timestep in FEA result scene, but when I open the Graph Viewer to check the path which I created, the result do not change at all, even I refresh the list. And, I…
-
Can I export the result of magnetic vector potential on each mesh?