-
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…
-
PyFluent cannot inject multiple UDM-s (SV_UDM_I) into Fluent
Dear Ansys Developers, I am building a topology optimization toolchain using Python as the outer optimization driver and Fluent 2025 R2 for the primal/adjoint solves. I am using PyFluent to directly inject initialization fields (e.g., γ, α, k) into Fluent’s User Defined Memory (UDM) blocks via the solution_variable_data…
-
Issues with Parallelizing DEFINE_GRID_MOTION UDF
Hello everyone, I am working on parallelizing my DEFINE_GRID_MOTION UDF and would appreciate any guidance. My simulation runs correctly in serial mode, but I am encountering issues when executing the UDF in parallel. To debug, I used the Display Zone Motion feature to identify where the code encounters fatal errors. After…
-
Is it possible to do simulations in PyAnsys Geomerty using Discovery services.?
Hi Team. Correct me, as of now their is no way to do simulation in discovery using PyAnsys Geometry module. If possible, let us know which upcomming versions it can be capable of doing simulations.
-
Images in medini Markdown files
Hi, In previous medini versions I used links to image files (in the config folder) to display pictures in Markdown files, but that is not possible anymore in projects residing on a medini Collaboration server (the images are not in the file system anymore, so a relative path cannot be defined). Is there a possibility to…
-
Power-up your JavaScript with OCL, AQL
Dear, You may encounter a situation when you though "I wish I could have an OLC/AQL" available in the JS. In medini analyze the basic scripted execution handles every script file /profile property based on the configured extension ( js/ocl/aql). Typical use case where you would like to have some debugg of an OCL/AQL: * ocl…
-
Mechanical scripting - Pipe model pre/post-processing
Objective: This post is part of a series of post that will detail each step to run a completely automated Workbench Workflow. The scripts are the following: 1. Workbench python script & the batch command to launch this script from a single command line:…
-
Discovery geometry scripting - Pipe geometry creation from scratch
Objective: This post is part of a series of post that will detail each step to run a completely automated Workbench Workflow. The scripts are the following: 1. Workbench python script & the batch command to launch this script from a single command line:…
-
Scripting a complete Workbench workflow - from geometry to post-processing
A fully automated Workbench workflow can be created to have a one-click workflow. As workbench can be scripted and used in batch mode, one may - from a single command line input - run an entire workflow that creates/modifies geometry in Discovery, mesh and pre-process the model in Mechanical, solve, and post-process still…
-
Is there an example that shows how to create construction geometry line bodies and use them as Beams
Is there an example that shows how to create construction geometry line bodies and use them as beam bodies in Mechanical directly?
-
Bug when creating cylinder local reginement region with vector and length
Dear support, I am trying to generate a cylinder reginement region using the following code: """ workflow.TaskObject['Add Local Sizing'].InsertNextTask(CommandName=r'CreateLocalRefinementRegions') loc_ref_reg = workflow.TaskObject['Create Local Refinement Regions'] loc_ref_reg.Arguments = dict( { 'AddChild': 'yes',…
-
Get region name from point
Dear support, I am trying to automate a workflow where I need to rename the 3 fluid zones. However Fluent assigns a default name which I don't know in advance and even if for this case it is easy to guess, I would need to set my own names for more complex simulation cases: I have a list of points with their coordinates…
-
Welcome to the Community
Welcome! This community is a place to learn, share knowledge, ask questions, and support each other. Whether you're looking for answers, offering expertise, or simply exploring new ideas, we're glad to have you here. Our goal is to foster a professional, friendly, and collaborative environment where everyone can contribute…
-
Is there a way to evaluate layered composites under random vibrations?
A current limitation of composite failure tool is that cannot be used in frequency-based analysis such as Random Vibrations.
-
Some questions about Linux AEDT HPC setting & pyAEDT
I am an application engineer responsible for the HF/SI domain. I have some questions regarding pyAEDT script-based control of AEDT HPC settings on Linux systems that I would like to consult with you all about. Background My customer is using Q3D through 3D VNC on a Linux HPC cluster managed by PBS. The cluster consists of…
-
Assign a color to the body based on its thickness
Hello, In Discovery (or Spaceclaim), is there a way to assign a color to the body based on its thickness. Let's say I have an assembly with diffenrent parts, I would like to have all the 3 mm thickness part in one color (eg. red), all the 5 mm thickness part in another color (eg. green), and so one. I was thinking about a…
-
Move list of nodes
Hi all, is there a possibilty to move a list of nodes instead of move each node seperately? ''' for node in mesh.Nodes: newLocX = Quantity(newX * correctionScaling, "m") newLocY = Quantity(node.Y * correctionScaling, "m") newLocZ = Quantity(newZ * correctionScaling, "m") nodeMove.MoveNode(node.Id, newLocX, newLocY,…
-
How to get the currently selected material in Ansys Engineering Data with ACT scripting?
Is it possible with ACT to get the currently selected 'Polyethylene' material from the list of materials?
-
How can I save my geometry using design.export_to_disco() ?
I'm testing out pyGeometry. I was able to create my intended geometry. However, when I try to save it I keep running into the same error: GeometryExitedError: Geometry service connection terminated: Could not find file 'C:\Users\fneves_esss\AppData\Local\Temp\4ac83aa2-2d09-4b99-8d8b-b92fe2e9c916.dsco'. Shouldn't the file…
-
Any API command related to shared topoloy in Ansys Space Claim.?
Hi Team. Is their any API command or other methods to unselect faces which are in common share for shared topology body using Space Claim Scripting.
-
Midside nodes in pyMAPDL?
I'm currently use pyMAPDL to extract strains for an optimization problem. On the software side, ANSYS calculates midside nodes but on the pyMAPDL side, retrieving strains return N/A for midside nodes. With elements such as SOLID186, this means manually calculating 12 nodes for each element, which can be time consuming in…
-
Extracting nodal moments using DPF
Hi all, I am currently writing a script which requires me to have nodal force and moment components along a given edge. For reference, all bodies within the model are shells. For forces this is trivial using dpf.operators.result.element_nodal_forces, however from what I can see there doesn't seem to be an equivalent in DPF…
-
EMC Plus HV cable modeling
Hello everyone, I hope you are doing well. I have recently taken on to learn EMC Plus and I am attempting to model a HV cable next to a low voltage signal wire. Has anyone worked with something similar and how did you approach this?
-
How to remove variable 'override' in an optimization setup via scripting?
Hello, If I have a Circuit Optimization setup in which an optimization variable has the override checkbox checked, I am not able to remove this override via scripting. I cannot find any information on how to do this in the documentation, and if I am to record a script of myself unchecking the override box, there is nothing…
-
How to initiate concurrent Circuit Optimizations via scripting
In AEDT desktop GUI it is not possible to run concurrent Circuit Optimizations if the optimization setups are in the same circuit 'design'. It is however possible to run concurrent optimization setups if they are from different designs even if both designs are within the same project. I am not able to achieve the same…
-
How to create a second isolated ground node in Nexxim Transient (Circuit) simulation?
Hello, I'm simulating a 2-port transformer (imported as .s2p NPort into Ansys Circuit) where I need two galvanically isolated ground references: * Port 1 reference → instrumentation ground (node "0") * Port 2 reference → a separate "floating" ground for a cable model (W-element), NOT connected to node "0" I used the NPort…
-
Is there any limit on number of results file
I am trying to use SBR+ in HFSS to produce some data for radar scenario in total I need 1500 scenarios , but the simulation are halted after computing around 500 scenarios , even if I restart the simulation , it says like simulation starting from 500 th iteration , it will again stop after next 500 or so iteration , but…
-
Why can't I see the result files when using SLURM script.
I hope you’re doing well. I am encountering an issue while running an HFSS simulation in SBR+ transient mode on the cluster using a SLURM script. The simulation completes without errors, but no .transient or transient data files are generated—only .profile files appear in the results directory. Interestingly, when I run…
-
using pyaedt to set material properties in HFSS
Hello, I am trying to set material properties via a python script for an iterative set of simulations. The script runs without error, but when I view the material properties in HFSS they are unchanged, and the simulation results don't change (if I change the material properties directly in HFSS the simulation results do…
-
Call a variable from one script file into another in Extension Builder
Is there a way to call a variable from one script file in the Extension Builder in another script? For example, I want workdir to be available to me in other Extension Builder tabs/scripts.
-
Is it possible to slice dpf.Model().metadata.meshed_region.node ?
Hello, I need to get the Id's and coordinates of the nodes of a meshing made with Workbench. I write something like myModel = dpf.Model(r"anywhere\file.rst") myMeshing = myModel.metadata.meshed_region length = len(myMehsing.nodes) nodesId = [myMeshing.nodes[i].id for i in range(length)] nodesCoordinates =…