-
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…
-
Why it turn up question mark on Rigid Wall?
Hi, I run with the codes below to create LSDYNA RigidWall with one local coordinate system, why it turns up question mark on Rigid Wall when I have confirm the setting is right after executing the code
-
Facing issue with embedded instance of pyMechanical
Hello, I am trying to export the Graph for the Chart object using Ansys Mechanical. Following code works fine inside Ansys Mechanical scripting environment SCRIPT: import os graphRes = [1600,800] var_output_path = r'D:\ACT\py_mech\' # Path to save the exported images chart_obj =…
-
Pop quiz! Do you know the answer to this simple PyMAPDL meshing question?
Without checking the documentation, just from reading the following code snippet, how many elements of each material type will be meshed? And why? from ansys.mapdl.core import launch_mapdlmapdl = launch_mapdl()mapdl.clear()mapdl.prep7()mapdl.et(1, 'SOLID185')mapdl.mp("EX", 1, 210e9) # Young's modulus for…
-
Where can I find the documentation?
This forum is very helpful for many things. For example, one snippet of code I found here helped me increase the font size of the legend text. In the code, I found this snippet: ds = ExtAPI.DataModel.InternalObject["ds"] ds.Graphics.SetFontStyle(...) Naturally, I want to know what else the SetFontStyle function does, but I…
-
read-only mesh order field after several simulation runs
I've a customer that has created a script for Mechanical to run many simulations. He's noticed that every 10th simulation or so, it errors with a: 'This property is parameterized and is read-only.' Traceback indicates this occurs on modifying the element order at the global level. All simulations have this option changed.…
-
How to write a journal to export automatic pseudo time step value in text file in CFD silmulations.
Currently, the verbosity is set to 1 to see the pseudo-time step (dt) being printed with each iteration in the console. We tried with the below journal in order to export automatic pseudo time step value into text file inside FLTG folder , but unable to print the value of it. It prints #F in the text file (define…
-
Ansys Meshing scripting
Hi, Hi, I got already-working journal for the parametric geometry creation. Now I want to prepare a selective body meshing, in ANSYS Meshing. I want to do this by workbench scripting, ie. by creating and reading a workbench journal (.wbjn file) in Workbench. This is a way how I dealed with the geometry parametrization.…
-
How do I delete substeps in *.rst file
Hi, is there a soultion to delete all steps from the *.rst file from an unconverged solution except the last three steps? Because only the last 3-4 steps are interesting and it saves a lot of data. Because I do a buckling check and the solution is always not converged to find the last time step. Is there a solution in…
-
Electronics Desktop Student 2024 R2 Expiry date?
Hi, the Ansys Electronics Desktop Student installer I downloaded installs a license expiring on June 30, 2025, but the website says it should be valid until July 31, 2025. Could you provide a new installer or a .lic file to fix this?
-
How to wirte a journal to export automatic pseudo time in CFD silmulations.
Currently, the verbosity is set to 1 to see the pseudo-time step (dt) being printed with each iteration in the console. We tried with the below journal in order to export automatic pseudo time step value into text file inside FLTG folder , but unable to print the value of it. It prints #F in the text file (define…