-
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…
-
Clearing the in-built Mechanical progress bar
In this post: https://discuss.ansys.com/discussion/4623/how-to-speed-up-command-snippet-creation-and-create-a-progress-bar/p1 @Rajesh Meena provided a method for accessing and updating the in-built progress bar in the bottom left corner of the Mechanical window. Does anyone know how to clear and remove the bar once…
-
Can I create a custom worksheet?
I'm currently using a modified version of the PGEditor (see "C:\Program Files\ANSYS Inc\v###\Addins\ACT\libraries\Mechanical\Worksheet\PropertyGroupEditor.py") to build a table of data for the user to see mesh info (e.g., number of elements, nodes, etc.) for each specified named selection. This is associated with a custom…
-
SpaceClaim 2021 R1 / API V19 - Auto-fix script for diameter/radius/centreline drawing failures
I ran into a SpaceClaim 2021 R1 issue on some legacy/imported parts where circular drawing behaviour was wrong even though the 3D model looked fine. In my case, diameter/radius dimensioning and centreline behaviour were affected. Ansys already documents the underlying condition here:…
-
SpaceClaim 2021 R1 / API V19 – Auto-fix for diameter/radius drawing failures caused by tiny World-ax
I ran into a SpaceClaim 2021 R1 issue on some legacy/imported parts... [short explanation] Usage: * Select one planar datum face. * Run the script. * The script checks and corrects the alignment. * Save and test the drawing. Tested with: * SpaceClaim 2021 R1 * SpaceClaim 2021.1.0.11221 * SpaceClaim.Api.V19 [COLLAPSED…
-
Dynamic Constraint Output gets cut off
Hi all, I have a Problem with the display of the output of one of my dynamic constraints. The constraint creates a list of all requirements used in the FMEDA sheet, to check if all specified ones have been used. This is the snippet that creates the set: let MessageArg1:String =…
-
Local Max Probes, how to access
Is there a possibily to access that table with maximum probes and their locations? And also display them on the geometry?
-
Need help in Ansys Mechanical Scripting
Hello all, I am working on Ansys Mechanical Scripting for doing automation in my work. I faced difficulty in finding API commands for doing two different type of operations. * In static structural analysis having 5 load steps, I could find proper API to deactivate Standard Earth Gravity applied load, for first two steps *…
-
Can't Simulate Two-port coax-fed combline cavity filter
Issue: S21 flat, no resonance, but eigenmode of same geometry is correct I'm trying to build a 915 MHz combline cavity filter, two cavities, coax tap feeds. The eigenmode solve of the identical geometry gives modes at 921.85 and 923.58 MHz which are hopefully correct. Driven modal with two wave ports gives S₂₁ flat around…
-
Export Image from four Viewports at different orientation
Hi Ansys Team, I have four viewports view, and I want to export images of all four view at their own orientation. for example, I have set the orientation of model in front view in first viewport, side view in 2nd viewport, top view in 3rd viewport and bottom view in 4th viewport. So, I want a script if four viewports are…
-
Help with example code- error with "helpers" attribute
Hello, I imported the example code from https://mechanical.docs.pyansys.com/version/stable/examples/gallery_examples/01_basic/bolt_pretension.html and tried to run in my system using vs code, but run into this error: WARNING - - initializer - _get_latest_default_version - Multiple versions of Mechanical found! Using latest…
-
Point 'Python Code' object at solution
Hello, I'm a bit stumped about how to point a 'Python Code' object in the results branch at the solution without using the 'After Solve' or 'After Post' callback. The intention is that the code automatically adds a set of UDRs scoped to paths, evaluates them, retains them (to aid verification) and does some further…
-
How to solve "shell parts that are joined or merged together in their plane (Co Planar) Error ?
Hello everyone, I am currently experiencing an error in my underwater explosion (UNDEX) analysis using ANSYS Explicit Dynamics, and unfortunately, I have not been able to resolve this issue for almost three months. Basically, I am trying to perform an underwater explosion analysis using the Coupled Eulerian-Lagrangian…
-
How to update all 'Associations' in the Graphics Annotations table? [Probes, Annotations]
Unfortunately, the 'association' entries in the 'graphics annotations' table are not updated if object names are changed. If for example the name of a figure or a parent result object is changed, the old names will remain in the association. This is of course a big issue if you want to use those entries for further…
-
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…
-
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…
-
BIRT Medini nested table
Hello to all the community. At the moment I'm struggling with a feature of Medini BIRT interface. The pourpose was to create a table for the FMEA view in AIAG VDA format. As first try i would like to create a nested table connection, but i still not getting the values. Medini version i'm using is 2023 R1. Data source is…
-
hi
hi
-
How does the page registration logic (new in SAF-CLI 4.2.0) work?
Hi, I'm upgrading my "solution's template" to be as closed as possible as the one generated with SAF-CLI 4.2.0. I can see (for example in the <path_to_my_solution>\ui\pages\first_page.py) that pages are now registered using this below dash command: dash.register_page( __name__, name="First Step",…
-
What are the best solutions to replace dash-uploader?
Hi guys, I've just watched the last SAF AFT meeting and discovered the vulnerability issue with dash-uploader. I'm using it in my solution and so I'm looking for a replacement. Copilot advised me to replace it with dcc.Upload component but also said large file support will cause browser/memory issues. End-users of my…
-
What is the correct PyAnsys code to define a fixed temperature value for a solid cell zone in Fluent
What is the correct PyFluent code to define a fixed temperature value for a solid cell zone in Fluent?
-
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…
-
Create mesh interfaces in Fluent
Dear support I am trying to model a vertical axis wind turbine (VAWT) and to do so I need to declare the interfaces between the boundaries of my rotating domains. My interfaces are named as following: ['interface_rotating_zone_ext', 'interface_rotating_zone_int', 'interface_airfoil_1_ext',…
-
Rigid Dynamics: drive wheels spin but chassis won't move up 5° ramp (works fine on flat ground)
https://image2url.com/r2/default/images/1785556229693-2fb91107-1188-4d7e-a1de-7fe33f9c0f5f.png I'm running a Rigid Dynamics transient simulation of a two-wheel differential-drive robot climbing a 5° ramp, to validate a hand-calculated drive torque requirement. The same joint/contact setup works correctly on flat ground,…
-
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.
-
How to get value in CAD Parameters to python variable?
Hello, can you help me to get value of highlighted parameter to python variable? Thank you
-
How can I select all shell bodies lying on a specific plane whose face normals are oriented along Y
How can I select all shell bodies lying on a specific plane whose face normals are oriented along the Y-axis?
-
[FLUENT] continue from prev timestep during automation?
Hi, During an automation process, the geometry and mesh are supposed to be updated after a timestep interval. However, after reading the interpolation, the previous flow time and timestep will be gone. I want to get a history of forces, so the flow time must be continual. I tried using the (rpsetvar 'flow-time XX) command.…
-
[FLUENT] define a param in WB journal script to be used in FLUENT?
Hi, I'm optimizing using FLUENT, and the mesh must be updated in a flow-time interval, then the CFD calculation must continue. However, since the old .dat file cannot be used for the updated mesh, I have to perform interpolation. The problem is that the previous flow time will be lost after interpolation, so I have to…
-
Saving residuals to external file
Dear support, I am trying to export my residuals into an external file (for simulation logging and data convergence check). I have set the residual configuration like this: Get residuals state residuals_state = session.settings.solution.monitor.residual.get_state() Modify state residuals_state['equations'] = {'continuity':…
-
Access to graphic methods in Fluent meshing mode
Dear support, I am trying to access to the graphics methods to create scenes, display geometries and mesh elements in order to visualize the mesh in Fluent meshing mode. So far I can only use the tui commands like: # Reset to defaultsession.execute_tui('/display/views/default-view')# Fit…